/* ==========================================================================
   Infolinia — arkusz stylów motywu
   Układ: tokeny → baza → nagłówek → moduły → szablony → stopka → narzędzia
   ========================================================================== */

:root {
	--paper: #f6f8f7;
	--surface: #ffffff;
	--surface-2: #edf1ef;
	--ink: #18221f;
	--ink-2: #3f4c47;
	--muted: #63706b;
	--line: #d5ddd9;
	--line-strong: #b4c1bc;
	--green: #0a6b53;
	--green-ink: #07513f;
	--green-tint: #e2efe9;
	--yellow: #f4c842;
	--yellow-tint: #fcf2cc;
	--red: #c0352a;
	--red-tint: #f9e6e3;

	--font-sans: "Plex Sans", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--font-num: "Plex Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--step--1: 0.875rem;   /* 14 */
	--step-0: 1.0625rem;   /* 17 */
	--step-1: 1.25rem;     /* 20 */
	--step-2: 1.5625rem;   /* 25 */
	--step-3: 1.953rem;    /* 31 */
	--step-4: 2.441rem;    /* 39 */
	--step-5: 3.052rem;    /* 49 */

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius-s: 6px;
	--radius-m: 10px;
	--focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--green);
}

/* Baza ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.6;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-ink); text-decoration-thickness: 2px; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

button { font: inherit; color: inherit; cursor: pointer; }

input, textarea, select { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 100;
	padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-s);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 800px; }

.num {
	font-family: var(--font-num);
	font-variant-numeric: tabular-nums;
	font-weight: 500;
	letter-spacing: 0;
	white-space: nowrap;
}

.count {
	display: inline-block;
	min-width: 1.9em;
	padding: 0 0.45em;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.65;
	text-align: center;
	vertical-align: 0.15em;
}

/* Przyciski ------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px;
	border: 1px solid transparent; border-radius: var(--radius-s);
	font-weight: 600; font-size: 1rem; line-height: 1;
	text-decoration: none; white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--call, .btn--primary { background: var(--green); color: #fff; }
.btn--call:hover, .btn--primary:hover { background: var(--green-ink); color: #fff; }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn.is-done { border-color: var(--green); color: var(--green); }

/* Pasek „Teraz sprawdzane” --------------------------------------------- */

