/* ===================================================
   BANER COOKIES
=================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  width: calc(100% - 48px);
  max-width: 820px;
  background: var(--bg3);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(0,0,0,.7);
  padding: 24px 28px;
  animation: cookieSlideUp .4s ease both;
}
.cookie-banner[hidden] { display: none; }

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { font-size: .85rem; color: var(--text-mid); margin: 0; line-height: 1.6; }
.cookie-text strong { color: var(--text); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--gold); color: #0a0a0a;
}
.cookie-btn-accept:hover { background: var(--gold-hover); transform: translateY(-1px); }
.cookie-btn-reject {
  background: transparent; color: var(--text-mid);
  border: 1px solid var(--border);
}
.cookie-btn-reject:hover { color: var(--text); border-color: rgba(255,255,255,.18); }

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 600px) {
  .cookie-banner { bottom: 12px; width: calc(100% - 24px); padding: 18px 16px; }
  .cookie-inner  { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ===================================================
   DOSTĘPNOŚĆ (WCAG 2.1 AA)
=================================================== */

/* Skip link — pomijanie nawigacji (2.4.1) */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 99999;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Klasa pomocnicza — wizualnie ukryta, dostępna dla czytników (1.1.1) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Widoczny focus dla nawigacji klawiaturą (2.4.7) */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Usuń domyślny outline tylko gdy :focus-visible działa */
:focus:not(:focus-visible) { outline: none; }

/* Redukcja ruchu (1.4.3 / prefers-reduced-motion) */
@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;
  }
  .fade-up { opacity: 1; transform: none; animation: none; }
  .reveal  { opacity: 1; transform: none; transition: none; }
  .splash-half { transition: none; }
}

/* ===================================================
   SPLASH SCREEN
=================================================== */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  cursor: pointer;
}

.splash-half {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.splash-top {
  top: 0;
}
.splash-top img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 200%;
  object-fit: cover;
  object-position: center top;
}

.splash-bottom {
  bottom: 0;
}
.splash-bottom img {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 200%;
  object-fit: cover;
  object-position: center bottom;
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.45) 0%,
    rgba(10,10,10,.62) 50%,
    rgba(10,10,10,.45) 100%
  );
  z-index: 2;
}

.splash-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.splash-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,168,75,.12);
  border: 1px solid rgba(200,168,75,.3);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  animation: splashFadeUp .8s .3s ease both;
}

.splash-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 13vw, 10rem);
  font-weight: 900;
  line-height: .95;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: splashFadeUp .8s .45s ease both;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}

.splash-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 3rem;
  animation: splashFadeUp .8s .6s ease both;
}

.splash-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 16px 40px;
  border-radius: 6px;
  animation: splashFadeUp .8s .75s ease both;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 32px rgba(200,168,75,.35);
}
.splash-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(200,168,75,.5);
}
.splash-btn-icon svg {
  width: 20px; height: 20px;
  transition: transform .25s;
}
.splash-btn:hover .splash-btn-icon svg {
  transform: translateX(4px);
}

/* Exit animation */
#splash.exit .splash-top {
  transform: translateY(-100%);
}
#splash.exit .splash-bottom {
  transform: translateY(100%);
}
#splash.exit .splash-content {
  opacity: 0;
  transition: opacity .35s ease;
}

body.splash-open {
  overflow: hidden;
}

@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #C8A84B;
  --gold-hover:  #DDB95C;
  --gold-dim:    rgba(200,168,75,.12);
  --gold-border: rgba(200,168,75,.22);
  --bg:          #0E0E0E;
  --bg2:         #141414;
  --bg3:         #1A1A1A;
  --bg4:         #202020;
  --text:        #E6E0D4;
  --text-mid:    #A09080;
  --text-soft:   #6A6050;
  --border:      rgba(255,255,255,.07);
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 8px 40px rgba(0,0,0,.5);
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--text); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--text-mid); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }

