/* ==========================================================================
   Skup Aut Piła – bordo i kremowy
   Czcionki: Archivo (treść) + Archivo Narrow (nagłówki, nawigacja)
   ========================================================================== */

:root {
	--bordo: #5b1a2a;
	--bordo-900: #3a0f1b;
	--bordo-800: #4a1423;
	--bordo-600: #7a2a40;
	--cream: #f4e9d8;
	--cream-50: #fbf6ec;
	--cream-200: #ecdfc6;
	--cream-300: #dcc9a6;
	--amber: #e0a84a;
	--amber-700: #b9791c;
	--ink: #2a0e16;
	--muted: #6a4a52;
	--ok: #1f6b3a;
	--err: #9b1c2e;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 0 rgba(58, 15, 27, .06), 0 10px 30px -12px rgba(58, 15, 27, .25);
	--font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Archivo Narrow", "Archivo", system-ui, sans-serif;
	--wrap: 1180px;
	--header-h: 68px;
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream-50);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

a { color: var(--bordo); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--bordo-600); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.005em;
	margin: 0 0 .6em;
	color: var(--bordo);
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .tile-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .site-header :focus-visible { outline-color: var(--amber); }
main :focus-visible { outline-color: var(--bordo); }
.hero :focus-visible, main .tile-dark :focus-visible, .cta-band :focus-visible, .page-hero-city :focus-visible { outline-color: var(--amber); }

.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; padding: .7rem 1rem; border-radius: var(--radius-sm);
	background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 820px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.2rem; }
.btn-primary { background: var(--bordo); color: var(--cream); }
.btn-primary:hover { background: var(--bordo-900); color: var(--cream); }
.btn-accent { background: var(--amber); color: var(--ink); box-shadow: 0 6px 0 -2px var(--amber-700); }
.btn-accent:hover { background: #ecb85e; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244, 233, 216, .65); }
.btn-ghost:hover { background: var(--cream); color: var(--bordo); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--bordo); border-color: var(--bordo); }
.btn-outline:hover { background: var(--bordo); color: var(--cream); }
.btn-dark { background: var(--bordo-900); color: var(--cream); }
.btn-dark:hover { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.link-arrow:hover { border-bottom-color: var(--bordo); }

/* ---------- Pasek górny ---------- */
.topbar { background: var(--bordo-900); color: var(--cream); font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .4rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .4rem; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-mail { display: none !important; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream-50); border-bottom: 1px solid var(--cream-300); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(58, 15, 27, .55); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); position: relative; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--bordo); }
.brand-mark { flex: none; border-radius: 12px; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.brand-city { color: var(--amber-700); }

.nav-toggle {
	display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px;
	background: var(--bordo); color: var(--cream); border: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }

.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream-50); border-bottom: 1px solid var(--cream-300); padding: .5rem 0 1.25rem; box-shadow: 0 20px 30px -20px rgba(58, 15, 27, .5); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.primary-nav.is-open { display: block; }
html:not(.js) .primary-nav { display: block; position: static; box-shadow: none; }
html:not(.js) .nav-toggle { display: none; }
.primary-nav .menu, .primary-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { border-bottom: 1px solid var(--cream-200); position: relative; }
.primary-nav a { display: block; padding: .85rem 1.25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--bordo); text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--amber-700); }
.primary-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.primary-nav .menu-item-has-children > a { flex: 1; }
.submenu-toggle { background: none; border: 0; color: var(--bordo); padding: .85rem 1.25rem; cursor: pointer; }
.submenu-toggle svg { transition: transform .2s; }
.is-open > .submenu-toggle svg { transform: rotate(180deg); }
.primary-nav .sub-menu { display: none; flex-basis: 100%; background: var(--cream); padding: .25rem 0; columns: 2; }
.primary-nav .is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a { font-family: var(--font-body); font-weight: 500; font-size: 1rem; padding: .45rem 1.5rem; break-inside: avoid; }
.nav-cta { margin: 1rem 1.25rem 0; }
.nav-cta:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #7a2a40 0%, transparent 60%), linear-gradient(160deg, var(--bordo) 0%, var(--bordo-900) 100%); color: var(--cream); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28px; background: var(--cream-50); clip-path: ellipse(60% 100% at 50% 100%); }
.hero-grid { display: grid; gap: 1.5rem; padding-block: 2.5rem 4rem; align-items: center; }
.hero h1 { color: var(--cream); margin-bottom: .5em; }
.hero-lead { font-size: 1.15rem; max-width: 40rem; color: #f0e2cc; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-700); margin: 0 0 .6rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.hero-facts { list-style: none; margin: 1.75rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(244, 233, 216, .25); display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: .98rem; color: #e8d8bd; }
.hero-facts strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--amber); margin-right: .25rem; }
.hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
.hero-car { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }

