/* ===== Stowarzyszenie BRDA — kolorystyka wg starej strony =====
   akcent:      #e47b02 / #ed8f0c (pomarańcz z logo)
   granat logo: #16365c
   tekst:       #1f2933 / #242D2D
*/
:root {
  --accent: #e47b02;
  --accent-light: #ed8f0c;
  --navy: #16365c;
  --dark: #1a2129;
  --dark-2: #232c36;
  --text: #2b3540;
  --muted: #5f6b78;
  --bg: #ffffff;
  --tint: #f6f2ec;
  --line: #e6e1d8;
  --radius: 18px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--dark); }

.accent { color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}

.site-header.scrolled {
  background: rgba(26, 33, 41, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .25);
  padding: 10px 0;
}

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

.brand-logo { height: 46px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.main-nav a:hover { background: rgba(255, 255, 255, .12); }

.main-nav .nav-cta {
  background: var(--accent);
  font-weight: 600;
}

.main-nav .nav-cta:hover { background: var(--accent-light); }

/* Rozwijane menu w nawigacji */
.nav-drop { position: relative; }

.nav-drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s;
}

.nav-drop-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}

.nav-drop-btn:hover { background: rgba(255, 255, 255, .12); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(26, 33, 41, .97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 8px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.nav-drop.open .nav-drop-menu,
.nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  border-radius: 9px;
  padding: 9px 14px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 10, .55) 0%, rgba(20, 16, 10, .35) 45%, rgba(20, 16, 10, .78) 100%);
}

.hero-content { position: relative; z-index: 2; padding-top: 90px; }

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-lead {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 26px rgba(228, 123, 2, .4);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.hero-badge {
  position: relative;
  z-index: 2;
  margin: 60px auto 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .92rem;
  width: fit-content;
  max-width: 92%;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 143, 12, .6); }
  50% { box-shadow: 0 0 0 7px rgba(237, 143, 12, 0); }
}

/* ===== Nagłówek podstrony ===== */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 80% 10%, rgba(228, 123, 2, .28), transparent 60%),
    linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 33, 41, .6) 0%, rgba(26, 33, 41, .35) 50%, rgba(26, 33, 41, .92) 100%);
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero .hero-kicker { margin-bottom: 14px; }

.page-hero-lead {
  max-width: 640px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .85);
}

/* ===== Treść artykułowa ===== */
.prose { max-width: 760px; }

.prose p { margin-bottom: 18px; font-size: 1.05rem; color: var(--muted); }

.prose strong, .prose b { color: var(--text); }

.prose h3 { font-size: 1.4rem; margin: 34px 0 14px; }

.prose a { color: var(--accent); }

/* ===== Program / plan festiwalu ===== */
.program-day {
  margin-bottom: 44px;
}

.program-day h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.program-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

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

.program-time {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

.program-item h4 { font-family: var(--font-head); font-size: 1.15rem; color: var(--dark); margin-bottom: 4px; }

.program-item p { color: var(--muted); font-size: .95rem; }

.section-dark .program-item { border-color: rgba(255, 255, 255, .14); }
.section-dark .program-item h4 { color: #fff; }
.section-dark .program-item p { color: rgba(255, 255, 255, .65); }
.section-dark .program-day h3 { color: #fff; border-color: var(--accent-light); }
.section-dark .program-time { color: var(--accent-light); }

/* ===== Artyści ===== */
.artist {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.artist:last-child { border-bottom: 0; }

.artist:nth-child(even) { direction: rtl; }
.artist:nth-child(even) > * { direction: ltr; }

.artist-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(31, 41, 51, .16);
  position: sticky;
  top: 100px;
}

.artist-photo img { width: 100%; height: auto; }

.artist-photo figcaption {
  font-size: .8rem;
  color: var(--muted);
  padding: 8px 14px;
  background: var(--tint);
}

.artist-bio h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.artist-role {
  color: var(--accent);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 18px;
}

.artist-bio p { margin-bottom: 14px; color: var(--muted); }

.artist-bio strong { color: var(--text); }

/* ===== Filmy ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.video-card .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card figcaption {
  padding: 14px 18px;
  background: var(--dark-2);
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  font-weight: 500;
}

/* ===== Galeria typu masonry + lightbox ===== */
.masonry {
  columns: 4 280px;
  column-gap: 14px;
}

.masonry a {
  display: block;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  break-inside: avoid;
  position: relative;
  cursor: zoom-in;
}

.masonry img {
  width: 100%;
  display: block;
  transition: transform .4s, filter .4s;
}

.masonry a:hover img { transform: scale(1.04); filter: brightness(1.08); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 18, 22, .96);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
}

.lightbox button:hover { background: var(--accent); border-color: var(--accent); }

.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

.lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
  letter-spacing: .08em;
}

/* ===== Karty sponsorów z opisami ===== */
.sponsor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}

.sponsor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(31, 41, 51, .12);
}

.sponsor-card-logo {
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.sponsor-card-logo img {
  max-height: 84px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}

.sponsor-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  text-align: center;
}

.sponsor-role {
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.sponsor-card p:not(.sponsor-role) {
  color: var(--muted);
  font-size: .93rem;
  flex: 1;
}

.sponsor-card .card-more { align-self: center; }

/* ===== Zostań sponsorem — CTA ===== */
.sponsor-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(228, 123, 2, .35), transparent 60%),
    linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  color: rgba(255, 255, 255, .8);
}

