/* ==========================================================================
   Skup Aut Siemianowice Śląskie – fiolet (#4c1d95) i żółty (#facc15)
   Rubik (nagłówki) + Nunito Sans (tekst). Układ: jasny, minimalistyczny.
   ========================================================================== */

:root {
	--violet: #4c1d95;
	--violet-900: #2e1065;
	--violet-700: #5b21b6;
	--violet-600: #6d28d9;
	--violet-200: #ddd6fe;
	--violet-100: #ede9fe;
	--violet-50: #f7f5ff;
	--yellow: #facc15;
	--yellow-600: #eab308;
	--ink: #1c1233;
	--muted: #524a69;
	--line: #e4def5;
	--white: #fff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(46, 16, 101, .06), 0 8px 24px rgba(46, 16, 101, .08);
	--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;
	--header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	padding-bottom: 64px; /* miejsce na pasek „Zadzwoń” w widoku mobilnym */
	text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.2;
	color: var(--violet-900);
	margin: 0 0 .6em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--violet-600); text-underline-offset: 3px; }
a:hover { color: var(--violet-900); }

:focus-visible { outline: 3px solid var(--violet-600); outline-offset: 3px; border-radius: 4px; }

.sr-only {
	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 {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--yellow); color: var(--violet-900); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--yellow); color: var(--violet-900); }
.btn-primary:hover { background: var(--yellow-600); color: var(--violet-900); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--violet); border-color: var(--violet); }
.btn-ghost:hover { background: var(--violet); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: var(--white); color: var(--violet-900); }
.btn-lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn.is-loading { opacity: .7; cursor: progress; }
.btn:disabled { opacity: .7; cursor: not-allowed; }

.text-link { font-weight: 700; color: var(--violet-600); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); }
.text-link:hover { color: var(--violet-900); }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--violet-900); }
.brand-mark { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--violet); }
.brand-sub { font-size: .8rem; color: var(--muted); font-weight: 600; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--violet); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 12px 24px rgba(46, 16, 101, .1); }
.main-nav.is-open { display: block; }

.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.menu a { display: block; padding: 14px 4px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; flex: 1; }
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--violet-600); }
.menu .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--yellow); }
.sub-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--violet); cursor: pointer; border-radius: 10px; }
.sub-toggle svg { transition: transform .2s; }
.has-sub.is-open > .sub-toggle svg { transform: rotate(180deg); }
.menu .sub-menu { display: none; flex-basis: 100%; padding: 0 0 10px 12px; }
.menu .has-sub.is-open > .sub-menu { display: block; }
.menu .sub-menu a { padding: 9px 4px; font-weight: 400; font-family: var(--font-body); }
.nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 1020px) {
	.nav-toggle { display: none; }
	.main-nav { display: flex !important; position: static; align-items: center; gap: 12px; padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; background: transparent; }
	.menu { display: flex; align-items: center; gap: 2px; }
	.menu > li { border: 0; position: relative; flex-wrap: nowrap; }
	.menu a { padding: 10px 12px; flex: none; border-radius: 10px; }
	.menu a:hover { background: var(--violet-50); }
	.menu .current-menu-item > a { box-shadow: none; background: var(--violet-100); color: var(--violet-900); }
	.sub-toggle { width: 28px; height: 36px; margin-left: -10px; }
	.menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px; display: none;
		background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 10;
		grid-template-columns: 1fr 1fr; gap: 0 6px;
	}
	.menu .has-sub.is-open > .sub-menu, .menu .has-sub:hover > .sub-menu, .menu .has-sub:focus-within > .sub-menu { display: grid; min-width: 440px; }
	.menu .sub-menu a { padding: 8px 12px; font-size: .96rem; }
	.nav-cta { margin: 0 0 0 8px; width: auto; white-space: nowrap; padding: .65em 1.2em; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(circle at 85% 0%, var(--violet-100) 0, transparent 55%), linear-gradient(180deg, var(--violet-50), var(--white)); padding: 40px 0 72px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-600); margin: 0 0 .8em; }
.hero h1 { margin-bottom: .5em; }
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 600; font-size: .98rem; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--violet-600); background: var(--yellow); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.ticks-dark { flex-direction: column; margin-bottom: 1.4em; }

