/* =========================================================================
   PELÍCULAS PENDELTON · Hoja de estilos principal
   -------------------------------------------------------------------------
   Estructura:
     1. Tipografías y variables
     2. Base
     3. Utilidades (wrap, kicker, botones, reveal)
     4. Cabecera y menú
     5. Hero / carrusel principal
     6. Cinta de texto (marquee)
     7. Secciones y rejillas (películas, cortos, publicidad…)
     8. Ficha de película
     9. Quiénes somos / línea de tiempo
    10. Páginas legales
    11. Pie de página
    12. Lightbox de vídeo
    13. Banner de cookies
    14. Intro y grano de película
   ========================================================================= */

/* 1. TIPOGRAFÍAS Y VARIABLES ------------------------------------------- */
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1d1d20;
  --ink: #f3efe7;
  --ink-2: #c9c4ba;
  --muted: #8d887f;
  --line: rgba(243, 239, 231, .12);
  --accent: #ff8a00;           /* naranja Pendelton (bolsas del logo) */
  --accent-ink: #0b0b0c;

  --f-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Courier Prime", "Courier New", monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

/* 2. BASE -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
body.is-locked { overflow: hidden; }
.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: fixed; top: -100px; left: 16px; z-index: 10001; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* 3. UTILIDADES -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.kicker--plain::before { display: none; }

.display {
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .005em;
}

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px;
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--b);
  border-radius: 999px;
  color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn--accent { --b: var(--accent); background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { border-color: var(--ink); color: var(--bg); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--play svg { width: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px;
  color: var(--accent);
  background: rgba(11, 11, 12, .6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge svg { width: 12px; height: 12px; }

/* Aparición al hacer scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* 4. CABECERA Y MENÚ --------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  height: var(--header-h);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header::before { /* degradado para legibilidad sobre el hero */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.65), transparent);
  transition: opacity .5s;
}
.site-header.is-scrolled { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); --header-h: 64px; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; height: 100%; flex: none; }
.site-logo img { height: 44px; width: auto; transition: height .5s var(--ease); }
.site-header.is-scrolled .site-logo img { height: 38px; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.site-nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.site-nav__links a {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color .3s;
}
.site-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.site-nav__links a:hover, .site-nav__links a[aria-current] { color: var(--ink); }
.site-nav__links a:hover::after, .site-nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.reel-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .3s var(--ease), background .3s;
}
.reel-btn:hover { background: var(--ink); }
.reel-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: rec 1.6s infinite; }
@keyframes rec { 50% { opacity: .2; } }

.menu-toggle { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.menu-toggle__icon { width: 30px; height: 12px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease), width .5s var(--ease); }
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 10px; width: 70%; left: auto; }
.menu-toggle:hover .menu-toggle__icon::after { width: 100%; }
.menu-open .menu-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 5px; width: 100%; transform: rotate(-45deg); }