/* ---------- Sekcje ---------- */
.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-bento { background: var(--cream-50); }
.section-opinions { background: var(--cream); }
.section-steps { background: var(--cream-50); }
.section-cars { background: var(--cream); }
.section-area { background: var(--cream-50); }
.section-faq { background: var(--cream); }
.section-blog { background: var(--cream-50); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.tile {
	position: relative; border-radius: var(--radius); padding: 1.5rem; margin: 0; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-start;
	box-shadow: var(--shadow); transition: transform .2s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile h3 { margin-bottom: .4em; }
.tile p:last-child { margin-bottom: 0; }
.tile-dark { background: linear-gradient(155deg, var(--bordo) 0%, var(--bordo-900) 100%); color: var(--cream); }
.tile-dark h3, .tile-dark .tile-title { color: var(--cream); }
.tile-cream { background: var(--cream-200); color: var(--ink); }
.tile-light { background: #fff; color: var(--ink); border: 1px solid var(--cream-300); }
.tile-accent { background: var(--amber); color: var(--ink); }
.tile-accent h3 { color: var(--bordo-900); }
.tile-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--bordo); color: var(--cream); margin-bottom: 1rem; }
.tile-icon .icon { width: 28px; height: 28px; }
.tile-dark .tile-icon { background: var(--amber); color: var(--bordo-900); }
.tile-accent .tile-icon { background: var(--bordo-900); color: var(--amber); }
.tile-big { justify-content: flex-end; min-height: 300px; background: linear-gradient(155deg, var(--bordo) 0%, var(--bordo-900) 100%); color: var(--cream); }
.tile-big h3 { color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.tile-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 10rem); line-height: .8; margin: 0 0 1rem; color: var(--amber); letter-spacing: -.04em; }
.tile-number span { font-size: .28em; margin-left: .15em; letter-spacing: 0; text-transform: uppercase; color: var(--cream); }
.tile-cta { justify-content: space-between; align-items: flex-start; gap: .75rem; }
.tile-small { font-size: .9rem; opacity: .9; margin-top: .8rem; }
.tile-title { font-size: 1.5rem; margin-bottom: .5em; }

.tile-quote blockquote { margin: 0; }
.tile-quote blockquote p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.2; margin-bottom: 1rem; }
.tile-dark.tile-quote blockquote p { color: var(--cream); }
.tile-quote figcaption { font-size: .98rem; line-height: 1.55; margin-top: auto; }
.tile-quote figcaption span { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; display: block; margin-bottom: .2rem; color: var(--amber-700); }
.tile-dark.tile-quote figcaption span { color: var(--amber); }
.quote-label { display: inline-block; align-self: flex-start; font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; padding: .15rem .7rem; border-radius: 999px; background: rgba(224, 168, 74, .25); color: var(--bordo); margin-bottom: 1rem; }
.tile-dark .quote-label { background: var(--amber); color: var(--bordo-900); }
.tile-quote:not(.tile-dark) .quote-label { background: var(--bordo); color: var(--cream); }

