/* ==========================================
   FESTIWAL PRZYJACIÓŁ KULTURY 2026 – GOKiCz
   CSS Design System v2.0 – Folklor Edition
   ========================================== */

/* Google Fonts loaded via <link rel="preconnect"> + <link rel="stylesheet"> in index.html (Fraunces + Outfit) */

/* -------- Reduced Motion Preference -------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------- Design Tokens -------- */
:root {
  /* FPK Brand Color Palette (Roles Swapped: Red Base, Violet Accent) */
  --clr-crimson: #E23329;
  /* Czerwień przewodnia */
  --clr-crimson-d: #BE1E2D;
  --clr-forest: #5C2D91;
  --clr-violet: #5C2D91;
  /* Fiolet akcentowy */
  --clr-gold: #FF8A00;
  /* Pomarańcz */
  --clr-amber: #FF8A00;
  --clr-navy: #2E164D;

  /* Gradient */
  --clr-gradient: linear-gradient(135deg, #E23329 0%, #BE1E2D 100%);
  --clr-gradient-gold: linear-gradient(135deg, #FF6B00 0%, #FF9B00 100%);
  --clr-gradient-soft: linear-gradient(135deg, rgba(226, 51, 41, 0.12) 0%, rgba(255, 138, 0, 0.10) 100%);

  /* Light mode surfaces (Modern SaaS / Warm Cream Folklor) */
  --bg-primary: #FCFAF5; /* Delicate cream */
  --bg-secondary: #F6F3EA; /* Slightly richer alternating cream */
  --bg-tertiary: #F1EDE2; /* Deeper sand */
  --bg-dark: #0F172A;
  --bg-card: #FFFFFF;
  --text-primary: #1A1513; /* Warm off-black */
  --text-secondary: #574D45; /* Warm Slate replacement */
  --text-muted: #6E665E;
  --border: rgba(60, 45, 35, 0.08); /* Warm transparent border */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);

  /* Typography */
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif; /* Tech style, pure sans-serif */

  /* Spacing (Tailwind System) */
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-32: 8rem;

  --section-py: var(--spacing-32); /* Desktop py-32 for breathability */
  --container-px: var(--spacing-4); /* Base px-4 container edges */
  --max-w: 1280px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.3s;
}

/* -------- Dark Mode Tokens -------- */
[data-theme="dark"] {
  --bg-primary: #020617; /* Slate 950 */
  --bg-secondary: #0F172A; /* Slate 900 */
  --bg-tertiary: #1E293B; /* Slate 800 */
  --bg-card: #0F172A;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.6);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.8);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.5);
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

/* -------- Reset & Base -------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* -------- Scrollbar -------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-crimson);
  border-radius: var(--r-full);
}

/* -------- Selection -------- */
::selection {
  background: rgba(107, 76, 154, 0.18);
  color: var(--clr-crimson);
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--clr-violet);
  color: #fff;
  padding: 1rem 2rem;
  z-index: 9999;
  transition: top 0.3s var(--ease);
  text-decoration: none;
  font-weight: 700;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  top: 0;
}

/* Better Focus States */
:focus-visible {
  outline: 3px solid var(--clr-violet);
  outline-offset: 4px;
}

.btn:focus-visible {
  outline-color: var(--clr-crimson);
}

.btn-cta:focus-visible {
  outline-color: #fff;
  outline-offset: -4px;
}

/* Adjust Section Spacing for Mobile Standards */
@media (max-width: 768px) {
  :root {
    --section-py: var(--spacing-20); /* py-20 for mobile devices */
  }
}

/* ==========================================
   UTILITIES
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-inner) !important;
}

.btn-cta {
  background: linear-gradient(135deg, #5C2D91 0%, #461E70 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(92, 45, 145, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.15); /* Clean tech reflection */
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 45, 145, 0.40);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--clr-crimson);
  color: var(--clr-crimson);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* -------- Section Headers (Vertical Rhythm scale-4) -------- */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-12); /* mb-12 */
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background: rgba(226, 51, 41, 0.08);
  border: 1px solid rgba(226, 51, 41, 0.2);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E23329;
  margin-bottom: var(--spacing-6); /* mb-6 */
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800; /* Bolder geometric */
  line-height: 1.15;
  letter-spacing: -0.03em; /* Tight SaaS tracking */
  color: var(--text-primary);
  margin-bottom: var(--spacing-6); /* mb-6 */
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes scroll-line {
  0% {
    height: 0;
    opacity: 1;
  }

  100% {
    height: 100%;
    opacity: 0;
  }
}

