/* ==========================================================
   Skup Aut Tychy – czerń i czerwień
   Space Grotesk (nagłówki) + Inter (treść)
   ========================================================== */

:root {
	--black: #111111;
	--black-2: #1a1a1a;
	--black-3: #242424;
	--red: #e63946;
	--red-dark: #c1121f;      /* czerwień do tekstu na jasnym tle (kontrast 6:1) */
	--paper: #f5f3ef;
	--paper-2: #ebe8e2;
	--white: #ffffff;
	--text: #1c1c1c;
	--muted: #5a5a5a;
	--muted-light: #b9b9b9;
	--line: #d9d5cd;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
	--font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	padding-bottom: 64px; /* miejsce na pasek „Zadzwoń” na telefonie */
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--black); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }
.section--dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .page-head :focus-visible, .cta-band :focus-visible { outline-color: #ffffff; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--red); color: var(--black);
	padding: 10px 16px; font-weight: 700; border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { top: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .6em; color: var(--black); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1.1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1;
	padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
	min-height: 48px;
}
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--black); border-color: var(--red); }
.btn--red:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--black); border-color: var(--black); margin-top: .7rem; }
.btn--ghost-dark:hover { background: var(--black); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--red); border-color: var(--red); color: var(--black); }
.btn--lg { font-size: 1.1rem; padding: 1.05em 1.8em; }
.btn--block { display: flex; width: 100%; }
.btn--nav { padding: .7em 1.2em; min-height: 44px; }

/* ---------- Nagłówek ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white);
	border-bottom: 3px solid var(--red);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--white); text-decoration: none; }
.logo:hover { color: var(--white); }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; line-height: 1; }
.logo__text b { color: var(--red); font-weight: 700; }
.logo-mark { flex: none; display: block; }
.custom-logo { max-height: 44px; width: auto; }

.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	background: transparent; border: 2px solid rgba(255, 255, 255, .35); border-radius: var(--radius-sm); cursor: pointer; color: var(--white);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; 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: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.primary-nav {
	display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black);
	padding: .5rem 1.25rem 1.5rem; border-bottom: 3px solid var(--red); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; }
.primary-nav a { color: var(--white); text-decoration: none; display: block; padding: .95rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a { color: var(--red); }
.primary-nav .btn { margin-top: 1rem; display: flex; color: var(--black); }
.primary-nav .btn:hover { color: var(--black); }

.primary-nav .sub-menu { display: none; padding: 0 0 .6rem 1rem; }
.primary-nav .sub-menu.is-open { display: block; }
.primary-nav .sub-menu a { font-size: .98rem; font-weight: 500; padding: .5rem 0; color: #dcdcdc; }
.submenu-toggle {
	position: absolute; right: 0; top: .4rem; width: 44px; height: 44px; background: transparent; border: 0; color: var(--white); cursor: pointer;
}
.submenu-toggle::after { content: ""; display: block; width: 9px; height: 9px; margin: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.submenu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }

@media (min-width: 1020px) {
	.nav-toggle, .submenu-toggle { display: none; }
	.primary-nav { display: flex; position: static; align-items: center; gap: 1.2rem; padding: 0; border: 0; background: transparent; max-height: none; overflow: visible; }
	.primary-nav .menu { display: flex; gap: .2rem; align-items: center; }
	.primary-nav .menu > li { border: 0; }
	.primary-nav a { padding: .6rem .8rem; font-size: .98rem; border-radius: 6px; }
	.primary-nav .btn { margin: 0; display: inline-flex; padding: .7em 1.2em; }
	.primary-nav .sub-menu {
		display: none; position: absolute; left: 0; top: 100%; min-width: 250px; padding: .5rem; background: var(--black-2);
		border-top: 3px solid var(--red); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow);
		columns: 2; column-gap: .5rem;
	}
	.primary-nav .menu-item-has-children:hover > .sub-menu,
	.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
	.primary-nav .sub-menu a { padding: .45rem .7rem; white-space: nowrap; }
	.primary-nav .sub-menu li { break-inside: avoid; }
}
@media (min-width: 1020px) and (max-width: 1160px) {
	.primary-nav a { padding-inline: .55rem; font-size: .92rem; }
	.btn--nav span { display: none; }
	.btn--nav { padding: .7em; }
}

/* ---------- Hero (pełny ekran, ciemny) ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden; color: var(--white);
	min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
	display: flex; align-items: center;
	background:
		radial-gradient(1100px 600px at 85% 90%, rgba(230, 57, 70, .28), transparent 60%),
		radial-gradient(800px 500px at 0% 0%, rgba(255, 255, 255, .05), transparent 60%),
		linear-gradient(160deg, #0b0b0b 0%, #151515 55%, #1c0b0e 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%); mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
}
.hero::after {
	content: ""; position: absolute; left: -12%; top: -20%; width: 34%; height: 150%; z-index: -1;
	background: var(--red); opacity: .1; transform: skewX(-18deg);
}
.hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art { position: absolute; right: -14%; bottom: 0; width: max(78%, 560px); height: auto; }
.hero__inner { position: relative; padding-block: 2.2rem 15rem; }
.eyebrow { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; }
.eyebrow--dark { color: var(--red-dark); }
.hero h1 { color: var(--white); font-size: clamp(1.9rem, 5.2vw, 3.6rem); max-width: 16ch; margin-bottom: 1.2rem; }
.hero h1 span { display: block; color: var(--muted-light); font-weight: 500; font-size: .62em; margin-top: .35em; letter-spacing: 0; }

.hero__phone { display: block; text-decoration: none; color: var(--white); margin: .4rem 0 .9rem; width: fit-content; }
.hero__phone:hover { color: var(--white); }
.hero__phone-label { display: block; font-size: .95rem; font-weight: 500; color: var(--muted-light); margin-bottom: .1rem; }
.hero__phone-num {
	display: block; font-family: var(--font-head); font-weight: 700; line-height: .95; letter-spacing: -.03em;
	font-size: clamp(3rem, 15.5vw, 9rem); white-space: nowrap;
}
.hero__phone-num .ph-a { color: var(--red); }
.hero__phone:hover .hero__phone-num .ph-b { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .06em; text-underline-offset: .1em; }
.hero__hours { display: flex; align-items: center; gap: .5rem; color: #e4e4e4; margin: 0 0 1.6rem; font-weight: 500; }
.hero__hours .icon { width: 1.15em; height: 1.15em; color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #dcdcdc; font-size: .95rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__badges .icon { width: 1.1em; height: 1.1em; color: var(--red); }

@media (min-width: 720px) {
	.hero__inner { padding-block: 3rem 8rem; }
	.hero-art { right: -4%; width: min(62%, 980px); }
}
@media (min-width: 1100px) {
	.hero-art { right: 0; width: min(58%, 1040px); }
	.hero h1 { max-width: 18ch; }
}

/* ---------- Pasek faktów ---------- */
.facts { background: var(--red); color: var(--black); }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.facts__list li { padding: 1.3rem 1rem; display: flex; flex-direction: column; border-bottom: 2px solid rgba(17, 17, 17, .18); }
.facts__list li:nth-child(odd) { border-right: 2px solid rgba(17, 17, 17, .18); padding-left: 0; }
.facts__list strong { font-family: var(--font-head); font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.05; font-weight: 700; }
.facts__list span { font-size: .95rem; font-weight: 500; }
@media (min-width: 860px) {
	.facts__list { grid-template-columns: repeat(4, 1fr); }
	.facts__list li { border-bottom: 0; border-right: 2px solid rgba(17, 17, 17, .18); padding: 1.6rem 1.5rem; }
	.facts__list li:last-child { border-right: 0; }
	.facts__list li:nth-child(odd) { padding-left: 1.5rem; }
	.facts__list li:first-child { padding-left: 0; }
}