/* Menú a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--bg);
  display: grid; grid-template-columns: 1.1fr .9fr;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__main { padding: calc(var(--header-h) + 4vh) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__list li { overflow: hidden; }
.menu__list a, .menu__list button {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(30px, min(5vw, 6.6vh), 68px); line-height: 1.1;
  color: var(--ink);
  transform: translateY(110%);
  transition: transform .8s var(--ease), color .3s;
  transition-delay: calc(.25s + var(--i) * .05s);
  text-align: left;
}
.menu-open .menu__list a, .menu-open .menu__list button { transform: none; }
.menu__list a::before, .menu__list button::before {
  counter-increment: m; content: counter(m, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--muted);
  transform: translateY(-1.6em);
}
.menu__list a:hover, .menu__list button:hover, .menu__list a[aria-current] { color: var(--accent); }
.menu__list .ext { white-space: nowrap; font-family: var(--f-mono); font-size: 13px; color: var(--muted); letter-spacing: .1em; align-self: center; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; font-size: 14px; color: var(--muted); opacity: 0; transition: opacity .6s .7s; }
.menu-open .menu__foot { opacity: 1; }
.menu__foot a { color: var(--ink-2); }
.menu__foot a:hover { color: var(--accent); }
.menu__aside { position: relative; overflow: hidden; background: #000; }
.menu__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .7s var(--ease), transform 1.6s var(--ease); filter: saturate(.9); }
.menu__aside img.is-on { opacity: .85; transform: scale(1); }
.menu__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 35%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 40%); }
.menu__aside-caption { position: absolute; left: 32px; bottom: 28px; z-index: 2; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 1080px) {
  .site-nav__links { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-logo img { height: 36px; }
  .reel-btn .lbl { display: none; }
  .reel-btn { padding: 10px; }
  .menu { grid-template-columns: 1fr; }
  .menu__aside { display: none; }
  .menu-toggle__label { display: none; }
}

/* 5. HERO / CARRUSEL PRINCIPAL ----------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; z-index: 1; }
.slide__bg { position: absolute; inset: 0; overflow: hidden; }
.slide__bg > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.slide.is-active .slide__bg > img { animation: kenburns 11s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1.02) translate3d(-1%, 0, 0); } }
.slide__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%),
  linear-gradient(0deg, rgba(11,11,12,1) 0%, rgba(11,11,12,0) 30%); }
.slide__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); padding-bottom: 120px; }
.slide__content > * { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > *:nth-child(1) { transition-delay: .35s; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: .65s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: .8s; }
.slide.is-active .slide__content > *:nth-child(5) { transition-delay: .95s; }
.slide__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(64px, 11vw, 190px); line-height: 1.1; margin-bottom: 22px; }
.slide__text { max-width: 470px; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); margin-bottom: 30px; }

/* Slide 1: muro de carteles animado */
.slide--brand .slide__content { align-items: center; text-align: center; }
.slide--brand .kicker { justify-content: center; }
.slide--brand .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.slide--brand h1 img { width: min(560px, 78vw); margin: 0 auto 26px; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); }
.slide--brand .btns { justify-content: center; }
.poster-wall { position: absolute; inset: -20% -10%; display: flex; gap: 18px; transform: rotate(-8deg); }
.poster-wall__col { flex: 1; display: flex; flex-direction: column; gap: 18px; animation: wall-up 60s linear infinite; }
.poster-wall__col:nth-child(even) { animation-name: wall-down; animation-duration: 75s; }
.poster-wall__col img { width: 100%; aspect-ratio: 500 / 709; object-fit: cover; border-radius: 3px; filter: grayscale(.35) brightness(.55); }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.slide--brand .slide__shade { background:
  radial-gradient(ellipse at center, rgba(11,11,12,.55) 0%, rgba(11,11,12,.85) 60%, rgba(11,11,12,.97) 100%),
  linear-gradient(0deg, rgba(11,11,12,1) 0%, rgba(11,11,12,0) 30%); }

/* Slide Campeonex */
.slide--campeonex .slide__bg > img { object-position: center 30%; }
.slide--campeonex .slide__logo { width: min(520px, 80vw); margin-bottom: 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.7)); }
.stat { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.stat strong { font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--accent); }
.stat span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); max-width: 180px; line-height: 1.35; }

/* Slide Depredador */
.slide--blur .slide__bg > img { filter: blur(26px) saturate(1.3) brightness(.7); transform: scale(1.3); }
.slide--blur.is-active .slide__bg > img { animation: none; }
@keyframes float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 14px)); } }

