:root {
  --cream: #f7eddf;
  --cream-2: #fff9f0;
  --blue: #071f5c;
  --blue-2: #113a86;
  --orange: #f49a0b;
  --orange-soft: #ffc55f;
  --ink: #10214c;
  --muted: #68718a;
  --white: #fffdf9;
  --line: rgba(7, 31, 92, 0.16);
  --shadow: 0 18px 55px rgba(7, 31, 92, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
select,
a {
  font: inherit;
}

a {
  color: inherit;
}

button,
select {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  min-height: 720px;
  overflow: hidden;
  padding: 0 clamp(20px, 5vw, 72px) 64px;
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 154, 11, 0.17), transparent 26%),
    linear-gradient(135deg, #fffaf3 0%, var(--cream) 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-window {
  position: relative;
  display: block;
  aspect-ratio: 1085 / 424;
  overflow: hidden;
}

.logo-window img {
  position: absolute;
  top: -77.36%;
  left: -38.43%;
  width: 176.96%;
  height: 254.72%;
  max-width: none;
}

.header-logo {
  width: 205px;
}

.header-logo img {
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--orange);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 64px;
  width: min(1180px, 100%);
  margin: 68px auto 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7.5vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

h1 em {
  color: var(--orange);
  font-weight: 500;
}

.hero-intro {
  max-width: 560px;
  margin: 28px 0;
  color: #374668;
  font-size: 1.12rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 24px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts span::before {
  margin-right: 8px;
  color: var(--orange);
  content: "•";
}

.date-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.date-number {
  padding-right: 16px;
  border-right: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 210px;
  padding: 15px 18px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(7, 31, 92, 0.18);
  font-weight: 800;
  text-decoration: none;
}

.primary-action:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  min-height: 475px;
}

.sun {
  position: absolute;
  top: 8%;
  right: 3%;
  width: min(25vw, 290px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset -20px -18px 48px rgba(201, 93, 0, 0.18);
}

.beam {
  position: absolute;
  z-index: 1;
  right: 20%;
  bottom: 23%;
  width: 58%;
  height: 40%;
  background: linear-gradient(110deg, transparent 8%, rgba(255, 222, 160, 0.34));
  clip-path: polygon(0 85%, 100% 0, 100% 100%);
}

.screen {
  position: absolute;
  z-index: 2;
  right: 9%;
  bottom: 18%;
  display: grid;
  place-items: center;
  width: 68%;
  aspect-ratio: 16 / 9;
  border: clamp(10px, 1.5vw, 18px) solid var(--blue);
  border-radius: 5px;
  color: var(--blue);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow);
  font-size: clamp(0.7rem, 1.25vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-align: center;
}

.screen::before,
.screen::after {
  position: absolute;
  bottom: -68px;
  width: 6px;
  height: 54px;
  content: "";
  background: var(--blue);
}

.screen::before {
  left: 11%;
}

.screen::after {
  right: 11%;
}

.floor-line {
  position: absolute;
  right: -12%;
  bottom: 13%;
  width: 90%;
  height: 1px;
  background: rgba(7, 31, 92, 0.35);
}

.seat {
  position: absolute;
  z-index: 3;
  bottom: 8%;
  width: 60px;
  height: 45px;
  border: 5px solid var(--blue);
  border-top: 0;
  transform: skewX(-5deg);
}

.seat::before {
  position: absolute;
  bottom: -26px;
  left: 6px;
  width: 4px;
  height: 26px;
  content: "";
  background: var(--blue);
  box-shadow: 38px 0 var(--blue);
}

.seat-1 { right: 8%; }
.seat-2 { right: 25%; }
.seat-3 { right: 42%; }
.seat-4 { right: 59%; }

.schedule-section,
.venues-section,
.films-section,
.about-section,
.jury-section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.schedule-section,
.films-section,
.about-section,
.jury-section {
  background: var(--white);
}

.view-tabs-wrap {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 10px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(16px);
}

.view-tabs {
  display: flex;
  gap: 6px;
  width: min(1060px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.view-tabs::-webkit-scrollbar {
  display: none;
}

.view-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.view-tab span,
.film-chip span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 31, 92, 0.08);
  font-size: 0.65rem;
}

.view-tab:hover {
  color: var(--blue);
  background: rgba(7, 31, 92, 0.05);
}

.view-tab.is-active {
  color: white;
  background: var(--blue);
}

.view-tab.is-active span {
  color: var(--blue);
  background: var(--orange-soft);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 42px;
  width: min(1060px, 100%);
  margin: 0 auto 48px;
}

.about-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.about-intro h2 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.about-intro > p:last-child {
  margin: 0 0 6px;
  color: #4a5672;
  font-size: 1.05rem;
}

.mission-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.mission-copy,
.mission-pillars {
  border-radius: var(--radius-lg);
}

.mission-copy {
  padding: 32px;
  color: white;
  background: var(--blue);
}

.mission-copy .summary-kicker {
  color: var(--orange-soft);
}

.mission-copy h3 {
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.mission-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.mission-pillars {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.mission-pillars article {
  display: grid;
  grid-template-columns: 52px 120px 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: #fffaf3;
}

.mission-pillars article > span {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.mission-pillars h4 {
  margin: 0;
  color: var(--blue);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1060px, 100%);
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.about-numbers div {
  display: grid;
  min-height: 130px;
  padding: 22px;
  background: white;
}

.about-numbers strong {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

.about-numbers span {
  align-self: end;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  width: min(1060px, 100%);
  margin: 0 auto 36px;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-note {
  max-width: 320px;
  margin: 0 0 5px;
  color: var(--muted);
}

.inline-link {
  display: inline-block;
  margin-top: 7px;
  color: var(--blue);
  font-weight: 850;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

.festival-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1060px, 100%);
  margin: 0 auto 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffaf3;
}

.festival-summary p {
  margin: 0;
  color: #445171;
  font-size: 0.86rem;
}

.festival-summary .summary-kicker {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.summary-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-categories span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef2ff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.festival-summary .exhibition-note {
  display: grid;
  min-width: 160px;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

.exhibition-note strong {
  color: var(--blue);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.exhibition-note span {
  margin-top: 2px;
  font-size: 0.76rem;
}

.filter-panel {
  position: sticky;
  z-index: 10;
  top: 12px;
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: end;
  gap: 14px;
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  background: rgba(247, 237, 223, 0.88);
  box-shadow: 0 12px 36px rgba(7, 31, 92, 0.12);
  backdrop-filter: blur(16px);
}

.day-filter {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.filter-chip,
.clear-button,
.empty-state button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

.film-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1060px, 100%);
  margin: 0 auto 18px;
}

.film-chip {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: white;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
}

.film-chip:hover {
  border-color: rgba(7, 31, 92, 0.35);
  background: #fffaf3;
}

.film-chip.is-active {
  border-color: var(--orange);
  color: var(--blue);
  background: #fff2d5;
}

.film-results {
  width: min(1060px, 100%);
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.film-card {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 24px;
  min-height: 350px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffaf3;
  box-shadow: 0 9px 26px rgba(7, 31, 92, 0.055);
}

.film-card::after {
  position: absolute;
  right: -54px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  background: rgba(244, 154, 11, 0.12);
}

.film-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  grid-column: 1 / -1;
}

.film-category {
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.film-index {
  color: rgba(7, 31, 92, 0.15);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: 1;
}

.film-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.film-poster {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(7, 31, 92, 0.05);
  box-shadow: 0 4px 12px rgba(7, 31, 92, 0.08);
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.film-creator-label {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.film-creator {
  position: relative;
  z-index: 1;
  margin: 3px 0 16px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.film-synopsis {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #4a5672;
  font-size: 0.9rem;
}

.film-footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.film-footer span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #6c4b14;
  background: #fff0d1;
  font-size: 0.68rem;
  font-weight: 850;
}

.jury-block {
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffaf3;
}

.jury-block + .jury-block {
  margin-top: 18px;
}

.jury-block-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.jury-block-heading > span {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.jury-block-heading .summary-kicker,
.jury-block-heading h3 {
  margin: 0;
}

.jury-block-heading h3 {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.professional-jury-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.professional-jury-grid article {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
}

.professional-jury-grid article > span {
  color: var(--orange);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-jury-grid h4 {
  margin: 34px 0 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.academic-block {
  color: white;
  background: var(--blue);
}

.academic-block .jury-block-heading h3 {
  color: white;
}

.academic-block .summary-kicker {
  color: var(--orange-soft);
}

.academic-jury-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.academic-jury-list span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.74rem;
  font-weight: 750;
}

.filter-chip {
  padding: 0 15px;
  background: transparent;
}

.filter-chip:hover {
  background: rgba(7, 31, 92, 0.07);
}

.filter-chip.is-active {
  color: white;
  background: var(--blue);
  box-shadow: 0 6px 16px rgba(7, 31, 92, 0.18);
}

.select-wrap {
  display: grid;
  gap: 4px;
}

.select-wrap span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.select-wrap select {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 700;
}

.clear-button {
  padding: 0 17px;
  border: 1px solid var(--line);
  color: var(--blue);
  background: transparent;
}

.clear-button:hover {
  background: var(--white);
}

.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(960px, calc(100% - 24px));
  margin: 28px auto 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.results-bar p {
  margin: 0;
}

.hint span {
  color: var(--orange);
  font-weight: 900;
}

.timeline {
  width: min(960px, 100%);
  margin: 0 auto;
}

.day-group + .day-group {
  margin-top: 62px;
}

.day-header {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  margin: 0 0 20px;
}

.day-header .day-number {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 1;
}

.day-header h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.14rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.day-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.event-list {
  position: relative;
  display: grid;
  gap: 12px;
}

.event-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 95px;
  width: 1px;
  content: "";
  background: var(--line);
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
}

.event-time {
  position: sticky;
  top: 112px;
  padding-top: 18px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.event-time::after {
  position: absolute;
  z-index: 2;
  top: 25px;
  right: -5px;
  width: 9px;
  height: 9px;
  border: 3px solid var(--white);
  border-radius: 50%;
  content: "";
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}

.event-body {
  margin-left: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 8px 24px rgba(7, 31, 92, 0.06);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.event-body:hover {
  border-color: rgba(7, 31, 92, 0.3);
  box-shadow: 0 14px 36px rgba(7, 31, 92, 0.1);
  transform: translateY(-2px);
}

.event-body summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.event-static {
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px 20px;
}

.event-body summary::-webkit-details-marker {
  display: none;
}

.event-heading {
  min-width: 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.type-tag,
.duration-tag,
.private-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.type-tag {
  color: var(--blue);
  background: #eef2ff;
}

.duration-tag {
  color: #7b4b00;
  background: #fff2d5;
}

.private-tag {
  color: #5d496e;
  background: #f0e9f5;
}

.event-title {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.event-subtitle {
  margin: 7px 0 0;
  color: #445171;
  font-size: 0.91rem;
}

.expand-icon {
  position: relative;
  width: 34px;
  height: 34px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.expand-icon::before,
.expand-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: translate(-50%, -50%);
}

.expand-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease;
}

details[open] .expand-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.event-details {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
  color: #394664;
}

.event-details > p {
  margin: 16px 0 0;
}

.event-details ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.work-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf3;
}

.work-title {
  color: var(--blue);
  font-weight: 850;
}

.work-duration {
  grid-column: 2;
  grid-row: 1;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.work-author,
.work-summary {
  grid-column: 1 / -1;
  margin: 0;
}

.work-author {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.work-summary {
  margin-top: 5px;
  color: #4a5672;
  font-size: 0.84rem;
}

.detail-heading {
  margin: 20px 0 8px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.fact-list span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef2ff;
  font-size: 0.7rem;
  font-weight: 850;
}

.detail-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  color: #4a5672;
  background: #fff7e8;
  font-size: 0.82rem;
}

.event-details li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.event-details li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.event-details li span:last-child {
  flex: 0 0 auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.location-line {
  display: flex;
  align-items: start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.location-line::before {
  color: var(--orange);
  content: "●";
}

.empty-state {
  width: min(960px, 100%);
  margin: 30px auto 0;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state button {
  padding: 0 18px;
  color: white;
  background: var(--blue);
}

.venues-section {
  color: white;
  background: var(--blue);
}

.section-heading.light h2,
.section-heading.light .section-note {
  color: white;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.venue-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  color: white;
  background: rgba(255, 255, 255, 0.07);
}

.venue-card.accent {
  color: var(--blue);
  background: var(--orange);
}

.venue-index {
  position: absolute;
  top: 16px;
  right: 24px;
  color: rgba(255, 255, 255, 0.13);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
}

.venue-card.accent .venue-index {
  color: rgba(7, 31, 92, 0.1);
}

.venue-when {
  position: relative;
  margin: 0 0 54px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.venue-card h3 {
  position: relative;
  max-width: 420px;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.venue-card > p:not(.venue-when) {
  position: relative;
  max-width: 400px;
  margin: 0;
  opacity: 0.78;
}

.venue-card address {
  position: relative;
  margin: 34px 0 18px;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.venue-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.venue-card a:hover {
  opacity: 0.72;
}

.site-footer {
  margin: 0;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--blue);
  font-size: 0.78rem;
}

.site-footer-inner {
display: grid;
/* 1fr a los lados y 'auto' al medio hace que el centro quede perfectamente centrado */
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 28px;
width: min(1060px, 100%);
margin: 0 auto;
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-text {
display: flex;
flex-direction: column;
gap: 4px;
}

.footer-text p {
margin: 0;
}

.footer-social {
font-weight: 800;
}

.footer-center {
display: flex;
justify-content: center;
}

.ceu-logo {
width: 200px;
height: auto;
display: block;
}

.footer-right {
display: flex;
justify-content: flex-end; /* Empuja el logo de Falco a la derecha del todo */
}

.sponsor-logo {
width: 120px;
height: auto;
display: block;
/*filter: brightness(0) invert(1); /* Pone el logo en blanco */
}

.site-footer p {
  margin: 0;
}

.footer-social {
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Botón de tráiler */
.trailer-btn {
  margin-left: auto; /* Empuja el botón a la derecha del todo */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: none;
  border-radius: 999px;
  color: white;
  background: var(--orange); /* Usa la variable de tu naranja principal */
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.trailer-btn:hover {
  background: #d88607; /* Un naranja un poco más oscuro al pasar el ratón */
  transform: translateY(-2px);
}

/* Fondo oscuro del Modal */
.modal-overlay {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 31, 92, 0.85); /* Azul muy oscuro y opaco */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

/* Caja que contiene el vídeo */
.modal-content {
  position: relative;
  width: 100%;
  max-width: 960px; /* Tamaño máximo en pantallas grandes */
  background: transparent;
}

/* Botón de cerrar la ventana */
.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--orange);
}

/* Mantener el ratio 16:9 del iframe de YouTube */
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Ratio 16:9 */
  background: black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.professional-jury-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.jury-member {
display: flex;
flex-direction: column;
padding: 24px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: white;
}

.jury-photo-wrap {
width: 120px;
aspect-ratio: 2 / 3;
border-radius: var(--radius-sm);
overflow: hidden;
margin-bottom: 18px;
background: rgba(7, 31, 92, 0.05);
box-shadow: 0 4px 12px rgba(7, 31, 92, 0.08);
}

.jury-photo-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.jury-info span {
display: block;
color: var(--orange);
font-size: 0.68rem;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: 6px;
}

.jury-info h4 {
margin: 0 0 10px;
color: var(--blue);
font-family: Georgia, "Times New Roman", serif;
font-size: 1.35rem;
font-weight: 600;
line-height: 1.1;
}

.jury-short-desc {
margin: 0 0 16px;
font-size: 0.86rem;
color: #4a5672;
}

.jury-details summary {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.76rem;
font-weight: 850;
color: var(--blue);
text-transform: uppercase;
letter-spacing: 0.05em;
cursor: pointer;
list-style: none;
transition: color 0.2s;
}

.jury-details summary::-webkit-details-marker {
display: none;
}

.jury-details summary:hover {
color: var(--orange);
}

.jury-details summary::after {
content: "↓";
font-size: 1rem;
color: var(--orange);
transition: transform 0.2s ease;
}

.jury-details[open] summary::after {
transform: rotate(180deg);
}

.jury-long-desc {
margin-top: 14px;
padding-top: 14px;
border-top: 1px dashed var(--line);
}

.jury-long-desc p {
margin: 0 0 10px;
font-size: 0.86rem;
color: #394664;
}

.jury-long-desc p:last-child {
margin: 0;
}

/* AJUSTES PARA LA SECUENCIA DE LA PANTALLA ANIMADA */
.screen {
  overflow: hidden; /* Para que el vídeo no se salga de las esquinas redondeadas */
}

.screen > * {
  /* Al estar en un display: grid, esto superpone todos los elementos en la misma celda */
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.screen > .active {
  opacity: 1;
  pointer-events: auto;
}

.screen-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 253, 249, 0.94);
  z-index: 2;
}

.screen-video {
  object-fit: cover; /* Para que el vídeo llene la pantalla sin deformarse */
  background: #000;
  z-index: 1;
}

.replay-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.replay-btn:hover {
  background: #d88607;
  transform: scale(1.05);
}


@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .hero-art {
    min-height: 360px;
  }

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .festival-summary {
    grid-template-columns: 1fr 1fr;
  }

  .festival-summary > div:first-child {
    grid-column: 1 / -1;
  }

  .day-filter {
    grid-column: 1 / -1;
  }

  .clear-button {
    grid-column: 1 / -1;
  }

  .about-intro,
  .mission-panel {
    grid-template-columns: 1fr;
  }

  .about-intro .eyebrow {
    margin-bottom: -24px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-bottom: 44px;
  }

  .topbar {
    min-height: 112px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links {
    width: 100%;
    gap: 9px;
    justify-content: space-between;
  }

  .nav-links a {
    font-size: 0.7rem;
  }

  .header-logo {
    width: 132px;
  }

  .nav-links a {
    font-size: 0.61rem;
  }

  .hero-grid {
    gap: 16px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .hero-art {
    min-height: 285px;
  }

  .sun {
    width: 180px;
  }

  .screen {
    right: 4%;
    width: 82%;
  }

  .seat {
    width: 44px;
    height: 34px;
  }

  .seat::before {
    box-shadow: 26px 0 var(--blue);
  }

  .seat-1 { right: 5%; }
  .seat-2 { right: 24%; }
  .seat-3 { right: 43%; }
  .seat-4 { right: 62%; }

  .schedule-section,
  .venues-section,
  .films-section,
  .about-section,
  .jury-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading .section-note {
    margin-top: 14px;
  }

  .filter-panel {
    top: 6px;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .festival-summary {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .festival-summary > div:first-child {
    grid-column: auto;
  }

  .festival-summary .exhibition-note {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .day-filter {
    grid-column: auto;
  }

  .filter-chip {
    flex: 1;
    padding-inline: 10px;
  }

  .clear-button {
    grid-column: auto;
  }

  .results-bar {
    display: block;
  }

  .hint {
    margin-top: 7px !important;
  }

  .day-header {
    grid-template-columns: 64px 1fr;
  }

  .day-header .day-number {
    font-size: 3.2rem;
  }

  .event-list::before {
    left: 63px;
  }

  .event-card {
    grid-template-columns: 64px 1fr;
  }

  .event-time {
    top: 260px;
    font-size: 1rem;
  }

  .event-body {
    margin-left: 18px;
  }

  .event-body summary {
    padding: 16px;
  }

  .event-details {
    padding: 0 16px 16px;
  }

  .event-details li {
    display: block;
  }

  .work-item {
    grid-template-columns: 1fr auto;
  }

  .event-details li span:last-child {
    display: block;
    margin-top: 3px;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .film-card {
    grid-template-columns: 90px 1fr;
    gap: 12px 16px;
    min-height: 280px;
    padding: 20px;
  }

  .about-intro {
    gap: 22px;
  }

  .about-intro .eyebrow {
    margin-bottom: -8px;
  }

  .mission-copy,
  .jury-block {
    padding: 22px;
  }

  .mission-pillars article {
    grid-template-columns: 40px 1fr;
  }

  .mission-pillars article p {
    grid-column: 2;
  }

  .about-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-card {
    min-height: 340px;
    padding: 24px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr; /* Lo pone todo en 1 sola columna vertical */
    text-align: center;
    gap: 32px;
  }
  
  .footer-text {
    align-items: center;
  }
  
  .footer-right {
    justify-content: center; /* En móviles centramos el logo de Falco */
  }
  
  .professional-jury-grid {
    grid-template-columns: 1fr;
  }
  
  .jury-member {
    flex-direction: row;
    gap: 16px;
    padding: 18px;
  }
  
  .jury-photo-wrap {
    width: 85px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
}

/* =========================================
   AUMENTAR TAMAÑO DE LA PANTALLA PRINCIPAL
   ========================================= */

@media (min-width: 768px) {
  .hero-art {
    /* El valor 1 es el tamaño original. 1.2 significa un 20% más grande */
    transform: scale(1.25);
    
    /* Le decimos que crezca desde el centro hacia la izquierda para que no se salga de la pantalla por la derecha */
    transform-origin: center right; 
  }
}

/* Un pequeño ajuste para móviles por si también lo quieres más grande en vertical */
@media (max-width: 767px) {
  .hero-art {
    transform: scale(1.15);
    transform-origin: center center;
    margin-top: 20px; /* Separamos un poco del texto superior para que respire */
  }
}