/* ---------- Sekcje ---------- */
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--black); color: #e9e9e9; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.section-head--light p:last-child { color: var(--muted-light); }

/* Karty */
.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.card {
	position: relative; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--red);
	border-radius: var(--radius-sm); padding: 1.5rem 1.4rem 1.3rem; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--black); color: var(--red); border-radius: 10px; margin-bottom: 1rem; }
.card__icon .icon { width: 26px; height: 26px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Kroki */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; counter-reset: none; }
.steps li { position: relative; padding: 1.4rem 0 0; border-top: 3px solid var(--red); }
.steps__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(3.2rem, 9vw, 4.8rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: .5rem; }
.steps h3 { color: var(--white); }
.steps p { color: var(--muted-light); margin: 0; }
.steps__more { margin: 2.2rem 0 0; }
.link-arrow { font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin-left .15s ease; }
.link-arrow:hover::after { margin-left: .25em; }
.section--dark .link-arrow { color: var(--red); }
.section--dark .link-arrow:hover { color: var(--white); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.6rem; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps--three { grid-template-columns: repeat(3, 1fr); } }

/* Formularz */
.section--form { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.form-layout { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 5fr 6fr; gap: 4rem; } .form-layout__text { position: sticky; top: calc(var(--header-h) + 24px); } }
.tick-list { list-style: none; margin: 1.4rem 0; padding: 0; }
.tick-list li { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; font-weight: 500; }
.tick-list .icon { flex: none; width: 1.4em; height: 1.4em; padding: .2em; background: var(--black); color: var(--red); border-radius: 50%; stroke-width: 3; }
.form-layout__call { margin-top: 1.6rem; color: var(--muted); }
.big-tel { font-family: var(--font-head); font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 700; color: var(--black); text-decoration: none; letter-spacing: -.02em; }
.big-tel:hover { color: var(--red-dark); }