/* Controles del carrusel */
.hero__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px; }
.hero__ui .wrap { display: flex; align-items: flex-end; gap: 28px; }
.hero__tabs { display: flex; gap: 22px; flex: 1; }
.hero__tab { flex: 1; max-width: 220px; text-align: left; padding-top: 14px; position: relative; color: var(--muted); transition: color .3s; }
.hero__tab::before, .hero__tab::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.2); }
.hero__tab::after { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero__tab.is-active { color: var(--ink); }
.hero__tab.is-active::after { animation: progress var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__tab.is-active::after { animation-play-state: paused; }
.hero__tab.is-done::after { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.hero__tab-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; margin-right: 8px; }
.hero__tab-lbl { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero__arrows { display: flex; gap: 8px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; background: rgba(0,0,0,.25); }
.round-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.round-btn svg { width: 16px; height: 16px; }
.round-btn:disabled { opacity: .3; pointer-events: none; }
.hero__scroll { position: absolute; z-index: 5; right: var(--gutter); bottom: 120px; writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero__scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--accent), transparent); animation: scrollline 2s infinite; transform-origin: top; }
@keyframes scrollline { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .slide__shade { background: linear-gradient(0deg, rgba(11,11,12,1) 5%, rgba(11,11,12,.55) 50%, rgba(0,0,0,.35) 100%); }
  .slide__content { justify-content: flex-end; padding-bottom: 130px; }
  .slide--brand .slide__content { justify-content: center; }
  .hero__scroll { display: none; }
  .hero__tab { padding-top: 12px; }
  .hero__tab-lbl { display: none; }
  .hero__tabs { gap: 10px; }
  .hero__ui { bottom: 28px; }
}

/* 6. CINTA DE TEXTO ---------------------------------------------------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.ticker__item:nth-child(odd) { color: var(--ink); -webkit-text-stroke: 0; }
.ticker__item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 7. SECCIONES --------------------------------------------------------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--tight { padding-top: 0; }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(54px, 9vw, 140px); line-height: .86; }
.section-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.section-meta { display: flex; align-items: center; gap: 18px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section-meta b { color: var(--ink); font-weight: 400; }

/* Rejilla de largometrajes */
.film-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.film-card { position: relative; display: block; perspective: 900px; }
.film-card__frame { position: relative; aspect-ratio: 500 / 709; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.film-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.film-card__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 45%, transparent 70%); opacity: 0; transition: opacity .5s var(--ease); }
.film-card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.22), transparent 55%); opacity: 0; transition: opacity .4s; }
.film-card:hover .film-card__glare { opacity: 1; }
.film-card__info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(14px, 1.6vw, 24px); transform: translateY(18px); opacity: 0; transition: all .5s var(--ease); }
.film-card__year { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.film-card__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(20px, 1.9vw, 30px); line-height: 1; margin: 6px 0 10px; }
.film-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.film-card__more svg { width: 14px; transition: transform .4s var(--ease); }
.film-card .badge { position: absolute; top: 12px; left: 12px; z-index: 3; }
.film-card:hover .film-card__frame, .film-card:focus-visible .film-card__frame { box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.film-card:hover .film-card__frame img { transform: scale(1.06); }
.film-card:hover .film-card__frame::after, .film-card:focus-visible .film-card__frame::after { opacity: 1; }
.film-card:hover .film-card__info, .film-card:focus-visible .film-card__info { opacity: 1; transform: none; }
.film-card:hover .film-card__more svg { transform: translateX(5px); }
.film-card__caption { display: none; }
@media (hover: none) {
  .film-card__frame::after { opacity: 1; }
  .film-card__info { opacity: 1; transform: none; }
}
@media (max-width: 900px) { .film-grid { grid-template-columns: repeat(2, 1fr); } }

/* Carril horizontal (carrusel deslizable) */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, clamp(200px, 22vw, 300px));
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px;
  scrollbar-width: none;
  cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track.is-dragging * { pointer-events: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__bar { margin: 6px var(--gutter) 0; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.rail__bar span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--accent); transition: transform .2s linear; }
.rail-ctrl { display: flex; gap: 8px; }
@media (min-width: 1441px) { .rail__track { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } .rail__bar { margin-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }

.short-card { display: block; text-align: left; width: 100%; position: relative; }
.short-card__frame { position: relative; aspect-ratio: 500 / 709; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.short-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.short-card:hover .short-card__frame img { transform: scale(1.06); filter: brightness(.6); }
.play-dot { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: all .45s var(--ease); }
.play-dot svg { width: 20px; margin-left: 3px; }
.short-card:hover .play-dot, .short-card:focus-visible .play-dot { transform: none; opacity: 1; }
.play-dot::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 1.8s infinite; }
@keyframes ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.short-card__title { margin-top: 14px; font-family: var(--f-display); text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.short-card__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.short-card .badge { position: absolute; top: 12px; left: 12px; z-index: 3; }
@media (hover: none) { .play-dot { opacity: 1; transform: scale(.75); } }

/* Banner ancho (Javi y Lucy, Campeonex…) */
.wide-banner { display: block; width: 100%; padding: 0; background: #000; margin-top: clamp(40px, 5vw, 70px); border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); transition: border-color .4s; }
.wide-banner img { width: 100%; transition: transform 1.2s var(--ease); }
.wide-banner:hover { border-color: var(--accent); }
.wide-banner:hover img { transform: scale(1.03); }

/* Bloque "Quiénes somos" en portada */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.about-teaser__media { position: relative; }
.about-teaser__media img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.about-teaser__lead { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; margin-bottom: 28px; font-weight: 500; }
.about-teaser__lead strong { color: var(--accent); font-weight: 600; }
.panorama { position: relative; height: clamp(200px, 32vw, 440px); overflow: hidden; }
.panorama img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; filter: brightness(.75); }
.panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%); }
@media (max-width: 900px) { .about-teaser { grid-template-columns: 1fr; } .about-teaser__media { max-width: 520px; } }

