/* Lato – self-hosted */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/lato-300-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/lato-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/lato-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/lato-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./assets/fonts/lato-900-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./assets/fonts/lato-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================
   ZMIENNE / WCAG
========================= */
:root {
  --brand: #1F8452;          /* główny zielony – WCAG AA dla dużego tekstu */
  --brand-dark: #176840;     /* ciemniejszy – WCAG AA dla małego tekstu */
  --brand-light: rgba(31,132,82,.08);
  --header-bg: #fff;
  --white: #fff;
  --text: #111;
  --text-muted: #555;
  --max-width: 1200px;
}

/* =========================
   SKIP LINK (WCAG)
========================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* FOCUS VISIBLE (WCAG) */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

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

body {
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  animation: fadeIn 0.3s ease;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================
   LOGO
========================= */
.logo--header { width: 80px; display: block; border-radius: 50%; transition: box-shadow .35s ease; }
.logo--footer { width: 120px; display: block; }
.logo img { width: 100%; display: block; }

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  padding: 10px 20px;
  transition: .35s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* =========================
   NAV
========================= */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: #111;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: color .2s, opacity .2s;
  line-height: 1;
}
.nav a:hover {
  color: var(--brand);
  font-weight: 700;
  opacity: 1;
}
.nav a.active {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.65em 1.4em;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background .25s, transform .25s;
}
.nav a.nav-cta:hover {
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  opacity: 1;
  transform: translateY(-1px);
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #111;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  z-index: 1002;
}

.header-mobile-actions {
  display: none;
}

/* =========================
   SEASONAL LOGO BORDER
========================= */
[data-season="spring"] .logo--header { box-shadow: 0 0 0 3px #3aab5c; }
[data-season="summer"] .logo--header { box-shadow: 0 0 0 3px #e8a020; }
[data-season="autumn"] .logo--header { box-shadow: 0 0 0 3px #c0521a; }
[data-season="winter"] .logo--header { box-shadow: 0 0 0 3px #5b9bd5; }

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 900px) {
  .header-inner { gap: 10px; }
  .menu-toggle { display: block; margin-left: 12px; }
  .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 24px 40px;
    gap: 28px;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,.2);
    z-index: 1001;
    flex: none;
    overflow-y: auto;
  }
  .nav.is-open { right: 0; }
  .nav { align-items: stretch; }
  .nav a {
    font-size: 17px;
    text-align: left;
    /* WCAG 2.5.8: touch target min 44px */
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav a.nav-cta {
    font-size: 15px;
    padding: 0.75em 1.4em;
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .nav { gap: 16px; }
  .nav a { font-size: 12px; }
  .nav a.nav-cta { font-size: 12px; padding: 0.55em 1em; }
}

@media (min-width: 1201px) {
  .nav { gap: 28px; }
}

/* =========================
   NAV DROPDOWN
========================= */
.nav-dropdown { position: relative; }
.nav-dropdown__row {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-dropdown__btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  transition: color .2s;
  line-height: 1;
  touch-action: manipulation;
}
.nav-dropdown__btn:hover,
.nav-dropdown:hover .nav-dropdown__btn { color: var(--brand); }
.nav-dropdown__chevron { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  padding: 6px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 22px;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}
.nav-dropdown.active > .nav-dropdown__row > a {
  color: var(--brand);
  font-weight: 700;
}

/* Mobile dropdown */
@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown__row { justify-content: space-between; }
  .nav-dropdown__row > a { font-size: 17px; }
  .nav-dropdown__btn { padding: 12px 16px; margin: -12px -16px -12px 0; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 6px;
    background: var(--brand-light);
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .3s ease, padding .2s ease;
    min-width: 0;
    width: 100%;
  }
  .nav-dropdown:hover .nav-dropdown__menu { position: static; transform: none; }
  .nav-dropdown.is-open .nav-dropdown__menu { max-height: 500px; padding: 6px 0; }
  .nav-dropdown.is-open .nav-dropdown__chevron { transform: rotate(180deg); }
  .nav-dropdown__menu a { font-size: 15px; text-align: left; padding: 9px 16px; }
}

/* =========================
   HERO SLIDER
========================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 1;
  pointer-events: none;
}
.embla, .embla__container, .embla__slide {
  height: 100vh;
  height: 100dvh;
}
.embla { pointer-events: auto; }
.embla__container { display: flex; }
.embla__slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;
}
.embla__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #fff;
  pointer-events: none;
  padding: clamp(20px,5vw,120px) clamp(20px,5vw,120px) 140px;
  gap: 0;
}
.hero-content h2 {
  font-size: clamp(24px,3vw,42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 clamp(12px,1.5vw,24px) 0;
  max-width: 620px;
}
.hero-content p {
  font-size: clamp(15px,1.5vw,20px);
  opacity: .9;
  max-width: 540px;
  margin: 0 0 clamp(20px,2.5vw,36px) 0;
  line-height: 1.5;
}
.hero-content a { pointer-events: auto; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; pointer-events: auto; }
.hero-content.fading { opacity: 0; pointer-events: none; transition: opacity .3s; }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .3s;
}
.hero-dots button:hover { background: rgba(255,255,255,.7); }
.hero-dots button.is-selected { background: #fff; width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
  .hero-content {
    padding: 40px 20px 120px;
    align-items: center;
    text-align: center;
  }
  .hero-content h2 { max-width: 100%; }
  .hero-content p { max-width: 100%; }
}

/* =========================
   HERO INTRO (sekcja pod sliderem)
========================= */
.hero-intro {
  background: #fff;
  padding: clamp(48px,6vw,96px) 20px;
}
.hero-intro-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.hero-intro-content p {
  font-size: clamp(16px,1.8vw,20px);
  line-height: 1.75;
  color: #222;
}

/* =========================
   BUTTON
========================= */
.btn {
  padding: .9em 2em;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transition: all .3s;
  border: none;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: clamp(14px,1.4vw,17px);
  display: inline-block;
  cursor: pointer;
}
.btn:visited { color: #fff; }
.btn--outline:visited { color: var(--brand-dark); }
.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,132,82,.35);
}
.btn--outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand);
}
.btn--outline:hover {
  background: var(--brand);
  color: #fff;
}
.btn--small { padding: 0.6em 1.4em; font-size: clamp(13px,1.2vw,15px); }