.hero-art { position: relative; margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.hero-art svg { width: 100%; display: block; }
.badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--violet-900); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); }
.badge .icon { color: var(--violet-600); }
.badge-a { top: 6%; left: 0; }
.badge-b { bottom: 4%; right: 0; }

@media (min-width: 900px) {
	.hero { padding: 64px 0 96px; }
	.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* ---------- Licznik ---------- */
.stats { margin-top: -44px; position: relative; z-index: 2; }
.stats-list { list-style: none; margin: 0; padding: 22px 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.stats-list li { text-align: center; padding: 0 8px; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 6vw, 3.1rem); line-height: 1; color: var(--violet); }
.stat-num small { font-size: .38em; font-weight: 600; color: var(--violet-600); margin-left: 6px; letter-spacing: .02em; }
.stat-label { display: block; margin-top: 8px; font-size: .92rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 800px) {
	.stats-list { grid-template-columns: repeat(4, 1fr); padding: 30px 18px; }
	.stats-list li + li { border-left: 1px solid var(--line); }
}

/* ---------- Sekcje ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--violet-50); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-lead { color: var(--muted); font-size: 1.1rem; }
.section-more { text-align: center; margin: 32px 0 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* Kroki */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.step-num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--violet-200); }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); color: var(--violet-900); margin-bottom: 16px; }
.step-icon .icon { width: 26px; height: 26px; }
.step-card h3 { margin-bottom: .4em; }
.step-card p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps-inline { margin: 28px 0; }
@media (min-width: 1020px) { .steps-inline { grid-template-columns: repeat(2, 1fr); } }

/* Karty */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--violet); color: var(--yellow); margin-bottom: 14px; }
.card-icon .icon { width: 24px; height: 24px; }
.card-meta { font-size: .85rem; color: var(--muted); margin-bottom: .6em !important; }
.card-post h3 a { color: var(--violet-900); text-decoration: none; }
.card-post h3 a:hover { color: var(--violet-600); text-decoration: underline; }
.card-post .text-link { display: inline-block; margin-top: .9em; }
.cards-posts { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Dwie kolumny */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-form { align-items: start; grid-template-columns: .85fr 1.15fr; } }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.benefits h3 { margin: 0 0 .15em; font-size: 1.08rem; }
.benefits p { margin: 0; color: var(--muted); font-size: .98rem; }
.benefit-icon { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: var(--violet-900); }

/* Formularz */
.section-form { background: linear-gradient(180deg, var(--violet-50), var(--violet-100)); }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .quote { padding: 32px; } }
.shortcode-form { margin: 28px 0; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--violet-900); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field input[type="file"], .search-form input[type="search"] {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--white);
	border: 1.5px solid #bfb4e0; border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .search-form input:focus { outline: 3px solid rgba(250, 204, 21, .75); outline-offset: 0; border-color: var(--violet); }
