:root {
  --bg: #f5f8f4;
  --bg-soft: #edf4ec;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #183127;
  --muted: #557264;
  --line: rgba(24, 49, 39, 0.1);
  --primary: #2f8f57;
  --primary-dark: #226740;
  --accent: #dff2e2;
  --shadow: 0 20px 60px rgba(23, 54, 39, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(100, 174, 120, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(84, 152, 110, 0.10), transparent 28%);
  z-index: -1;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 248, 244, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand strong { display: block; font-size: 1rem; }
.brand small { color: var(--muted); }
.brand-mark {
  width: 160px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  background-image: url("assets/logo_greenway_h31px.png");

}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  color: var(--muted);
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }
.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(47, 143, 87, 0.1);
  color: var(--primary-dark) !important;
}
.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface-strong);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/greenway.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 16, 0.18), rgba(6, 26, 16, 0.48)),
    linear-gradient(90deg, rgba(7, 24, 14, 0.72) 0%, rgba(7, 24, 14, 0.52) 38%, rgba(7, 24, 14, 0.20) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 90px;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section-tag {
  color: var(--primary-dark);
  background: rgba(47, 143, 87, 0.10);
  border-color: rgba(47, 143, 87, 0.12);
}
.section-tag.light {
  color: white;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.16);
}
.hero h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero p {
  max-width: 760px;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #46a962, var(--primary));
  color: white;
  box-shadow: 0 18px 35px rgba(27, 87, 48, 0.26);
}
.btn-secondary {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.hero-stats article,
.card {
  border-radius: var(--radius);
background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);

}
.hero-stats article {
  padding: 24px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.15);
}
.hero-stats strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.hero-stats span { color: rgba(255,255,255,0.86); font-size: 0.96rem; }

.section { padding: 92px 0; }
.soft-section { background: linear-gradient(180deg, rgba(237,244,236,0.9), rgba(245,248,244,0.78)); }
.grid-3, .grid-4 {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 28px;
  color: var(--text);
}
.glass {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px);
}
.card h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: start;
}
.split h2,
.section-head h2,
.contact-grid h2,
.impact-grid h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); }

.values-grid .card,
.feature-card,
.news-card,
.mini-card,
.contact-form,
.support-box,
.faq-list details,
.donation-card {
  border: 1px solid var(--line);
}
.feature-card .icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-card .icon1 {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: url("assets/edukacja.png") center / contain no-repeat;
  margin-bottom: 16px;
}

.feature-card .icon2 {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: url("assets/warsztaty.png") center / contain no-repeat;
  margin-bottom: 16px;
}

.feature-card .icon3 {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: url("assets/wspolnota.png") center / contain no-repeat;
  margin-bottom: 16px;
}

.feature-card .icon4 {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: url("assets/wolontariat.png") center / contain no-repeat;
  margin-bottom: 16px;
}

.feature-card .icon5 {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: url("assets/zdrowie.png") center / contain no-repeat;
  margin-bottom: 16px;
}
.feature-card .icon6 {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: url("assets/partnerstwo.png") center / contain no-repeat;
  margin-bottom: 16px;
}


.impact-band {
  background: linear-gradient(135deg, #214c35, #2f6e4b);
  color: white;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.impact-grid p { color: rgba(255,255,255,0.88); }

.support-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(237,244,236,0.92));
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.support-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.donation-card {
  margin-top: 6px;
  border-radius: 24px;
  background: white;
  padding: 22px;
}
.donation-card span,
.donation-card small,
.form-note,
.news-date { color: var(--muted); }
.donation-card strong { display: block; margin: 8px 0; font-size: 1.08rem; }

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-list details {
  background: rgba(255,255,255,0.82);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}
.faq-list p { margin: 12px 0 0; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 30px;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.contact-form {
  background: rgba(255,255,255,0.88);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(24,49,39,0.12);
  padding: 14px 16px;
  background: white;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47,143,87,0.18);
  border-color: rgba(47,143,87,0.35);
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(24,49,39,0.08);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.site-footer p,
.site-footer small { color: var(--muted); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3,
  .hero-stats,
  .split,
  .impact-grid,
  .support-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .hero-content { padding-top: 90px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-actions .btn,
  .support-actions .btn { width: 100%; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .card,
  .contact-form,
  .support-box { padding: 22px; }
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

@media (max-width: 768px) {
  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-gallery img {
    height: 220px;
  }
}

#misja {
    background: ;
  background:linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.3)), url('assets/natura-zielen2.jpg');
  background-size: cover;
  background-position: center;
}
.info-card {
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  margin-bottom: 12px;
}

.card-content p {
  margin: 0;
}

.nature-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nature-card .card-content {
  position: relative;
  z-index: 3;
  padding: 24px;
}



.intro-cards {
  background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.9)), url('assets/wspolnota.png');
  background-size: contain;
  background-position: center;
}
.mission-text {
  color: #f3efe3!important;
}
#wsparcie {
    background: url("assets/natura-zielen.jpg");
    background-position: center;
    background-size: cover
}