.section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 1.1rem;
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; letter-spacing: .03em;
  padding: 13px 30px; border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-gold {
  background: var(--gold); color: #0E0E0E;
  box-shadow: 0 4px 20px rgba(200,168,75,.3);
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,168,75,.45); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; padding: 15px; font-size: .95rem; }

/* ===================================================
   NAVBAR
=================================================== */
#navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(14,14,14,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-icon { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-primary { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.logo-secondary { font-size: .62rem; font-weight: 500; color: var(--text-soft); letter-spacing: .14em; text-transform: uppercase; margin-top: 1px; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  font-size: .83rem; font-weight: 500; color: var(--text-mid);
  padding: 7px 14px; border-radius: 7px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--text); }
.nav-cta {
  background: var(--gold-dim); color: var(--gold) !important;
  border: 1px solid var(--gold-border);
  margin-left: 6px;
}
.nav-cta:hover { background: rgba(200,168,75,.22) !important; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  margin-left: auto; padding: 4px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text-mid); border-radius: 2px; transition: var(--transition); }

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroScale 12s ease-out forwards;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,14,14,.88) 40%, rgba(14,14,14,.55) 100%);
}
.hero-body {
  position: relative; z-index: 2; width: 100%;
  padding: 120px 24px 80px;
}
.hero-inner { max-width: 1120px; margin: 0 auto; max-width: 680px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  padding: 7px 18px; border-radius: 100px; margin-bottom: 1.8rem;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: blink 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900;
  color: #fff; line-height: 1.1; margin-bottom: 1.25rem;
}
.hero-desc { font-size: 1.05rem; color: rgba(230,224,212,.7); margin-bottom: 2.2rem; line-height: 1.8; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-metrics {
  display: flex; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 28px; gap: 0;
  backdrop-filter: blur(6px);
  width: fit-content;
}
.metric { display: flex; flex-direction: column; padding: 0 28px; }
.metric:first-child { padding-left: 0; }
.metric strong { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--gold); }
.metric span { font-size: .7rem; color: var(--text-soft); letter-spacing: .06em; margin-top: 2px; }
.metric-sep { width: 1px; height: 36px; background: var(--border); }

.scroll-arrow {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--text-soft); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-arrow svg { width: 24px; height: 24px; }

/* ===================================================
   O PROJEKCIE — split + goals
=================================================== */
.section-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-bottom: 80px;
}
.section-text h2 { margin-bottom: 1rem; }
.section-text p  { margin-bottom: 1rem; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--text);
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C8A84B'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* img duo */
.section-visual { position: relative; }
.img-duo { position: relative; height: 460px; }
.img-main, .img-secondary {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.img-main { width: 78%; height: 74%; top: 0; left: 0; z-index: 1; }
.img-secondary { width: 54%; height: 50%; bottom: 0; right: 0; z-index: 2; border: 3px solid var(--bg); }


/* goals */
.goals-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 80px;
}
.goal-card {
  background: var(--bg2); padding: 36px 28px;
  transition: background var(--transition), transform var(--transition);
  animation-delay: var(--d, 0s);
}
.goal-card:hover { background: var(--bg3); transform: translateY(-4px); }
.goal-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--gold);
}
.goal-icon svg { width: 20px; height: 20px; }
.goal-card h3 { color: var(--text); margin-bottom: .5rem; }
.goal-card p { font-size: .85rem; }