.trendy { background: var(--ink); color: #c9d3cf; font-size: var(--step--1); }
.trendy__inner { display: flex; gap: 16px; align-items: center; min-height: 36px; overflow: hidden; }
.trendy__label { color: var(--yellow); font-weight: 600; white-space: nowrap; flex: none; }
.trendy__list {
	display: flex; gap: 22px; margin: 0; padding: 0; list-style: none;
	overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.trendy__list::-webkit-scrollbar { display: none; }
.trendy__list a { color: #e8eeeb; text-decoration: none; }
.trendy__list a:hover { color: #fff; text-decoration: underline; }

/* Nagłówek -------------------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-header__brand { flex: none; }
.site-header__brand .custom-logo { max-height: 44px; width: auto; }

.wordmark {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--ink); text-decoration: none;
	font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.02em; font-stretch: 92%;
}
.wordmark:hover { color: var(--ink); text-decoration: none; }
.wordmark__mark {
	display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 8px;
	background: var(--yellow); color: var(--ink);
}
.wordmark__tld { color: var(--muted); font-weight: 500; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: 8px 12px; border-radius: var(--radius-s);
	color: var(--ink-2); font-weight: 500; font-size: 0.9875rem; text-decoration: none;
}
.nav__list a:hover { background: var(--surface-2); color: var(--ink); }
.nav__list .current-menu-item > a,
.nav__list .current-category-ancestor > a,
.nav__list .current-post-ancestor > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px;
	margin: 0; padding: 6px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.site-header__search {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 14px;
	background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
	color: var(--ink-2); font-size: 0.9375rem; font-weight: 500;
}
.site-header__search:hover, .site-header__search[aria-expanded="true"] { border-color: var(--ink); color: var(--ink); }

.site-header__toggle {
	display: none; margin-left: auto;
	width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s);
	background: var(--surface); align-items: center; justify-content: center;
}

.header-search { border-top: 1px solid var(--line); background: var(--surface); padding: 14px 0; }

@media (max-width: 1060px) {
	.site-header__search-label { display: none; }
	.site-header__search { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: var(--radius-s); }
}

@media (max-width: 920px) {
	.site-header__inner { gap: 10px; }
	.site-header__toggle { display: inline-flex; order: 3; margin-left: 0; }
	.site-header__search { margin-left: auto; order: 2; }
	.nav {
		order: 4; flex-basis: 100%; margin: 0;
		display: none; padding: 4px 0 14px;
	}
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 16px; }
	.site-header__inner { flex-wrap: wrap; }
	.home .site-header__toggle { margin-left: auto; }
}

/* Okruszki -------------------------------------------------------------- */

.crumbs { padding: 18px 0 0; font-size: var(--step--1); color: var(--muted); }
.crumbs ol, .crumbs > span { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

/* Wyszukiwarka firm (finder) ------------------------------------------- */

.finder { position: relative; display: flex; align-items: stretch; }
.finder__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.finder__input {
	flex: 1; min-width: 0;
	height: 52px; padding: 0 16px 0 46px;
	border: 1.5px solid var(--line-strong); border-right: 0;
	border-radius: var(--radius-s) 0 0 var(--radius-s);
	background: var(--surface);
	font-size: 1.0625rem;
	-webkit-appearance: none; appearance: none;
}
.finder__input::placeholder { color: #8a9692; }
.finder__input:focus { outline: none; border-color: var(--ink); box-shadow: none; }
.finder__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.finder__submit {
	flex: none; padding: 0 22px;
	border: 0; border-radius: 0 var(--radius-s) var(--radius-s) 0;
	background: var(--ink); color: #fff; font-weight: 600;
}
.finder__submit:hover { background: #000; }
.finder--hero .finder__input { height: 64px; font-size: 1.1875rem; padding-left: 52px; border-width: 2px; border-color: var(--ink); }
.finder--hero .finder__icon { left: 18px; }
.finder--hero .finder__submit { padding: 0 30px; font-size: 1.0625rem; }

.finder__list {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
	margin: 0; padding: 6px; list-style: none;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-m);
	box-shadow: 0 18px 40px -18px rgba(24, 34, 31, 0.35);
	max-height: min(420px, 60vh); overflow: auto;
}
.finder__opt {
	display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
	padding: 10px 12px; border-radius: var(--radius-s);
	color: var(--ink); text-decoration: none;
}
.finder__opt:hover, .finder__opt[aria-selected="true"] { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.finder__opt-name { font-weight: 600; }
.finder__opt-name mark { background: var(--yellow-tint); color: inherit; padding: 0 1px; border-radius: 2px; }
.finder__opt-cat { grid-column: 1; font-size: 0.8125rem; color: var(--muted); }
.finder__opt-num { grid-row: 1 / span 2; grid-column: 2; font-family: var(--font-num); font-size: 0.9375rem; color: var(--ink-2); }
.finder__empty { padding: 12px; color: var(--muted); font-size: 0.9375rem; }
.finder__empty a { font-weight: 600; }

/* Pasek liter ----------------------------------------------------------- */

.letters ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.letters a, .letters span {
	display: grid; place-items: center;
	min-width: 34px; height: 34px; padding: 0 6px;
	border-radius: var(--radius-s);
	font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.letters a { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.letters a:hover { border-color: var(--ink); background: var(--yellow-tint); color: var(--ink); }
.letters span { color: #b8c2be; }

/* Strona główna: hero --------------------------------------------------- */

.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__title {
	max-width: 17ch;
	margin-bottom: 18px;
	font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
	font-weight: 700; font-stretch: 88%;
	line-height: 1.04; letter-spacing: -0.025em;
}
.hero__lead { max-width: 60ch; margin-bottom: 28px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.hero .finder { max-width: 720px; margin-bottom: 22px; }
.hero .letters { max-width: 720px; }

.hero__sos { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); }
.hero__sos-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1rem; color: var(--red); }

.sos { margin: 0; padding: 0; list-style: none; }
.sos li + li { border-top: 1px solid var(--line); }
.sos a { display: grid; grid-template-columns: 6.6em 1fr; gap: 12px; align-items: baseline; padding: 9px 0; color: var(--ink); text-decoration: none; }
.sos a:hover { color: var(--ink); }
.sos a:hover .sos__label { text-decoration: underline; }
.sos__num { font-size: 1.0625rem; color: var(--red); letter-spacing: -0.03em; }
.sos__label { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.35; }
.sos--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
.sos--grid li + li { border-top: 0; }
.sos--grid li { border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__sos { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
	.hero__sos .sos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
	.hero__sos .sos li { border-top: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
	.finder__submit { padding: 0 16px; }
	.finder--hero .finder__input { height: 58px; font-size: 1.0625rem; padding-left: 46px; }
	.finder--hero .finder__icon { left: 14px; }
	.finder--hero .finder__submit { padding: 0 18px; }
	.letters a, .letters span { min-width: 30px; height: 32px; font-size: 0.875rem; }
}

/* Sekcje ---------------------------------------------------------------- */

.section { padding: clamp(40px, 6vw, 72px) 0 0; }
.section:last-of-type { padding-bottom: clamp(48px, 7vw, 88px); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.section__title { margin: 0; font-size: var(--step-2); font-weight: 650; font-stretch: 92%; }
.section__more { font-weight: 600; font-size: 0.9375rem; }

.section-block { margin: 32px 0; }
.section-block__title { font-size: var(--step-1); margin-bottom: 12px; }

/* Wiersze katalogu ------------------------------------------------------ */

.rows { margin: 0; padding: 0; list-style: none; }
.rows--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 760px) { .rows--two { grid-template-columns: minmax(0, 1fr); } }

.entry-row {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	position: relative;
}
.entry-row__body { display: flex; flex-direction: column; min-width: 0; }
.entry-row__name {
	color: var(--ink); font-weight: 600; text-decoration: none;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.entry-row__name::after { content: ""; position: absolute; inset: 0; }
.entry-row:hover .entry-row__name { color: var(--green); text-decoration: underline; }
.entry-row__cat { font-size: 0.8125rem; color: var(--muted); }
.entry-row__number {
	position: relative; z-index: 1;
	padding: 6px 10px; border-radius: var(--radius-s);
	background: var(--yellow-tint); color: var(--ink);
	font-size: 0.9375rem; text-decoration: none;
}
.entry-row__number:hover { background: var(--yellow); color: var(--ink); text-decoration: none; }
.entry-row__more { font-size: 0.875rem; color: var(--muted); text-decoration: none; position: relative; z-index: 1; }

.rows--small .entry-row { padding: 9px 0; gap: 12px; }
.rows--small .mark { width: 32px; height: 32px; font-size: 0.75rem; }
.rows--small .entry-row__number { font-size: 0.8125rem; padding: 4px 8px; }

@media (max-width: 420px) {
	.entry-row__number { font-size: 0.8125rem; padding: 5px 7px; }
}

/* Znak firmy (inicjały) ------------------------------------------------- */

.mark {
	display: grid; place-items: center; flex: none;
	width: 40px; height: 40px; border-radius: 8px;
	background: var(--surface-2); border: 1px solid var(--line);
	color: var(--ink-2); font-weight: 700; font-size: 0.875rem; font-stretch: 85%; letter-spacing: 0.02em;
}
.mark--lg { width: 64px; height: 64px; border-radius: 12px; font-size: 1.25rem; background: var(--ink); border-color: var(--ink); color: var(--yellow); }

/* Katalog według tematu ------------------------------------------------- */

.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
@media (max-width: 980px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .catalog { grid-template-columns: minmax(0, 1fr); } }
.catalog__title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 1.125rem; }
.catalog__title a { color: var(--ink); text-decoration: none; }
.catalog__title a:hover { color: var(--green); text-decoration: underline; }
.catalog__all { display: inline-block; margin-top: 10px; font-size: 0.9375rem; font-weight: 600; }
.catalog .entry-row { padding: 9px 0; gap: 12px; }
.catalog .mark { width: 32px; height: 32px; font-size: 0.75rem; }
.catalog .entry-row__number { font-size: 0.8125rem; padding: 4px 8px; }

/* Pas z narzędziem ------------------------------------------------------ */

.band { margin-top: clamp(48px, 7vw, 88px); background: var(--ink); color: #dfe7e3; padding: clamp(40px, 6vw, 64px) 0; }
.band__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .band__grid { grid-template-columns: minmax(0, 1fr); } }
.band__title { color: #fff; font-size: var(--step-3); font-weight: 700; font-stretch: 90%; line-height: 1.1; max-width: 18ch; }
.band__text p { max-width: 52ch; color: #c5d0cb; }
.band__link { color: var(--yellow); font-weight: 600; }
.band__link:hover { color: #fff; }
.band .checker__label { color: #c5d0cb; }

/* Narzędzie „Sprawdź numer” -------------------------------------------- */

.checker__label { display: block; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.checker__row { display: flex; gap: 8px; }
.checker__input {
	flex: 1; min-width: 0; height: 56px; padding: 0 16px;
	border: 2px solid var(--yellow); border-radius: var(--radius-s);
	background: var(--surface); color: var(--ink);
	font-size: 1.375rem;
}
.checker__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.checker .btn { min-height: 56px; }
.band .checker .btn--dark { background: var(--yellow); color: var(--ink); }
.band .checker .btn--dark:hover { background: #ffd95c; }
.checker--compact .checker__input { height: 48px; font-size: 1.125rem; }
.checker--compact .btn { min-height: 48px; }
.side-block .checker__input { border-color: var(--line-strong); }

.checker__result {
	margin-top: 14px; padding: 16px 18px;
	border-radius: var(--radius-m); background: var(--surface); color: var(--ink);
	border-left: 5px solid var(--line-strong);
}
.checker__result[data-tone="free"] { border-left-color: var(--green); }
.checker__result[data-tone="warn"] { border-left-color: var(--yellow); }
.checker__result[data-tone="danger"] { border-left-color: var(--red); }
.checker__result-num { display: block; font-family: var(--font-num); font-size: 1.375rem; font-weight: 500; margin-bottom: 4px; }
.checker__result-type { display: block; font-weight: 600; font-size: 1.0625rem; }
.checker__result-cost { display: block; color: var(--ink-2); font-size: 0.9375rem; margin-top: 2px; }
.checker__result-tip { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.checker__note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); max-width: 68ch; }

/* Poradniki ------------------------------------------------------------- */

.guides { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 900px) { .guides { grid-template-columns: minmax(0, 1fr); } }
.guides__list { display: flex; flex-direction: column; }
.guide-card--lead:not(:has(.guide-card__media)) {
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 100%; padding: clamp(24px, 3vw, 40px);
	background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius-m);
}
.guides__list .guide-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.guides__list .guide-card:first-child { padding-top: 0; }

.guide-card { position: relative; }
.guide-card__media { display: block; overflow: hidden; border-radius: var(--radius-m); background: var(--surface-2); margin-bottom: 14px; aspect-ratio: 5 / 3; }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__title { margin: 0 0 6px; font-family: var(--font-serif); font-weight: 600; font-size: 1.3125rem; line-height: 1.25; letter-spacing: 0; }
.guide-card__title a { color: var(--ink); text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; }
.guide-card:hover .guide-card__title a { text-decoration: underline; text-decoration-thickness: 1px; }
.guide-card__excerpt { margin: 0 0 8px; color: var(--ink-2); font-size: 0.9875rem; line-height: 1.5; }
.guide-card__meta { margin: 0; font-size: 0.8125rem; color: var(--muted); }

.guide-card--lead .guide-card__media { aspect-ratio: 2 / 1; }
.guide-card--lead .guide-card__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.15; margin-bottom: 10px; }
.guide-card--lead .guide-card__excerpt { font-size: 1.0625rem; }

.guides__list .guide-card { display: grid; grid-template-columns: 1fr 112px; gap: 16px; align-items: start; }
.guides__list .guide-card__media { grid-column: 2; grid-row: 1; margin: 0; aspect-ratio: 1; border-radius: var(--radius-s); }
.guides__list .guide-card__body { grid-column: 1; grid-row: 1; }
.guides__list .guide-card__excerpt { display: none; }

.guides-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 1000px) { .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guides-grid { grid-template-columns: minmax(0, 1fr); } }
.guides-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .guides-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guides-grid--archive { grid-template-columns: minmax(0, 1fr); } }
.guides-grid .guide-card:not(:has(.guide-card__media)) { border-top: 3px solid var(--ink); padding-top: 14px; }

/* Nagłówki stron i archiwów -------------------------------------------- */

.page-head { padding: 22px 0 24px; }
.page-head__title { margin: 0 0 10px; font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 700; font-stretch: 90%; letter-spacing: -0.02em; line-height: 1.08; }
.page-head__sub { display: block; margin-top: 6px; font-size: 0.5em; font-weight: 500; font-stretch: 100%; color: var(--muted); letter-spacing: 0; }
.page-head__lead { max-width: 66ch; color: var(--ink-2); font-size: 1.125rem; }
.page-head__search { max-width: 640px; margin-top: 16px; }

.chips { margin: 0 0 24px; }
.chips ul { display: flex; gap: 8px; margin: 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.chips a {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
}
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips a[aria-current] .count { background: rgba(255,255,255,.16); color: #fff; }

.rows--directory { margin-bottom: 32px; }

.empty { padding: 32px 0; color: var(--ink-2); }
.empty--search { max-width: 640px; }

/* Wizytówka firmy ------------------------------------------------------- */

.entry__head { display: flex; gap: 18px; align-items: center; padding: 22px 0 22px; }
.entry__title { margin: 0 0 4px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); font-weight: 700; font-stretch: 90%; letter-spacing: -0.02em; line-height: 1.08; }
.entry__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 0.9375rem; color: var(--muted); }
.entry__meta a { color: var(--ink-2); font-weight: 500; }

/* Karta numeru — główny wyróżnik motywu */
.dial {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	margin-bottom: 36px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
	overflow: hidden;
}
.dial__main { padding: clamp(20px, 3vw, 32px); background: var(--yellow-tint); border-right: 1px solid #ecdca0; }
.dial__label { margin: 0 0 6px; font-weight: 600; color: var(--ink-2); }
.dial__number {
	margin: 0 0 18px;
	font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.25rem);
	font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--ink);
}
.dial__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.dial__actions .btn--call { min-width: 160px; }
.dial__cost { margin: 0; padding-left: 14px; border-left: 3px solid var(--line-strong); font-size: 0.9375rem; color: var(--ink-2); line-height: 1.45; }
.dial__cost strong { color: var(--ink); }
.dial__cost--free { border-left-color: var(--green); }
.dial__cost--warn { border-left-color: #d9a400; }
.dial__cost--danger { border-left-color: var(--red); }

.dial__facts { margin: 0; padding: clamp(14px, 2.4vw, 24px) clamp(20px, 3vw, 32px); }
.fact { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.fact dt .icon { color: var(--green); }
.fact dd { margin: 0 0 0 26px; font-size: 1rem; }
.fact dd .num { font-size: 1.0625rem; }

.dial__verified {
	grid-column: 1 / -1;
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin: 0; padding: 12px clamp(20px, 3vw, 32px);
	border-top: 1px solid var(--line); background: var(--surface);
	font-size: 0.875rem; color: var(--muted);
}
.dial__verified .icon { color: var(--green); }
.dial__report { margin-left: auto; font-weight: 600; }

.dial:not(:has(.dial__facts)) { grid-template-columns: minmax(0, 1fr); }
.dial:not(:has(.dial__facts)) .dial__main { border-right: 0; }
.dial:not(:has(.dial__main)) { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 760px) {
	.dial { grid-template-columns: minmax(0, 1fr); }
	.dial__main { border-right: 0; border-bottom: 1px solid #ecdca0; }
	.dial__actions .btn { flex: 1; }
	.dial__report { margin-left: 0; }
	.entry__head .mark--lg { width: 52px; height: 52px; font-size: 1rem; }
}

/* Układ treść + panel boczny ------------------------------------------- */

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: 48px; }
.layout--article { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 980px) { .layout, .layout--article { grid-template-columns: minmax(0, 1fr); } }
.layout__sticky { position: sticky; top: 96px; }
@media (max-width: 980px) { .layout__sticky { position: static; } .layout--article .layout__side { order: -1; } }

.side-block { margin-bottom: 32px; }
.side-block__title { margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 1rem; }
.side-block__more { display: inline-block; margin-top: 10px; font-size: 0.9375rem; font-weight: 600; }
.side-block--checker .checker__label { font-size: 0.875rem; margin-top: 8px; }
.side-block--checker .checker__result { background: var(--surface-2); }

/* Spis treści */
.toc { margin: 0 0 28px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.toc__title { margin: 0 0 8px; font-size: 0.9375rem; }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__list li { counter-increment: toc; display: grid; grid-template-columns: 1.6em 1fr; padding: 5px 0; font-size: 0.9375rem; line-height: 1.4; }
.toc__list li::before { content: counter(toc) "."; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc__list a { color: var(--ink-2); text-decoration: none; }
.toc__list a:hover, .toc__list a.is-active { color: var(--green); text-decoration: underline; }
.toc__list a.is-active { font-weight: 600; }
.layout--article .toc { background: transparent; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 4px 0 4px 18px; }
@media (max-width: 980px) { .layout--article .toc { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; background: var(--surface); } }

/* Treść (prose) ---------------------------------------------------------- */

.prose { max-width: 72ch; font-size: var(--step-0); line-height: 1.7; }
.prose--narrow { max-width: 760px; }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin: 1.9em 0 0.6em; font-size: var(--step-2); font-weight: 650; font-stretch: 94%; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: var(--step-1); }
.prose h4 { margin: 1.4em 0 0.4em; font-size: 1.0625rem; }
.prose h2 strong, .prose h3 strong { font-weight: inherit; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--muted); }
.prose a[href^="tel:"] {
	font-family: var(--font-num); font-weight: 500; white-space: nowrap;
	padding: 1px 5px; border-radius: 4px; background: var(--yellow-tint); color: var(--ink); text-decoration: none;
}
.prose a[href^="tel:"]:hover { background: var(--yellow); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); color: var(--ink-2); }
.prose img { border-radius: var(--radius-m); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; background: var(--surface-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-family: var(--font-num); font-size: 0.9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.prose .wp-block-button__link { background: var(--green); color: #fff; border-radius: var(--radius-s); text-decoration: none; }

.prose--article { font-size: 1.125rem; line-height: 1.72; }
.prose--article h2 { font-family: var(--font-serif); font-weight: 600; font-stretch: 100%; letter-spacing: 0; font-size: 1.75rem; }
.prose--article h3 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0; font-size: 1.375rem; }

.alignwide { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.wp-caption-text { font-size: 0.875rem; color: var(--muted); }

/* Artykuł poradnika ----------------------------------------------------- */

.article__head { max-width: 860px; padding: 26px 0 28px; }
.article__kicker { margin: 0 0 12px; font-weight: 600; font-size: 0.9375rem; }
.article__kicker a { color: var(--green); text-decoration: none; }
.article__title {
	margin: 0 0 16px;
	font-family: var(--font-serif); font-weight: 600;
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.08; letter-spacing: -0.012em;
}
.article__lead { margin: 0 0 18px; font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: 0.9375rem; color: var(--muted); }
.article__meta span:first-child { color: var(--ink); font-weight: 600; }
.article__cover { margin: 0 0 40px; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; }

/* Udostępnianie i nawigacja -------------------------------------------- */

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.share__label { font-weight: 600; font-size: 0.9375rem; }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.share__list a, .share__list button {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
	color: var(--ink-2); font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
.share__list a:hover, .share__list button:hover { border-color: var(--ink); color: var(--ink); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 8px; padding-bottom: 56px; }
.pager__link { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.pager__link span { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.pager__link:hover { border-color: var(--ink); color: var(--ink); }
.pager__link--next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .pager { grid-template-columns: minmax(0, 1fr); } .pager__link--next { grid-column: 1; } }

.section--related { padding-bottom: 48px; }

.pagination { margin: 8px 0 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* Indeks A–Ż ------------------------------------------------------------ */

.az__tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 14px; }
.az__filter { flex: 1 1 320px; max-width: 480px; height: 48px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); }
.az__filter:focus { outline: none; border-color: var(--ink); }
.az__count { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.letters--sticky { position: sticky; top: 69px; z-index: 5; padding: 10px 0; background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.admin-bar .letters--sticky { top: 101px; }
.az__group { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.az__letter { margin: 0; font-size: 2.5rem; font-weight: 700; font-stretch: 85%; line-height: 1; color: var(--ink); }
.az__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.az__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.az__list li > a:first-child { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; }
.az__list li > a:first-child:hover .az__name { color: var(--green); text-decoration: underline; }
.az__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.az__cat { font-size: 0.8125rem; color: var(--muted); }
.az__num { flex: none; font-size: 0.875rem; color: var(--ink-2); text-decoration: none; padding: 3px 7px; border-radius: 4px; background: var(--yellow-tint); }
.az__num:hover { background: var(--yellow); color: var(--ink); }
.az__empty { padding: 24px 0; }
@media (max-width: 560px) { .az__group { grid-template-columns: 1fr; gap: 6px; } .az__letter { font-size: 1.75rem; } }

/* Mapa serwisu ----------------------------------------------------------- */

.sitemap { columns: 3 300px; column-gap: 40px; padding-bottom: 56px; }
.sitemap__group { break-inside: avoid; margin-bottom: 28px; }
.sitemap__title { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.sitemap__title a { color: var(--ink); text-decoration: none; }
.sitemap__list { margin: 0; padding: 0; list-style: none; }
.sitemap__list li { padding: 4px 0; font-size: 0.9375rem; line-height: 1.4; }
.prose .sitemap { max-width: none; columns: 2 280px; }
.prose .sitemap__list { padding: 0; }
.prose .sitemap__title { margin: 0 0 8px; font-size: 1.125rem; }

/* Strona narzędzia ------------------------------------------------------- */

.tool-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); padding-bottom: 56px; }
@media (max-width: 940px) { .tool-page { grid-template-columns: minmax(0, 1fr); } }
.tool-page .checker { max-width: 760px; padding: clamp(20px, 3vw, 28px); background: var(--ink); border-radius: 14px; }
.tool-page .checker__label { color: #d5ded9; }
.tool-page .checker .btn--dark { background: var(--yellow); color: var(--ink); }
.tool-page .checker__note { color: #aab7b2; }
.tool-page__intro { margin-bottom: 24px; font-size: 1.125rem; color: var(--ink-2); }
.legend { margin: 0; }
.legend div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.legend dt { color: var(--ink); }
.legend dd { margin: 0; color: var(--ink-2); }
.sos--stack a { grid-template-columns: 6em 1fr; }

/* Kontakt i formularz --------------------------------------------------- */

.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 64px; align-items: start; }
@media (max-width: 900px) { .contact-page { grid-template-columns: minmax(0, 1fr); } }
.contact-page__form { padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; margin-top: 22px; }
.contact-page__form-title { font-size: var(--step-1); margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9375rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
	width: 100%; padding: 12px 14px;
	border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--green-tint); }
.report__hp { position: absolute; left: -9999px; }
.report__privacy { font-size: 0.8125rem; color: var(--muted); }
.notice { padding: 14px 16px; border-radius: var(--radius-s); margin-bottom: 18px; }
.notice--ok { background: var(--green-tint); border-left: 4px solid var(--green); }
.notice--error { background: var(--red-tint); border-left: 4px solid var(--red); }

/* 404 ------------------------------------------------------------------- */

.notfound { max-width: 720px; padding: 64px 0 88px; }
.notfound__code { margin: 0 0 8px; font-size: 4.5rem; line-height: 1; color: var(--line-strong); }
.notfound .finder { margin: 24px 0 18px; }

/* Komentarze ------------------------------------------------------------- */

.comments { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.comments__list { padding: 0; list-style: none; }
.comments .comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); }

/* Widżety ---------------------------------------------------------------- */

.widget { margin-bottom: 28px; }
.widget__title { font-size: 1rem; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }

/* Stopka ------------------------------------------------------------------ */

.site-footer { background: var(--ink); color: #b9c6c0; font-size: 0.9375rem; padding: clamp(40px, 6vw, 64px) 0 0; }
.site-footer a { color: #e3ebe7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 40px; }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }
.site-footer__about .wordmark { color: #fff; margin-bottom: 16px; }
.site-footer__about .wordmark__tld { color: #8fa29a; }
.site-footer__about .custom-logo { max-height: 44px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer__about p { line-height: 1.6; }
.site-footer__report { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--yellow) !important; }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .site-footer__col:first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .site-footer__cols { grid-template-columns: minmax(0, 1fr); } }
.site-footer__title { margin: 0 0 12px; color: #fff; font-size: 0.9375rem; font-weight: 600; }
.site-footer__title--spaced { margin-top: 28px; }
.site-footer__list, .site-footer .widget ul { margin: 0; padding: 0; list-style: none; }
.site-footer__list li, .site-footer .widget li { padding: 4px 0; line-height: 1.4; border: 0; }
.site-footer .widget { margin-bottom: 0; }
.site-footer .widget + .widget { margin-top: 28px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid #33413c; font-size: 0.8125rem; color: #91a19a; }
.site-footer__bottom p { margin: 0; }
.site-footer__credits a { color: #c9d4cf; }

/* Druk -------------------------------------------------------------------- */

@media print {
	.trendy, .site-header, .site-footer, .layout__side, .share, .pager, .dial__actions, .crumbs { display: none !important; }
	body { background: #fff; }
	.dial { border: 2px solid #000; }
}

/* Ograniczony ruch ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