@media (min-width: 640px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.tile-big, .tile-wide, .tile-wide2 { grid-column: span 2; }
	.tile-third:last-child { grid-column: span 2; }
}
@media (min-width: 1000px) {
	.bento { grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
	.tile { grid-column: span 3; padding: 1.75rem; }
	.tile-big { grid-column: span 6; grid-row: span 2; min-height: 0; }
	.tile-wide { grid-column: span 6; }
	.tile-third, .tile-third:last-child { grid-column: span 4; }
	.tile-wide2 { grid-column: span 6; grid-row: span 2; justify-content: space-between; }
	.bento-quotes .tile:nth-child(2) { grid-column: span 6; }
	.bento-quotes.is-opinions .tile:nth-child(n+2) { grid-column: span 6; }
}

/* ---------- Kroki ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 5rem; position: relative; }
.step-num { position: absolute; left: 1.2rem; top: 1.1rem; width: 52px; height: 52px; border-radius: 50%; background: var(--bordo); color: var(--amber); font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; display: grid; place-items: center; }
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
	.steps { grid-template-columns: repeat(4, 1fr); position: relative; }
	.step { padding: 5.2rem 1.4rem 1.4rem; }
	.step-num { left: 1.4rem; top: 1.3rem; }
}

/* ---------- Auta / chipsy ---------- */
.cars-grid { display: grid; gap: 2rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li, .chips a { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--cream-300); font-weight: 600; font-size: .98rem; color: var(--bordo); text-decoration: none; }
.chips a:hover { background: var(--bordo); color: var(--cream); border-color: var(--bordo); }
.chips li:has(a) { padding: 0; background: none; border: 0; }
.chips-alt li { background: var(--bordo); color: var(--cream); border-color: var(--bordo); font-weight: 500; }
.chip-more { background: transparent !important; border-style: dashed !important; }
.chips-wrap h3 { font-size: 1.3rem; margin-top: .5em; }
@media (min-width: 900px) { .cars-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }

/* ---------- Miejscowości ---------- */
.city-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; grid-template-columns: 1fr; }
.city-card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n a" "m a"; align-items: center; gap: 0 .75rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--cream-300); text-decoration: none; color: var(--bordo); transition: background-color .15s, transform .15s, color .15s; }
.city-card:hover { background: var(--bordo); color: var(--cream); transform: translateY(-2px); }
.city-name { grid-area: n; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.city-meta { grid-area: m; font-size: .9rem; opacity: .75; }
.city-card .icon { grid-area: a; color: var(--amber-700); }
.city-card:hover .icon { color: var(--amber); }
@media (min-width: 560px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Formularz ---------- */
.quote { background: linear-gradient(160deg, var(--bordo) 0%, var(--bordo-900) 100%); color: var(--cream); }
.quote h2 { color: var(--cream); }
.quote .eyebrow { color: var(--amber); }
.quote-grid { display: grid; gap: 2rem; align-items: start; }
.quote-intro .check-list { margin: 1.25rem 0; }
.quote-call { padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: rgba(244, 233, 216, .1); }
.quote-call a { color: var(--amber); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.quote-call span { opacity: .85; font-size: .92rem; }
.quote-card { background: var(--cream-50); color: var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--amber); margin-top: .2em; }
.tile-cream .check-list .icon, .quote-card .check-list .icon { color: var(--bordo); }
.form-row { display: grid; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; font-size: .98rem; color: var(--bordo); }
.req { color: var(--err); font-weight: 800; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="search"], .field textarea, .field input[type="file"], .search-form input[type="search"] {
	width: 100%; padding: .75rem .9rem; border-radius: var(--radius-sm); border: 2px solid var(--cream-300); background: #fff; color: var(--ink); font: inherit; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .search-form input:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--bordo); }
.field input[type="file"] { padding: .55rem; cursor: pointer; }
.field input:user-invalid { border-color: var(--err); }
.field-check { flex-direction: row; gap: .7rem; align-items: flex-start; }
.field-check input { width: 22px; height: 22px; margin-top: .2rem; flex: none; accent-color: var(--bordo); }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--ink); }
.field-error { color: var(--err); font-weight: 700; margin: 0; font-size: .92rem; }
.field-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form .btn { width: 100%; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }
.notice { border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin-bottom: 1rem; border-left: 6px solid; }
.notice h3 { margin-bottom: .3em; }
.notice p { margin: 0; }
.notice-ok { background: #e4f1e7; border-color: var(--ok); color: #123d22; }
.notice-ok h3 { color: var(--ok); }
.notice-err { background: #f9e3e5; border-color: var(--err); color: #5c0f1a; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .quote-grid { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; } .quote-card { padding: 2.25rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--bordo); position: relative; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bordo); color: var(--cream); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; background: var(--amber); color: var(--bordo-900); }
.faq-item p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--ink); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
.post-card { background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-card-art { display: block; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--bordo) 0%, var(--bordo-600) 100%); position: relative; overflow: hidden; }
.post-card-art img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--amber); }
.post-card-ph .icon { width: 56px; height: 56px; opacity: .9; }
.post-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body p { color: var(--muted); }
.post-card-body .link-arrow { margin-top: auto; align-self: flex-start; }
.post-card-title { font-size: 1.45rem; margin-bottom: .4em; }
.post-card-title a { color: var(--bordo); text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.navigation.pagination { margin: 2rem 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--bordo); color: var(--bordo); font-weight: 700; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--bordo); color: var(--cream); }