@keyframes wave {

  0%,
  100% {
    height: 6px;
  }

  50% {
    height: 28px;
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes folk-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s var(--ease) forwards;
  opacity: 0;
}

.animate-fade-left {
  animation: fadeLeft 0.9s var(--ease) 0.3s forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s !important;
}

.delay-2 {
  animation-delay: 0.25s !important;
}

.delay-3 {
  animation-delay: 0.4s !important;
}

.delay-4 {
  animation-delay: 0.55s !important;
}

.delay-5 {
  animation-delay: 0.7s !important;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-px);
  transition: all 0.4s var(--ease);
  background: #FFFFFF; /* Menu is strictly white */
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.06);
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
  transition: padding 0.4s var(--ease);
}

.header.scrolled .header-inner {
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity var(--dur) var(--ease);
}

.logo-img:hover {
  opacity: 0.85;
}

.logo-img--footer {
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: var(--r-full);
  transition: all var(--dur) var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--clr-gradient);
  border-radius: var(--r-full);
  transition: all var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--clr-crimson);
}

.nav-link.active::after {
  left: 15%;
  right: 15%;
}

.nav-link:hover::after {
  left: 15%;
  right: 15%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}

.theme-toggle:hover {
  color: var(--clr-crimson);
  border-color: var(--clr-crimson);
  transform: rotate(20deg);
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: flex-end;
  justify-content: center;
  border-radius: var(--r-sm);
  padding: 0 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--r-full);
  transition: all var(--dur) var(--ease);
}

.hamburger span:nth-child(1) {
  width: 24px;
}

.hamburger span:nth-child(2) {
  width: 18px;
}

.hamburger span:nth-child(3) {
  width: 22px;
}

.hamburger.open span:nth-child(1) {
  width: 22px;
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  width: 22px;
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem var(--container-px) 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur), padding-left var(--dur);
}

.mobile-nav-link:hover {
  color: var(--clr-crimson);
  padding-left: 1rem;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  padding: 8rem var(--container-px) 6rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-primary);
}

/* Folklore decorative patterns */
.folk-pattern {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  opacity: 0.04;
  pointer-events: none;
}

[data-theme="dark"] .folk-pattern {
  opacity: 0.07;
}

.folk-pattern::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 3px dashed var(--clr-crimson);
}

.folk-pattern::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 2px dashed var(--clr-gold);
}

.folk-pattern-tl {
  top: -80px;
  left: -80px;
}

.folk-pattern-br {
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/tancerze.png');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}

[data-theme="dark"] .hero-bg-image {
  opacity: 0.04;
  mix-blend-mode: screen;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.09;
  animation: float 9s ease-in-out infinite;
}

[data-theme="dark"] .shape {
  opacity: 0.15;
}

.shape-1 {
  width: 650px;
  height: 650px;
  background: var(--clr-crimson);
  top: -220px;
  right: -120px;
  animation-delay: 0s;
}

.shape-2 {
  width: 420px;
  height: 420px;
  background: var(--clr-forest);
  bottom: -120px;
  left: -120px;
  animation-delay: 3s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--clr-gold);
  top: 40%;
  left: 38%;
  animation-delay: 6s;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-forest);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-forest);
  position: relative;
}

.badge-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(92, 45, 145, 0.3);
  animation: pulse-ring 2s ease infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block; /* Essential for accurate background-clip bounding box */
  padding: 0.1em 0.2em 0.1em 0.05em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* -------- Countdown -------- */
.countdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  min-width: 80px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.countdown-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(92, 45, 145, 0.4);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-proof svg {
  color: var(--clr-gold);
  flex-shrink: 0;
}

.social-proof strong {
  color: var(--text-primary);
}

/* -------- Hero Image -------- */
.hero-image-wrap {
  position: relative;
}

.hero-img-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-img-frame:hover .hero-img {
  transform: scale(1.04);
}

.hero-img-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-full);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #22C55E;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.4);
  animation: pulse-ring 1.5s ease infinite;
}

.hero-img-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.hero-img-card svg {
  color: var(--clr-crimson);
  flex-shrink: 0;
}

.hero-img-date {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-gradient);
  border-radius: var(--r-md);
  padding: 0.625rem 0.875rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(107, 76, 154, 0.35);
}

.img-date-day {
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
}

