/* Skup Aut Gniezno – paleta „oliwka i piasek”, układ bento, mobile first. */

:root {
	--olive: #3f4a2b;
	--olive-900: #1f2512;
	--olive-800: #2b3419;
	--olive-700: #353f23;
	--olive-600: #56643a;
	--olive-300: #a4b183;
	--sand: #e7d8b5;
	--sand-300: #d8c595;
	--sand-200: #efe4c8;
	--sand-100: #f6efdc;
	--cream: #fcf9f0;
	--ink: #1f2512;
	--muted: #525c3e;
	--rust: #9c4a1b;
	--amber: #d9a441;
	--line: #d9ccaa;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow: 0 1px 2px rgba(31, 37, 18, .06), 0 10px 28px rgba(31, 37, 18, .09);
	--font-head: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1180px;
	--gutter: 1.1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--olive-900); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--olive); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .quote__box :focus-visible, .cta-band :focus-visible, .mbar :focus-visible, .tile--olive :focus-visible, .tile--moss :focus-visible { outline-color: var(--sand); }
.quote__form :focus-visible { outline-color: var(--rust); }
::selection { background: var(--sand); color: var(--olive-900); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: .75rem; top: -4rem; z-index: 100; background: var(--olive-900); color: var(--sand); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: .75rem; color: var(--sand); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 48px; padding: .7rem 1.35rem;
	font: 700 1rem/1.2 var(--font-head);
	border: 2px solid transparent; border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn--primary { background: var(--olive); color: var(--sand-100); }
.btn--primary:hover { background: var(--olive-900); color: var(--sand); }
.btn--sand { background: var(--sand); color: var(--olive-900); }
.btn--sand:hover { background: var(--sand-100); color: var(--olive-900); }
.btn--outline { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn--outline:hover { background: var(--olive); color: var(--sand-100); }
.btn--ghost-light { border-color: var(--sand); color: var(--sand); background: transparent; }
.btn--ghost-light:hover { background: var(--sand); color: var(--olive-900); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---------- Pasek górny i nagłówek ---------- */
.topbar { background: var(--olive-900); color: var(--sand-200); font-size: .875rem; }
.topbar__in { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; justify-content: space-between; align-items: center; padding-block: .45rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.topbar__item--hide { display: none; }
.topbar__tel { font-weight: 800; color: var(--sand); }
.topbar__tel:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 249, 240, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--olive-900); }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand__text strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.brand__text span { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rust); }
.brand--light { color: var(--sand); }
.brand--light .brand__text span { color: var(--sand-300); }

.nav-toggle { display: none; }
.js .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .5rem .9rem; background: var(--olive); color: var(--sand-100); border: 0; border-radius: 999px; font: 700 .95rem var(--font-head); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.nav { width: 100%; order: 3; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .8rem .2rem; color: var(--olive-900); text-decoration: none; font-weight: 700; font-family: var(--font-head); border-bottom: 1px solid var(--line); }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list [aria-current="page"] { color: var(--rust); }
.nav__call { margin: 1rem 0; width: 100%; }
.menu-item-has-children { position: relative; }
.menu-item-has-children > a { padding-right: 3.2rem; }
.sub-toggle { position: absolute; right: 0; top: .35rem; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 10px; color: var(--olive-900); cursor: pointer; }
.sub-toggle .icon { transition: transform .2s; }
.menu-item-has-children.is-open > .sub-toggle .icon { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 0 0 .5rem .8rem; display: none; }
.menu-item-has-children.is-open > .sub-menu { display: block; }
.sub-menu a { font-weight: 600; font-family: var(--font-body); border-bottom: 0; padding: .45rem .2rem; }

.site-header { /* wysokość panelu mobilnego */ }
.js .nav.is-open { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); padding: .5rem var(--gutter) 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(31, 37, 18, .15); max-height: calc(100vh - 110px); overflow-y: auto; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: linear-gradient(160deg, var(--olive) 0%, var(--olive-800) 100%);
	color: var(--sand-100);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero::before { content: ""; position: absolute; inset: 0; background: url("../svg/contours.svg") center/cover no-repeat; pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 2rem; padding-block: 2.2rem 3rem; align-items: center; }
.hero__title { color: var(--sand-100); margin-bottom: .5em; }
.hero__lead { font-size: 1.12rem; color: var(--sand-200); max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.4rem; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .95rem; color: var(--sand-300); }
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
.hero-art { display: block; width: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }

.eyebrow { display: inline-block; margin: 0 0 .8rem; font: 700 .8rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.eyebrow--light { color: var(--sand); }

/* ---------- Sekcje ---------- */
.section { padding-block: 3rem; }
.section--sand { background: var(--sand-200); }
.section__title { max-width: 24em; margin-bottom: 1.2rem; }
.section__lead { max-width: 44em; color: var(--muted); font-size: 1.08rem; }
.section__note { margin-top: 1.5rem; color: var(--muted); }
.section__more { margin-top: 1.6rem; }
.section__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.section__row .section__title { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font: 700 1rem var(--font-head); color: var(--olive); text-decoration: none; }
.link-arrow:hover { color: var(--rust); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.split { display: grid; gap: 1.6rem; align-items: center; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: .9rem; grid-template-columns: 1fr; margin-top: 1.4rem; }
.tile { position: relative; padding: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.tile h3 { margin-bottom: .35em; }
.tile p:last-child { margin-bottom: 0; }
.tile__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(63, 74, 43, .12); color: var(--olive); margin-bottom: 1rem; }
.tile__icon .icon { width: 24px; height: 24px; }
.tile--olive { background: var(--olive); color: var(--sand-100); }
.tile--olive h3, .tile--moss h3 { color: var(--sand-100); }
.tile--olive .tile__icon, .tile--moss .tile__icon { background: rgba(231, 216, 181, .16); color: var(--sand); }
.tile--olive::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(231, 216, 181, .08); }
.tile__big { font: 700 clamp(3.4rem, 12vw, 5.6rem)/1 var(--font-head); color: var(--sand); margin: 0 0 .15em; letter-spacing: -.03em; }
.tile--sand { background: var(--sand); color: var(--olive-900); }
.tile--sand .tile__icon { background: rgba(63, 74, 43, .14); }
.tile--paper { background: #fff; border: 1.5px solid var(--line); }
.tile--moss { background: var(--olive-600); color: var(--sand-100); }
.tile--moss a { color: var(--sand); }
.tile--voices { background: var(--sand-100); }
.tile__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.tile__head .tile__icon { margin: 0; }
.tile__head h3 { margin: 0; font-size: 1.3rem; }
.voices { display: grid; gap: .8rem; }
.voice { margin: 0; padding: 1.1rem 1.2rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); }
.voice blockquote { margin: 0 0 .6rem; font-size: 1rem; }
.voice blockquote p { margin: 0; }
.voice figcaption { font: 700 .85rem var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--rust); }

/* ---------- Kroki ---------- */
.steps { list-style: none; counter-reset: step; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.steps li { counter-increment: step; position: relative; padding: 1.3rem 1.3rem 1.3rem 4.4rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: var(--sand); font: 700 1.2rem var(--font-head); }
.steps h3 { margin-bottom: .25em; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Chipsy ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { padding: .5rem 1rem; border-radius: 999px; background: var(--sand); color: var(--olive-900); font-weight: 700; font-size: .95rem; border: 1.5px solid var(--sand-300); }
.chips li:nth-child(3n) { background: var(--olive); color: var(--sand-100); border-color: var(--olive); }
.chips li:nth-child(5n) { background: #fff; border-color: var(--line); }

/* ---------- Formularz ---------- */
.quote { margin-block: 1rem 3rem; scroll-margin-top: 5.5rem; }
.quote__box { display: grid; background: var(--olive); color: var(--sand-100); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.quote__box::before { content: ""; position: absolute; inset: 0; background: url("../svg/contours.svg") center/cover no-repeat; opacity: .7; pointer-events: none; }
.quote__intro, .quote__form { position: relative; padding: 1.6rem 1.3rem; }
.quote__title { color: var(--sand-100); margin-bottom: .5em; }
.quote__lead { color: var(--sand-200); }
.ticks { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--amber); margin-top: .25em; }
.quote__call { margin: 1.4rem 0 0; font-size: 1.05rem; }
.quote__call a { color: var(--sand); font: 700 1.5rem var(--font-head); text-decoration: none; }
.quote__call a:hover { color: #fff; }
.quote__call span { color: var(--sand-300); font-size: .9rem; }
.quote__form { background: #fff; color: var(--ink); margin: 0 .6rem .6rem; border-radius: calc(var(--radius-lg) - 8px); padding: 1.4rem 1.1rem; }
.form__grid { display: grid; gap: 1rem; }
.field label { display: block; margin-bottom: .35rem; font: 700 .93rem var(--font-head); color: var(--olive-900); }
.field abbr { color: var(--rust); text-decoration: none; }
.opt { font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .search-form input[type="search"] {
	width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; color: var(--ink);
	background: var(--cream); border: 2px solid var(--olive-300); border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .search-form input:focus { outline: 3px solid var(--rust); outline-offset: 1px; border-color: var(--olive); background: #fff; }
.field input[type="file"] { width: 100%; padding: .7rem; font: inherit; font-size: .95rem; background: var(--cream); border: 2px dashed var(--olive-300); border-radius: 12px; }
.field input[type="file"]::file-selector-button { margin-right: .8rem; padding: .5rem .9rem; border: 0; border-radius: 999px; background: var(--olive); color: var(--sand-100); font: 700 .9rem var(--font-head); cursor: pointer; }
.field__help { margin: .35rem 0 0; font-size: .85rem; color: var(--muted); }
.field__err { margin: .4rem 0 0; font-size: .9rem; font-weight: 700; color: #8a2d0d; }
.field--check { display: flex; gap: .7rem; align-items: flex-start; margin-block: 1.1rem; }
.field--check input { width: 24px; height: 24px; flex: none; margin-top: .15rem; accent-color: var(--olive); }
.field--check label { margin: 0; font: 400 .92rem/1.5 var(--font-body); color: var(--ink); }
.field--check a { color: var(--olive); font-weight: 700; }
.form__submit { width: 100%; }
.form__note { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1rem; }
.notice h3 { margin-bottom: .3em; }
.notice p:last-child { margin-bottom: 0; }
.notice--ok { background: #eef3dd; border: 2px solid var(--olive-600); color: var(--olive-900); }
.notice--err { background: #fbeee6; border: 2px solid var(--rust); color: #5c2509; font-weight: 700; }

/* ---------- Miejscowości ---------- */
.places { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: 1fr; }
.place { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.2rem; height: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--olive-900); transition: border-color .18s, transform .18s, background-color .18s; }
.place:hover { border-color: var(--olive); background: var(--sand-100); transform: translateY(-2px); color: var(--olive-900); }
.place__name { font: 600 1.05rem var(--font-head); }
.place__meta { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--muted); }
.places--compact { grid-template-columns: repeat(2, 1fr); }
.places--compact .place { padding: .75rem 1rem; }

.facts { list-style: none; margin: -1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; position: relative; }
.facts li { display: flex; flex-direction: column; gap: .1rem; padding: 1rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts .icon { color: var(--rust); margin-bottom: .2rem; }
.facts__k { font-size: .8rem; color: var(--muted); }
.facts strong { font: 600 1.02rem var(--font-head); color: var(--olive-900); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq__item { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); }
.faq__item[open] { border-color: var(--olive-600); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; font: 600 1.05rem/1.35 var(--font-head); color: var(--olive-900); list-style: none; min-height: 56px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--rust); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 1.2rem 1.15rem; color: var(--muted); }

/* ---------- Karty wpisów ---------- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__art { display: grid; place-items: center; height: 120px; color: var(--sand); }
.card__art .icon { width: 44px; height: 44px; }
.card__art--1 { background: linear-gradient(135deg, var(--olive), var(--olive-600)); }
.card__art--2 { background: linear-gradient(135deg, var(--olive-800), var(--olive)); }
.card__art--3 { background: linear-gradient(135deg, var(--olive-600), var(--olive-700)); }
.card__art--4 { background: linear-gradient(135deg, var(--olive-900), var(--olive-600)); }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__meta { margin: 0 0 .4rem; font-size: .85rem; color: var(--muted); }
.card__title { font-size: 1.15rem; margin-bottom: .5em; }
.card__title a { color: var(--olive-900); text-decoration: none; }
.card__title a:hover { color: var(--rust); }
.card__excerpt { color: var(--muted); font-size: .98rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font: 700 .95rem var(--font-head); color: var(--olive); text-decoration: none; }
.card__more:hover { color: var(--rust); }

.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .4rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 700; color: var(--olive-900); }
.page-numbers.current, .page-numbers:hover { background: var(--olive); color: var(--sand-100); border-color: var(--olive); }

/* ---------- Podstrony ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--olive) 0%, var(--olive-800) 100%); color: var(--sand-100); padding-block: 1.6rem 3.2rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../svg/contours.svg") center/cover no-repeat; pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero__title { color: var(--sand-100); max-width: 20em; margin-bottom: .4em; }
.page-hero__lead { max-width: 42em; font-size: 1.12rem; color: var(--sand-200); }
.page-hero__meta { margin: 0; color: var(--sand-300); font-size: .95rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem 0; margin: 0 0 1.2rem; padding: 0; font-size: .88rem; }
.crumbs li + li::before { content: "›"; margin: 0 .55rem; opacity: .6; }
.crumbs a { color: var(--sand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs [aria-current] span { color: var(--sand-300); }

.prose { font-size: 1.08rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--rust); font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; background: var(--sand-100); border-left: 5px solid var(--olive); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .98rem; }
.prose th, .prose td { padding: .65rem .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--sand-200); font-family: var(--font-head); }
.prose .lead { font-size: 1.2rem; color: var(--muted); }
.prose .box { margin: 1.6rem 0; padding: 1.2rem 1.4rem; background: var(--sand-100); border: 1.5px solid var(--sand-300); border-radius: var(--radius); }
.prose .box > :last-child { margin-bottom: 0; }
.prose .steps { margin-block: 1.4rem; }
.prose .steps li { margin: 0; }
.prose .steps li::marker { content: ""; }
.prose--intro { margin-bottom: 2rem; max-width: 46em; }
.prose--contact { margin-top: 2.4rem; max-width: 46em; }

.contact-cards { display: grid; gap: .8rem; grid-template-columns: 1fr; }
.contact-card { display: flex; flex-direction: column; gap: .15rem; padding: 1.3rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--olive-900); }
a.contact-card:hover { border-color: var(--olive); background: var(--sand-100); color: var(--olive-900); }
.contact-card__k { font: 700 .8rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.contact-card strong { font: 600 1.2rem/1.3 var(--font-head); overflow-wrap: anywhere; }
.contact-card__s { color: var(--muted); font-size: .92rem; }

.callout { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.6rem; padding: 1.6rem; background: var(--sand); border-radius: var(--radius-lg); }
.callout h2 { font-size: 1.4rem; margin-bottom: .3em; }
.callout p { margin: 0; }
.callout__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.cta-band { background: var(--olive-900); color: var(--sand-100); margin-top: 3rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../svg/contours.svg") center/cover no-repeat; opacity: .8; }
.cta-band__in { position: relative; display: flex; flex-direction: column; gap: 1.4rem; padding-block: 2.6rem; }
.cta-band h2 { color: var(--sand-100); font-size: clamp(1.4rem, 3.4vw, 2rem); max-width: 22em; }
.cta-band p { margin: 0; color: var(--sand-200); max-width: 38em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.links-list { list-style: none; padding: 0; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.links-list a { display: block; padding: .9rem 1.1rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 700; text-decoration: none; font-family: var(--font-head); }
.links-list a:hover { border-color: var(--olive); background: var(--sand-100); }
.search-form { display: flex; gap: .6rem; margin-block: 1.4rem; }
.search-form input[type="search"] { flex: 1; }
.results { list-style: none; padding: 0; }
.results li { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.results h2 { font-size: 1.2rem; margin-bottom: .3em; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--olive-900); color: var(--sand-200); margin-top: 0; }
.footer__grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; grid-template-columns: 1fr; }
.footer__h { font: 700 .85rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.footer__col p { color: var(--sand-300); font-size: .96rem; max-width: 26em; }
.footer__company { white-space: normal; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__list li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__list .icon { margin-top: .3em; color: var(--amber); }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__list--cols { grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; }
.footer__bottom { border-top: 1px solid rgba(231, 216, 181, .16); font-size: .88rem; color: var(--sand-300); }
.footer__bottom-in { display: flex; flex-direction: column; gap: .4rem; padding-block: 1.1rem; }

/* ---------- Pasek mobilny ---------- */
.mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--olive-900); border-top: 1px solid rgba(231, 216, 181, .2); }
.mbar .btn { min-height: 46px; padding-inline: .8rem; }
body.has-mbar { padding-bottom: 70px; }

/* ---------- Ekrany większe ---------- */
@media (min-width: 560px) {
	.places { grid-template-columns: repeat(2, 1fr); }
	.contact-cards { grid-template-columns: repeat(2, 1fr); }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.tile--xl, .tile--wide, .bento .tile:nth-child(6) { grid-column: 1 / -1; }
	.voices { grid-template-columns: repeat(3, 1fr); }
	.topbar__item--hide { display: inline-flex; }
	.form__grid { grid-template-columns: 1fr 1fr; }
	.field--full { grid-column: 1 / -1; }
	.facts { grid-template-columns: repeat(4, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	:root { --gutter: 1.6rem; }
	.hero__in { grid-template-columns: 1.1fr .9fr; padding-block: 3.4rem 4.2rem; }
	.hero__art { max-width: none; }
	.section { padding-block: 4.4rem; }
	.split { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
	.bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 1rem; }
	.tile--xl { grid-column: span 3; grid-row: span 2; padding: 2rem; }
	.tile--sand, .tile--paper, .tile--moss { grid-column: span 3; }
	.bento .tile:nth-child(4), .bento .tile:nth-child(5), .bento .tile:nth-child(6) { grid-column: span 2; }
	.tile--wide { grid-column: 1 / -1; }
	.quote__box { grid-template-columns: .9fr 1.1fr; }
	.quote__intro { padding: 2.4rem 2rem; }
	.quote__form { margin: .7rem .7rem .7rem 0; padding: 2rem; }
	.steps { grid-template-columns: repeat(4, 1fr); }
	.steps li { padding: 4.6rem 1.3rem 1.4rem; }
	.steps li::before { left: 1.3rem; top: 1.2rem; width: 2.8rem; height: 2.8rem; }
	.prose .steps { grid-template-columns: 1fr; }
	.prose .steps li { padding: 1.3rem 1.3rem 1.3rem 4.4rem; }
	.prose .steps li::before { left: 1.1rem; top: 1.1rem; width: 2.5rem; height: 2.5rem; }
	.places { grid-template-columns: repeat(3, 1fr); }
	.places--compact { grid-template-columns: repeat(4, 1fr); }
	.cards { grid-template-columns: repeat(3, 1fr); }
	.contact-cards { grid-template-columns: repeat(4, 1fr); }
	.callout { flex-direction: row; align-items: center; justify-content: space-between; }
	.cta-band__in { flex-direction: row; align-items: center; justify-content: space-between; }
	.footer__grid { grid-template-columns: 1.3fr 1.1fr .8fr 1.4fr; }
	.footer__bottom-in { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1040px) {
	.js .nav-toggle { display: none; }
	.nav, .js .nav, .js .nav.is-open { display: flex; position: static; width: auto; order: 0; align-items: center; gap: 1.2rem; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
	.nav__list { display: flex; align-items: center; gap: .2rem; }
	.nav__list > li > a { padding: .6rem .8rem; border: 0; border-radius: 999px; }
	.nav__list > li > a:hover { background: var(--sand-200); }
	.nav__call { margin: 0; width: auto; }
	.menu-item-has-children > a { padding-right: .4rem; }
	.sub-toggle { position: static; width: 32px; height: 32px; margin-left: -.35rem; }
	.menu-item-has-children { display: flex; align-items: center; }
	.sub-menu { position: absolute; left: 0; top: 100%; z-index: 20; width: 460px; max-width: 90vw; padding: .8rem; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); grid-template-columns: 1fr 1fr; gap: 0 .5rem; }
	.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu, .menu-item-has-children.is-open > .sub-menu { display: grid; }
	.sub-menu a { padding: .5rem .7rem; border-radius: 10px; }
	.sub-menu a:hover { background: var(--sand-200); }
	.mbar { display: none; }
	body.has-mbar { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.topbar, .site-header, .mbar, .cta-band, .quote { display: none !important; }
}