/* timeline */
.timeline { padding-top: 60px; border-top: 1px solid var(--border); }
.tl-header { margin-bottom: 48px; }
.tl-header h2 { margin-top: .5rem; }
.tl-track {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.tl-step {
  background: var(--bg2); padding: 32px 28px; position: relative;
  transition: background var(--transition);
}
.tl-step:hover { background: var(--bg3); }
.tl-marker {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--text-soft);
  margin-bottom: 20px;
}
.tl-done .tl-marker { background: var(--gold); border-color: var(--gold); color: #0E0E0E; }
.tl-done .tl-marker svg { width: 16px; height: 16px; }
.tl-active .tl-marker { border-color: var(--gold); background: transparent; }
.tl-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
  animation: blink 1.5s ease-in-out infinite;
}
.tl-final .tl-marker { background: var(--gold); border-color: var(--gold); font-size: 1rem; }
.tl-year { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tl-step h4 { font-size: 1rem; margin-bottom: .5rem; }
.tl-step p { font-size: .82rem; }
.tl-final { background: rgba(200,168,75,.06); border-left: 1px solid var(--gold-border); }
.tl-active { background: rgba(200,168,75,.04); }

/* ===================================================
   PAGE HERO (podstrony)
=================================================== */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}
.ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,14,14,.55) 0%, rgba(14,14,14,.82) 100%);
}
.ph-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}
.ph-content .label {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 1rem;
}
.ph-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: .75rem;
}
.ph-content p {
  font-size: 1rem; color: rgba(230,224,212,.7);
}

/* ===================================================
   LOKALIZACJA — loc-cards-row
=================================================== */
.loc-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 48px;
}

/* ===================================================
   FINANSOWANIE — eu-info-grid + eu-disclaimer
=================================================== */
.eu-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.eu-info-card {
  background: var(--bg2); padding: 32px 24px;
  transition: background var(--transition);
}
.eu-info-card:hover { background: var(--bg3); }
.eu-info-card h3 { font-size: 1rem; color: var(--text); margin-bottom: .5rem; }
.eu-info-card p  { font-size: .85rem; }

.eu-disclaimer {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(200,168,75,.06); border: 1px solid var(--gold-border);
  border-radius: var(--radius); padding: 20px 24px;
  margin-top: 24px;
}
.eu-disclaimer svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.eu-disclaimer p   { font-size: .85rem; margin: 0; }
.eu-disclaimer strong { color: var(--text); }

@media (max-width: 1024px) {
  .loc-cards-row { grid-template-columns: repeat(2, 1fr); }
  .eu-info-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .loc-cards-row { grid-template-columns: 1fr; }
  .eu-info-grid  { grid-template-columns: 1fr; }
  .page-hero { min-height: 44vh; }
}