.img-date-month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-top: 2px;
}

/* -------- Scroll indicator -------- */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-indicator {
  width: 2px;
  height: 40px;
  background: var(--border);
  border-radius: var(--r-full);
  overflow: hidden;
  position: relative;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--clr-gradient);
  border-radius: var(--r-full);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
  background: linear-gradient(135deg, #FFBB44 0%, #FF9500 100%);
  padding: 3rem var(--container-px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px -10px rgba(255, 107, 0, 0.3);
  z-index: 2; /* Ensure shadow gracefully projects over next section */
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2.5rem;
  position: relative;
}

.stat-num {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 950;
  color: var(--clr-navy);
  line-height: 1;
  font-family: var(--font-heading);
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--clr-navy);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(26, 18, 40, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(0, 0, 0, 0.08);
}

/* ==========================================
   MISSION
   ========================================== */
.mission {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-primary);
  text-align: left;
}

#mission-heading {
  font-size: clamp(2.86rem, 5.2vw, 4.55rem);
}

.mission-inner {
  max-width: 860px;
  margin: 0 auto;
}

.mission-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.mission-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.mc-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.mc-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mission-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.mission-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.mission-outro {
  background: var(--clr-gradient-soft);
  border-radius: var(--r-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(226, 51, 41, 0.1);
}

.mission-outro h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--clr-crimson);
  margin-bottom: 1rem;
}

.mission-outro p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;


}

/* ==========================================
   ATTRACTIONS (Modern SaaS Grid)
   ========================================== */
.attractions {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-tertiary);
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .attr-card--featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .attractions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .attr-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.attr-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.attr-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(226, 51, 41, 0.30);
}

.attr-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #E2392A 0%, #CB1B22 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  transition: all 0.4s var(--ease);
}

.attr-card:hover .attr-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, #CB1B22 0%, #6B2387 100%);
}

/* Title gets right padding so it never runs under the absolutely-positioned icon */
.attr-card > .attr-title {
  padding-right: 4.75rem;
}

.attr-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.attr-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Featured Card with Background Image */
.attr-card--featured {
  padding: 0;
  min-height: 400px;
  justify-content: flex-end;
}

.attr-card--featured:hover {
  border-color: transparent;
}

/* ---- Organizer / Host cards (Białobrzegi pair) — share base .attr-card style + hover ---- */

.attr-leader {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.attr-leader-label {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}

.attr-organizer-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 1rem;
  background: rgba(226, 51, 41, 0.10);
  color: var(--clr-crimson);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.attr-organizer-logo {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 0 0.5rem;
  mix-blend-mode: multiply;
}

.attr-organizer-link {
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-weight: 700;
  color: var(--clr-crimson);
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}

.attr-organizer-link:hover {
  color: var(--clr-crimson-d);
  gap: 0.65rem;
}

.attr-organizer-link svg {
  transition: transform var(--dur) var(--ease);
}

.attr-organizer-link:hover svg {
  transform: translateX(3px);
}

.attr-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.attr-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.attr-card--featured:hover .attr-card-bg img {
  transform: scale(1.05);
}

/* Headliner Slider – cross-fade between images */
.attr-slider .attr-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}

.attr-slider .attr-slide.is-active {
  opacity: 1;
}

.attr-slider-dots {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.attr-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.attr-slider-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.attr-slider-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.attr-slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.attr-slider-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
  padding: 0;
}

.attr-slider-arrow--prev { left: 0.85rem; }
.attr-slider-arrow--next { right: 0.85rem; }

.attr-card--featured:hover .attr-slider-arrow,
.attr-card--featured:focus-within .attr-slider-arrow {
  opacity: 1;
}

.attr-slider-arrow:hover {
  background: rgba(15, 23, 42, 0.55);
  transform: translateY(-50%) scale(1.08);
}

.attr-slider-arrow:focus-visible {
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .attr-slider-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
  }
}

.attr-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.22) 55%, rgba(15, 23, 42, 0) 100%);
}

.attr-card-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
}

.attr-card--featured .attr-title {
  color: #fff;
  font-size: 1.8rem;
}

.attr-card--featured .attr-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.attr-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.attr-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.attr-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.attr-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.attr-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.attr-features li svg {
  color: var(--clr-crimson);
}

.attr-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.attr-note::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-crimson);
}

/* Card hover glow effect */
.attr-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.4s var(--ease);
  pointer-events: none;
}