/* Publicidad */
.ads-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); margin-bottom: clamp(36px, 5vw, 60px); }
.ads-feature__label { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ads-feature__label b { color: var(--ink); font-weight: 400; }
.spot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10.3; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.spot:hover img { transform: scale(1.05); filter: brightness(.6); }
.spot:hover .play-dot, .spot:focus-visible .play-dot { opacity: 1; transform: none; }
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.brand { position: relative; aspect-ratio: 400 / 257; overflow: hidden; background: var(--bg-3); display: block; width: 100%; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .5s; }
.brand:hover img, .brand:focus-visible img { filter: brightness(.7); transform: scale(1.05); }
.brand .play-dot { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.brand .play-dot::before { display: none; }
.brand:hover .play-dot, .brand:focus-visible .play-dot { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .ads-feature { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .spot .play-dot { opacity: 1; transform: scale(.8); }
}

/* Carrusel infinito automático (Notodofilmfest) */
.loop { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.loop__track { display: flex; gap: 18px; width: max-content; animation: ticker var(--loop-dur, 80s) linear infinite; padding: 6px 0; }
.loop--reverse .loop__track { animation-direction: reverse; }
.loop:hover .loop__track, .loop:focus-within .loop__track { animation-play-state: paused; }
.loop + .loop { margin-top: 18px; }
.clip { position: relative; width: clamp(240px, 24vw, 340px); flex: none; text-align: left; }
.clip__frame { aspect-ratio: 400 / 257; overflow: hidden; border-radius: var(--radius); position: relative; background: var(--bg-3); }
.clip__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.7); transition: filter .5s, transform 1s var(--ease); }
.clip:hover .clip__frame img, .clip:focus-visible .clip__frame img { filter: none; transform: scale(1.05); }
.clip__title { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.clip__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.clip .play-dot { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.clip .play-dot::before { display: none; }
.clip:hover .play-dot, .clip:focus-visible .play-dot { opacity: 1; transform: none; }

/* Llamada a contacto */
.cta { text-align: center; padding: clamp(100px, 14vw, 200px) 0; position: relative; overflow: hidden; }
.cta .kicker { justify-content: center; }
.cta__mail { display: inline-block; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(36px, 8.5vw, 150px); line-height: .95; position: relative; word-break: break-word; }
.cta__mail span { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .5s var(--ease); }
.cta__mail:hover span { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.cta__sub { margin-top: 26px; font-family: var(--f-mono); color: var(--muted); letter-spacing: .08em; font-size: 15px; }
.cta__sub a { color: var(--ink); border-bottom: 1px solid var(--accent); }

/* 8. FICHA DE PELÍCULA ------------------------------------------------- */
.film-hero { position: relative; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) 0 clamp(36px, 4vw, 56px); isolation: isolate; }
.film-hero__bg { position: absolute; inset: 0; z-index: -1; }
.film-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.4) brightness(.55); transform: scale(1.25); }
.film-hero__bg--sharp img { filter: brightness(.55); transform: scale(1.05); animation: kenburns 14s var(--ease) forwards; }
.film-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(11,11,12,.3) 45%, rgba(11,11,12,.55) 100%), linear-gradient(90deg, rgba(11,11,12,.6), transparent 60%); }
.film-hero__inner { display: grid; grid-template-columns: 1fr minmax(260px, 460px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.film-hero__poster { margin: 0; perspective: 1000px; }
.film-hero__poster img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px rgba(0,0,0,.7); transition: transform .6s var(--ease); }
.film-hero__info .back { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; transition: color .3s, gap .3s; }
.film-hero__info .back:hover { color: var(--accent); gap: 14px; }
.film-hero__info .back svg { width: 14px; transform: rotate(180deg); }
.film-title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(52px, 8vw, 130px); line-height: .88; margin-bottom: 24px; text-wrap: balance; }
.film-title--long { font-size: clamp(44px, 6vw, 96px); }
.film-title img { width: min(560px, 100%); }
.film-hero__info .badge { margin-bottom: 26px; }
.film-hero__tagline { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 560px; margin-bottom: 32px; }
.film-hero > .film-hero__inner > *, .film-hero__info > * { animation: rise 1s var(--ease) both; }
.film-hero__info > *:nth-child(2) { animation-delay: .1s; }
.film-hero__info > *:nth-child(3) { animation-delay: .2s; }
.film-hero__info > *:nth-child(4) { animation-delay: .3s; }
.film-hero__info > *:nth-child(5) { animation-delay: .4s; }
.film-hero__info > *:nth-child(6) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