/* =========================
   Activities page
========================= */
body.activities-page {
  background:
    radial-gradient(circle at left top, rgba(136,190,107,.18), transparent 25%),
    radial-gradient(circle at right bottom, rgba(47,125,69,.08), transparent 25%),
    linear-gradient(180deg, #f9fcf8 0%, #f3f8f2 100%);
  line-height: 1.65;
}
.activities-page .page-bg { display: none; }
.activities-page .hero {
  min-height: auto;
  padding: 4.4rem 0 2.2rem;
  display: block;
  color: var(--text);
  overflow: visible;
}
.activities-page .hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 1.4rem;
  align-items: stretch;
}
.activities-page .photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.activities-page .photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(47, 125, 69, 0.10) 0%,
    rgba(47, 125, 69, 0.14) 50%,
    rgba(23, 48, 31, 0.22) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.activities-page .photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04) brightness(0.95);
  transform: scale(1.02);
  display: block;
}

.activities-page .photo-card > * {
  position: relative;
  z-index: 2;
}
.activities-page .hero-card { padding: clamp(1.5rem, 4vw, 3rem); }
.activities-page .eyebrow,
.activities-page .section-tag {
  display: inline-flex;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #edf6e9;
  color: #255e35;
  font-weight: 700;
  font-size: .9rem;
  border: 0;
  backdrop-filter: none;
}
.activities-page h1,
.activities-page h2,
.activities-page h3 { line-height: 1.12; margin: 0 0 1rem; }
.activities-page h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); }
.activities-page h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.activities-page h3 { font-size: 1.15rem; }
.activities-page p { margin: 0 0 1rem; color: #617567; }
.activities-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.3rem;
}
.activities-page .btn {
  min-height: 0;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(47,125,69,.12);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
.activities-page .btn:hover { transform: none; }
.activities-page .btn-primary {
  background: #2f7d45;
  color: #fff;
  border-color: #2f7d45;
}
.activities-page .btn-primary:hover { background: #255e35; }
.activities-page .btn-secondary {
  background: #fff;
  border-color: rgba(47,125,69,.12);
  color: var(--text);
}
.activities-page .btn-secondary:hover { background: #edf6e9; }
.activities-page .photo-card {
  min-height: 100%;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(23,48,31,.18), rgba(23,48,31,.36)),
    url('assets/dzieci-las.jpg') center/cover no-repeat,
    linear-gradient(135deg, #cce0bf, #98ba83);
}
.activities-page .photo-card .overlay-text {
  position: absolute;
  inset: auto 1.4rem 1.4rem 1.4rem;
  color: #fff;
  background: rgba(23,48,31,.34);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 1rem;
}
.activities-page section { padding: 1.2rem 0 2.2rem; }
.activities-page .stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.activities-page .stat-box,
.activities-page .card { padding: 1.3rem; }
.activities-page .stat-box {
  background: linear-gradient(180deg, rgba(136,190,107,.12), rgba(255,255,255,.95));
  border: 1px solid rgba(47,125,69,.08);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
}
.activities-page .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.activities-page .activity-card { display: flex; flex-direction: column; gap: 1rem; }
.activities-page .activity-image {
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(136,190,107,.45), rgba(47,125,69,.22));
  border: 1px dashed rgba(47,125,69,.24);
}
.activities-page .activity-image img { width: 100%; height: 100%; object-fit: cover; }
.activities-page .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #255e35;
  font-weight: 700;
}
.activities-page .meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.activities-page .meta span {
  font-size: .86rem;
  font-weight: 700;
  color: #255e35;
  background: #edf6e9;
  padding: .4rem .7rem;
  border-radius: 999px;
}
.activities-page .feature-band {
  background: linear-gradient(135deg, #245d34, #417f44);
  color: #fff;
  border-radius: 32px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 1.2rem;
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
}
.activities-page .feature-band p,
.activities-page .feature-band li { color: rgba(255,255,255,.86); }
.activities-page .gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 1rem;
}
.activities-page .gallery-tile {
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(136,190,107,.55), rgba(47,125,69,.2));
  border: 1px dashed rgba(47,125,69,.22);
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
}
.activities-page .gallery-tile.tall { min-height: 520px; }
.activities-page .gallery-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,.88);
  border-radius: 18px;
  padding: .85rem 1rem;
  color: #17301f;
  font-weight: 600;
}
.activities-page .editor-box {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(237,246,233,.96));
  border: 1px solid rgba(47,125,69,.08);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
  padding: 1.5rem;
}
.activities-page .editor-list { margin: 0; padding-left: 1.2rem; color: #617567; }
.activities-page .editor-list li { margin-bottom: .55rem; }
.activities-page .footer { padding: 2rem 0 3rem; }
.activities-page .footer-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(47,125,69,.08);
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
  border-radius: 26px;
  padding: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .activities-page .hero-grid,
  .activities-page .stats,
  .activities-page .grid-3,
  .activities-page .feature-band,
  .activities-page .gallery-grid { grid-template-columns: 1fr; }
  .activities-page .gallery-tile.tall { min-height: 300px; }
}
@media (max-width: 680px) {
  .activities-page .hero { padding-top: 2.4rem; }
  .activities-page h1 { font-size: 2.2rem; }
  .activities-page .hero-card,
  .activities-page .photo-card,
  .activities-page .feature-band { border-radius: 24px; }
}