.attr-card:hover::after {
  box-shadow: inset 0 0 0 2px rgba(92, 45, 145, 0.1);
}

.music-waves {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  margin-top: 1rem;
}

.music-waves span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--clr-gradient);
  border-radius: var(--r-full);
  animation: wave 1.2s ease-in-out infinite;
}

.music-waves span:nth-child(2) {
  animation-delay: 0.15s;
}

.music-waves span:nth-child(3) {
  animation-delay: 0.3s;
}

.music-waves span:nth-child(4) {
  animation-delay: 0.45s;
}

.music-waves span:nth-child(5) {
  animation-delay: 0.6s;
}

/* ==========================================
   ZESPOŁY / ARTYŚCI
   ========================================== */
.zespoly {
  padding: var(--section-py) var(--container-px);
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-primary);
}

.zespoly-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-6);
  margin-top: var(--spacing-12);
}

@media (max-width: 960px) {
  .zespoly-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .zespoly-grid { grid-template-columns: 1fr; }
}

.zespol-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.zespol-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 51, 41, 0.25);
}

.zespol-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
}

.zespol-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

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

/* Logo placeholder header — wide FPK logo centered in branded soft background */
.zespol-img--logo {
  background: linear-gradient(135deg, #fff8f6 0%, #fdf2f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zespol-img--logo img {
  width: 35%;
  height: auto;
  max-height: 50%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.zespol-card:hover .zespol-img--logo img {
  transform: scale(1.05);
}

/* Decorated header for cards without photo — gradient + central SVG */
.zespol-img--accent {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.zespol-img--accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 110%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 15% -10%, rgba(255, 255, 255, 0.10) 0%, transparent 45%);
  pointer-events: none;
}

.zespol-img--accent svg {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.20));
  position: relative;
  z-index: 1;
}