.quote-card {
	background: var(--black); color: #ececec; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem);
	border-top: 6px solid var(--red); box-shadow: var(--shadow);
}
.quote-card a { color: var(--red); }
.quote-card a:hover { color: var(--white); }
.quote-card__title { color: var(--white); font-size: clamp(1.3rem, 3vw, 1.7rem); }
.quote-card__lead { color: var(--muted-light); }
.quote-form { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field--wide { grid-column: auto; } }
@media (min-width: 520px) { .field-row:has(.field--narrow) { grid-template-columns: 1fr 110px; } }
.quote-form label { font-weight: 600; font-size: .95rem; color: var(--white); }
.quote-form .opt { font-weight: 400; color: var(--muted-light); }
.req { color: var(--red); }
.quote-form input[type="text"], .quote-form input[type="tel"], .quote-form input[type="email"], .quote-form textarea, .quote-form input[type="file"], .search-form input[type="search"] {
	width: 100%; font: inherit; color: var(--black); background: var(--white); border: 2px solid transparent; border-radius: var(--radius-sm); padding: .8rem .9rem; min-height: 48px;
}
.quote-form input[type="file"] { padding: .6rem; font-size: .95rem; color: var(--text); }
.quote-form textarea { resize: vertical; min-height: 110px; }
.quote-form input:focus, .quote-form textarea:focus { outline: 3px solid var(--red); outline-offset: 0; border-color: var(--red); }
.quote-form input:user-invalid, .quote-form textarea:user-invalid { border-color: var(--red); }
.field-hint { font-size: .88rem; color: var(--muted-light); margin: 0; }
.field-hint--error { color: #ffb4ba; font-weight: 600; }
.field--check { flex-direction: row; align-items: flex-start; gap: .75rem; }
.field--check input { flex: none; width: 24px; height: 24px; margin-top: .15rem; accent-color: var(--red); }
.field--check label { font-weight: 400; font-size: .9rem; color: #d9d9d9; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: rgba(230, 57, 70, .15); border: 2px solid var(--red); color: #ffd6d9; padding: .9rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 500; }
.quote-thanks { text-align: center; padding: 1rem 0; }
.quote-thanks h3 { color: var(--white); font-size: 1.8rem; }
.quote-thanks__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: var(--red); color: var(--black); border-radius: 50%; margin-bottom: 1rem; }
.quote-thanks__icon .icon { width: 34px; height: 34px; stroke-width: 3; }

/* Obszar działania */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
.area-grid a {
	display: flex; flex-direction: column; height: 100%; padding: 1rem 1.1rem; background: var(--black); color: var(--white); text-decoration: none;
	border-radius: var(--radius-sm); border-bottom: 4px solid var(--red); transition: transform .15s ease, background .15s ease;
}
.area-grid a:hover { background: var(--red); color: var(--black); transform: translateY(-3px); }
.area-grid__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.area-grid__dist { font-size: .85rem; color: var(--muted-light); margin-top: .25rem; }
.area-grid a:hover .area-grid__dist { color: var(--black); }
@media (min-width: 720px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-note { margin-top: 1.6rem; color: var(--muted); }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.area-list a { display: inline-block; padding: .5rem .95rem; border: 2px solid var(--black); border-radius: 999px; color: var(--black); text-decoration: none; font-weight: 600; font-size: .95rem; }
.area-list a:hover { background: var(--black); color: var(--white); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; }
.faq summary {
	cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.2rem; position: relative;
	font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--red-dark); font-weight: 700; line-height: 1; }
.faq details[open] { border-left: 5px solid var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.2rem; margin: 0; color: var(--muted); }

/* Wpisy */
.post-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } .post-grid--stack { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--red); background: linear-gradient(135deg, #111 0%, #2a0f12 100%); }
.post-card__ph svg { width: 40%; height: auto; }
.post-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__body p { color: var(--muted); font-size: .98rem; }
.post-card__body .link-arrow { margin-top: auto; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.post-card__title { margin-bottom: .5em; }
.post-card__title a { color: var(--black); text-decoration: none; }
.post-card__title a:hover { color: var(--red-dark); }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pagination .page-numbers { padding: .6rem 1rem; border: 2px solid var(--black); border-radius: 999px; text-decoration: none; color: var(--black); font-weight: 600; min-width: 44px; text-align: center; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--black); color: var(--white); }

/* CTA */
.cta-band { background: var(--red); color: var(--black); padding-block: 2.8rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.cta-band h2 { color: var(--black); margin-bottom: .3em; }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band__tel {
	font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 9vw, 4.4rem); letter-spacing: -.03em; line-height: 1;
	color: var(--white); background: var(--black); text-decoration: none; padding: .35em .6em; border-radius: var(--radius-sm); white-space: nowrap;
}
.cta-band__tel:hover { background: var(--white); color: var(--black); }
@media (min-width: 860px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Podstrony ---------- */
.page-head {
	position: relative; overflow: hidden; background: linear-gradient(160deg, #0b0b0b 0%, #1a1a1a 60%, #240d10 100%); color: var(--white);
	padding-block: 2rem 2.6rem; border-bottom: 4px solid var(--red);
}
.page-head::after { content: ""; position: absolute; right: -6%; top: -40%; width: 22%; height: 200%; background: var(--red); opacity: .1; transform: skewX(-18deg); pointer-events: none; }
.page-head h1 { color: var(--white); margin-bottom: .3em; max-width: 20ch; }
.page-head--post h1 { max-width: 26ch; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.page-head__lead { color: #d4d4d4; font-size: 1.15rem; max-width: 60ch; margin: 0; }
.post-meta { color: var(--muted-light); margin: 0; font-size: .95rem; }
.breadcrumbs { margin-bottom: 1.2rem; font-size: .9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--muted-light); }
.breadcrumbs a { color: #e4e4e4; text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--muted-light); }

/* Treść edytora */
.entry-content { font-size: 1.0625rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 2.2em; padding-top: .2em; position: relative; }
.entry-content h2::before { content: ""; display: block; width: 56px; height: 5px; background: var(--red); margin-bottom: .55em; border-radius: 3px; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--red-dark); font-weight: 700; }
.entry-content blockquote { margin: 1.6em 0; padding: 1rem 1.3rem; border-left: 5px solid var(--red); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; font-size: .98rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.entry-content th { background: var(--black); color: var(--white); }
.entry-content .note { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--red); padding: 1rem 1.2rem; border-radius: var(--radius-sm); }
.entry-content .lead, .lead { font-size: 1.22rem; line-height: 1.55; font-weight: 500; color: var(--black); border-left: 5px solid var(--red); padding-left: 1.1rem; margin-bottom: 1.6em; }
.entry-content .quote-card { margin: 1.5rem 0 2rem; }
.entry-content .quote-card h3 { margin-top: 0; }
.entry-content .area-list { padding: 0; }
.entry-content .area-list li { margin: 0; }
.entry-content--intro { margin-bottom: 2rem; max-width: 760px; }
.entry-thumb { margin: 0 0 2rem; }
.entry-thumb img { border-radius: var(--radius-sm); width: 100%; }
.tel-link { font-weight: 700; white-space: nowrap; }
.entry-cta { margin-top: 3rem; padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--black); color: #e6e6e6; border-radius: var(--radius); border-top: 6px solid var(--red); }
.entry-cta h2 { color: var(--white); font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.entry-cta p { color: #cfcfcf; }
.entry-cta p:last-child { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.related { margin-top: 3.5rem; }
.link-list { padding-left: 1.2rem; }

/* Strona miejscowości */
.city-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .city-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; } .city-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.city-aside { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: var(--radius-sm); padding: 1.4rem; }
.city-aside__title { font-size: 1.25rem; }
.facts-dl { margin: 0 0 1.3rem; }
.facts-dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; font-weight: 600; text-align: right; }

/* Wyszukiwarka */
.search-form { display: flex; gap: .6rem; margin: 1.4rem 0 2rem; }
.search-form input[type="search"] { border-color: var(--line); flex: 1; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.3rem; margin-bottom: .3em; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--black); color: #cfcfcf; border-top: 4px solid var(--red); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 1.1fr 1.3fr .8fr; gap: 2.5rem; } }
.site-footer a { color: #e9e9e9; text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.footer-title { color: var(--white); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-col--brand p { margin-top: 1rem; font-size: .96rem; color: #b9b9b9; }
.footer-contact, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .7rem; }
.footer-contact .icon { flex: none; width: 1.2em; height: 1.2em; margin-top: .3em; color: var(--red); }
.footer-links li { margin-bottom: .4rem; }
.footer-links--cols { columns: 2; column-gap: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #a9a9a9; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-block: 1.1rem; }
.footer-bottom p { margin: 0; }

/* Pasek „Zadzwoń” (telefon) */
.callbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: center; gap: .6rem;
	background: var(--red); color: var(--black); text-decoration: none; min-height: 56px; font-family: var(--font-head); font-weight: 600;
	font-size: 1.05rem; box-shadow: 0 -6px 20px rgba(0, 0, 0, .3); padding-bottom: env(safe-area-inset-bottom);
}
.callbar:hover { color: var(--black); background: #ff5562; }
.callbar .icon { width: 1.3em; height: 1.3em; }
.callbar strong { font-weight: 700; }
@media (min-width: 860px) { .callbar { display: none; } body { padding-bottom: 0; } }

@media print { .site-header, .callbar, .quote-card, .hero__art { display: none; } }