/* ---------- Podstrony ---------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--cream-300); padding-block: 1.5rem 2.25rem; }
.page-hero h1 { margin-bottom: .35em; }
.page-lead { font-size: 1.15rem; max-width: 46rem; color: var(--muted); }
.page-lead p:last-child { margin-bottom: 0; }
.page-hero-city { background: linear-gradient(160deg, var(--bordo) 0%, var(--bordo-900) 100%); color: var(--cream); border: 0; padding-bottom: 2.75rem; }
.page-hero-city h1 { color: var(--cream); }
.page-hero-city .page-lead { color: #f0e2cc; }
.page-hero-city .breadcrumbs, .page-hero-city .breadcrumbs a { color: #e8d8bd; }
.page-hero-city .breadcrumbs li + li::before { color: var(--amber); }

.breadcrumbs { font-size: .92rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .4rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--amber-700); font-weight: 700; }
.breadcrumbs a { color: var(--bordo); }

.prose { font-size: 1.1rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--amber-700); font-weight: 700; }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--cream-300); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--cream-200); color: var(--bordo); }
.prose blockquote { margin: 1.5em 0; padding: .5rem 1.25rem; border-left: 5px solid var(--amber); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.page-hero .prose { font-size: inherit; }
.inline-phone { font-weight: 800; white-space: nowrap; }

.callout { background: var(--cream); border-left: 6px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.1rem 1.4rem; margin: 1.8rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bordo); margin-bottom: .3rem !important; font-size: .95rem; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 0; }
.fact { background: #fff; border: 1px solid var(--cream-300); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.fact dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.fact dd { margin: .15rem 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--bordo); line-height: 1.15; }
.section-facts { padding-block: 1.75rem 0; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.city-cols { display: grid; gap: 2rem; }
.city-aside { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 960px) { .city-cols { grid-template-columns: 1.7fr 1fr; gap: 3rem; } .city-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.section-near { padding-top: 0; }
.section-near h2 { font-size: 1.6rem; }
.chips-links { margin-top: 1rem; }

.inline-cta { background: linear-gradient(160deg, var(--bordo), var(--bordo-900)); color: var(--cream); border-radius: var(--radius); padding: 1.75rem; margin: 2.5rem 0; }
.inline-cta h2 { color: var(--cream); font-size: 1.7rem; }
.inline-cta .btn-outline { color: var(--cream); border-color: var(--cream); }
.inline-cta .btn-outline:hover { background: var(--cream); color: var(--bordo); }
.inline-cta .btn-primary { background: var(--amber); color: var(--ink); }
.related, .area-links { margin-top: 2.5rem; }
.related h2, .area-links h2 { font-size: 1.5rem; }
.related-list { padding-left: 1.2rem; }

.search-form { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.search-form label { flex: 1; }
.search-form .search-submit { background: var(--bordo); color: var(--cream); border: 0; border-radius: 999px; padding: 0 1.4rem; font-weight: 700; cursor: pointer; min-height: 48px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- CTA ---------- */
.cta-band { background: var(--amber); color: var(--ink); padding-block: 3rem; }
.cta-inner { text-align: center; }
.cta-band h2 { color: var(--bordo-900); }
.cta-band .btn-accent { background: var(--bordo); color: var(--cream); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--bordo-900); color: var(--cream); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--bordo-900); color: #e8d8bd; padding-top: 3rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.footer-title { color: var(--amber); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-list li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-list .icon { color: var(--amber); margin-top: .25em; }
.footer-list-cols { grid-template-columns: 1fr 1fr; }
.footer-menu li { display: block; }
.footer-phone { font-weight: 800; font-size: 1.15rem; }
.footer-bottom { border-top: 1px solid rgba(244, 233, 216, .18); padding-block: 1.1rem; font-size: .9rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 1.1fr .8fr 1.3fr; } }

/* ---------- Przycisk „Zadzwoń” na telefonie ---------- */
.mobile-call { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1rem; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .55); }
.mobile-call:hover { color: var(--ink); }
body { padding-bottom: 82px; }

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
	:root { --header-h: 78px; }
	body { padding-bottom: 0; }
	.mobile-call { display: none; }
	.topbar-mail { display: flex !important; }
	.nav-toggle { display: none; }
	.primary-nav, html:not(.js) .primary-nav { display: flex !important; position: static; align-items: center; gap: 1.25rem; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
	.primary-nav .menu { display: flex; align-items: center; gap: .1rem; }
	.primary-nav .menu > li { border: 0; }
	.primary-nav a { padding: .6rem .8rem; font-size: 1.15rem; border-radius: 8px; }
	.primary-nav a:hover { background: var(--cream); }
	.primary-nav .menu-item-has-children { flex-wrap: nowrap; }
	.primary-nav .menu-item-has-children > a { flex: none; padding-right: .2rem; }
	.submenu-toggle { padding: .6rem .5rem .6rem .1rem; }
	.primary-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; flex-basis: auto; background: var(--cream-50); border: 1px solid var(--cream-300); border-radius: var(--radius-sm); box-shadow: 0 20px 40px -20px rgba(58, 15, 27, .55); padding: .5rem; columns: 1; z-index: 20; }
	.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu, .primary-nav .is-open > .sub-menu { display: block; }
	.primary-nav .sub-menu a { padding: .45rem .8rem; }
	.nav-cta { margin: 0; padding: .6rem 1.1rem; }
	.hero-grid { grid-template-columns: 1.1fr .9fr; padding-block: 4rem 5.5rem; gap: 3rem; }
	.hero-art { max-width: none; }
	.footer-list-cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
	.primary-nav a { font-size: 1.2rem; padding-inline: 1rem; }
}

/* ---------- Ruch ograniczony ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
}

@media print {
	.topbar, .site-header, .mobile-call, .quote, .cta-band, .site-footer { display: none; }
	body { padding: 0; background: #fff; }
}