.zespol-img--c1 { background: linear-gradient(135deg, #E2392A 0%, #CB1B22 100%); }
.zespol-img--c2 { background: linear-gradient(135deg, #6B2387 0%, #4D1971 100%); }
.zespol-img--c3 { background: linear-gradient(135deg, #FFA01A 0%, #F58300 100%); }

/* Inline "solo" tag in zespol-name */
.zespol-name-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.55rem;
  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(226, 51, 41, 0.12);
  color: #CB1B22;
  border-radius: var(--r-full);
  vertical-align: middle;
}

/* Leader line */
.zespol-leader {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.zespol-leader-label {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}

.zespol-content {
  padding: var(--spacing-6);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.zespol-gmina {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(226, 51, 41, 0.08);
  color: var(--clr-crimson-d);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.zespol-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0.25rem 0 0.5rem;
}

.zespol-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.zespol-card--placeholder {
  background: var(--bg-secondary);
  border-style: dashed;
}

.zespol-card--placeholder .zespol-name {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 600;
}

.zespol-card--placeholder:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   WYSTAWCY / RĘKODZIEŁO
   ========================================== */
.wystawcy {
  position: relative;
  padding: var(--section-py) var(--container-px);
  background: var(--bg-secondary);
  overflow: hidden;
}

/* Decorative background blobs — subtle, modern */
.wystawcy::before,
.wystawcy::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}

.wystawcy::before {
  top: -120px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(226, 51, 41, 0.45) 0%, transparent 70%);
}

.wystawcy::after {
  bottom: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(107, 35, 135, 0.40) 0%, transparent 70%);
}

.wystawcy > .section-header,
.wystawcy > .wystawcy-snap {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Horizontal snap scroller */
.wystawcy-snap {
  position: relative;
  margin-top: var(--spacing-12);
}

.snap-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 50%;
  /* Side padding so first/last cards center; card width 460 → padding = (100% - 460)/2 */
  padding: 1.25rem calc(50% - 230px) 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.snap-track::-webkit-scrollbar { display: none; }

.snap-track .wystawca-card {
  flex: 0 0 460px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), box-shadow var(--dur) var(--ease);
  transform: scale(0.92);
  opacity: 0.55;
}

/* In Carousel: the focused card scales up & is fully opaque */
.snap-track .wystawca-card.is-focused {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 600px) {
  .snap-track {
    padding: 1rem calc(50% - 145px) 1.5rem;
    gap: 1rem;
  }
  .snap-track .wystawca-card {
    flex: 0 0 290px;
  }
}

/* Arrows */
.snap-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
  padding: 0;
}

.snap-arrow--prev { left: 8px; }
.snap-arrow--next { right: 8px; }

.snap-arrow:hover {
  background: linear-gradient(135deg, #E2392A 0%, #CB1B22 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}

.snap-arrow:focus-visible {
  outline: 2px solid #CB1B22;
  outline-offset: 3px;
}

.snap-arrow[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 600px) {
  .snap-arrow { width: 40px; height: 40px; }
}

/* Dots */
.snap-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.snap-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease), width 0.3s var(--ease);
}

.snap-dot:hover {
  background: rgba(226, 51, 41, 0.4);
}

.snap-dot.is-active {
  background: #CB1B22;
  border-color: #CB1B22;
  width: 26px;
  border-radius: 6px;
}

.snap-dot:focus-visible {
  outline: 2px solid #CB1B22;
  outline-offset: 2px;
}

.wystawca-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 20px 60px -20px rgba(15, 23, 42, 0.18), 0 1px 2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

/* Featured (2x2) — bigger everything, centered */
.bento--featured.wystawca-card {
  padding: 2.5rem 2.25rem;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.bento--featured .wystawca-icon {
  width: 88px;
  height: 88px;
}

.bento--featured .wystawca-icon svg {
  width: 44px;
  height: 44px;
}

.bento--featured .wystawca-name {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.bento--featured .wystawca-desc {
  font-size: 1.05rem;
  max-width: 90%;
}

.bento--featured .wystawca-num {
  font-size: 8rem;
  top: 0.5rem;
  right: 1.5rem;
}

/* Tall (1x2) — content distributes vertically */
.bento--tall.wystawca-card {
  justify-content: space-between;
}

.bento--tall .wystawca-num {
  font-size: 7rem;
}

/* Decorative gradient bar on top */
.wystawca-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #E2392A 0%, #CB1B22 100%);
}

.wystawca-card--c2::before { background: linear-gradient(90deg, #6B2387 0%, #4D1971 100%); }
.wystawca-card--c3::before { background: linear-gradient(90deg, #FFA01A 0%, #F58300 100%); }

.wystawca-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px -20px rgba(15, 23, 42, 0.28), 0 2px 4px rgba(15, 23, 42, 0.08);
}

/* Decorative big number watermark — top right */
.wystawca-num {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(226, 51, 41, 0.08);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.wystawca-card--c2 .wystawca-num { color: rgba(107, 35, 135, 0.10); }
.wystawca-card--c3 .wystawca-num { color: rgba(255, 160, 26, 0.14); }

.wystawca-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(226, 51, 41, 0.14) 0%, rgba(226, 51, 41, 0.04) 100%);
  color: #CB1B22;
  border-radius: 50%;
  margin: 0.25rem 0 1rem;
  box-shadow: 0 6px 18px rgba(226, 51, 41, 0.14);
  transition: transform var(--dur) var(--ease);
}

.wystawca-card--c2 .wystawca-icon {
  background: linear-gradient(135deg, rgba(107, 35, 135, 0.16) 0%, rgba(107, 35, 135, 0.04) 100%);
  color: #6B2387;
  box-shadow: 0 6px 18px rgba(107, 35, 135, 0.16);
}

.wystawca-card--c3 .wystawca-icon {
  background: linear-gradient(135deg, rgba(255, 160, 26, 0.20) 0%, rgba(255, 160, 26, 0.04) 100%);
  color: #C56A00;
  box-shadow: 0 6px 18px rgba(255, 160, 26, 0.20);
}

.wystawca-card:hover .wystawca-icon {
  transform: scale(1.08) rotate(-4deg);
}

.wystawca-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: rgba(226, 51, 41, 0.10);
  color: #CB1B22;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.wystawca-card--c2 .wystawca-cat { background: rgba(107, 35, 135, 0.10); color: #6B2387; }
.wystawca-card--c3 .wystawca-cat { background: rgba(245, 131, 0, 0.14); color: #C56A00; }

.wystawca-name {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.wystawca-place {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.wystawca-place svg {
  flex-shrink: 0;
}

.wystawca-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================
   PROGRAM / TIMELINE
   ========================================== */
.program {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-tertiary);
}

.timeline-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.timeline {
  display: none;
}

.timeline.active {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 80px 24px 1fr;
  gap: 0 1.5rem;
  align-items: start;
  position: relative;
  padding-bottom: 2.25rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(80px + 1.5rem + 11px);
  top: 12px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(107, 76, 154, 0.3), transparent);
}

.tl-time {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-crimson);
  text-align: right;
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-heading);
}

.tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clr-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px rgba(226, 51, 41, 0.2);
}

.tl-dot--star {
  background: var(--clr-gradient-gold);
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px rgba(249, 163, 27, 0.3), 0 0 20px rgba(249, 163, 27, 0.3);
}

.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.tl-card:hover {
  transform: translateX(6px) scale(1.01);
  border-color: rgba(107, 76, 154, 0.25);
  box-shadow: var(--shadow-md);
}

.tl-card--featured {
  border-color: rgba(232, 115, 30, 0.4);
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(232, 115, 30, 0.05) 100%);
}

.tl-card--featured:hover {
  border-color: rgba(232, 115, 30, 0.6);
}

.tl-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-crimson);
  margin-bottom: 0.4rem;
}

.tl-tag--star {
  color: var(--clr-gold);
}

.tl-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
  font-family: var(--font-heading);
}

