﻿/* Google Fonts cargado de forma asíncrona desde el HTML — no usar @import aquí */

@font-face {
  font-family: "Novela";
  src: url("fonts/400-novela-regular-webfont.woff2") format("woff2"),
       url("fonts/400-novela-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novela";
  src: url("fonts/600-novela-semibold-webfont.woff2") format("woff2"),
       url("fonts/600-novela-semibold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novela Display";
  src: url("fonts/500-novela-displayregular-webfont.woff2") format("woff2"),
       url("fonts/500-novela-displayregular-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novela Display";
  src: url("fonts/500-novela-displayitalic-webfont.woff2") format("woff2"),
       url("fonts/500-novela-displayitalic-webfont.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --header-h: 96px;
  --section-x: 30px;
  --bg: #f2f1ee;
  --text: #171717;
  --muted: #8f8f8f;
  --line: rgba(0, 0, 0, 0.12);
  --soft: #f2f1ee;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  cursor: pointer;
}

#noise-overlay,
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.main-wrap {
  padding-top: var(--header-h);
}

.section-block {
  padding: 64px var(--section-x);
  background: var(--bg);
}

.content-narrow,
.content-bio,
.header-inner,
.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}


.titulo-hero,
.titulo-1,
.titulo-2,
.titulo-3,
.titulo-4,
.brand {
  font-family: "Novela Display", "Novela", Georgia, serif;
  font-weight: 500;
}

.titulo-hero,
.titulo-1,
.titulo-2,
.titulo-3,
.titulo-4 {
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1.2em;
  max-width: 850px;
}

.titulo-hero { font-size: 60px; }
.titulo-1 { font-size: 48px; }
.titulo-2 { font-size: 48px; }
.titulo-3 { font-size: 36px; }
.titulo-4 { font-size: 30px; }

.texto-base {
  margin: 0;
  font-size: 16px;
  line-height: 1.8em;
  max-width: 650px;
}

.text-balance { text-wrap: balance; }
.center { text-align: center; }
.center-text { text-align: center; margin-inline: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: #f2f1ee;
  padding: 0 var(--section-x);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.brand {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  color: inherit;
  font-size: 27px;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  margin: -10px -12px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.site-nav {
  position: absolute;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  height: 100%;
  gap: 30px;
}

.site-nav a,
.langs a {
  text-decoration: none;
  color: #000;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav > a,
.nav-trigger {
  position: relative;
}

.site-nav > a::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 29px;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav > a:hover::after,
.nav-item:hover .nav-trigger::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.langs a:hover { color: var(--text); }

.langs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9a9a9a;
  font-size: 12px;
  justify-self: end;
}

.langs a {
  color: #8a8a8a;
}

.langs a.active {
  color: #000;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px 0;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.menu-toggle-icon {
  display: block;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 100%;
}

.site-nav > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-caret {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + var(--films-dd-offset, 0px) - 1px);
  left: -17px;
  transform: none;
  background: var(--bg);
  border: 1px solid var(--line);
  min-width: 320px;
  padding: 0;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-item:hover .nav-dropdown {
  display: block;
}

/* ── MEGAMENÚ FILMS (solo desktop) ─────────────────────── */
.nav-megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  z-index: 200;
  animation: megamenu-in 0.18s ease both;
}

@keyframes megamenu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.megamenu-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--section-x);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 20px;
}

.megamenu-film {
  text-decoration: none;
  color: inherit;
}

.megamenu-film-thumb {
  position: relative;
  overflow: hidden;
  background: #0f0f10;
}

.megamenu-film-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.megamenu-film-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%) scale(0.7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='23' fill='%23f2f1ee'/%3E%3Cg stroke='%23171717' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none' transform='translate(12,12)'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.megamenu-film:hover .megamenu-film-thumb::before {
  opacity: 1;
}

.megamenu-film:hover .megamenu-film-thumb::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.megamenu-film-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.megamenu-film:hover .megamenu-film-thumb img {
  transform: scale(1.06);
}

.megamenu-film-info {
  padding-top: 9px;
}

.megamenu-film-title {
  display: block;
  font-size: 13px;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}

.megamenu-film-year {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.megamenu-film-badge {
  display: inline-block;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(23, 23, 23, 0.28);
  padding: 2px 5px;
  line-height: 1.6;
  transform: translateY(-3px);
}

.nav-dd-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-dd-item:last-child {
  border-bottom: 0;
}

.nav-dd-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dd-meta {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.dd-badge {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 5px;
  flex-shrink: 0;
}

.films-grid,
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 84px;
  column-gap: 56px;
}

.film-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: #000;
}

.film-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.film-img-wrap .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
}