.film-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 120px); }
.synopsis p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--ink-2); }
.synopsis .kicker + p::first-letter { font-family: var(--f-display); float: left; font-size: 4.4em; line-height: .8; padding: 6px 12px 0 0; color: var(--accent); }
.credits { margin: 0; border-top: 1px solid var(--line); }
.credits > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.credits dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.credits dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.part { padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.part__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(34px, 4vw, 56px); line-height: 1; margin-bottom: 12px; }
.part__text { color: var(--ink-2); max-width: 760px; margin-bottom: 24px; }
/* cartel y tráiler con la misma altura: ancho cartel = alto tráiler × 500/709 */
.part__media { display: grid; grid-template-columns: 0.3967fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: stretch; }
.part__media > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.film-trailer { padding: 0; }
.film-trailer + #ficha { padding-top: clamp(36px, 4vw, 56px); }
.film-trailer .wide-banner { margin-top: clamp(24px, 3vw, 40px); }

.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer__facade { position: absolute; inset: 0; width: 100%; display: block; }
.trailer__facade img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); transition: transform 1.2s var(--ease), filter .5s; }
.trailer__facade:hover img { transform: scale(1.03); filter: brightness(.45); }
.trailer__facade .play-dot { width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px); margin: 0; transform: translate(-50%, -50%); opacity: 1; }
.trailer__facade .play-dot svg { width: 28%; }
.trailer__facade:hover .play-dot { transform: translate(-50%, -50%) scale(1.08); }
.trailer__label { position: absolute; left: 24px; bottom: 20px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.trailer__note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.next-film { position: relative; display: block; overflow: hidden; padding: clamp(80px, 12vw, 180px) 0; border-top: 1px solid var(--line); isolation: isolate; }
.next-film__bg { position: absolute; inset: 0; z-index: -1; }
.next-film__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) brightness(.35) saturate(1.3); transform: scale(1.3); transition: filter .8s var(--ease); }
.next-film:hover .next-film__bg img { filter: blur(12px) brightness(.45) saturate(1.4); }
.next-film__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(48px, 9vw, 150px); line-height: .88; display: flex; align-items: center; gap: .2em; flex-wrap: wrap; }
.next-film__title svg { width: .6em; height: .6em; color: var(--accent); transition: transform .5s var(--ease); flex: none; }
.next-film:hover .next-film__title svg { transform: translateX(20px); }

@media (max-width: 900px) {
  .film-hero { padding-top: calc(var(--header-h) + 24px); }
  .film-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .film-hero__poster { max-width: none; width: 100%; }
  .film-body { grid-template-columns: 1fr; }
  .credits > div { grid-template-columns: 1fr; gap: 4px; }

}

/* 9. QUIÉNES SOMOS ----------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(50px, 6vw, 80px); }
.page-title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(60px, 12vw, 200px); line-height: .84; }
.page-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__media { position: sticky; top: calc(var(--header-h) + 30px); }
.story__media img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.story__text p { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); line-height: 1.75; margin-bottom: 1.4em; }
.story__text p:first-child { font-size: clamp(21px, 2vw, 28px); line-height: 1.45; color: var(--ink); }
.story__text strong { color: var(--ink); font-weight: 600; }
.story__text a { color: var(--accent); border-bottom: 1px solid currentColor; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__media { position: relative; top: 0; max-width: 520px; } }

.timeline { position: relative; }
.timeline__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 20vw, 280px); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 0 var(--gutter) 10px; cursor: grab; }
.timeline__track::-webkit-scrollbar { display: none; }
.timeline__item { scroll-snap-align: start; position: relative; padding: 46px 28px 0 0; }
.timeline__item::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline__item::after { content: ""; position: absolute; top: 9px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline__item--key::after { background: var(--accent); }
.timeline__year { font-family: var(--f-display); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--ink); }
.timeline__what { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.timeline__item a { display: block; transition: color .3s; }
.timeline__item a:hover .timeline__year { color: var(--accent); }
.timeline__item img { width: 80px; margin-top: 16px; border-radius: 2px; opacity: .8; transition: opacity .3s, transform .4s var(--ease); }
.timeline__item a:hover img { opacity: 1; transform: translateY(-4px) rotate(-3deg); }
@media (min-width: 1441px) { .timeline__track { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }

/* 10. PÁGINAS LEGALES -------------------------------------------------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--f-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 2.6em 0 .9em; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.legal li { margin-bottom: .5em; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal .btn { margin-top: 10px; }

/* 11. PIE DE PÁGINA ---------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(60px, 7vw, 100px) 0 32px; position: relative; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: clamp(60px, 8vw, 110px); }
.site-footer__brand img { height: 64px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { color: var(--muted); font-size: 15px; max-width: 300px; }
.site-footer h3 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer ul a, .site-footer ul button { color: var(--ink-2); font-size: 15px; transition: color .3s; text-align: left; }
.site-footer ul a:hover, .site-footer ul button:hover { color: var(--accent); }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.site-footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__giant { font-family: var(--f-display); text-transform: uppercase; font-size: 11.7vw; line-height: .8; letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243,239,231,.18); margin: 0 0 24px -.04em; user-select: none; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); font-family: var(--f-mono); letter-spacing: .04em; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* 12. LIGHTBOX DE VÍDEO ------------------------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 70px var(--gutter) 30px; background: rgba(5,5,6,.94); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.lightbox__frame { width: min(1280px, 100%, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; position: relative; transform: scale(.94); transition: transform .6s var(--ease); box-shadow: 0 40px 120px rgba(0,0,0,.8); }
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: 16px; right: var(--gutter); display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; height: 44px; }
.lightbox__close span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.lightbox__close:hover span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lightbox__close svg { width: 14px; height: 14px; }

/* 13. BANNER DE COOKIES ------------------------------------------------ */
.cookie-banner { position: fixed; z-index: 3000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: translateY(30px); opacity: 0; transition: all .6s var(--ease); }
.cookie-banner.is-visible { transform: none; opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cookie-banner p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; }
.cookie-banner p a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.cookie-banner__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-banner .btn { height: 46px; justify-content: center; padding: 0 16px; font-size: 13px; }

