/* ============================================================
   Festival Recanto do Cinema — Design System
   ============================================================ */

/* ── Google Fonts por edição ────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400&display=swap');

/* ── @font-face — fontes customizadas ───────────────────── */
/* 2024 · Peghas Regular (títulos) — coloque o arquivo em /fonts/ */
@font-face {
  font-family: 'Peghas Regular';
  src: url('https://firebasestorage.googleapis.com/v0/b/festival-recanto-cinema.firebasestorage.app/o/fonts%2Fpeghas_regular.otf?alt=media') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* 2022 · Positive System (títulos) — coloque o arquivo em /fonts/ */
@font-face {
  font-family: 'Positive System';
  src: url('https://firebasestorage.googleapis.com/v0/b/festival-recanto-cinema.firebasestorage.app/o/fonts%2Fpositive_system.otf?alt=media') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Tipografia por edição ──────────────────────────────── */

/* 2024: Peghas Regular (títulos) + Work Sans Extra Light (texto) */
html[data-edition="2024"] h1,
html[data-edition="2024"] h2,
html[data-edition="2024"] h3,
html[data-edition="2024"] h4 {
  font-family: 'Peghas Regular', 'Oswald', 'Anton', sans-serif;
  font-weight: normal;
  letter-spacing: 0.04em;
}
html[data-edition="2024"] body,
html[data-edition="2024"] p,
html[data-edition="2024"] li,
html[data-edition="2024"] .text-gray,
html[data-edition="2024"] .prose p {
  font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
}
html[data-edition="2024"] .navbar__link,
html[data-edition="2024"] .navbar__link--dd,
html[data-edition="2024"] .navbar__dropdown-link {
  font-family: 'Peghas Regular', 'Oswald', sans-serif;
  font-weight: normal;
  letter-spacing: 0.03em;
}

/* 2022: Positive System (títulos + nav) + Arial (texto) */
html[data-edition="2022"] h1,
html[data-edition="2022"] h2,
html[data-edition="2022"] h3,
html[data-edition="2022"] h4 {
  font-family: 'Positive System', 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-weight: normal;
  letter-spacing: 0.06em;
}
html[data-edition="2022"] body,
html[data-edition="2022"] p,
html[data-edition="2022"] li {
  font-family: Arial, 'Helvetica Neue', sans-serif;
}
html[data-edition="2022"] .navbar__link,
html[data-edition="2022"] .navbar__dropdown-link {
  font-family: 'Positive System', 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-weight: normal;
  letter-spacing: 0.05em;
}
html[data-edition="2022"] .navbar__link:hover,
html[data-edition="2022"] .navbar__link.active,
html[data-edition="2022"] .navbar__item.open > .navbar__link--dd {
  color: #b45ad4;
}

/* 2024 — footer customizado com pills */
.footer--2024 {
  background: #000;
  padding: 2.5rem 0 0;
}
.footer2024__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.footer2024__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 680px;
}
.footer2024__pill {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--white);
  font-family: 'Peghas Regular', 'Oswald', sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.footer2024__pill:hover {
  background: var(--gold);
  color: #000;
}
.footer2024__logo {
  flex-shrink: 0;
}
.footer2024__logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer2024__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  border-top: 1px solid #222;
  text-align: center;
}
.footer2024__bottom p {
  font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.8;
}
@media (max-width: 640px) {
  .footer2024__inner { flex-direction: column; align-items: center; }
  .footer2024__links { justify-content: center; }
  .footer2024__logo img { height: 80px; }
}

