/* Fundacja Zimorodek — wspólny arkusz podstron.
   Kierunek: „nad wodą” — kremowy papier, turkus i rudy pomarańcz jak upierzenie zimorodka,
   miękkie kształty (łuki, pigułki), proste fale i liście jako ornament. */

:root {
  --cream: #fff6e5;
  --sand: #fbe9c8;
  --paper: #fffdf7;
  --ink: #16323a;
  --ink-2: #3f5a60;
  --line: #ead9b8;
  --teal: #0e7c86;
  --teal-d: #0a5d65;
  --teal-l: #d9efec;
  --teal-xl: #ecf7f4;
  --sky: #5cc6cc;
  --orange: #f2873a;
  --orange-d: #b9561a;
  --orange-l: #fde3cc;
  --leaf: #7aa35a;

  --f-head: "Familjen Grotesk", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --pill-pad: clamp(12px, 1.6vw, 20px);
  --r-s: 14px;
  --r-m: 22px;
  --r-l: 32px;
  --shadow: 0 1px 0 rgba(22, 50, 58, .04), 0 10px 30px -12px rgba(22, 50, 58, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.18; letter-spacing: 0; }
strong { font-weight: 600; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Przyciski i drobiazgi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .7em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.15 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 6px 0 -2px #d9702a; }
.btn--orange:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px #d9702a; }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 6px 0 -2px var(--teal-d); }
.btn--teal:hover { transform: translateY(-2px); background: #0c8893; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .8rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-d);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 8px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'%3E%3Cpath d='M1 5c2.5-3 5-3 7 0s4.5 3 7 0 4.5-3 6 0' fill='none' stroke='%23f2873a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .32em .8em; border-radius: 999px;
  background: var(--teal-l); color: var(--teal-d);
  font: 600 .82rem/1.2 var(--f-body);
}
.chip--orange { background: var(--orange-l); color: #8a3d0e; }
.chip--ink { background: var(--ink); color: var(--cream); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.arrow-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--teal-d); text-decoration: none;
  border-bottom: 2px solid var(--teal-l); padding-bottom: 2px;
  transition: border-color .2s, gap .2s;
}
.arrow-link:hover { border-color: var(--orange); gap: .65em; }
.arrow-link svg { width: 16px; height: 16px; }

/* ---------- Header (pływająca pigułka) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 14px; transition: padding .3s var(--ease); }
.site-header .wrap { position: relative; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-inline: calc(-1 * var(--pill-pad) - 1px);
  padding: 10px var(--pill-pad);
  min-height: 70px;
  background: rgba(255, 253, 247, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 24px -18px rgba(22, 50, 58, .5);
  transition: box-shadow .3s, min-height .3s var(--ease), background .3s;
}
.is-scrolled .site-header { padding-top: 8px; }
.is-scrolled .nav { min-height: 62px; box-shadow: var(--shadow); background: rgba(255, 253, 247, .97); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 46px; height: 46px; flex: none; transition: transform .4s var(--ease); }
.brand:hover svg { transform: translateY(-2px) rotate(-4deg); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt small { font: 600 .68rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 3px; }
.brand__txt b { font: 700 1.42rem/1 var(--f-head); letter-spacing: -.01em; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s;
}
.menu a:not(.btn):hover { background: var(--teal-xl); color: var(--teal-d); }
.menu a[aria-current="page"] { background: var(--teal-l); color: var(--teal-d); font-weight: 600; }
.menu .btn { margin-left: 8px; min-height: 46px; padding: .6em 1.2em; box-shadow: none; }
.menu .btn:hover { box-shadow: none; }
.menu .btn[aria-current="page"] { background: var(--ink); color: var(--cream); }
.burger {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 16px; border-radius: 999px;
  border: 0; background: var(--ink); color: var(--cream);
  font: 600 .95rem/1 var(--f-body); cursor: pointer;
}
.burger__ico { position: relative; width: 18px; height: 12px; }
.burger__ico::before, .burger__ico::after, .burger__ico span { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger__ico::before { top: 0; } .burger__ico span { top: 5px; } .burger__ico::after { top: 10px; }
.menu-open .burger__ico::before { transform: translateY(5px) rotate(45deg); }
.menu-open .burger__ico span { opacity: 0; }
.menu-open .burger__ico::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1079px) {
  .burger { display: inline-flex; }
  .menu {
    position: absolute; left: calc(var(--gut) - var(--pill-pad)); right: calc(var(--gut) - var(--pill-pad)); top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; border-radius: var(--r-m);
    background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .menu a:not(.btn) { min-height: 52px; padding: 0 16px; font-size: 1.08rem; border-radius: 14px; }
  .menu .btn { margin: 8px 0 0; min-height: 52px; }
}
@media (max-width: 420px) {
  .brand svg { width: 40px; height: 40px; }
  .brand__txt b { font-size: 1.25rem; }
  .burger { padding: 0 14px; }
  .burger__lbl { display: none; }
}

/* ---------- Sekcje ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal); color: #fff; }
.section--ink { background: var(--ink); color: var(--cream); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head > div { max-width: 46rem; }
.sec-head h2 { margin-bottom: .3em; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; }
.wave { display: block; width: 100%; height: clamp(24px, 3vw, 44px); margin-block: -1px; position: relative; }
.wave--sand { color: var(--sand); }
.wave--ink { color: var(--ink); }
.wave--teal { color: var(--teal); }
.wave--cream { color: var(--cream); }
.wave path { fill: currentColor; }

/* ---------- Hero (split) ---------- */
.hero { padding-block: clamp(28px, 3.5vw, 52px) clamp(48px, 5vw, 72px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .38em; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { margin-bottom: 1.8em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.hero__facts svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 450px; }
.hero__arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; background: var(--teal-l); box-shadow: 0 30px 60px -36px rgba(22, 50, 58, .6); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; }
.hero__sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); top: -4%; right: -6%; z-index: -1; pointer-events: none; }
.hero__ring { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(14, 124, 134, .4); left: -16%; top: 22%; z-index: -1; pointer-events: none; }
.hero__note { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.hero__note svg { width: 34px; height: 20px; flex: none; color: var(--orange); }
.deco-leaf { position: absolute; pointer-events: none; color: var(--leaf); opacity: .55; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; justify-self: stretch; max-width: none; }
  .hero__arch { aspect-ratio: 16 / 10; border-radius: 240px 240px var(--r-l) var(--r-l); }
  .hero__arch img { object-position: 30% 75%; }
  .hero__sun { width: 22%; right: -3%; }
  .hero__ring, .deco-leaf { display: none; }
}

/* ---------- Pas „wesprzyj w minutę” ---------- */
.give { background: var(--ink); color: var(--cream); border-radius: var(--r-l); padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; }
.give__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 3vw, 48px); align-items: start; }
.give__intro { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 40px; }
.give__intro h2 { margin: 0; }
.give__intro p { max-width: 36em; margin: 0; }
.give h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .35em; }
.give__intro p { color: #c9d8d9; font-size: .98rem; }
.give__item { border-top: 2px solid rgba(255, 246, 229, .16); padding-top: 18px; }
.give__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; font-size: .95rem; color: var(--sky); }
.give__label .pct { color: var(--orange); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.copy-val { font: 700 clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem)/1.1 var(--f-head); letter-spacing: .02em; color: #fff; overflow-wrap: anywhere; }
.copy-val--acc { font-size: clamp(1.12rem, .95rem + .7vw, 1.45rem); letter-spacing: .03em; word-spacing: .05em; line-height: 1.3; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid rgba(255, 246, 229, .35); background: transparent; color: var(--cream);
  font: 600 .85rem/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.copy-btn.is-done { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.give__meta { margin-top: 12px; font-size: .9rem; color: #c9d8d9; }
.give__meta b { color: #fff; font-weight: 600; }
.give__more { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.give .arrow-link { color: var(--cream); border-color: rgba(255, 246, 229, .3); }
.give .arrow-link:hover { border-color: var(--orange); }
@media (max-width: 760px) { .give__grid { grid-template-columns: 1fr; } }

/* Jasna wersja karty kopiowania (podstrony) */
.copy-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(20px, 3vw, 32px); }
.copy-card .copy-val { color: var(--ink); }
.copy-card .copy-btn { color: var(--ink); border-color: var(--line); background: var(--cream); }
.copy-card .copy-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.copy-card .copy-btn.is-done { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.copy-card dl { margin: 0; display: grid; gap: 16px; }
.copy-card dt { font-size: .85rem; font-weight: 600; color: var(--teal-d); margin-bottom: 4px; }
.copy-card dd { margin: 0; }

/* ---------- Karty projektów ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--teal-l); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.card__more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--teal-d); display: inline-flex; align-items: center; gap: 6px; }
.card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.cards-note { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 20px; border-radius: var(--r-m); background: var(--teal-xl); border: 1px dashed rgba(14, 124, 134, .35); }
.cards-note p { margin: 0; flex: 1 1 320px; }

/* ---------- Ścieżki „dla kogo” ---------- */
.paths { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.path {
  display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px;
  border-radius: var(--r-m); text-decoration: none; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s, border-color .3s;
  min-height: 210px;
}
.path:hover { transform: translateY(-4px); border-color: var(--teal); }
.path__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-l); color: var(--teal-d); }
.path:nth-child(2n) .path__ico { background: var(--orange-l); color: #9a4612; }
.path__ico svg { width: 28px; height: 28px; }
.path b { font: 700 1.18rem/1.15 var(--f-head); }
.path span { font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.path i { margin-top: auto; font-style: normal; font-weight: 600; font-size: .92rem; color: var(--teal-d); }
@media (max-width: 1100px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .path { min-height: 0; } }
@media (max-width: 440px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Split (zdjęcie + tekst) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.split__media--blob img { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; aspect-ratio: 1 / 1; }
.split h2 { margin-bottom: .4em; }
.split .lead { margin-bottom: 1.2em; }
.ticks { display: grid; gap: 12px; margin: 0 0 1.8em; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-l) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230a5d65' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section--teal .ticks li::before { background-color: rgba(255, 255, 255, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media--blob img { aspect-ratio: 4 / 3; border-radius: var(--r-l); }
}

/* ---------- Zaufanie / wartości ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.trust__item { background: var(--paper); border-radius: var(--r-m); padding: 28px 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.trust__item h3 { margin: 0; }
.trust__item p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.trust__item .arrow-link { margin-top: auto; align-self: flex-start; }
.trust__ico { width: 46px; height: 46px; color: var(--orange); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }

/* ---------- CTA wolontariat ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dff2f0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.cta-band img { border-radius: var(--r-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } .cta-band img { order: -1; } }

/* ---------- Pasek kontaktu ---------- */
.contact-strip { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr) minmax(0, 1.3fr) minmax(0, .85fr); gap: 14px; }
.contact-strip > * { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.contact-strip a:hover { border-color: var(--teal); }
.contact-strip small { font-size: .82rem; font-weight: 600; color: var(--teal-d); text-transform: uppercase; letter-spacing: .06em; }
.contact-strip b { font: 600 1.04rem/1.35 var(--f-body); overflow-wrap: break-word; }
@media (max-width: 1000px) { .contact-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-strip { grid-template-columns: 1fr; } }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 4vw, 60px); align-items: end; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { margin: 0; }
.page-hero__aside { justify-self: end; width: 100%; max-width: 360px; }
.page-hero__aside img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px var(--r-l) var(--r-l); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--teal-d); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 500; font-size: .93rem; transition: border-color .2s, background .2s; }
.subnav a:hover { border-color: var(--teal); background: var(--teal-xl); }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero__aside { display: none; }
}

/* ---------- Projekty (szczegóły) ---------- */
.project { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.project:first-child { border-top: 0; padding-top: 0; }
.project__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.project__media figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-2); }
.project__head { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.project h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 24px; }
.facts > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 16px; }
.facts dt { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-d); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: .98rem; }
.grant-slot { margin-top: 18px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: var(--r-s); font-size: .88rem; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.grant-slot svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.project--alt .project__media { order: 2; }
@media (max-width: 900px) { .project--alt .project__media { order: 0; } }

/* ---------- Kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); counter-reset: s; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px 24px 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink); font: 700 1.2rem/1 var(--f-head); margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Wesprzyj ---------- */
.ways { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.way { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); align-items: start; }
.way__num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1.3rem/1 var(--f-head); margin-bottom: 18px; }
.way h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.way p { color: var(--ink-2); }
.way--pct { background: var(--teal-xl); border-color: #bfe2dd; }
.big-krs { font: 700 clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem)/1 var(--f-head); letter-spacing: .03em; color: var(--ink); overflow-wrap: anywhere; }
.howto { counter-reset: h; display: grid; gap: 12px; margin-top: 20px; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: .98rem; }
.howto li::before { content: counter(h); width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--teal); color: var(--teal-d); font: 700 .9rem/27px var(--f-head); text-align: center; }
.kit { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.uses li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.uses svg { width: 36px; height: 36px; color: var(--teal); }
.uses b { font: 700 1.1rem/1.2 var(--f-head); }
.uses span { font-size: .94rem; color: var(--ink-2); }
@media (max-width: 1000px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .way { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .uses { grid-template-columns: 1fr; } }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); background: var(--orange-l); color: #5b2a0b; font-size: .93rem; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ---------- Formularze ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 4vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .93rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field small { color: var(--ink-2); font-size: .84rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 500; font-size: .95rem; cursor: pointer; transition: border-color .2s, background .2s; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks label:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
.checks label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form__msg { font-size: .92rem; font-weight: 500; color: var(--teal-d); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- O nas ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.person__av { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem/1 var(--f-head); color: var(--ink); margin-bottom: 8px; }
.person:nth-child(1) .person__av { background: var(--orange); }
.person:nth-child(2) .person__av { background: var(--sky); }
.person:nth-child(3) .person__av { background: #b9d58f; }
.person h3 { margin: 0; }
.person p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.person .role { color: var(--teal-d); font-weight: 600; font-size: .92rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
.copy-card .reg, .reg { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
.copy-card .reg dt, .reg dt { font-weight: 600; color: var(--teal-d); font-size: .93rem; margin: 0; }
.reg dd { margin: 0; }
@media (max-width: 420px) { .copy-card .reg, .reg { grid-template-columns: 1fr; gap: 2px; } .reg dd { margin-bottom: 10px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 14px; margin-bottom: 26px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.info-list .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-l); color: var(--teal-d); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list small { display: block; font-size: .82rem; color: var(--ink-2); }
.info-list a, .info-list b { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--teal-d); text-decoration: underline; }
.map { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #eaf3e3; }
.map svg { width: 100%; height: auto; }
.map figcaption { padding: 12px 16px; font-size: .88rem; color: var(--ink-2); background: var(--paper); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Dokumenty ---------- */
.docs { display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 20px; }
.doc__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-l); color: var(--teal-d); display: grid; place-items: center; }
.doc__ico svg { width: 24px; height: 24px; }
.doc b { display: block; font: 600 1.04rem/1.3 var(--f-body); }
.doc small { color: var(--ink-2); font-size: .88rem; }
.doc .chip { white-space: nowrap; }
@media (max-width: 560px) { .doc { grid-template-columns: 40px minmax(0, 1fr); } .doc__ico { width: 40px; height: 40px; } .doc .chip { grid-column: 2; justify-self: start; } }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.year { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.year h3 { font-size: 2rem; margin-bottom: .3em; color: var(--teal); }
.year ul { display: grid; gap: 10px; }
.year li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .96rem; }
@media (max-width: 860px) { .years { grid-template-columns: 1fr; } }
.doc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 860px) { .doc-cols { grid-template-columns: 1fr; } }
.prose h3 { margin-top: 1.4em; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 6px; margin-bottom: 1em; }
.prose ul li { padding-left: 20px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-l) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230a5d65' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--ink-2); margin: 0; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #d4e1e2; margin-top: -1px; }
.footer-wave { display: block; width: 100%; height: clamp(28px, 3.5vw, 52px); color: var(--ink); }
.footer-wave path { fill: currentColor; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: clamp(40px, 5vw, 64px) 40px; }
.site-footer .brand { color: var(--cream); }
.site-footer .brand__txt small { color: var(--sky); }
.footer-about { margin-top: 18px; font-size: .95rem; max-width: 30em; }
.footer-col h3 { font: 600 .82rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: var(--cream); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--orange); text-decoration: underline; }
.footer-col li { font-size: .95rem; }
.footer-col .muted { color: #a9bfc1; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255, 246, 229, .14); padding-block: 20px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-size: .88rem; color: #a9bfc1; }
.footer-bottom__l { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer-bottom__l p { margin: 0; }
.footer-bottom a { color: var(--cream); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); text-decoration: underline; }
.wbm-credit { margin: 0; color: #c9d8d9; }
.wbm-credit span { color: var(--orange); display: inline-block; animation: beat 1.6s ease-in-out infinite; }
.wbm-credit a { color: var(--cream); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 246, 229, .35); text-underline-offset: 3px; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(.95); } }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Animacje wejścia ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; } .js .rv.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
.faq details:not([open]) > p { display: none; }
.give__meta b { white-space: nowrap; }