.film-item.has-hover:hover .img-hover {
  opacity: 1;
}

.film-item.has-hover:hover .img-primary {
  opacity: 0;
}

.film-item:hover {
  cursor: pointer;
}

.film-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.film-meta .titulo-4 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.film-meta span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding-top: 5px;
}

.dev-block {
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

.section-label {
  margin: 0 0 52px;
  text-align: center;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker {
  margin: 0 0 10px;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  padding: 0;
  border: 0;
}

.section-title-line {
  display: block;
  width: 88px;
  height: 1px;
  background: var(--line);
  margin: 2px 0 12px;
}

.img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  padding: 4px 10px;
  pointer-events: none;
}

.films-block { padding-bottom: 120px; }

/* ── FILM DESTACADO ─────────────────────────────────────── */
.film-featured {
  grid-column: 1 / -1;
}

.film-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.film-featured-img-wrap {
  position: relative;
  overflow: hidden;
}

.film-featured-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.film-featured-link:hover .film-featured-img-wrap img {
  transform: scale(1.025);
}

/* ── Overlay oscuro en hover ────────────────────────────── */
.film-img-wrap::before,
.film-featured-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.film-item:hover .film-img-wrap::before,
.film-featured-link:hover .film-featured-img-wrap::before {
  opacity: 1;
}

/* ── Icono flecha en hover ───────────────────────────────── */
.film-img-wrap::after,
.film-featured-img-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%) scale(0.7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='23' fill='%23f2f1ee'/%3E%3Cg stroke='%23171717' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none' transform='translate(12,12)'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease,
              transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.film-item:hover .film-img-wrap::after,
.film-featured-link:hover .film-featured-img-wrap::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.film-featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.film-featured-meta .titulo-4 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.film-featured-meta span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bio-block {
  border-top: 1px solid var(--line);
  background: #0f0f10;
  color: #f2f1ee;
  padding-top: 120px;
  padding-bottom: 120px;
}

.bio-grid {
  display: flex;
  gap: 64px;
  align-items: center;
}

.bio-photo {
  flex: 1 1 0;
  min-width: 0;
}

.bio-text {
  flex: 1 1 0;
  min-width: 0;
}

.bio-body { margin-top: 24px; }

.bio-photo img {
  width: 100%;
  display: block;
}

.bio-link {
  display: inline-block;
  margin-top: 24px;
}

.bio-block .texto-base {
  color: rgba(242, 241, 238, 0.86);
}

.bio-block .section-kicker {
  color: rgba(242, 241, 238, 0.75);
}

.bio-block .section-title-line {
  background: rgba(242, 241, 238, 0.3);
}

.bio-block .bio-link {
  color: rgba(242, 241, 238, 0.88);
  border-color: rgba(242, 241, 238, 0.35);
}

.podcast-block {
  border-top: 1px solid var(--line);
  margin-top: -1px;
  padding-top: 48px;
  padding-bottom: 48px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Podcast dentro del footer: fondo claro sobre el bloque oscuro */
.site-footer .podcast-block {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-footer .podcast-block .section-kicker { color: #666; }
.site-footer .podcast-block .section-title-line { background: var(--line); }

.podcast-block .section-title-line { display: none; }
.podcast-block .section-kicker { margin: 0; }
.podcast-block .titulo-3 { margin-bottom: 0; }

.podcast-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.podcast-player {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  max-width: 200px;
}

.podcast-text {
  flex: 0 0 auto;
  max-width: 600px;
}

.podcast-body { margin-top: 12px; }

.podcast-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline,
.btn-text,
.bio-link {
  text-decoration: none;
  color: #666;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  padding: 11px 16px;
}

.btn-outline {
  border: 1px solid var(--line);
}

/* Especificidad doble para ganar a .interactive */
.btn-outline.interactive,
.btn-text.interactive,
.bio-link.interactive {
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              transform 0.2s ease, opacity 0.2s ease;
}

.btn-outline:hover,
.btn-text:hover {
  background: var(--text);
  border-color: var(--text);
  color: #f2f1ee;
}

.bio-block .bio-link:hover {
  background: #f2f1ee;
  border-color: #f2f1ee;
  color: var(--text);
}

.btn-text {
  border: 1px solid var(--line);
}

.podcast-player img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.player-ui {
  margin-top: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px;
  position: relative;
}

.line { height: 5px; background: rgba(0, 0, 0, 0.08); margin-bottom: 6px; }
.line-a { width: 45%; }
.line-b { width: 32%; }
.line-c { width: 70%; }

.player-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  border: none;
  background: #8a8a8a;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f0f10;
  color: #f2f1ee;
}

.footer-top {
  padding: 72px var(--section-x) 64px;
}

.footer-title {
  font-family: "Novela Display", "Novela", Georgia, serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #f2f1ee;
}

.footer-sub {
  font-size: 14px;
  color: rgba(242, 241, 238, 0.55);
  margin: 0 0 52px;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.footer-contact-item:hover {
  opacity: 0.7;
}

.footer-contact-item:hover .footer-icon {
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2f1ee;
  transition: border-color 0.2s ease;
}

.footer-contact-label {
  font-size: 14px;
  font-weight: 500;
  color: #f2f1ee;
  text-decoration: none;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px var(--section-x);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-legal a {
  text-decoration: none;
  font-size: 13px;
  color: rgba(242, 241, 238, 0.45);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #f2f1ee;
}

.footer-credit {
  font-size: 13px;
  color: rgba(242, 241, 238, 0.45);
}

.footer-credit a {
  text-decoration: none;
  color: rgba(242, 241, 238, 0.45);
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: #f2f1ee;
}

@media (max-width: 478px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }
}

.interactive { transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease; }
.fade-item { opacity: 0; transform: translateY(18px); }

/* DESKTOP */
@media (min-width: 992px) {
  .site-nav { display: flex !important; }
  .nav-item .nav-dropdown { display: none !important; }
  .site-header.megamenu-open .nav-megamenu { display: block; }
}

/* ── Film grid: en táctil el primer tap navega directamente ─ */
@media (hover: none) {
  .film-item .img-hover { display: none !important; }
}

/* ── NAV MÓVIL — panel completo (compartido ≤767px) ────── */
@media (max-width: 767px) {
  /* Panel — fixed al viewport, no depende del containing block */
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    /* Anular el transform: translateX(-50%) del desktop */
    transform: none;
    background: #f2f1ee;
    border-bottom: 2px solid var(--text);
    display: none;
    flex-direction: column;
    z-index: 60;
  }
  .site-nav.is-open { display: flex; }

  /* Resetear estilos de desktop */
  .site-nav > a,
  .site-nav .nav-item,
  .nav-trigger { height: auto; }

  .site-nav .nav-item { display: block; width: 100%; }

  /* Ítems de primer nivel */
  .site-nav > a,
  .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px var(--section-x);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
  }
  .site-nav > a:last-child { border-bottom: none; }
  .nav-item.is-open > .nav-trigger { border-bottom: none; }

  /* Chevron */
  .nav-caret {
    width: 14px; height: 14px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }
  .nav-item.is-open .nav-caret { transform: rotate(180deg); }

  /* Dropdown inline */
  .nav-dropdown {
    position: static;
    box-shadow: none;
    background: rgba(23, 23, 23, 0.04);
    border: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
    min-width: 0;
    width: 100%;
    display: none;
    margin-bottom: 0;
  }
  .nav-item.is-open .nav-dropdown { display: block; }

  /* Ítems del dropdown */
  .nav-dd-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px var(--section-x) 13px calc(var(--section-x) + 20px);
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav-dd-item:last-child { border-bottom: none; }

  .dd-meta {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
    margin-left: 12px;
  }
  .dd-badge {
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 2px 7px;
    flex-shrink: 0;
    margin-left: 12px;
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 991px) {
  .titulo-hero { font-size: 52px; }
  .titulo-1 { font-size: 42px; }
  .titulo-2 { font-size: 42px; }
  .titulo-3 { font-size: 30px; }
  .titulo-4 { font-size: 24px; }

  .site-nav { gap: 14px; }
  .film-meta .titulo-4 { font-size: 24px; }

  /* tablet: podcast ya es flex 1fr 1fr, sin cambios necesarios */
  .footer-contacts { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .film-featured-meta .titulo-4 { font-size: 22px; }
}

/* MOBILE HORIZONTAL*/
@media (min-width: 479px) and (max-width: 767px) {
  :root { --header-h: 72px; }

  .titulo-hero { font-size: 43px; }
  .titulo-1 { font-size: 35px; }
  .titulo-2 { font-size: 35px; }
  .titulo-3 { font-size: 25px; }
  .titulo-4 { font-size: 20px; }

  .menu-toggle { display: inline-flex; }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .brand { font-size: 20px; }

  .films-grid,
  .dev-grid { grid-template-columns: 1fr; }

  /* Bio y Podcast: flex column + display:contents + order */
  .bio-grid    { flex-direction: column; align-items: stretch; }
  .bio-text    { display: contents; }
  .bio-header  { order: 1; }
  .bio-photo   { order: 2; }
  .bio-body    { order: 3; }

  .podcast-grid { flex-direction: column; align-items: stretch; }
  .podcast-text  { display: contents; }
  .podcast-header { order: 1; }
  .podcast-player { order: 2; }
  .podcast-body   { order: 3; }

  .film-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .film-meta .titulo-4 { font-size: 20px; }

  .films-grid, .dev-grid { row-gap: 48px; column-gap: 32px; }

  .footer-contacts { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-title { font-size: 32px; }

  .section-block,
  .bio-block,
  .podcast-block { padding-top: 64px; padding-bottom: 64px; }
  .films-block { padding-bottom: 72px; }
  .bio-grid { gap: 32px; } /* gap entre photo y text-items en col */
  .podcast-grid { gap: 24px; }
  .film-featured-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .film-featured-meta .titulo-4 { font-size: 20px; }
  .film-featured-meta span { margin-top: 0; }
}

/* MOBILE VERTICAL*/
@media (max-width: 478px) {
  :root { --section-x: 20px; --header-h: 64px; }

  .titulo-hero { font-size: 36px; }
  .titulo-1 { font-size: 29px; }
  .titulo-2 { font-size: 29px; }
  .titulo-3 { font-size: 22px; }
  .titulo-4 { font-size: 18px; }

  .menu-toggle { display: inline-flex; }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .langs { display: none; }
  .brand { font-size: 18px; }

  .films-grid,
  .dev-grid { grid-template-columns: 1fr; }

  /* Bio y Podcast: flex column + display:contents + order */
  .bio-grid    { flex-direction: column; align-items: stretch; }
  .bio-text    { display: contents; }
  .bio-header  { order: 1; }
  .bio-photo   { order: 2; }
  .bio-body    { order: 3; }

  .podcast-grid { flex-direction: column; align-items: stretch; }
  .podcast-text  { display: contents; }
  .podcast-header { order: 1; }
  .podcast-player { order: 2; }
  .podcast-body   { order: 3; }

  .film-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .film-meta .titulo-4 { font-size: 18px; }

  .films-grid, .dev-grid { row-gap: 36px; column-gap: 16px; }

  .footer-contacts { grid-template-columns: 1fr; gap: 20px; }
  .footer-title { font-size: 28px; }

  .section-block,
  .bio-block,
  .podcast-block { padding-top: 56px; padding-bottom: 56px; }
  .films-block { padding-bottom: 56px; }
  .bio-grid { gap: 28px; }
  .podcast-grid { gap: 20px; }
  .film-featured-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .film-featured-meta .titulo-4 { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════
   FILM PAGE — estilos compartidos (good-bye-ringo, un-padre, etc.)
   ═══════════════════════════════════════════════════════ */

.film-page-wrap { padding-top: var(--header-h); }

/* ── Título ──────────────────────────────────────────── */
.film-title-block { padding: 72px var(--section-x) 52px; text-align: center; }
.film-title-block .titulo-hero { margin: 0 auto 20px; color: var(--text); text-align: center; }
.film-title-meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.film-title-meta .dot { color: var(--line); }

/* ── Imagen principal ────────────────────────────────── */
.film-cover-block { padding: 0 var(--section-x); }
.film-cover-block img { width: 100%; height: auto; display: block; }

/* ── Sinopsis ────────────────────────────────────────── */
.film-synopsis-block { padding: 90px var(--section-x) 96px; }
.film-synopsis-text { max-width: 750px; margin: 0 auto; text-align: center; padding-bottom: 64px; }
.film-synopsis-text .section-kicker { text-align: center; }
.film-synopsis-text .texto-base { color: rgba(23,23,23,0.82); line-height: 1.9em; max-width: 100%; }
.film-synopsis-body {
  font-family: "Novela", Georgia, serif; font-size: 20px;
  line-height: 1.6em; color: var(--text); text-wrap: balance; margin: 0;
}

/* Trailer thumbnail */
.trailer-thumb {
  display: block; position: relative; margin-top: 28px;
  overflow: hidden; text-decoration: none; cursor: pointer;
}
.trailer-thumb img { width: 100%; height: auto; display: block; }
.trailer-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.22);
}
.trailer-play-circle {
  width: 58px; height: 58px; background: #f2f1ee; border: none;
  border-radius: 50% !important;
  display: flex; align-items: center; justify-content: center;
  color: #171717; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.trailer-thumb:hover .trailer-play-circle { transform: scale(1.12); }
.trailer-play-circle svg { margin-left: 2px; }

/* Trailer como botón de texto (sin miniatura) */
.trailer-thumb--btn {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; margin: 28px auto 0; padding: 14px 28px;
  border: 1px solid var(--text); text-decoration: none;
  color: var(--text); font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; font-family: var(--font-body);
  transition: background 0.22s ease, color 0.22s ease;
}
.trailer-thumb--btn:hover { background: var(--text); color: var(--bg); }
.trailer-thumb--btn svg { flex-shrink: 0; }

/* ── Ficha técnica ───────────────────────────────────── */
.film-credits-block { padding: 64px var(--section-x) 120px; }
.film-section-title {
  font-family: "Novela Display", "Novela", Georgia, serif; font-weight: 500; font-size: 36px;
  line-height: 1.2; margin: 0 0 48px; color: var(--text);
}
.film-credits-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.film-credit-item { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.film-credit-item:nth-last-child(-n+2) { border-bottom: none; }
.film-credit-item:nth-child(odd) { border-right: 1px solid var(--line); }
.film-credit-item:nth-child(odd):last-child { border-right: none; }
.film-credit-item:nth-child(even) { padding-left: 24px; }
.film-credit-role { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.film-credit-name { font-family: "Novela", Georgia, serif; font-size: 20px; line-height: 1.35; color: var(--text); text-wrap: balance; }

/* ── Galería de imágenes ─────────────────────────────── */
.film-galeria-block { padding: 0 var(--section-x) 120px; }
.film-galeria-img { width: 100%; height: auto; display: block; }
.film-galeria-img + .film-galeria-img { margin-top: 24px; }

/* ── Festivales ──────────────────────────────────────── */
.film-festivals-block { padding: 120px var(--section-x); background: #0f0f10; }
.film-festivals-block .film-section-title { color: #f2f1ee; }
.film-festivals-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.film-festival-item {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.film-festival-laurel { width: 36px; height: 36px; color: #f2f1ee; flex-shrink: 0; }
.film-festival-name { font-family: "Novela", Georgia, serif; font-size: 19px; color: #f2f1ee; line-height: 1.3; text-transform: capitalize; }
.film-festival-prize { font-size: 11px; color: rgba(242,241,238,0.5); letter-spacing: 0.06em; margin-top: 4px; text-transform: uppercase; }
.film-festival-year { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #f2f1ee; flex-shrink: 0; text-align: right; }

/* ── Navegación entre films ──────────────────────────── */
.film-nav-block { padding: 72px var(--section-x); }
.film-nav-inner { width: min(1200px, 100%); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.film-nav-link {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--muted);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.film-nav-link:hover { color: var(--text); }
.film-nav-arrow { flex-shrink: 0; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.film-nav-link:hover .film-nav-arrow-left { transform: translateX(-4px); }
.film-nav-link:hover .film-nav-arrow-right { transform: translateX(4px); }
.film-nav-next-wrap { display: flex; flex-direction: column; align-items: flex-end; }
#film-nav-prev .film-nav-next-wrap { align-items: flex-start; }
.film-nav-next-title {
  display: block; font-family: "Novela", Georgia, serif; font-size: 22px;
  color: var(--text); margin-top: 4px; letter-spacing: 0;
  text-transform: none; transition: opacity 0.2s ease;
}
.film-nav-link:hover .film-nav-next-title { opacity: 0.55; }
.film-nav-all { flex-shrink: 0; margin: 0 16px; }

/* ── Responsive film page ────────────────────────────── */
@media (max-width: 991px) {
  .film-festival-item { grid-template-columns: 32px 1fr auto; gap: 14px; }
}

/* TABLET */
@media (min-width: 479px) and (max-width: 767px) {
  .film-title-block { padding: 52px var(--section-x) 36px; }
  .film-title-block .titulo-hero { font-size: 44px; }
  .film-synopsis-block { padding: 64px var(--section-x); }
  .film-credits-block { padding: 64px var(--section-x); }
  .film-festivals-block { padding: 64px var(--section-x); }
  .film-galeria-block { padding-bottom: 64px; }
  .film-nav-block { padding: 56px var(--section-x); }
  .film-section-title { font-size: 26px; margin-bottom: 28px; }
  .film-synopsis-body { font-size: 17px; }
  .film-credit-name { font-size: 16px; }
  .film-festival-item { grid-template-columns: 28px 1fr; gap: 12px; }
  .film-festival-name { font-size: 16px; }
  .film-festival-year { display: none; }
  .film-nav-next-title { font-size: 16px; }
  .film-nav-link { font-size: 10px; gap: 10px; }
}

/* MOBILE VERTICAL */
@media (max-width: 478px) {
  .film-title-block { padding: 40px var(--section-x) 28px; }
  .film-title-block .titulo-hero { font-size: 34px; }
  .film-synopsis-block { padding: 56px var(--section-x); }
  .film-credits-block { padding: 56px var(--section-x); }
  .film-festivals-block { padding: 56px var(--section-x); }
  .film-galeria-block { padding-bottom: 56px; }
  .film-nav-block { padding: 48px var(--section-x); }
  .film-section-title { font-size: 22px; margin-bottom: 24px; }
  .film-synopsis-body { font-size: 16px; line-height: 1.6em; }
  .film-credit-name { font-size: 15px; }
  .film-credit-item { padding: 16px 16px 16px 0; }
  .film-credit-item:nth-child(even) { padding-left: 16px; }
  .film-festival-item { grid-template-columns: 24px 1fr; gap: 10px; padding: 16px 0; }
  .film-festival-name { font-size: 15px; }
  .film-festival-year { display: none; }
  .film-festival-laurel { width: 24px; height: 24px; }
  /* Nav: 2 columnas compactas */
  .film-nav-inner { gap: 12px; }
  .film-nav-next-title { font-size: 14px; margin-top: 2px; }
  .film-nav-link { font-size: 9px; gap: 8px; }
  .film-nav-all { display: none; }
}

/* ═══════════════════════════════════════════════════════
   PÁGINAS LEGALES
   ═══════════════════════════════════════════════════════ */
.legal-page {
  background: var(--bg);
  min-height: 100vh;
  padding: 180px var(--section-x) 80px;
}
.legal-inner {
  max-width: 820px;
  margin: 0 auto;
}
.legal-page .titulo-1 {
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 14px;
  color: var(--text-muted, #888);
  margin-bottom: 56px;
}
.legal-section {
  margin-bottom: 48px;
}
.legal-section h2 {
  font-family: "Novela Display", "Novela", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0;
}
.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 12px;
}
.legal-section ul,
.legal-section ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-section li {
  margin-bottom: 6px;
}
.legal-data {
  list-style: none;
  padding: 0;
}
.legal-data li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.legal-data li:first-child {
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}
.legal-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-link:hover {
  opacity: 0.6;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 20px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  color: var(--text);
  line-height: 1.5;
}
.legal-table th {
  background: var(--bg-alt, rgba(255,255,255,0.04));
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.legal-table code {
  font-family: "Courier New", monospace;
  font-size: 13px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 3px;
}
.legal-footer-note {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  font-size: 13px;
  color: var(--text-muted, #888);
}

/* ── Responsive legal ────────────────────────────── */
@media (max-width: 767px) {
  .legal-page { padding: 100px 24px 60px; }
  .legal-section h2 { font-size: 19px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 12px; }
}
@media (max-width: 478px) {
  .legal-page { padding: 88px 16px 48px; }
  .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ════════════════════════════════════════════════
   BIO PAGE
   ════════════════════════════════════════════════ */

.bio-page-wrap { padding-top: var(--header-h); }

/* ── Bloque título ──────────────────────────────── */
.bio-page-title-block {
  padding: 80px var(--section-x) 56px;
  text-align: center;
  background: var(--bg);
}
.bio-page-title-block .section-kicker { text-align: center; }
.bio-page-title-block .titulo-1 { margin: 0 auto 0.35em; text-align: center; }
.bio-page-title-block .section-title-line { margin: 0 auto 0; }

/* ── Bloque contenido ───────────────────────────── */
.bio-page-content-block {
  padding: 80px var(--section-x) 110px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.bio-page-grid {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.bio-page-photo {
  flex: 0 0 400px;
  max-width: 400px;
}

.bio-page-photo img {
  width: 100%;
  display: block;
}

.bio-page-text {
  flex: 1;
  min-width: 0;
}

.bio-page-text p {
  font-size: 17px;
  line-height: 1.95em;
  color: rgba(23, 23, 23, 0.82);
  margin-top: 0;
  margin-bottom: 1.3em;
  max-width: 680px;
}

.bio-page-text h2,
.bio-page-text h3 {
  font-family: "Novela Display", "Novela", Georgia, serif;
  font-weight: 500;
  margin-top: 2em;
  margin-bottom: 0.4em;
}

/* ── Responsive bio page ────────────────────────── */
@media (max-width: 991px) {
  .bio-page-grid { gap: 48px; }
  .bio-page-photo { flex: 0 0 320px; max-width: 320px; }
}

@media (max-width: 767px) {
  .bio-page-title-block { padding: 60px var(--section-x) 40px; }
  .bio-page-content-block { padding: 56px var(--section-x) 72px; }
  .bio-page-grid { flex-direction: column; gap: 36px; }
  .bio-page-photo { flex: none; max-width: 100%; }
  .bio-page-text p { font-size: 16px; }
}

@media (max-width: 478px) {
  .bio-page-title-block { padding: 48px var(--section-x) 32px; }
  .bio-page-content-block { padding: 48px var(--section-x) 60px; }
  .bio-page-text p { font-size: 15px; line-height: 1.8em; }
}