/* =========================
   SEKCJA: SKRÓTY (homepage)
========================= */
.shortcuts {
  background: #f7f8f6;
  padding: clamp(40px,5vw,72px) 20px;
}
.shortcuts-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 24px;
}
.shortcut-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid #e8e8e8;
}
.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.shortcut-card svg {
  width: 36px; height: 36px;
  color: var(--brand);
  flex-shrink: 0;
}
.shortcut-card-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #111;
}

/* =========================
   SEKCJA: AKTUALNOŚCI (homepage preview)
========================= */
/* .news-preview używa teraz .section – padding dziedziczony */
.news-preview { background: #fff; }
.section-header {
  max-width: var(--max-width);
  margin: 0 auto 56px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(22px,3vw,32px);
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
}
.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.section-link:hover { gap: 10px; }

/* =========================
   NEWS GRID (blog cards)
========================= */
.news-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px,1fr));
  gap: 40px;
}
.news-card {
  background: #fff;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8f5ee;
}
.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.news-card:hover .news-card-image img { transform: scale(1.06); }
.news-card-category {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 14px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}
.news-card-content { padding: 24px 20px; }
.news-card-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.news-card-title {
  font-size: clamp(17px,2.2vw,20px);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin-bottom: 12px;
  transition: color .2s;
}
.news-card:hover .news-card-title { color: var(--brand-dark); }
.news-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}
.news-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: gap .2s;
}
.news-card:hover .news-card-readmore { gap: 10px; }

@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-filters { gap: 8px; }
  .news-card-content { padding: 20px 16px; }
}

/* =========================
   FILTROWANIE AKTUALNOŚCI
========================= */
.news-filters {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  padding: 10px 20px;
  min-height: 44px;  /* WCAG 2.5.8 touch target */
  border-radius: 999px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
}
.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* =========================
   PAGINACJA
========================= */
.pagination {
  max-width: var(--max-width);
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: all .2s;
}
.pagination a:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-dark);
}
.pagination .current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* =========================
   GALERIA ALBUMY
========================= */
/* .gallery-section używa teraz .section – padding dziedziczony */
.gallery-section { background: #fff; }
.albums-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 32px;
}
.album-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s;
}
.album-card:hover { transform: translateY(-4px); }
.album-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8f5ee;
  position: relative;
}
.album-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.album-card:hover .album-card-image img { transform: scale(1.05); }
.album-card-info {
  padding: 4px 0;
}
.album-card-label,
.album-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  display: block;
}
.album-card-date,
.album-card-count {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  display: block;
}