/* 14. INTRO Y GRANO ---------------------------------------------------- */
.grain { position: fixed; inset: -50%; z-index: 1500; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 7%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(-2%, -4%); } }

.intro { position: fixed; inset: 0; z-index: 5000; pointer-events: none; display: grid; place-items: center; }
.intro::before, .intro::after { content: ""; position: absolute; left: 0; right: 0; height: 50.5%; background: #000; transition: transform 1.1s var(--ease-in-out) .9s; }
.intro::before { top: 0; }
.intro::after { bottom: 0; }
.intro__logo { position: relative; z-index: 2; width: min(300px, 60vw); opacity: 0; animation: intro-logo 1.6s var(--ease) forwards; }
@keyframes intro-logo { 0% { opacity: 0; transform: scale(.94); filter: blur(8px); } 35%, 60% { opacity: 1; transform: none; filter: none; } 100% { opacity: 0; transform: scale(1.04); } }
.intro.is-done::before { transform: translateY(-100%); }
.intro.is-done::after { transform: translateY(100%); }

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .poster-wall__col, .ticker__track, .loop__track, .grain { animation: none !important; }
  .loop { overflow-x: auto; }
  .intro { display: none; }
}
.intro-seen .intro, .no-js .intro { display: none; }
.cta__mail { font-size: clamp(24px, 4.4vw, 76px); }

/* Ajustes de insignias y móvil */
.badge__s { display: none; }
@media (max-width: 600px) {
  .film-card .badge, .short-card .badge { top: 8px; left: 8px; font-size: 10px; padding: 5px 8px; }
  .film-card .badge__l, .short-card .badge__l { display: none; }
  .film-card .badge__s, .short-card .badge__s { display: inline; }
  .slide--brand .kicker { font-size: 11px; letter-spacing: .14em; flex-wrap: wrap; }
  .slide--brand .kicker::before, .slide--brand .kicker::after { display: none; }
  .section-title { font-size: clamp(46px, 13vw, 140px); }
}