/* 2022 — footer Positive System */
html[data-edition="2022"] .footer__logo-main,
html[data-edition="2022"] .footer__logo-sub,
html[data-edition="2022"] .footer__col h4,
html[data-edition="2022"] .footer__col a,
html[data-edition="2022"] .footer__desc,
html[data-edition="2022"] .footer__bottom p {
  font-family: 'Positive System', 'Space Grotesk', 'Trebuchet MS', sans-serif;
}
html[data-edition="2022"] .footer__col a:hover { color: #b45ad4; }
html[data-edition="2022"] .footer__logo-sub    { color: #b45ad4; }
html[data-edition="2022"] .footer__partners    { display: none; }

/* 2020: Avenir Light (títulos e texto) — Nunito como substituto web */
html[data-edition="2020"] h1,
html[data-edition="2020"] h2,
html[data-edition="2020"] h3,
html[data-edition="2020"] h4,
html[data-edition="2020"] body,
html[data-edition="2020"] p,
html[data-edition="2020"] li {
  font-family: 'Avenir', 'Nunito', 'Century Gothic', sans-serif;
  font-weight: 300;
}
html[data-edition="2020"] h1,
html[data-edition="2020"] h2,
html[data-edition="2020"] h3 {
  font-weight: 300;
  letter-spacing: 0.02em;
}

:root {
  --bg:          #111111;
  --bg-surface:  #1a1a1a;
  --gold:        #c8952a;
  --gold-light:  #e0ad42;
  --gold-dark:   #9a6f1a;
  --white:       #ffffff;
  --gray:        #aaaaaa;
  --gray-dark:   #555555;
  --text:        #e8e8e8;
  --nav-h:       72px;
  --max-w:       1200px;
  --radius:      4px;
  --transition:  0.25s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.title-gold {
  color: var(--gold);
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
}
.section-title {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-title-gold {
  color: var(--gold);
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: 1.5rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Helpers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 5rem 0;
}
.section-sm {
  padding: 3rem 0;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 2rem;
}
.divider-left {
  margin-left: 0;
}
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-gray   { color: var(--gray); }

/* ── Top Bar ────────────────────────────────────────────── */
.top-bar {
  height: 5px;
  background: var(--gold);
  width: 100%;
}

/* ── Navigation ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0d0d0d;
  border-bottom: 1px solid #222;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar__logo-img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.2rem;
}
.navbar__logo-img--edition {
  max-height: 52px;
  margin-bottom: 0;
}
.navbar__logo-main {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.navbar__logo-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.navbar__logo-edition {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__item {
  position: relative;
}
.navbar__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  text-transform: capitalize;
  transition: color var(--transition);
  white-space: nowrap;
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
}
/* Dropdown */
.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--nav-bg, #0d0d0d);
  border: 1px solid #2a2a2a;
  border-top: 2px solid var(--nav-accent, var(--gold));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
/* Desktop: hover OR .open (set by JS click) opens dropdown */
.navbar__item:hover .navbar__dropdown,
.navbar__item.open .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__dropdown-link {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--gray);
  transition: color var(--transition), background var(--transition);
  border-bottom: 1px solid #1a1a1a;
}
.navbar__dropdown-link:last-child { border-bottom: none; }
/* Button-style nav links (dropdown triggers) */
.navbar__link--dd {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
  color: var(--white);
  text-transform: capitalize;
  letter-spacing: inherit;
}
/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
/* Social */
.navbar__social {
  display: flex;
  gap: 0.75rem;
  margin-left: 1rem;
}
.navbar__social a {
  color: var(--gray);
  font-size: 1.1rem;
  transition: color var(--transition);
}
.navbar__social a:hover { color: var(--gold); }

/* ── Hero Slideshow ─────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  background: #000;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}
.hero__logo-img {
  max-height: 200px;
  max-width: 480px;
  width: 90%;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.7));
}
@media (max-width: 600px) {
  .hero__logo-img { max-height: 120px; }
}
.hero__label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}
.hero__sub {
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-style: italic;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero__date {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--gold);
  font-style: italic;
}
.hero__birds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bird {
  width: 120px;
  opacity: 0.9;
}
.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-dark);
  cursor: pointer;
  transition: background var(--transition);
}
.hero__dot.active { background: var(--gold); }
/* Decorative dividers around the hero birds */
.hero__line {
  height: 1px;
  background: var(--gold);
  flex: 1;
  opacity: 0.6;
}

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(to bottom, #000 0%, var(--bg) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid #222;
}
.page-hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

/* ── Cards ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-surface);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}
.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #222;
}
.card__body {
  padding: 1.25rem;
}
.card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.card__text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}
.card__dir {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* ── Film List ──────────────────────────────────────────── */
.film-list { display: flex; flex-direction: column; gap: 1rem; }
.film-item {
  background: var(--bg-surface);
  border: 1px solid #2a2a2a;
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color var(--transition);
}
.film-item:hover { border-left-color: var(--gold-light); }
.film-item a { display: block; }
.film-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-decoration: none;
  transition: color var(--transition);
}
a.film-item__title:hover { color: var(--gold); }
.film-item__meta {
  font-size: 0.8rem;
  color: var(--gray);
}
.film-item__dir { color: var(--gold); font-weight: 500; }

/* ── Schedule / Programação ─────────────────────────────── */
.schedule-day {
  margin-bottom: 3rem;
}
.schedule-day__header {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.25rem;
  margin-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.schedule-item {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border-bottom: 1px solid #222;
}
.schedule-item:last-child { border-bottom: none; border-radius: 0 0 var(--radius) var(--radius); }
.schedule-item__time {
  min-width: 80px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 0.1rem;
}
.schedule-item__content { flex: 1; }
.schedule-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.schedule-item__desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #000; }

/* ── Edition Banner ─────────────────────────────────────── */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.edition-card {
  background: var(--bg-surface);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--gold);
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.edition-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.edition-card__year {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.edition-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}
.edition-card__theme {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 1rem;
  line-height: 1.4;
}

/* ── Gallery Grid — masonry por colunas ─────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: 0.75rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  border-radius: var(--radius);
  border: 2px solid var(--gold-dark);
  box-shadow: 0 0 0 0 rgba(200,149,42,0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.88;
  transition: transform 0.45s ease, opacity 0.3s ease;
}
.gallery-item:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 16px rgba(200,149,42,0.35);
}
.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 500px) { .gallery-grid { columns: 1; } }

/* ── Team Grid ──────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
}
.team-card__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--gold-dark);
}
.team-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.team-card__role {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Artists / Atividades Culturais ─────────────────────── */
.artist-card {
  background: var(--bg-surface);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.artist-card__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.artist-card__info { flex: 1; }
.artist-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.artist-card__date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}
.artist-card__text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Contact Form ───────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 0.4rem;
}
.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid #333;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Film Detail Page ───────────────────────────────────── */
.film-detail {
  max-width: 760px;
  margin: 0 auto;
}
.film-detail__header {
  margin-bottom: 2rem;
}
.film-detail__meta {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.film-detail__synopsis {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
}
.film-detail__credits {
  background: var(--bg-surface);
  border: 1px solid #2a2a2a;
  border-left: 3px solid var(--gold);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.film-detail__credits h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.credit-row {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.credit-row__label {
  min-width: 130px;
  color: var(--gray);
  font-weight: 600;
}
.credit-row__value { color: var(--text); }

/* ── Sobre / Historia texto ─────────────────────────────── */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.prose p { margin-bottom: 1.5rem; }
.prose h2 { margin: 2.5rem 0 1rem; color: var(--gold); font-style: italic; font-family: Georgia, serif; }

/* ── Info boxes ─────────────────────────────────────────── */
.info-box {
  background: var(--bg-surface);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--gold);
  padding: 2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 2rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #1e1e1e;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo-img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
  display: block;
}
.footer__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #1e1e1e;
  margin-bottom: 1rem;
}
.footer__partner-logo {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.footer__partner-logo:hover { opacity: 1; }
.footer__logo-main {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.footer__logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 50%;
  color: var(--gray);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col ul li a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid #1e1e1e;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: var(--gray-dark);
  margin: 0;
}
.footer__ifb {
  font-size: 0.75rem;
  color: var(--gray-dark);
}

/* ── Side Social Buttons ────────────────────────────────── */
.side-social {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 900;
}
.side-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.7);
  border: 1px solid #333;
  border-radius: 50%;
  color: var(--gray);
  font-size: 1rem;
  transition: all var(--transition);
}
.side-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Utilities ──────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ── Edition-adaptive navbar ────────────────────────────── */

/* Use --nav-accent and --nav-bg set inline by layout.js */
.navbar {
  background: var(--nav-bg, #0d0d0d);
}
.top-bar {
  background: var(--nav-accent, var(--gold));
}
.navbar__link:hover,
.navbar__link.active,
.navbar__item.open > .navbar__link--dd {
  color: var(--nav-accent, var(--gold));
}
.navbar__dropdown {
  border-top-color: var(--nav-accent, var(--gold));
}
.navbar__dropdown-link:hover {
  color: var(--nav-accent, var(--gold));
}
.hero__dot.active { background: var(--nav-accent, var(--gold)); }

/* Edition switcher pill badge */
.navbar__link--edition {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.6rem;
}
.edition-pill {
  display: inline-flex;
  align-items: baseline;
  background: var(--nav-accent, var(--gold));
  color: #000;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 3px;
  padding: 2px 7px;
  line-height: 1.4;
  white-space: nowrap;
}
.edition-pill__year {
  font-weight: 700;
  opacity: 0.85;
}

/* Arrow rotates when open */
.navbar__arr {
  font-size: 0.5rem;
  transition: transform 0.2s ease;
  display: inline-block;
}
.navbar__item.open .navbar__arr { transform: rotate(180deg); }

/* Current edition marker in switcher dropdown */
.navbar__dropdown-link--current {
  color: var(--nav-accent, var(--gold));
  font-weight: 700;
}
.navbar__dropdown-link--current::before {
  content: '▸ ';
  font-size: 0.6em;
}

/* Edition switcher: small separator + right-aligned dropdown */
.navbar__item--edition-sw {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.navbar__dropdown--sw { left: auto; right: 0; min-width: 160px; }

/* Burger active state (three bars → X) */
.navbar__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar__menu { display: none; flex-direction: column; gap: 0; }
  .navbar__menu.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--nav-bg, #0d0d0d);
    border-top: 1px solid #222;
    padding: 0.5rem 0;
    z-index: 999;
  }
  .navbar__burger { display: flex; }
  .navbar__social { display: none; }
  .navbar__inner { position: relative; }
  /* On mobile dropdowns are hidden by default and shown via .open class only */
  .navbar__dropdown {
    position: static;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    background: rgba(0,0,0,0.3);
  }
  .navbar__item.open .navbar__dropdown { display: block; }
  /* Disable hover-open on mobile */
  .navbar__item:hover .navbar__dropdown { opacity: 0; visibility: hidden; }
  .navbar__item.open .navbar__dropdown  { opacity: 1 !important; visibility: visible !important; }
  /* Edition switcher full-width on mobile */
  .navbar__item--edition-sw { margin-left: 0; }
  .navbar__dropdown--sw { right: auto; left: 0; }
  .navbar__link--edition { justify-content: flex-start; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .side-social { display: none; }

  .hero { height: 65vh; }
  .hero__bird { width: 70px; }
  .hero__birds { gap: 2rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .schedule-item { flex-direction: column; gap: 0.25rem; }
  .schedule-item__time { min-width: unset; }
  .edition-grid { grid-template-columns: 1fr 1fr; }
  .artist-card__header { flex-direction: column; }
}

/* ── Bio Modal ──────────────────────────────────────────── */
img[data-modal-name] { cursor: pointer; }

.bio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.bio-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.bio-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}
.bio-modal-overlay.is-open .bio-modal { transform: translateY(0); }
.bio-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.bio-modal__close:hover { color: var(--text); }
.bio-modal__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
  margin-bottom: 1rem;
  display: block;
}
.bio-modal__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.bio-modal__role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.bio-modal__bio {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* ── Film Strip Carousel (Mostras) ───────────────────────── */
.filmstrip-section { margin-bottom: 3rem; }
.filmstrip-wrap {
  border: 2px solid #c8a020;
  border-radius: 4px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 0 28px rgba(200,160,32,0.1);
}
.filmstrip-perfs {
  height: 22px;
  background-color: #0a0a0a;
  background-image: repeating-linear-gradient(to right,
    #0a0a0a 0px, #0a0a0a 6px,
    rgba(200,160,32,0.55) 6px, rgba(200,160,32,0.55) 7px,
    #1c1c1c 7px, #1c1c1c 25px,
    rgba(200,160,32,0.55) 25px, rgba(200,160,32,0.55) 26px,
    #0a0a0a 26px, #0a0a0a 34px);
  background-size: 34px 11px;
  background-position: 4px 5.5px;
  background-repeat: repeat-x;
}
.filmstrip-body {
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
}
.filmstrip-body::before,
.filmstrip-body::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}
.filmstrip-body::before { left: 0;  background: linear-gradient(to right, #0a0a0a, transparent); }
.filmstrip-body::after  { right: 0; background: linear-gradient(to left,  #0a0a0a, transparent); }
.filmstrip-track {
  display: flex;
  gap: 12px;
  padding: 0 8px;
  width: max-content;
  animation: filmstrip-roll var(--strip-duration, 30s) linear infinite;
}
.filmstrip-wrap:hover .filmstrip-track { animation-play-state: paused; }
@keyframes filmstrip-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--strip-offset, -50%)); }
}
.film-card {
  width: 160px;
  flex-shrink: 0;
  border: 1.5px solid rgba(200,160,32,0.45);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #111;
  transition: border-color 0.2s;
}
.film-card:hover { border-color: #c8a020; }
.film-card__img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  display: block;
}
.film-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.65rem 0.5rem 0.4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 65%, transparent);
  font-size: 0.68rem;
  font-weight: 600;
  color: #f5e09a;
  line-height: 1.3;
}

/* Film Modal */
.film-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}
.film-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.film-modal {
  background: var(--surface);
  border: 1px solid #333;
  border-top: 2px solid #c8a020;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}
.film-modal-overlay.is-open .film-modal { transform: translateY(0); }
.film-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.5rem 0;
  gap: 1rem;
}
.film-modal__session {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}
.film-modal__title { font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0; }
.film-modal__close {
  background: none;
  border: none;
  color: #888;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.film-modal__close:hover { color: #fff; }
.film-modal__body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
}
@media (max-width: 480px) {
  .film-modal__body { grid-template-columns: 1fr; }
  .film-modal__img { width: 100%; aspect-ratio: 2/3; }
}
.film-modal__img {
  width: 150px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(200,160,32,0.4);
}
.film-modal__meta { font-size: 0.82rem; color: var(--text-muted); line-height: 2; }
.film-modal__meta strong { color: var(--text); }
.film-modal__synopsis {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text);
  margin-top: 0.75rem;
  margin-bottom: 0;
}