/* =========================
   DOKUMENTY DO POBRANIA
========================= */
.docs-section {
  background: #f7f8f6;
  padding: clamp(40px,5vw,72px) 20px;
}
.docs-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: #111;
  transition: border-color .2s, box-shadow .2s;
}
.doc-item:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 12px rgba(31,132,82,.1);
}
.doc-item-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--brand);
}
.doc-item-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}
.doc-item-meta {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}
.docs-group { margin-bottom: 40px; }
.docs-group-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}
/* alias classes matching dokumenty.html template */
.doc-item { justify-content: space-between; list-style: none; }
.doc-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.doc-icon,
.doc-item-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  color: var(--brand);
}
.doc-name,
.doc-item-name {
  font-size: 15px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-meta,
.doc-item-meta {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 2px;
}
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.doc-item:hover .doc-download { background: var(--brand-dark); }
.doc-download svg { width: 16px; height: 16px; flex-shrink: 0; }
/* .doc-download używane jako pełny wiersz (bezpośrednie dziecko .docs-group) */
.docs-group > .doc-download {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.docs-group > .doc-download > span {
  flex: 1;
  min-width: 0;
}
.docs-group > .doc-download .doc-name {
  white-space: normal;
}
@media (max-width: 600px) {
  .doc-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .doc-download { align-self: flex-start; }
  .doc-item-name { white-space: normal; }
}

/* =========================
   SCROLL REVEAL
========================= */
.sr-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   SEZONOWE IKONKI LIST
   Tylko ul li — ol zachowuje numerację
========================= */
.page-text ul,
.docs-group ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
}
.page-text ul li,
.docs-group ul li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
  line-height: 1.7;
}
.page-text ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.page-text ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.sl-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  position: relative;
  top: 2px;
}
/* Kolory sezonowe */
[data-season="spring"] .sl-icon { color: #3aab5c; }
[data-season="summer"] .sl-icon { color: #d4900a; }
[data-season="autumn"] .sl-icon { color: #c0521a; }
[data-season="winter"] .sl-icon { color: #5b9bd5; }
/* Fallback zanim sezon się załaduje */
.sl-icon { color: var(--brand); }

/* Zagnieżdżone listy */
.page-text li > ul,
.page-text li > ol {
  margin-top: 6px;
  padding-left: 0;
  width: 100%;
}

/* =========================
   SEKCJA SPLIT (zielona + zdjęcie)
========================= */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.info-split__text {
  background: var(--brand);
  padding: clamp(40px,6vw,80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  color: #fff;
}
.info-split__title {
  font-size: clamp(24px,3.5vw,38px);
  font-weight: 700;
  line-height: 1.25;
}
.info-split__body {
  font-size: clamp(15px,1.6vw,18px);
  line-height: 1.75;
  opacity: .92;
}
.info-split__body p { margin-bottom: 12px; }
.info-split__image {
  overflow: hidden;
  position: relative;
  min-height: 400px;
}
.info-split__image img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .info-split { grid-template-columns: 1fr; }
  .info-split__image { height: 280px; }
  .info-split__text { text-align: center; }
  .info-split__text .btn { display: block; width: fit-content; margin: 0 auto; }
}

/* =========================
   FLOATING SOCIAL SIDEBAR
========================= */
.social-float {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-float__btn {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  transition: background 0.2s;
}

.social-float__btn-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-float__btn-label {
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, padding-right 0.25s ease;
  padding-right: 0;
}

.social-float__btn:hover .social-float__btn-label {
  max-width: 140px;
  padding-right: 16px;
}

.social-float__btn--fb { background: #1877f2; }
.social-float__btn--fb:hover { background: #166fe5; }
.social-float__btn--yt { background: #ff0000; }
.social-float__btn--yt:hover { background: #cc0000; }

@media (max-width: 600px) {
  .social-float__btn-icon {
    width: 42px;
    height: 42px;
  }
}

/* =========================
   PROJECTS STRIP
========================= */
.projects-strip {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 32px 0;
  overflow: hidden;
}

.projects-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.projects-strip__inner img {
  height: 100px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.projects-strip__inner img:hover {
  filter: grayscale(0%);
}

@media (max-width: 700px) {
  .projects-strip { padding: 20px 0; }
  .projects-strip__inner { gap: 20px; padding: 0 16px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .projects-strip__inner img { height: 64px; max-width: 160px; flex-shrink: 0; }
}

/* =========================
   MAP SECTION
========================= */
.map-section {
  line-height: 0;
  overflow: hidden;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 48px 20px 20px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 0.8fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}
.footer-col { font-size: 14px; line-height: 1.7; }
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: .65;
}
.footer-col a,
.footer-col a:visited { color: #fff; text-decoration: none; opacity: .9; }
.footer-col a:hover { opacity: 1; }
.footer-socials { display: flex; gap: 14px; margin-top: 20px; }
.footer-socials a svg {
  width: 22px; height: 22px;
  opacity: .8;
  transition: opacity .2s, transform .2s;
}
.footer-socials a:hover svg { opacity: 1; transform: translateY(-2px); }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-social-link svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .8; transition: opacity .2s; }
.footer-social-link:hover svg { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-menu a,
.footer-bottom-menu a:visited { color: #fff; text-decoration: none; opacity: .6; transition: opacity .2s; }
.footer-bottom-menu a:hover { opacity: 1; }
.footer-bottom-copyright { opacity: .7; }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-grid .footer-col:first-child .logo--footer { margin: 0 auto; }
  .footer-socials { justify-content: center; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-menu { justify-content: center; }
}

/* =========================
   SEKCJA OGÓLNA
========================= */
.section { padding: clamp(48px,6vw,96px) 20px; }
.section--gray { background: #f7f8f6; }
.section--white { background: #fff; }
.section--brand { background: var(--brand); color: #fff; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-header.container {
  margin-bottom: 56px;
}

/* Dekoracyjna belka przed tytułem sekcji */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

/* =========================
   DOSTĘPNOŚĆ – HELPER
========================= */
.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;
}