.lightbox__yt { position: absolute; left: var(--gutter); top: 16px; height: 44px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.lightbox__yt:hover { color: var(--accent); }
.lightbox__yt svg { width: 20px; height: 20px; }

/* Carteles verticales en el carrusel principal */
@media (max-width: 900px) {
}


/* ===== Carrusel: cartel a la derecha del texto (en todos los tamaños) ===== */
.slide__content--split { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: start; align-content: center; align-items: center; column-gap: clamp(32px, 6vw, 110px); }
.slide__copy > * { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .slide__copy > * { opacity: 1; transform: none; }
.slide.is-active .slide__copy > *:nth-child(1) { transition-delay: .35s; }
.slide.is-active .slide__copy > *:nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide__copy > *:nth-child(3) { transition-delay: .65s; }
.slide.is-active .slide__copy > *:nth-child(4) { transition-delay: .8s; }
.slide__content--split > .slide__copy { opacity: 1; transform: none; }
.slide__poster { margin: 0; width: min(34vw, 470px, calc((100vh - 250px) * .705)); }
.slide__poster img { width: 100%; border-radius: var(--radius); box-shadow: 0 50px 100px rgba(0,0,0,.75); transform: rotate(2deg) scale(.92); transition: transform 1.6s .3s var(--ease); }
.slide.is-active .slide__poster img { transform: rotate(7deg); animation: float-tilt 7s 1.9s ease-in-out infinite; }
@keyframes float-tilt { 0%, 100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-14px); } }
@media (max-width: 900px) {
  .slide__content--split { grid-template-columns: minmax(0, 1fr) 38vw; column-gap: 16px; align-content: end; align-items: end; }
  .slide__poster { width: 100%; margin-bottom: 24px; }
  .slide.is-active .slide__poster img { animation: none; transform: rotate(5deg); }
  .slide__content--split .slide__title { font-size: clamp(52px, 15vw, 110px); }
  .slide__content--split .slide__text { font-size: 15px; }
  .slide__content--split .btns { flex-direction: column; align-items: flex-start; gap: 10px; }
  .slide__content--split .btn { height: 46px; padding: 0 20px; }
  .slide__content--split .stat { flex-wrap: wrap; gap: 4px 12px; }
  .slide__content--split .kicker { font-size: 11px; letter-spacing: .12em; }
}

/* ===== Rejilla: película más reciente destacada ===== */
.film-card--featured { grid-column: span 2; grid-row: span 2; }
.film-card--featured .film-card__title { font-size: clamp(30px, 3.4vw, 54px); }
.slide__copy .slide__logo { width: 100%; max-width: 520px; }
.slide__title--long { font-size: clamp(56px, 7.4vw, 120px); }
@media (max-width: 900px) { .slide__content--split .slide__title--long { font-size: clamp(40px, 11vw, 80px); } }

/* ===== Cine y educación ===== */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.edu-grid .short-card__title { font-size: clamp(18px, 2vw, 30px); }
@media (max-width: 600px) {
  .edu-grid { gap: 10px; }
  .edu-grid .short-card__title { font-size: 15px; }
  .edu-grid .short-card__meta { font-size: 10px; }
}

/* ===== Faldón vintage "Bobina histórica" ===== */
.reel-vintage {
  --sepia: #e9d6b0; --ink-old: #2b1d0e;
  position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  width: 100%; margin-top: clamp(36px, 5vw, 64px); padding: 34px clamp(20px, 4vw, 56px);
  min-height: 170px; overflow: hidden; text-align: left; color: var(--sepia);
  background: radial-gradient(ellipse at center, #5a4122 0%, #2a1b0c 75%, #140c05 100%);
  border-radius: var(--radius); isolation: isolate;
  box-shadow: inset 0 0 80px rgba(0,0,0,.8), 0 20px 50px rgba(0,0,0,.45);
}
/* perforaciones de película arriba y abajo */
.reel-vintage::before, .reel-vintage::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; z-index: 3; background: #0d0904;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 14px, transparent 14px 28px) , linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
  background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(233,214,176,.85) 8px 20px, transparent 20px 28px);
  background-size: 28px 8px; background-repeat: repeat-x; background-position: 0 center;
}
.reel-vintage::before { top: 0; }
.reel-vintage::after { bottom: 0; }
.reel-vintage__bg { position: absolute; inset: 0; z-index: -1; }
.reel-vintage__bg img { width: 100%; height: 100%; object-fit: cover; filter: sepia(1) contrast(1.15) brightness(.45) blur(1px); transform: scale(1.05); transition: filter .6s, transform 1.2s var(--ease); }
.reel-vintage__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at center, transparent 30%, rgba(20,12,5,.85) 100%),
  repeating-linear-gradient(90deg, transparent 0 120px, rgba(233,214,176,.06) 120px 121px, transparent 121px 260px);
  animation: flicker 3s infinite steps(1); }
