/* ==========================================================================
   PITEŚ Fundacja — style motywu
   Kolory: świerk (ink) + napięcie (accent). Kolory główne zmienisz w
   Wygląd → Dostosuj → Motyw PITEŚ → Kolory.
   ========================================================================== */

:root {
	--c-ink: #0F2A2E;
	--c-ink-soft: color-mix(in srgb, var(--c-ink) 82%, #fff);
	--c-accent: #F4B400;
	--c-accent-dark: color-mix(in srgb, var(--c-accent) 78%, #000);
	--c-paper: #FFFFFF;
	--c-mist: #EDF2EF;
	--c-line: #D3DED8;
	--c-text: #1D2729;
	--c-muted: #56676A;
	--c-link: #1F6B4D;

	--f-ui: "Roboto", Arial, sans-serif;
	--f-text: "Roboto", Arial, sans-serif;

	--wrap: 1200px;
	--wrap-text: 720px;
	--gutter: clamp(16px, 4vw, 40px);
	--r-sm: 4px;
	--r-md: 10px;

	--s-1: .5rem;
	--s-2: 1rem;
	--s-3: 1.5rem;
	--s-4: 2.5rem;
	--s-5: 4rem;
	--s-6: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-text);
	font-family: var(--f-ui);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-ui); color: var(--c-ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
button { font: inherit; }

:focus-visible {
	outline: 3px solid var(--c-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--c-accent); color: var(--c-ink);
	padding: .6rem 1rem; font-weight: 700; text-decoration: none;
	border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.35rem;
	border: 2px solid transparent;
	border-radius: var(--r-sm);
	font-family: var(--f-ui);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--accent { background: var(--c-accent); color: var(--c-ink); }
.btn--accent:hover { background: var(--c-paper); color: var(--c-ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ink { background: var(--c-ink); color: #fff; }
.btn--ink:hover { background: var(--c-ink-soft); color: #fff; }

/* ---------- Nagłówek ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--c-paper);
	border-bottom: 1px solid var(--c-line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--s-3);
	min-height: 84px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand--header .brand__img { height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: var(--s-3); }
.site-nav .menu { list-style: none; padding: 0; display: flex; gap: .25rem; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block;
	padding: .7rem .8rem;
	color: var(--c-ink);
	font-weight: 600;
	font-size: .98rem;
	text-decoration: none;
	border-radius: var(--r-sm);
}
.site-nav .menu a:hover { background: var(--c-mist); }
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current_page_item > a {
	box-shadow: inset 0 -3px 0 var(--c-accent);
	border-radius: 0;
}
.site-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: .4em; height: .4em;
	margin-left: .45em;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-.2em) rotate(45deg);
}
.site-nav .sub-menu {
	list-style: none; padding: .5rem; margin: 0;
	position: absolute; left: 0; top: 100%;
	min-width: 240px;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	box-shadow: 0 12px 32px rgba(15, 42, 46, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: none;
}
.site-nav .sub-menu a { font-weight: 500; }

.nav-toggle {
	display: none;
	align-items: center; gap: .6rem;
	min-height: 44px; padding: .5rem .9rem;
	background: none; color: var(--c-ink);
	border: 1px solid var(--c-line); border-radius: var(--r-sm);
	font-weight: 700; cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block; width: 20px; height: 2px; background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
	.brand--header .brand__img { height: 42px; }
	.site-header__inner { min-height: 72px; flex-wrap: wrap; }
	.nav-toggle { display: inline-flex; }
	.js .site-nav { display: none; }
	.site-nav {
		flex-basis: 100%;
		flex-direction: column; align-items: stretch;
		gap: var(--s-2);
		padding-bottom: var(--s-3);
	}
	.js .site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: .85rem .5rem; border-bottom: 1px solid var(--c-line); border-radius: 0; }
	.site-nav .menu > .current-menu-item > a { box-shadow: inset 4px 0 0 var(--c-accent); padding-left: 1rem; }
	.site-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0;
	}
	.site-nav .menu-item-has-children > a::after { display: none; }
}

/* ---------- Hero (strona główna) ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--c-ink);
	color: #E4ECE8;
	padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(10rem, 22vw, 16rem);
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
	color: #fff;
	font-size: clamp(2.5rem, 6.2vw, 5.4rem);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.02;
	max-width: 15ch;
	margin-bottom: .45em;
	text-wrap: balance;
}
.hero__lead {
	font-family: var(--f-text);
	font-size: clamp(1.125rem, 1.6vw, 1.35rem);
	line-height: 1.6;
	max-width: 56ch;
	color: #CFDCD6;
	margin-bottom: var(--s-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Krzywa obciążenia — rysuje się raz po wejściu na stronę */
.hero__curve {
	position: absolute; left: 0; right: 0; bottom: 0;
	width: 100%; height: clamp(110px, 18vw, 230px);
	pointer-events: none;
}
.hero__curve-grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.hero__curve-line {
	fill: none;
	stroke: var(--c-accent);
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: pites-draw 2.4s cubic-bezier(.6, .1, .2, 1) .3s forwards;
}
@keyframes pites-draw { to { stroke-dashoffset: 0; } }

/* ---------- Sekcje ---------- */
.section-title {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -.015em;
}

.actions { padding-block: var(--s-6); }
.actions__list {
	list-style: none; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 2px solid var(--c-ink);
	margin-top: var(--s-4);
}
.action {
	padding: var(--s-4) var(--s-3) var(--s-3) 0;
	padding-right: var(--s-3);
}
.action + .action { border-left: 1px solid var(--c-line); padding-left: var(--s-3); }
.action__icon {
	display: inline-grid; place-items: center;
	width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--c-mist);
	color: var(--c-ink);
	margin-bottom: var(--s-3);
}
.action__icon .icon { width: 26px; height: 26px; }
.action__title { font-size: 1.3rem; margin-bottom: .45em; }
.action__title a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--c-accent), var(--c-accent)); background-size: 100% 3px; background-position: 0 100%; background-repeat: no-repeat; }
.action__title a:hover { background-size: 100% 100%; }
.action__text { color: var(--c-muted); margin: 0; font-size: 1rem; }

@media (max-width: 980px) {
	.actions__list { grid-template-columns: repeat(2, 1fr); }
	.action:nth-child(3) { border-left: 0; padding-left: 0; }
	.action:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}
@media (max-width: 560px) {
	.actions__list { grid-template-columns: 1fr; }
	.action, .action + .action { border-left: 0; padding: var(--s-3) 0; }
	.action + .action { border-top: 1px solid var(--c-line); }
}

.about { background: var(--c-mist); padding-block: var(--s-6); }
.about__grid {
	display: grid;
	grid-template-columns: 5fr 6fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.about__img { width: 100%; border-radius: var(--r-md); }
.about__text { font-family: var(--f-text); font-size: 1.15rem; line-height: 1.7; max-width: 60ch; }
.about__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
.link-doc { font-weight: 600; color: var(--c-ink); }
@media (max-width: 860px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 520px; }
}

.latest { padding-block: var(--s-6); }
.latest__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-4); }
.latest__head .section-title { margin: 0; }
.latest__all { font-weight: 700; color: var(--c-ink); }

/* ---------- Karty wpisów ---------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: var(--s-5) var(--s-4);
}
.card { display: flex; flex-direction: column; }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: var(--c-mist); margin-bottom: var(--s-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder {
	display: block; width: 100%; height: 100%;
	background:
		linear-gradient(var(--c-line) 1px, transparent 1px) 0 0 / 100% 25%,
		var(--c-mist);
	position: relative;
}
.card__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--c-muted); font-size: .9rem; margin-bottom: .5rem; }
.card__title { font-size: 1.3rem; line-height: 1.25; margin-bottom: .5em; }
.card__title a { color: var(--c-ink); text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 3px; }
.card__excerpt { font-family: var(--f-text); color: var(--c-text); margin: 0; }

/* ---------- Współpraca ---------- */
.cta { background: var(--c-accent); color: var(--c-ink); padding-block: var(--s-5); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.cta__title { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 800; max-width: 24ch; margin-bottom: .35em; text-wrap: balance; }
.cta__text { margin: 0; font-size: 1.1rem; max-width: 52ch; }

/* ---------- Nagłówki podstron ---------- */
.page-head { background: var(--c-ink); color: #D9E4DF; padding-block: clamp(3rem, 7vw, 5.5rem); margin-bottom: var(--s-5); }
.page-head__title {
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.06;
	max-width: 22ch;
	margin: 0;
	text-wrap: balance;
}
.page-head__desc, .page-head__lead { font-family: var(--f-text); font-size: 1.2rem; max-width: 60ch; margin-top: var(--s-2); color: #CFDCD6; }
.page-head__desc p:last-child { margin: 0; }
.page-head a { color: #fff; }
.breadcrumbs { font-size: .9rem; margin-bottom: var(--s-2); color: #AFC2BA; }
.page-head--post .page-head__title { max-width: none; }

.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; font-size: .95rem; margin-bottom: var(--s-2); color: #AFC2BA; }
.post-meta__cat { background: var(--c-accent); color: var(--c-ink) !important; padding: .2rem .6rem; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }

.single__hero { margin-top: calc(var(--s-5) * -1 + var(--s-3)); margin-bottom: var(--s-5); }
.single__hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r-md); }

.listing { padding-bottom: var(--s-6); }
.listing__search { max-width: 560px; margin-bottom: var(--s-4); }

/* ---------- Treść wpisów i stron ---------- */
.entry-content {
	font-family: var(--f-text);
	font-size: 1.15rem;
	line-height: 1.72;
	padding-bottom: var(--s-5);
}
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2 { font-size: 1.8rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.15rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--c-link); }
.entry-content blockquote {
	margin-inline: 0;
	padding: .25em 0 .25em 1.25em;
	border-left: 4px solid var(--c-accent);
	font-size: 1.3rem; font-style: italic; color: var(--c-ink);
}
.entry-content img { border-radius: var(--r-sm); }
.entry-content figcaption { font-family: var(--f-ui); font-size: .9rem; color: var(--c-muted); margin-top: .5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: .98rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--c-line); padding: .6rem .5rem; text-align: left; }
.entry-content th { color: var(--c-ink); border-bottom: 2px solid var(--c-ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--c-line); margin-block: 2.5em; }
.entry-content .alignwide { margin-inline: calc((min(var(--wrap), 100vw - var(--gutter) * 2) - var(--wrap-text)) / -2); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .wp-block-button__link { font-family: var(--f-ui); font-weight: 700; border-radius: var(--r-sm); background: var(--c-ink); }
.entry-content--full { padding-bottom: 0; font-family: var(--f-ui); }
.entry-content--full > * { margin: 0; }

.single__footer { padding-bottom: var(--s-4); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a { background: var(--c-mist); color: var(--c-ink); padding: .3rem .7rem; border-radius: var(--r-sm); text-decoration: none; font-size: .9rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); border-top: 1px solid var(--c-line); padding-top: var(--s-3); margin-top: var(--s-3); }
.post-nav div:last-child { text-align: right; }
.post-nav a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.post-nav a span { display: block; color: var(--c-muted); font-weight: 500; font-size: .9rem; }
.page-links { font-family: var(--f-ui); }

/* ---------- Wyszukiwarka ---------- */
.search-form { display: flex; gap: .5rem; }
.search-form__input {
	flex: 1; min-width: 0;
	min-height: 48px;
	padding: .6rem 1rem;
	border: 1px solid var(--c-line); border-radius: var(--r-sm);
	font: inherit; color: var(--c-text);
}
.search-form__btn {
	display: inline-flex; align-items: center; gap: .4rem;
	min-height: 48px; padding: 0 1.1rem;
	background: var(--c-ink); color: #fff;
	border: 0; border-radius: var(--r-sm);
	font-weight: 700; cursor: pointer;
}
.search-form__btn .icon { width: 18px; height: 18px; }

.empty { padding-block: var(--s-4); max-width: 560px; }
.not-found { padding-block: var(--s-6); }
.not-found .page-head__title { color: var(--c-ink); margin-bottom: var(--s-2); }
.not-found__code {
	font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: .9; margin-bottom: var(--s-2);
	color: var(--c-mist); -webkit-text-stroke: 2px var(--c-ink);
}
.not-found .search-form { margin-block: var(--s-3); max-width: 520px; }

/* ---------- Komentarze ---------- */
.comments { border-top: 1px solid var(--c-line); padding-block: var(--s-4) var(--s-5); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { margin-bottom: var(--s-3); }
.comment-list .children { list-style: none; padding-left: var(--s-4); }
.comment-body { border-bottom: 1px solid var(--c-line); padding-bottom: var(--s-2); }
.comment-author img { float: left; border-radius: 50%; margin-right: .75rem; }
.comment-meta { font-size: .9rem; color: var(--c-muted); }
.comment-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .7rem .9rem; border: 1px solid var(--c-line); border-radius: var(--r-sm); font: inherit;
}

/* ---------- Paginacja ---------- */
.pagination { margin-top: var(--s-5); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 44px; min-height: 44px; padding: 0 .8rem;
	border: 1px solid var(--c-line); border-radius: var(--r-sm);
	color: var(--c-ink); text-decoration: none; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* ---------- Belka logotypów nad stopką (każda strona) ---------- */
.belka {
	background: #fff;
	border-top: 1px solid var(--c-line);
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.belka__inner {
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.belka__img { width: 100%; max-width: 1100px; height: auto; margin-inline: auto; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--c-ink); color: #C9D6D0; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: var(--s-4);
	padding-block: var(--s-5);
}
/* Logo w stopce przemalowane na biało (dla przezroczystego PNG). */
.brand--footer .brand__img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.site-footer__name { margin-top: var(--s-3); max-width: 34ch; color: #E4ECE8; font-weight: 600; }
.site-footer__ids { margin: var(--s-2) 0 0; display: grid; gap: .2rem; }
.site-footer__ids div { display: flex; gap: .5rem; }
.site-footer__ids dt { color: #8FA59D; min-width: 4.2em; }
.site-footer__ids dd { margin: 0; }
.site-footer__heading { color: #fff; font-size: 1.05rem; margin-bottom: var(--s-2); }
.contact-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .65rem; align-items: flex-start; }
.contact-list .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--c-accent); margin-top: .1em; }
.site-footer__bank { margin-top: var(--s-3); }
.site-footer__bank span { display: block; color: #8FA59D; font-size: .9rem; }
.footer-menu, .socials { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-menu a, .socials a { text-decoration: none; }
.footer-menu a:hover, .socials a:hover { text-decoration: underline; }
.footer-menu .sub-menu { display: none; }
.socials { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.site-footer__widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); padding-bottom: var(--s-4); }
.site-footer .widget-title { color: #fff; font-size: 1.05rem; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-block: var(--s-3);
	font-size: .9rem; color: #8FA59D;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #C9D6D0; }

@media (max-width: 860px) {
	.site-footer__grid, .site-footer__widgets { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Strona Kontakt
   ========================================================================== */
.contact {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: start;
	padding-bottom: var(--s-6);
}
.contact__block { padding-block: var(--s-3); border-top: 1px solid var(--c-line); }
.contact__block:first-child { border-top: 2px solid var(--c-ink); }
.contact__label { font-size: .95rem; font-weight: 600; color: var(--c-muted); margin-bottom: .5rem; }
.contact__email {
	display: inline-block;
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--c-ink);
	text-decoration: none;
	word-break: break-word;
	background-image: linear-gradient(var(--c-accent), var(--c-accent));
	background-size: 100% 4px; background-position: 0 100%; background-repeat: no-repeat;
	padding-bottom: 2px;
}
.contact__email:hover { background-size: 100% 100%; }
.contact__phone { font-size: 1.4rem; font-weight: 700; color: var(--c-ink); text-decoration: none; }
.contact__address { font-style: normal; font-size: 1.1rem; line-height: 1.6; color: var(--c-text); }
.contact__bank { font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; margin: 0; }

.reg-data { margin: 0; display: grid; gap: .35rem; }
.reg-data div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; }
.reg-data dt { color: var(--c-muted); font-weight: 600; }
.reg-data dd { margin: 0; display: flex; align-items: center; gap: .75rem; }
.reg-data__value { font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--c-ink); }
.copy-btn {
	min-height: 32px; padding: .2rem .6rem;
	background: none; color: var(--c-link);
	border: 1px solid var(--c-line); border-radius: var(--r-sm);
	font-size: .82rem; font-weight: 600; cursor: pointer;
}
.copy-btn:hover { border-color: var(--c-link); }
.copy-btn.is-copied { background: var(--c-mist); color: var(--c-ink); border-color: var(--c-mist); }

.contact__form {
	background: var(--c-mist);
	border-radius: var(--r-md);
	padding: clamp(1.5rem, 4vw, 3rem);
	scroll-margin-top: 110px;
}
.contact__form-title { font-size: 1.6rem; font-weight: 800; margin-bottom: var(--s-3); }
.cform { display: grid; gap: var(--s-3); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--c-ink); }
.field__opt { font-weight: 400; color: var(--c-muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
	width: 100%;
	min-height: 48px;
	padding: .7rem .9rem;
	background: #fff;
	border: 1px solid #B9C9C1; border-radius: var(--r-sm);
	font: inherit; color: var(--c-text);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: .9rem; font-weight: 600; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--c-ink); }
.field--check label { font-weight: 400; font-size: .95rem; line-height: 1.5; color: var(--c-text); }
.field--check .field__error { grid-column: 1 / -1; }
.cform__submit { justify-self: start; }

.notice { padding: 1rem 1.2rem; border-radius: var(--r-sm); font-weight: 600; margin-bottom: var(--s-3); }
.notice--ok { background: #fff; border-left: 5px solid #2E7D5B; color: var(--c-ink); }
.notice--error { background: #FDECEA; border-left: 5px solid #B3261E; color: #5F1410; }

@media (max-width: 900px) {
	.contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.cform__row { grid-template-columns: 1fr; }
	.cform__submit { justify-self: stretch; }
}

/* ==========================================================================
   Strona O nas
   ========================================================================== */
.mission { padding-block: var(--s-3) var(--s-6); }
.mission__grid { display: grid; grid-template-columns: 3fr 9fr; gap: var(--s-4); align-items: start; }
.mission__label { font-size: 1rem; font-weight: 700; color: var(--c-ink); padding-top: .6rem; border-top: 3px solid var(--c-accent); margin: 0; }
.mission__text {
	font-family: var(--f-text);
	font-size: clamp(1.5rem, 3vw, 2.35rem);
	line-height: 1.35;
	color: var(--c-ink);
	max-width: 30ch;
	margin: 0;
	text-wrap: pretty;
}

.goals { background: var(--c-mist); padding-block: var(--s-6); }
.goals__list {
	list-style: none; padding: 0;
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: var(--s-4) clamp(2rem, 5vw, 4.5rem);
	margin-top: var(--s-4);
}
.goal { border-top: 2px solid var(--c-ink); padding-top: var(--s-3); }
.goal .action__icon { background: #fff; }
.goal__title { font-size: 1.35rem; margin-bottom: .4em; }
.goal__text { color: var(--c-text); margin: 0; max-width: 48ch; }

.values { background: var(--c-ink); color: #CFDCD6; padding-block: var(--s-6); }
.values__grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s-4); }
.values__title { color: #fff; }
.values__list { margin: 0; }
.value {
	display: grid; grid-template-columns: 2fr 3fr; gap: var(--s-3);
	padding-block: var(--s-3);
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.value:first-child { border-top-color: var(--c-accent); border-top-width: 2px; }
.value__title { color: #fff; font-weight: 700; font-size: 1.2rem; }
.value__text { margin: 0; font-family: var(--f-text); font-size: 1.08rem; line-height: 1.6; }

.docs { padding-block: var(--s-6); }
.docs__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-4); }
.doc-link {
	display: flex; gap: 1rem; align-items: flex-start;
	height: 100%;
	padding: var(--s-3);
	border: 1px solid var(--c-line); border-radius: var(--r-md);
	color: var(--c-ink); text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.doc-link:hover { border-color: var(--c-ink); background: var(--c-mist); }
.doc-link__icon { flex-shrink: 0; color: var(--c-ink); }
.doc-link__body { display: grid; gap: .3rem; }
.doc-link__body strong { font-size: 1.1rem; line-height: 1.3; }
.doc-link__body span { color: var(--c-muted); font-size: .95rem; }

@media (max-width: 900px) {
	.mission__grid, .values__grid { grid-template-columns: 1fr; gap: var(--s-3); }
	.mission__label { justify-self: start; }
	.docs__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.goals__list { grid-template-columns: 1fr; }
	.value { grid-template-columns: 1fr; gap: .4rem; }
}

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.hero__curve-line { stroke-dashoffset: 0; animation: none; }
}

/* ---------- Druk ---------- */
@media print {
	.site-header, .site-footer, .cta, .comments, .post-nav { display: none; }
	.page-head { background: none; color: #000; }
	.page-head__title { color: #000; }
}