.tl-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tl-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.tl-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
}

/* ==========================================
   PRAKTYCZNIE – INFO GRID
   ========================================== */
.praktycznie {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-primary);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gradient);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 76, 154, 0.2);
}

.info-card:hover::before {
  opacity: 1;
}

.info-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--clr-gradient-soft);
  border: 1px solid rgba(107, 76, 154, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-crimson);
  margin-bottom: 1.25rem;
  transition: all var(--dur) var(--ease);
}

.info-card:hover .info-card-icon {
  background: var(--clr-gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08) rotate(-3deg);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================
   COMMUNITY SLIDER
   ========================================== */
.community {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.community-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.deco-flower {
  position: absolute;
  width: 250px;
  height: auto;
  opacity: 0.08;
  filter: contrast(1.1);
}

.deco-flower-1 {
  top: -50px;
  left: -50px;
  transform: rotate(-15deg);
}

.deco-flower-2 {
  bottom: -60px;
  right: -50px;
  transform: rotate(165deg) scaleX(-1);
}

[data-theme="dark"] .deco-flower {
  opacity: 0.05;
  filter: brightness(0.8) contrast(1.2);
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.slider-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  width: 100%;
  will-change: transform;
}

.slider-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.quote-card {
  background: var(--bg-card);
  padding: 4rem 4.5rem;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 1;
  color: var(--clr-crimson);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  font-family: var(--font-heading);
  font-weight: 300;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--clr-crimson);
  flex-shrink: 0;
}

.quote-author>div {
  display: flex;
  flex-direction: column;
}

.quote-author strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.quote-author span {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
  pointer-events: auto;
  z-index: 20;
  opacity: 0.7;
}

#slider-prev {
  left: 0.75rem;
}

#slider-next {
  right: 0.75rem;
}

.slider-btn:hover {
  background: var(--bg-card);
  border-color: var(--clr-crimson);
  color: var(--clr-crimson);
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

.slider-dots {
  display: flex;
  gap: 0.6rem;
  pointer-events: auto;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
}

.dot.active {
  background: var(--clr-crimson);
  width: 28px;
  border-radius: var(--r-full);
}

/* ==========================================
   MAP
   ========================================== */
.mapa {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-primary);
}

.mapa-wrapper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.mapa-info {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.mapa-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}