@keyframes flicker { 0%, 100% { opacity: 1; } 7% { opacity: .85; } 9% { opacity: 1; } 52% { opacity: .9; } 54% { opacity: 1; } }
.reel-vintage__reel { flex: none; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--sepia);
  background: radial-gradient(circle, var(--sepia) 0 9%, transparent 10% 100%),
    conic-gradient(from 0deg, transparent 0 14%, rgba(233,214,176,.85) 14% 19%, transparent 19% 33%, rgba(233,214,176,.85) 33% 38%, transparent 38% 52%, rgba(233,214,176,.85) 52% 57%, transparent 57% 72%, rgba(233,214,176,.85) 72% 77%, transparent 77% 91%, rgba(233,214,176,.85) 91% 96%, transparent 96%);
  animation: spin 6s linear infinite; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }
.reel-vintage__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.reel-vintage__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.reel-vintage__title { font-family: var(--f-mono); font-weight: 700; font-size: clamp(28px, 4.6vw, 64px); line-height: 1; letter-spacing: .02em; text-shadow: 2px 2px 0 rgba(0,0,0,.5); }
.reel-vintage__play { flex: none; width: clamp(60px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--sepia); color: var(--ink-old); transition: transform .4s var(--ease), background .3s; }
.reel-vintage__play svg { width: 30%; margin-left: 4px; }
.reel-vintage:hover .reel-vintage__play { transform: scale(1.1); background: var(--accent); }
.reel-vintage:hover .reel-vintage__bg img { filter: sepia(1) contrast(1.15) brightness(.6) blur(0); transform: scale(1.1); }
.reel-vintage:hover .reel-vintage__reel { animation-duration: 1.5s; }
@media (max-width: 600px) {
  .reel-vintage { padding: 32px 18px; gap: 14px; min-height: 140px; }
  .reel-vintage__reel { display: none; }
  .reel-vintage__kicker { font-size: 10px; letter-spacing: .2em; }
}

/* ===== Faldón "Los Clásicos" (granate y oro) ===== */
.reel-classic {
  --gold: #e8c26a; --wine-ink: #230810;
  position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  width: 100%; margin-top: clamp(20px, 3vw, 32px); padding: 34px clamp(20px, 4vw, 56px);
  min-height: 170px; overflow: hidden; text-align: left; color: var(--gold);
  background: radial-gradient(ellipse at center, #6b1a2e 0%, #35091a 75%, #17040c 100%);
  border-radius: var(--radius); isolation: isolate;
  box-shadow: inset 0 0 80px rgba(0,0,0,.8), inset 0 0 0 2px rgba(232,194,106,.35), 0 20px 50px rgba(0,0,0,.45);
}
/* marco de bombillas dorado arriba y abajo */
.reel-classic::before, .reel-classic::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; z-index: 3; background-color: #12030a;
  background-image: radial-gradient(circle, rgba(232,194,106,.95) 0 3px, transparent 4px);
  background-size: 24px 18px; background-repeat: repeat-x; background-position: 0 center;
}
.reel-classic::before { top: 0; }
.reel-classic::after { bottom: 0; }
.reel-classic__bg { position: absolute; inset: 0; z-index: -1; }
.reel-classic__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.4); transform: scale(1.05); transition: filter .6s, transform 1.2s var(--ease); mix-blend-mode: luminosity; }
.reel-classic__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at center, rgba(107,26,46,.35) 20%, rgba(23,4,12,.9) 100%),
  repeating-linear-gradient(135deg, transparent 0 14px, rgba(232,194,106,.05) 14px 15px); }
.reel-classic__icon { flex: none; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; display: grid; place-items: center; color: var(--gold); opacity: .95; transition: transform .5s var(--ease); }
.reel-classic__icon svg { width: 100%; height: 100%; }
.reel-classic__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.reel-classic__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.reel-classic__title { font-family: var(--f-display); font-size: clamp(32px, 5vw, 72px); line-height: 1; letter-spacing: .04em; text-transform: uppercase; text-shadow: 2px 2px 0 rgba(0,0,0,.55); }
.reel-classic__play { flex: none; width: clamp(60px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--wine-ink); transition: transform .4s var(--ease), background .3s; }
.reel-classic__play svg { width: 30%; margin-left: 4px; }
.reel-classic:hover .reel-classic__play { transform: scale(1.1); background: var(--accent); }
.reel-classic:hover .reel-classic__icon { transform: rotate(-8deg) scale(1.08); }
.reel-classic:hover .reel-classic__bg img { filter: grayscale(1) contrast(1.1) brightness(.6); transform: scale(1.1); }
@media (max-width: 600px) {
  .reel-classic { padding: 32px 18px; gap: 14px; min-height: 140px; }
  .reel-classic__icon { display: none; }
  .reel-classic__kicker { font-size: 10px; letter-spacing: .2em; }
}