/* =========================
   Statute page
========================= */
body.statute-page {
  background:
    radial-gradient(circle at top right, rgba(111, 174, 97, 0.14), transparent 30%),
    linear-gradient(180deg, #f8fbf6 0%, #f4f8f2 100%);
  line-height: 1.65;
}
.statute-page .page-bg { display: none; }
.statute-page .hero {
  min-height: auto;
  padding: 4.5rem 0 2.5rem;
  display: block;
  color: var(--text);
  overflow: visible;
}
.statute-page .hero-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(47,125,69,0.09);
  border-radius: 32px;
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 2rem;
  align-items: center;
}
.statute-page .eyebrow,
.statute-page .section-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #eef5ea;
  color: #235f34;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 0;
  backdrop-filter: none;
}
.statute-page h1,
.statute-page h2,
.statute-page h3 { line-height: 1.15; margin: 0 0 1rem; }
.statute-page h1 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); }
.statute-page h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
.statute-page h3 { font-size: 1.15rem; }
.statute-page p { margin: 0 0 1rem; color: #5e7366; }
.statute-page .hero-actions,
.statute-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.4rem;
}
.statute-page .btn {
  min-height: 0;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  gap: .5rem;
  border: 1px solid rgba(47,125,69,0.14);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
.statute-page .btn:hover { transform: none; }
.statute-page .btn-primary {
  background: #2f7d45;
  color: #fff;
  border-color: #2f7d45;
}
.statute-page .btn-primary:hover { background: #235f34; }
.statute-page .btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: rgba(47,125,69,0.14);
}
.statute-page .btn-secondary:hover { background: #eef5ea; }
.statute-page .info-panel {
  background: linear-gradient(180deg, #f7fbf6, #eff6ec);
  border: 1px solid #dbe7d4;
  border-radius: 24px;
  padding: 1.4rem;
}
.statute-page .info-list { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.statute-page .info-list li { padding-bottom: .9rem; border-bottom: 1px solid rgba(47,125,69,0.1); }
.statute-page .info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.statute-page section { padding: 1.25rem 0 2.2rem; }
.statute-page .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.statute-page .card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(47,125,69,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
  padding: 1.35rem;
}
.statute-page .card p:last-child { margin-bottom: 0; }
.statute-page .lead-box {
  background: linear-gradient(180deg, rgba(136,190,107,0.12), rgba(255,255,255,0.9));
  border: 1px solid rgba(47,125,69,0.1);
  border-radius: 26px;
  padding: 1.4rem;
}
.statute-page .statute-layout {
  display: grid;
  grid-template-columns: .95fr 1.3fr;
  gap: 1.5rem;
  align-items: start;
}
.statute-page .anchor-list { display: grid; gap: .7rem; }
.statute-page .anchor-list a {
  background: #fff;
  border: 1px solid rgba(47,125,69,0.1);
  border-radius: 18px;
  padding: .95rem 1rem;
  font-weight: 600;
  color: #17301f;
}
.statute-page .anchor-list a:hover { background: #eef5ea; }
.statute-page .statute-block { margin-bottom: 1rem; }
.statute-page .statute-block ul,
.statute-page .statute-block ol { margin: .6rem 0 0 1.2rem; color: #5e7366; }
.statute-page .pdf-frame {
  width: 100%;
  height: 760px;
  border: none;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 48, 31, 0.08);
  border: 1px solid rgba(47,125,69,0.08);
}
.statute-page .site-footer { padding: 2rem 0 3rem; color: #5e7366; }
.statute-page .footer-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(47,125,69,0.08);
  border-radius: 24px;
  padding: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .statute-page .hero-card,
  .statute-page .grid-3,
  .statute-page .statute-layout { grid-template-columns: 1fr; }
  .statute-page .pdf-frame { height: 580px; }
}
@media (max-width: 680px) {
  .statute-page .hero { padding-top: 2.4rem; }
  .statute-page .hero-card { border-radius: 24px; }
  .statute-page h1 { font-size: 2.2rem; }
  .statute-page .pdf-frame { height: 460px; }
}
.leaf-card {
  position: relative;
  overflow: hidden;
}

.leaf-card::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background-image: url("assets/lisc.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.60;
  pointer-events: none;
  z-index: 0;
}

.leaf-card h3,
.leaf-card p {
  position: relative;
  z-index: 1;
}

.education-card {
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background: url("assets/ksiazka.png") center / contain no-repeat;
  opacity: 0.60;
  pointer-events: none;
  z-index: 0;
}

.education-card h3,
.education-card p {
  position: relative;
  z-index: 1;
}

aside.card {
  position: sticky;
  top: 120px;
  align-self: start;
}
/* Układ strony statut */
.statute-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Sticky spis treści */
.statute-layout aside.card {
  position: sticky;
  top: 120px;
  align-self: start;
}

/* lista odnośników */
.anchor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anchor-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.25s ease;
}

/* mobile */
@media (max-width: 900px) {
  .statute-layout {
    grid-template-columns: 1fr;
  }

  .statute-layout aside.card {
    position: static;
    top: auto;
  }
}
.placeholder1 {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #255e35;
    background: url("assets/sprzatanie.jpg");
    background-position: center;
    background-size: cover;
  font-weight: 700;
}

.placeholder2 {
      width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #255e35;
    background: url("assets/dzieci-stoja.jpg");
    background-position: center;
    background-size: cover;
  font-weight: 700;
}
.news-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-content {
  padding: 22px 24px 24px;
}
.news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2f6b3b;
  background: rgba(79, 139, 92, 0.12);
  border: 1px solid rgba(79, 139, 92, 0.22);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.news-more:hover {
  background: #4f8b5c;
  color: #ffffff;
  transform: translateY(-1px);
}
html {
  scroll-behavior: smooth;
}

.activity-entry {
  scroll-margin-top: 100px;
}
.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #1f3527;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 53, 39, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: #1f3527;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4f8a63;
  box-shadow: 0 0 0 4px rgba(79, 138, 99, 0.14);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: #5c6f61;
}

.form-alert {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.form-alert.success {
  background: rgba(79, 138, 99, 0.12);
  color: #245235;
  border: 1px solid rgba(79, 138, 99, 0.24);
}

.form-alert.error {
  background: rgba(176, 64, 64, 0.1);
  color: #8e2f2f;
  border: 1px solid rgba(176, 64, 64, 0.2);
}

.activity-meta {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4f8a63;
}