.mapa-block:hover {
  border-color: rgba(107, 76, 154, 0.25);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.mapa-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.mapa-block strong {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.mapa-block p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mapa-embed {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mapa-custom {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #252841; /* Slightly lighter/bluer tech background */
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mapa-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mapa-pin-layer {
  position: absolute;
  inset: 0;
}

.map-pin-item {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  z-index: 10;
}

.map-pin {
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}

.map-pin:hover {
  transform: rotate(-45deg) scale(1.2);
}

.map-pin span {
  transform: rotate(45deg);
  font-size: 1.2rem;
  display: block;
}

.map-pin--main {
  background: linear-gradient(135deg, #E23329, #BE1E2D); /* Bright Red */
  animation-delay: 0s;
  box-shadow: 0 4px 16px rgba(226, 51, 41, 0.4);
}

.map-pin--parking {
  background: linear-gradient(135deg, #F9A31B, #F7941D); /* Bright Orange */
  animation-delay: 0.5s;
  box-shadow: 0 4px 16px rgba(249, 163, 27, 0.4);
}

.map-pin--food {
  background: linear-gradient(135deg, #5C2D91, #461E70); /* Bright Violet */
  animation-delay: 1s;
  box-shadow: 0 4px 16px rgba(92, 45, 145, 0.4);
}

.map-pin-label {
  background: #FFFFFF;
  color: #1A1228;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-md);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0.9;
  transform: translateY(4px);
  transition: all 0.3s var(--ease);
  border: 2px solid currentColor;
}

.map-pin--main + .map-pin-label { border-color: #E23329; color: #E23329; }
.map-pin--parking + .map-pin-label { border-color: #F9A31B; color: #F9A31B; }
.map-pin--food + .map-pin-label { border-color: #5C2D91; color: #5C2D91; }

.map-pin-item:hover .map-pin-label {
  opacity: 1;
  transform: translateY(0);
}

.map-you-are-here {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.you-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3), 0 0 0 8px rgba(59, 130, 246, 0.1);
  animation: pulse-ring 2s ease infinite;
}

.mapa-credit {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  pointer-events: none;
}

/* ==========================================
   TICKETS / REGISTRATION
   ========================================== */
.bilety {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-tertiary);
}

.ticket-free-hero {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Free benefits chips — pełne kolory wyciągnięte pikselowo z logotypu FPK */
.ticket-free-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ticket-free-chips li {
  /* Domyślnie: czerwień FPK */
  --chip-bg: #CB1B22;
  --chip-shadow: rgba(203, 27, 34, 0.30);

  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  background: var(--chip-bg);
  border: none;
  color: #ffffff;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px -4px var(--chip-shadow);
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur) var(--ease),
              filter var(--dur) var(--ease);
}

/* Rotacja 3 barw logotypu: czerwień · fiolet · pomarańcz */
.ticket-free-chips li:nth-child(3n+2) {
  --chip-bg: #611D72;
  --chip-shadow: rgba(97, 29, 114, 0.32);
}

.ticket-free-chips li:nth-child(3n+3) {
  --chip-bg: #F79100;
  --chip-shadow: rgba(247, 145, 0, 0.36);
}

.ticket-free-chips li:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 10px 22px -6px var(--chip-shadow);
}

.ticket-free-chips li svg {
  color: #ffffff;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease-spring);
}

.ticket-free-chips li:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

/* Paid attractions row: add emoji column */
.paid-item-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.paid-item-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

/* Footer row: note + CTA */
.ticket-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  justify-content: center;
  align-items: center;
  padding-top: 0.25rem;
}

.ticket-info-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.ticket-info-note svg {
  color: var(--clr-crimson);
  flex-shrink: 0;
}

/* Logo at the bottom */
.ticket-logo {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.ticket-logo img {
  width: 120px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(226, 51, 41, 0.12));
  transition: transform var(--dur) var(--ease);
}

.ticket-logo img:hover {
  transform: scale(1.05);
}

.ticket-free-left {
  background: var(--clr-gradient);
  border-radius: var(--r-xl);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(226, 51, 41, 0.30);
}

.ticket-free-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.ticket-free-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ticket-free-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.ticket-free-desc strong {
  color: #fff;
}

.ticket-free-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.ticket-free-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.ticket-free-list .feat-yes::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ticket-free-left .btn-cta {
  background: #ffffff;
  color: var(--clr-crimson);
  width: max-content;
}

.ticket-free-left .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ticket-free-left .btn-cta svg {
  color: var(--clr-crimson);
}

.ticket-free-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticket-free-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ticket-paid-box,
.ticket-group-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.ticket-paid-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ticket-paid-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: rgba(232, 115, 30, 0.15);
  color: var(--clr-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ticket-paid-label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.ticket-paid-sublabel {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-crimson);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}

.ticket-paid-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.ticket-paid-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.5rem;
}

.paid-item-name {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.paid-item-price {
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.ticket-paid-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ticket-group-box {
  background: var(--bg-secondary);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.ticket-group-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-gradient-soft);
  color: var(--clr-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ticket-group-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.ticket-group-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Sub-elements overrides */
.hero-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  color: var(--clr-forest);
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.bento-paid-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 0.5rem;
}

.tl-meta--free {
  color: var(--clr-forest) !important;
  font-weight: 700;
  background: rgba(92, 45, 145, 0.1) !important;
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
  padding: var(--section-py) var(--container-px);
  background: var(--bg-tertiary);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(107, 76, 154, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--dur) var(--ease);
  font-family: var(--font-heading);
}

.faq-question:hover {
  color: var(--clr-crimson);
}

.faq-question[aria-expanded="true"] {
  color: var(--clr-crimson);
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: var(--clr-crimson);
}

.faq-answer {
  padding: 0 1.5rem 1.375rem;
  border-top: 1px solid var(--border);
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 1rem;
}

/* ==========================================
   PARTNERZY
   ========================================== */
.partnerzy {
  padding: 5rem var(--container-px) var(--section-py);
  background: var(--bg-primary);
}

.partnerzy .section-header {
  margin-bottom: 3rem;
}

.partnerzy-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Gradient fade-out na bokach usunięty per client request */

.partnerzy-img {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: block;
  /* mix-blend-mode: multiply -> białe tło PNG-a znika, logotypy zostają */
  mix-blend-mode: multiply;
  filter: grayscale(100%) opacity(0.6) contrast(1.1);
  transition: filter 0.6s var(--ease);
  cursor: default;
}

.partnerzy-wrapper:hover .partnerzy-img {
  filter: grayscale(0%) opacity(1) contrast(1);
}

.partnerzy-img--small {
  max-width: 200px;
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

/* Force line break inside flex-wrap container */
.partnerzy-row-break {
  flex-basis: 100%;
  height: 1.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: linear-gradient(135deg, #12101C 0%, #1E1535 50%, #12101C 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
}

.footer-cta {
  background: var(--clr-gradient);
  padding: 6rem var(--container-px);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(107, 76, 154, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
}

.newsletter-form {
  position: relative;
}

.newsletter-input-wrap {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.newsletter-input-wrap input {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--dur) var(--ease);
  outline: none;
}

.newsletter-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-input-wrap input:focus {
  border-color: var(--clr-crimson);
  background: rgba(107, 76, 154, 0.07);
}

.newsletter-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.newsletter-note svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-content {
  padding: 4rem var(--container-px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin: 1.25rem 0;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--dur) var(--ease);
}

.social-link:hover {
  background: var(--clr-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--clr-gold);
}

.footer-contact {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--dur);
}

.footer-contact a:hover {
  color: var(--clr-gold);
}

.footer-sponsors {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem var(--container-px);
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.sponsors-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.sponsors-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.sponsor-logo {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  cursor: default;
}

.sponsor-logo:hover {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem var(--container-px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.28);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--dur);
}

.footer-bottom a:hover {
  color: var(--clr-gold);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-image-wrap {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .social-proof {
    justify-content: center;
  }

  .countdown {
    justify-content: center;
  }

  .badge-pill {
    display: inline-flex;
  }

  .bento-big {
    grid-column: span 12;
    min-height: 340px;
  }

  .bento-medium {
    grid-column: span 6;
  }

  .bento-small {
    grid-column: span 6;
  }

  .mapa-wrapper {
    grid-template-columns: 1fr;
  }

  .ticket-free-hero {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .nav {
    display: none;
  }

  .header-right .btn-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 7rem;
  }

  .bento-medium {
    grid-column: span 12;
  }

  .bento-small {
    grid-column: span 12;
  }

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

  .tl-item {
    grid-template-columns: 64px 20px 1fr;
    gap: 0 1rem;
  }

  .tl-item:not(:last-child)::after {
    left: calc(64px + 1rem + 9px);
  }

  .quote-card {
    padding: 2rem 1.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stat-item {
    padding: 0.75rem 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .stats-inner {
    gap: 1rem;
  }

  .newsletter-input-wrap {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .countdown {
    gap: 0.25rem;
  }

  .countdown-item {
    min-width: 58px;
    padding: 0.6rem 0.75rem;
  }

  .countdown-num {
    font-size: 1.35rem;
  }

  .tl-item {
    grid-template-columns: 54px 18px 1fr;
  }

}

/* ==========================================
   FLOATING SCROLL-TO-TOP BUTTON
   ========================================== */
.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E2392A 0%, #CB1B22 100%);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(226, 51, 41, 0.35), 0 2px 6px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  padding: 0;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  background: linear-gradient(135deg, #CB1B22 0%, #A11217 100%);
  box-shadow: 0 14px 32px rgba(226, 51, 41, 0.45), 0 3px 8px rgba(15, 23, 42, 0.16);
  transform: translateY(-2px) scale(1.04);
}

.scroll-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

[data-theme="dark"] .scroll-top {
  box-shadow: 0 10px 28px rgba(226, 51, 41, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================
   MOTION PREFERENCES
   ========================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}