.sponsor-cta h2 { color: #fff; }

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 38px 0;
  text-align: left;
}

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 18px 20px;
}

.benefit-check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.benefit-check svg { width: 14px; height: 14px; stroke: #fff; }

.benefit h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.benefit p { font-size: .88rem; color: rgba(255, 255, 255, .7); }

/* ===== Loga sponsorów ===== */
.sponsors {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  justify-content: center;
}

.sponsors a, .sponsors span {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 26px;
  transition: transform .2s, box-shadow .2s;
}

.sponsors a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31, 41, 51, .12); }

.sponsors img { max-height: 74px; max-width: 190px; width: auto; object-fit: contain; }

/* ===== Plakat ===== */
.poster-grid {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 60px;
  align-items: center;
}

.poster-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .35);
  transform: rotate(-1.5deg);
  transition: transform .3s;
}

.poster-frame:hover { transform: rotate(0) scale(1.02); }

.poster-frame img { width: 100%; }

/* ===== Wyróżnione pudełko ===== */
.feature-box {
  background: var(--tint);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 34px;
  margin: 30px 0;
}

.feature-box h3 { margin-top: 0; }

.feature-box p:last-child { margin-bottom: 0; }

/* ===== Breadcrumb / powrót ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 20px;
}

.back-link:hover { text-decoration: underline; }

/* ===== Sekcje ===== */
.section { padding: 110px 0; }

.section-compact { padding: 70px 0; }

.section-tint { background: var(--tint); }

.section-dark {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(228, 123, 2, .15), transparent 60%),
    linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: rgba(255, 255, 255, .85);
}

.section-dark h2 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 56px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow-light { color: var(--accent-light); }

.section-head h2, .festiwal-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
}

.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ===== O nas ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.about-text p { margin-bottom: 18px; font-size: 1.05rem; color: var(--muted); }

.about-text strong { color: var(--text); }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s, box-shadow .25s;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(31, 41, 51, .1);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pillar-icon svg { width: 24px; height: 24px; }

.pillar h3 { font-size: 1.08rem; margin-bottom: 8px; }

.pillar p { font-size: .93rem; color: var(--muted); }

/* ===== Festiwal ===== */
.festiwal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.festiwal-motto {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent-light);
  margin: 6px 0 20px;
}

.festiwal-text p { margin-bottom: 16px; }

.festiwal-text strong { color: #fff; }

.stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  margin: 34px 0;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  max-width: 150px;
  display: block;
}

.festiwal-photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fest-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .4);
}

.fest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.fest-photo:hover img { transform: scale(1.05); }

.fest-photo-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.fest-photo-b, .fest-photo-c { aspect-ratio: 1 / 1; }

/* ===== Karty działań ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(31, 41, 51, .12);
}

.card-img { aspect-ratio: 3 / 2; overflow: hidden; }

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.card:hover .card-img img { transform: scale(1.06); }

.card-body { padding: 26px; }

.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }

.card-body p { font-size: .95rem; color: var(--muted); }

/* ===== Galeria ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.g-wide { grid-column: span 2; }

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.g-item:hover img { transform: scale(1.06); }

/* ===== Kontakt ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

.contact-card {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.contact-card h3 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-name { font-weight: 600; color: var(--dark); margin-bottom: 4px; }

.contact-card a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  margin-top: 4px;
  word-break: break-word;
}

.contact-card a:hover { color: var(--accent); }

.contact-card p { font-size: .95rem; }

.contact-hours { margin-top: 10px; color: var(--muted); }

.social-links { display: flex; flex-direction: column; gap: 12px; }

.social-links a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.social-links svg { width: 22px; height: 22px; color: var(--navy); }

.social-links a:hover svg { color: var(--accent); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 18px 44px rgba(31, 41, 51, .14);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ===== Stopka ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding: 54px 0;
}

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

.footer-logo { height: 40px; margin-bottom: 10px; }

.footer-brand p { font-size: .85rem; letter-spacing: .08em; }

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-nav a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: .92rem;
}

.footer-nav a:hover { color: var(--accent-light); }

.footer-copy { font-size: .85rem; }

/* ===== Animacje przy przewijaniu ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

body.no-anim .reveal { transition: none; }
body.no-anim .hero-bg img { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
}

/* ===== Responsywność ===== */
@media (max-width: 980px) {
  .about-grid, .festiwal-grid, .contact-grid, .poster-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .artist, .artist:nth-child(even) { grid-template-columns: 1fr; gap: 26px; direction: ltr; }
  .artist-photo { position: static; max-width: 460px; }
  .page-hero { padding: 150px 0 66px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(320px, 80vw);
    background: rgba(26, 33, 41, .97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 34px;
    gap: 10px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }

  .main-nav.open { transform: none; }

  .main-nav a { font-size: 1.15rem; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .pillars, .contact-cards, .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .stats { gap: 26px; }
  .hero-badge { font-size: .82rem; text-align: center; }
  .program-item { grid-template-columns: 84px 1fr; gap: 14px; }
  .program-time { font-size: 1.05rem; }

  /* rozwijane menu w wersji mobilnej — zawsze widoczne jako lista */
  .nav-drop { width: 100%; }
  .nav-drop-btn { padding-left: 14px; font-size: 1.15rem; }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .nav-drop-menu a { font-size: 1rem !important; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lightbox button { width: 44px; height: 44px; }
}