.field input[type="file"] { padding: 10px; background: var(--violet-50); }
.req { color: #b42318; }
.optional, .help { font-weight: 400; color: var(--muted); font-size: .88rem; }
.help { margin: 6px 0 0; }
.help-err { color: #b42318; font-weight: 700; }
.field-check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: .92rem; color: var(--muted); }
.field-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--violet); }
.form-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.form-alt { margin: 0; font-size: .95rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 20px; }
.notice:focus { outline: 3px solid var(--violet-600); outline-offset: 2px; }
.notice-title { font-size: 1.15rem; margin: 0 0 .4em; display: flex; align-items: center; gap: 8px; }
.notice p { margin: 0; }
.notice ul { margin: 0; padding-left: 1.2em; }
.notice-ok { background: #ecfdf3; border: 1px solid #86d9a6; color: #0b4a25; }
.notice-ok .notice-title { color: #0b4a25; }
.notice-ok a { color: #0b4a25; }
.notice-err { background: #fff1f0; border: 1px solid #f1a9a2; color: #7a1a12; }
.notice-err .notice-title { color: #7a1a12; }

/* Miejscowości */
.town-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.town-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--violet-900); font-family: var(--font-head); font-weight: 500; text-decoration: none; }
.town-grid a::after { content: "→"; color: var(--violet-600); transition: transform .15s; }
.town-grid a:hover { border-color: var(--violet); background: var(--violet-50); }
.town-grid a:hover::after { transform: translateX(3px); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 18px 20px; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--violet-900); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--violet-600); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item[open] { border-color: var(--violet-200); box-shadow: var(--shadow); }
.faq-answer { padding: 0 20px 6px; color: var(--muted); }

/* CTA */
.cta-band { background: var(--violet); color: var(--white); padding: 56px 0; background-image: radial-gradient(circle at 100% 0, rgba(250, 204, 21, .18), transparent 40%); }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #e0d8fa; }
.cta-inner { display: flex; flex-direction: column; gap: 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band-small { padding: 40px 0; }
@media (min-width: 900px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Podstrony ---------- */
.page-hero { background: linear-gradient(180deg, var(--violet-50), var(--white)); padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { margin-bottom: 0; }
.entry-meta { color: var(--muted); font-size: .95rem; margin: 0; }

.breadcrumbs { margin-bottom: 18px; font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--violet-600); }
.breadcrumbs a { color: var(--violet-600); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.facts { background: var(--violet); color: var(--white); }
.facts-list { list-style: none; margin: 0; padding: 16px 0; display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); font-size: .96rem; }
.facts-list li { display: flex; gap: 10px; align-items: flex-start; }
.facts-list .icon { color: var(--yellow); margin-top: 3px; }

.town-layout { display: grid; gap: 36px; }
@media (min-width: 960px) { .town-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .town-aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.aside-card { background: var(--violet-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.aside-card p { margin: 0; }
.aside-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--violet-900); }
.small { font-size: .92rem; color: var(--muted); }

.callout { background: var(--violet-50); border-left: 5px solid var(--yellow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-cta { margin-top: 2.4em; }
.callout-cta h2 { font-size: 1.35rem; }

.check-list, .mini-steps { padding-left: 0; list-style: none; }
.check-list li { position: relative; padding: 6px 0 6px 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e1065' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.mini-steps { counter-reset: ms; }
.mini-steps li { counter-increment: ms; position: relative; padding: 8px 0 8px 46px; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: var(--yellow); font-family: var(--font-head); font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* Treść wpisów i stron */
.entry-content { font-size: 1.08rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--violet-600); }
.entry-content a { font-weight: 600; }
.entry-content blockquote { margin: 1.6em 0; padding: 12px 22px; border-left: 5px solid var(--yellow); background: var(--violet-50); border-radius: 0 12px 12px 0; }
.entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 1.4em; font-size: .98rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--violet-50); font-family: var(--font-head); }
.contact-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.6em 0; padding: 0; list-style: none; }
.contact-cards li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--violet-50); margin: 0; }
.contact-cards .icon { color: var(--violet-600); width: 28px; height: 28px; }
.contact-cards strong { display: block; font-family: var(--font-head); color: var(--violet-900); margin: 6px 0 2px; }

.search-form { display: flex; gap: 10px; margin-bottom: 28px; }
.search-form input[type="search"] { flex: 1; }
.search-results { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.search-results h2 { font-size: 1.3rem; margin-bottom: .2em; }

.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--violet-900); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--violet); border-color: var(--violet); color: var(--white); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--violet-900); color: #d9d0f3; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1.1fr; } }
.footer-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--yellow); margin: 0 0 14px; }
.site-footer a { color: #ece7fb; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-menu, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 0 0 8px; }
.footer-towns { columns: 2; column-gap: 20px; }
.footer-towns li { break-inside: avoid; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { color: var(--yellow); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }
@media (min-width: 700px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }

/* Pasek „Zadzwoń” (telefon) */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; background: var(--yellow); color: var(--violet-900); text-decoration: none; font-family: var(--font-head); font-weight: 500; box-shadow: 0 -6px 18px rgba(46, 16, 101, .18); }
.call-bar:hover { background: var(--yellow-600); color: var(--violet-900); }
.call-bar strong { font-weight: 700; }
@media (min-width: 900px) { .call-bar { display: none; } body { padding-bottom: 0; } }

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

@media print {
	.site-header, .call-bar, .site-footer, .quote { display: none; }
}