/* ===================================================
   LOKALIZACJA
=================================================== */
.loc-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.loc-info h2 { margin-bottom: 1rem; }
.loc-info p  { margin-bottom: 1.5rem; }
.loc-details { display: flex; flex-direction: column; gap: 16px; }
.loc-row {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.loc-row svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.loc-row strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.loc-row span { font-size: .875rem; color: var(--text); }
.loc-map {
  height: 460px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===================================================
   FINANSOWANIE UE
=================================================== */
.eu-block {
  display: grid; grid-template-columns: auto 1fr;
  gap: 64px; align-items: start;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 60px;
}
.eu-flag {
  width: 120px; height: 80px;
  background: #003399; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; box-shadow: var(--shadow);
  margin-top: 8px;
}
.eu-stars { width: 100%; height: 100%; position: relative; }

.eu-content h2 { margin-bottom: 1rem; }
.eu-content > p { margin-bottom: 2rem; }

.eu-pillars {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-bottom: 2rem;
}
.eu-pillar {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.eu-pillar-icon { font-size: 1.4rem; margin-bottom: 6px; }
.eu-pillar strong { font-size: .9rem; color: var(--text); }
.eu-pillar span { font-size: .8rem; color: var(--text-mid); line-height: 1.5; }

.eu-logos {
  display: flex; align-items: center; gap: 24px;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.eu-badge-text { font-weight: 700; font-size: .9rem; color: var(--text); }
.eu-badge-sub  { font-size: .75rem; color: var(--text-mid); margin-top: 2px; }
.eu-divider    { width: 1px; height: 32px; background: var(--border); }

/* ===================================================
   GALERIA
=================================================== */
.gallery-desc { margin-bottom: 2.5rem; max-width: 500px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 3px; border-radius: var(--radius-lg); overflow: hidden;
}
/* gallery-item jest teraz <button> — reset stylów */
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  display: block; width: 100%; height: 100%;
  background: none; border: none; padding: 0; margin: 0;
  text-align: left;
}
/* Pierwszy element galerii zajmuje 2 rzędy — selektor na li rodzica */
.gallery-grid li:first-child { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  pointer-events: none;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(14,14,14,0);
  display: flex; align-items: flex-end; padding: 20px;
  transition: background var(--transition);
  pointer-events: none;
}
.gallery-overlay span {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { background: rgba(14,14,14,.45); }
.gallery-item:hover .gallery-overlay span,
.gallery-item:focus-visible .gallery-overlay span { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}
/* Lightbox — hidden attribute zamiast display:none (dostępność) */
.lightbox:not([hidden]) { display: flex; }
.lb-img-wrap { max-width: 1000px; max-height: 80vh; }
.lb-img-wrap img { border-radius: var(--radius); max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background var(--transition);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.18); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 18px; height: 18px; }

/* ===================================================
   KONTAKT
=================================================== */
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.contact-card svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-card strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.contact-card span { font-size: .875rem; color: var(--text); }

/* form */
.contact-form-wrap {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  animation-delay: var(--d, 0s);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mid); }
.form-group input,
.form-group textarea {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  font-family: 'Inter', sans-serif; font-size: .9rem;
  color: var(--text); transition: border-color var(--transition), box-shadow var(--transition);
  resize: none; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-soft); }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px rgba(200,168,75,.08);
}
.form-group input.error, .form-group textarea.error { border-color: #c05050; }
.form-success {
  display: none; text-align: center;
  background: rgba(200,168,75,.1); border: 1px solid var(--gold-border);
  border-radius: var(--radius); padding: 12px;
  font-size: .875rem; color: var(--gold);
}
.form-success.show { display: block; }

/* ===================================================
   FOOTER
=================================================== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { margin-bottom: 14px; pointer-events: none; }
.footer-brand p { font-size: .85rem; color: var(--text-mid); max-width: 300px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; }
/* h2 w stopce stylizowany jak poprzednie h4 (semantycznie poprawne) */
.footer-nav-heading {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 16px;
}
.footer-nav-list { list-style: none; display: flex; flex-direction: column; }
.footer-nav-list a {
  font-size: .875rem; color: var(--text-mid); padding: 5px 0;
  transition: color var(--transition);
}
.footer-nav-list a:hover { color: var(--gold); }
address { font-style: normal; }
.footer-contact p { font-size: .875rem; color: var(--text-mid); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom span { font-size: .78rem; color: var(--text-soft); }

/* ===================================================
   REVEAL ANIMATIONS
=================================================== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
  animation-delay: var(--d, 0s);
  animation-play-state: paused;
}
.hero .fade-up { animation-play-state: running; }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===================================================
   KEYFRAMES
=================================================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScale {
  to { transform: scale(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .section-split { grid-template-columns: 1fr; gap: 48px; }
  .section-visual { order: -1; }
  .img-duo { height: 320px; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-track { grid-template-columns: repeat(2, 1fr); }
  .eu-block { grid-template-columns: 1fr; gap: 32px; }
  .eu-flag { width: 90px; height: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  h2 { font-size: 1.8rem; }

  .burger { display: flex; }
  .nav-menu {
    display: none; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 60px;
    background: rgba(14,14,14,.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    align-items: flex-start;
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 14px 12px; font-size: 1rem; border-radius: 8px; }
  .nav-cta { margin-left: 0; margin-top: 8px; }

  .section-split { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: 1fr; }
  .tl-track { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-row: span 1; }
  .loc-split { grid-template-columns: 1fr; }
  .loc-map { height: 300px; }
  .contact-split { grid-template-columns: 1fr; }
  .eu-pillars { grid-template-columns: 1fr; }
  .hero-metrics { flex-direction: column; gap: 12px; width: 100%; }
  .metric { padding: 0; align-items: flex-start; }
  .metric-sep { width: 100%; height: 1px; }
  .eu-block { padding: 32px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
}
