/* ==========================================================================
   EXTRASTAL — główny arkusz stylów
   Siatka odstępów: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 / 128
   ========================================================================== */

:root {
	--c-brand: #0c77bd;
	--c-brand-600: #0a68a6;
	--c-brand-50: #eaf4fb;
	--c-brand-light: #5cb3f2;
	--c-accent: #c94a06;
	--c-accent-600: #a93e05;
	--c-accent-50: #fdf1ea;
	--c-accent-light: #f59e5b;
	--c-navy: #0b1b2e;
	--c-navy-2: #10263f;
	--c-navy-3: #183553;
	--c-ink: #0f172a;
	--c-text: #334155;
	--c-muted: #5b6b80;
	--c-line: #e2e8f0;
	--c-line-2: #cbd5e1;
	--c-soft: #f4f7fa;
	--c-soft-2: #eef2f6;
	--c-white: #fff;
	--c-success: #15803d;
	--c-error: #b91c1c;
	--c-star: #f5a524;

	--f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
	--s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
	--section: clamp(64px, 7vw, 112px);
	--gutter: clamp(16px, 4vw, 32px);
	--container: 1280px;

	--r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 24px;
	--sh-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
	--sh: 0 4px 12px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .08);
	--sh-lg: 0 24px 60px rgba(11, 27, 46, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.65; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-7) 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--c-brand-light); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 800; color: var(--c-ink); line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 2rem + 3.2vw, 4.75rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem); font-weight: 700; letter-spacing: 0; }
h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
.hl { color: var(--c-brand); }
.on-dark .hl { color: var(--c-brand-light); }

.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 { position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 12px 20px; background: var(--c-ink); color: #fff; border-radius: var(--r); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--soft { background: var(--c-soft); }
.section--dark { background: var(--c-navy); color: #c9d4e2; }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head__lead { max-width: 560px; margin: 0; color: var(--c-muted); font-size: 1.0625rem; }
.section--dark .section-head__lead { color: #b6c2d1; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand); margin-bottom: var(--s-3); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--c-brand-light); }
.grid { display: grid; gap: var(--s-5); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--c-text); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--c-accent); --fg: #fff; --bd: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 2px solid var(--bd); border-radius: var(--r); background: var(--bg); color: var(--fg); font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn:hover { --bg: var(--c-accent-600); --bd: var(--c-accent-600); color: var(--fg); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201, 74, 6, .28); }
.btn:active { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--blue { --bg: var(--c-brand-600); --bd: var(--c-brand-600); }
.btn--blue:hover { --bg: #08578b; --bd: #08578b; box-shadow: 0 8px 20px rgba(12, 119, 189, .28); }
.btn--ghost { --bg: transparent; --fg: var(--c-ink); --bd: var(--c-line-2); }
.btn--ghost:hover { --bg: var(--c-ink); --fg: #fff; --bd: var(--c-ink); box-shadow: none; }
.btn--ghost-light { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--c-ink); --bd: #fff; box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--c-accent); --bd: #fff; }
.btn--white:hover { --bg: var(--c-navy); --fg: #fff; --bd: var(--c-navy); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--c-brand-600); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-navy); color: #b6c2d1; font-size: .8125rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 40px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #e2e8f0; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 16px; height: 16px; color: var(--c-brand-light); }
@media (max-width: 899px) { .topbar__usp { display: none !important; } .topbar .container { justify-content: center; } }
@media (max-width: 599px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--c-line); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.site-header .container { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { max-height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text__name { position: relative; font-family: var(--f-body); font-weight: 800; font-size: 1.75rem; letter-spacing: -.01em; color: var(--c-ink); padding-top: 9px; }
.logo-text__name b { color: var(--c-brand); font-weight: 800; }
.logo-text__roof { position: absolute; left: -2px; top: 0; width: 104%; height: 12px; color: var(--c-brand); }
.logo-text__tag { margin-top: 5px; font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.on-dark .logo-text__name { color: #fff; }
.on-dark .logo-text__tag { color: #94a3b8; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 600; color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--c-brand-600); background: var(--c-brand-50); }
.main-nav li { position: relative; }
.main-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 8px; margin: 0; list-style: none; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease); z-index: 20; }
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav li:hover > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 10px 14px; font-weight: 500; white-space: normal; }
.header-actions { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); line-height: 1.15; }
.header-phone__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-accent-50); color: var(--c-accent); }
.header-phone__ico .icon { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: .75rem; color: var(--c-muted); font-weight: 500; }
.header-phone strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: .01em; }
.header-phone:hover strong { color: var(--c-accent); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-ink); }
.header-cart:hover { background: var(--c-soft); color: var(--c-ink); }
.header-cart__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-accent); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center; }

@media (max-width: 1279px) { .header-phone small { display: none; } .main-nav a { padding: 10px 9px; font-size: .9063rem; } }
@media (max-width: 1139px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: inline-flex; }
	.header-actions .btn, .header-phone__txt { display: none; }
	.header-actions { gap: 4px; }
	.main-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: var(--s-5) var(--gutter) 120px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden; }
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav > ul > li { border-bottom: 1px solid var(--c-line); }
	.main-nav a { padding: 16px 4px; font-size: 1.125rem; }
	.main-nav a:hover { background: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; min-width: 0; display: none; }
	.main-nav .is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: 10px 4px; font-size: 1rem; color: var(--c-text); }
	.main-nav__cta { display: grid !important; gap: 12px; margin-top: var(--s-5); }
	body.nav-open { overflow: hidden; }
}
.main-nav__cta { display: none; }
.logo-text__name { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--c-navy); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 36, .92) 0%, rgba(8, 20, 36, .78) 38%, rgba(8, 20, 36, .25) 70%, rgba(8, 20, 36, .1) 100%), linear-gradient(0deg, rgba(8, 20, 36, .55) 0%, rgba(8, 20, 36, 0) 40%); }
.hero .container { display: grid; align-content: center; min-height: clamp(600px, 82vh, 800px); padding-block: clamp(56px, 8vw, 104px); }
.hero__content { max-width: 680px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: var(--s-5); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero__badge b { padding: 3px 10px; border-radius: 999px; background: var(--c-brand); font-weight: 700; }
.hero h1 { color: #fff; margin-bottom: var(--s-4); }
.hero h1 .hl { color: var(--c-brand-light); display: block; }
.hero__lead { max-width: 560px; margin-bottom: var(--s-6); font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: #dbe4ee; }
.hero__usps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); max-width: 600px; margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.hero__usps li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; line-height: 1.35; color: #e8eef5; }
.hero__usps .icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--r); background: rgba(92, 179, 242, .14); color: var(--c-brand-light); }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; color: #b6c2d1; }
.hero__trust strong { color: #fff; }
.stars { display: inline-flex; gap: 2px; color: var(--c-star); }
.stars .icon { width: 16px; height: 16px; }
.hero__trust-item { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 599px) {
	.hero .container { min-height: 0; }
	.hero::before { background: linear-gradient(180deg, rgba(8, 20, 36, .7) 0%, rgba(8, 20, 36, .88) 60%, rgba(8, 20, 36, .95) 100%); }
	.hero__usps { grid-template-columns: 1fr; gap: var(--s-3); }
	.hero .btn-row .btn { width: 100%; }
}

/* ---------- Page hero (podstrony) ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--c-navy); color: #c9d4e2; padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1000px 400px at 85% -10%, rgba(12, 119, 189, .35), transparent 60%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px); }
.page-hero--img::after { background: linear-gradient(90deg, rgba(8, 20, 36, .94) 0%, rgba(8, 20, 36, .75) 55%, rgba(8, 20, 36, .45) 100%); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 1.8rem + 2.4vw, 4rem); margin-bottom: var(--s-3); max-width: 900px; }
.page-hero__lead { max-width: 680px; font-size: 1.125rem; color: #c9d4e2; margin: 0; }
.page-hero .btn-row { margin-top: var(--s-6); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: var(--s-5); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: #cbd5e1; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Karty kategorii („Co chcesz zbudować?”) ---------- */
.cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 1199px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; color: inherit; }
.cat-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft-2); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-4) var(--s-4) var(--s-4); }
.cat-card__title { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--c-ink); margin: 0 0 6px; }
.cat-card__meta { font-size: .875rem; color: var(--c-muted); margin: 0; }
.cat-card__foot { display: flex; justify-content: flex-end; margin-top: auto; padding-top: var(--s-3); color: var(--c-brand); }
.cat-card__foot .icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__foot .icon { transform: translateX(4px); }
@media (max-width: 699px) { .cat-card__body { padding: var(--s-3); } .cat-card__title { font-size: .9375rem; } .cat-card__meta { font-size: .8125rem; } }

/* ---------- Duże konstrukcje ---------- */
.big-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); align-items: center; margin-bottom: var(--s-7); }
.big-intro p { margin: 0; }
@media (max-width: 899px) { .big-intro { grid-template-columns: 1fr; gap: var(--s-4); } }
.big-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); padding: 0; list-style: none; }
.big-tags li { padding: 6px 12px; border: 1px solid var(--c-line); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--c-ink); background: #fff; }
.big-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 899px) { .big-grid { grid-template-columns: 1fr; } }
.big-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; isolation: isolate; }
.big-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.big-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 20, 36, .9) 0%, rgba(8, 20, 36, .3) 45%, rgba(8, 20, 36, 0) 70%); }
.big-card:hover img { transform: scale(1.05); }
.big-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-5); }
.big-card__size { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; }
.big-card__desc { display: block; margin: 6px 0 12px; font-size: .9375rem; color: #dbe4ee; }
.big-card__link { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.big-card__link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.big-card:hover .big-card__link .icon { transform: translateX(4px); }
.big-card:hover { color: #fff; }

/* ---------- Konfigurator + pomysł ---------- */
.config { background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 55%, #0d3a63 100%); color: #c9d4e2; overflow: hidden; }
.config__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 999px) { .config__grid { grid-template-columns: 1fr; } }
.config h2 { color: #fff; }
.config__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: var(--s-5) 0 var(--s-6); padding: 0; list-style: none; counter-reset: step; }
.config__steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); background: rgba(255, 255, 255, .04); font-size: .9375rem; font-weight: 600; color: #e8eef5; }
.config__steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-head); font-size: 1.25rem; font-weight: 800; color: var(--c-brand-light); }
@media (max-width: 499px) { .config__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.config__visual { position: relative; }
.config__screen { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); background: #0e2238; }
.config__bar { display: flex; gap: 6px; padding: 10px 14px; background: #0a1a2c; }
.config__bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.config__view { display: grid; grid-template-columns: 1fr 210px; }
.config__view > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.config__panel { padding: 14px; background: #fff; color: var(--c-ink); font-size: .8125rem; }
.config__panel h3 { font-family: var(--f-body); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 10px; }
.config__opt { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; margin-bottom: 6px; border: 1px solid var(--c-line); border-radius: 8px; font-weight: 600; }
.config__opt.is-active { border-color: var(--c-brand); background: var(--c-brand-50); }
.config__swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.config__swatches img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 2px solid transparent; }
.config__swatches img:first-child { border-color: var(--c-brand); }
@media (max-width: 599px) { .config__view { grid-template-columns: 1fr; } .config__panel { display: none; } }

.idea { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 999px) { .idea { grid-template-columns: 1fr; } }
.idea__flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.idea__step figure { margin: 0; }
.idea__step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh); }
.idea__step figcaption { margin-top: 10px; font-size: .875rem; font-weight: 700; color: var(--c-ink); text-align: center; }
.idea__arrow { color: var(--c-accent); }
.idea__arrow .icon { width: 28px; height: 28px; }
@media (max-width: 599px) { .idea__flow { grid-template-columns: 1fr; } .idea__arrow { justify-self: center; transform: rotate(90deg); } }

/* ---------- Konstrukcja ---------- */
.build { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 999px) { .build { grid-template-columns: 1fr; } }
.build__media { position: relative; }
.build__media > img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 11; object-fit: cover; box-shadow: var(--sh); }
.build__stamp { position: absolute; left: var(--s-5); bottom: calc(var(--s-5) * -1); display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); max-width: 340px; }
.build__stamp strong { display: block; font-family: var(--f-head); font-size: 2rem; line-height: 1; color: var(--c-brand); }
.build__stamp span { font-size: .875rem; line-height: 1.35; color: var(--c-text); }
.checklist { display: grid; gap: 10px; margin: var(--s-5) 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--c-brand); color: #fff; }
.section--dark .checklist li { color: #dbe4ee; }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-5) 0 var(--s-6); }
.profile { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; }
.profile__shape { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: linear-gradient(145deg, #e8edf2, #c3ccd6); }
.profile__shape i { display: block; border: 4px solid #8a97a6; border-radius: 2px; background: #eef2f6; box-shadow: inset 0 0 0 1px #6b7887; }
.profile strong { display: block; font-size: 1rem; color: var(--c-ink); }
.profile span { font-size: .8125rem; color: var(--c-muted); line-height: 1.35; }
.footnote { font-size: .8125rem; color: var(--c-muted); }
@media (max-width: 499px) { .profiles { grid-template-columns: 1fr; } }

/* ---------- Produkty / modele ---------- */
.models { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 1099px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .models { grid-template-columns: 1fr; } }
.model { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.model:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.model__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft-2); }
.model__img img { width: 100%; height: 100%; object-fit: cover; }
.model__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--c-navy); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.model__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
.model__title { font-family: var(--f-body); font-size: 1.1875rem; font-weight: 700; margin: 0 0 6px; }
.model__title a { color: var(--c-ink); text-decoration: none; }
.model__title a::after { content: ""; position: absolute; inset: 0; }
.model { position: relative; }
.model__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 var(--s-4); padding: 0; list-style: none; font-size: .875rem; color: var(--c-muted); }
.model__specs li { display: inline-flex; align-items: center; gap: 6px; }
.model__specs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-brand); }
.model__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.model__price small { display: block; font-size: .75rem; color: var(--c-muted); }
.model__price strong { font-family: var(--f-head); font-size: 1.75rem; font-weight: 800; color: var(--c-accent); line-height: 1; }
.model__price strong.is-quote { font-size: 1.25rem; color: var(--c-brand-600); }
.model__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-soft); color: var(--c-ink); transition: background .2s, color .2s; }
.model:hover .model__go { background: var(--c-accent); color: #fff; }
.models-note { margin-top: var(--s-5); font-size: .875rem; color: var(--c-muted); }

/* ---------- Style / kolory ---------- */
.styles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 1099px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 559px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
.style-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; isolation: isolate; }
.style-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.style-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 20, 36, .88) 0%, rgba(8, 20, 36, 0) 55%); }
.style-card:hover > img { transform: scale(1.06); }
.style-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-4); }
.style-card__chips { display: flex; margin-bottom: 10px; }
.style-card__chips img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.style-card__chips img + img { margin-left: -8px; }
.style-card strong { display: block; font-size: 1rem; line-height: 1.25; }
.style-card small { display: block; font-size: .8125rem; color: #cbd5e1; }
.style-card:hover { color: #fff; }

/* ---------- Dodatki ---------- */
.addons { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 1099px) { .addons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
.addon { display: flex; flex-direction: column; gap: 12px; padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, box-shadow .2s; }
.addon:hover { border-color: var(--c-brand); box-shadow: var(--sh-sm); }
.addon__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--c-brand-50); color: var(--c-brand); }
.addon__ico .icon { width: 30px; height: 30px; }
.addon h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; margin: 0; }
.addon p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--c-muted); }

/* ---------- Proces ---------- */
.steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); counter-reset: s; padding: 0; margin: 0; list-style: none; }
@media (max-width: 1099px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--s-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); counter-increment: s; }
.step__ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s-4); border-radius: 50%; background: var(--c-accent-50); color: var(--c-accent); }
.step__ico .icon { width: 26px; height: 26px; }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; top: var(--s-5); right: var(--s-5); font-family: var(--f-head); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--c-line-2); }
.step h3 { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 700; margin: 0 0 6px; }
.step p { margin: 0; font-size: .9063rem; line-height: 1.55; color: var(--c-muted); }
@media (max-width: 599px) { .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; } .step__ico { margin: 0; grid-row: span 2; } }
.process-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); margin-top: var(--s-6); padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--c-accent); color: #fff; }
.process-cta h3 { color: #fff; margin: 0; font-family: var(--f-head); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); text-transform: uppercase; }
.process-cta p { margin: 4px 0 0; color: #ffe7d6; }
.process-cta .btn-row { align-items: center; }
.process-cta__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.process-cta__phone:hover { color: #fff; text-decoration: underline; }

/* ---------- Realizacje ---------- */
.refs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 999px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .refs { grid-template-columns: 1fr; } }
.ref-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.section--dark .ref-card { border-color: transparent; }
.ref-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.ref-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-soft-2); }
.ref-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-card:hover .ref-card__img img { transform: scale(1.05); }
.ref-card__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(8, 20, 36, .72); color: #fff; font-size: .75rem; font-weight: 600; }
.ref-card__count .icon { width: 14px; height: 14px; }
.ref-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
.ref-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-600); font-size: .75rem; font-weight: 700; text-decoration: none; }
.tag--accent { background: var(--c-accent-50); color: var(--c-accent); }
.ref-card h3 { font-family: var(--f-body); font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.ref-card h3 a { color: var(--c-ink); text-decoration: none; }
.ref-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ref-card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: auto 0 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--c-muted); }
.ref-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.ref-card__meta .icon { width: 15px; height: 15px; color: var(--c-brand); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-6); }
.filters a { padding: 9px 16px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-ink); font-size: .9063rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.filters a:hover { border-color: var(--c-brand); color: var(--c-brand-600); }
.filters a.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.filters__label { align-self: center; margin-right: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }

/* ---------- Pojedyncza realizacja ---------- */
.ref-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 999px) { .ref-layout { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--r-lg); overflow: hidden; background: var(--c-soft-2); }
.gallery-main a { display: block; }
.gallery-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; outline-offset: 2px; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform .4s var(--ease); }
.gallery-thumbs a:hover img { transform: scale(1.06); }
.spec-card { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--s-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh); }
.spec-card h2 { font-size: 1.75rem; margin-bottom: var(--s-4); }
.spec-list { margin: 0 0 var(--s-5); }
.spec-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-line); font-size: .9375rem; }
.spec-list dt { color: var(--c-muted); }
.spec-list dd { margin: 0; font-weight: 600; color: var(--c-ink); }
.spec-card .btn { width: 100%; }
.spec-card__alt { margin-top: 12px; text-align: center; font-size: .875rem; color: var(--c-muted); }
.spec-card__alt a { font-weight: 700; color: var(--c-ink); text-decoration: none; }

/* ---------- Opinie ---------- */
.reviews-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.rating-box { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); }
.rating-box strong { font-family: var(--f-head); font-size: 2.5rem; line-height: 1; color: var(--c-ink); }
.rating-box small { display: block; font-size: .8125rem; color: var(--c-muted); }
.reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 999px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .reviews { grid-template-columns: 1fr; } }
.review { display: flex; flex-direction: column; gap: var(--s-4); margin: 0; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--c-text); }
.review blockquote::before { content: "\201D"; display: block; height: 28px; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--c-brand); opacity: .35; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.review__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 700; }
.review__name { display: block; font-weight: 700; color: var(--c-ink); line-height: 1.2; }
.review__meta { display: block; font-size: .8125rem; color: var(--c-muted); }
.review .stars { margin-left: auto; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 899px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--c-brand-50); }
.faq summary:hover { color: var(--c-brand-600); }
.faq__a { padding: 0 48px 22px 0; color: var(--c-text); }
.faq__a p:last-child { margin: 0; }

/* ---------- Obszar działania ---------- */
.areas { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 899px) { .areas { grid-template-columns: 1fr; } }
.areas__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.areas__list a { display: inline-block; padding: 8px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe4ee; font-size: .875rem; text-decoration: none; transition: all .2s; }
.areas__list a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.areas__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.stat strong { display: block; font-family: var(--f-head); font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); font-weight: 800; line-height: 1; color: #fff; }
.stat span { font-size: .875rem; color: #b6c2d1; }

/* ---------- Kontakt / formularz ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 999px) { .contact { grid-template-columns: 1fr; } }
.contact__list { display: grid; gap: var(--s-4); margin: var(--s-6) 0; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--c-brand-50); color: var(--c-brand); }
.section--dark .contact__ico { background: rgba(92, 179, 242, .12); color: var(--c-brand-light); }
.contact__list small { display: block; font-size: .8125rem; color: var(--c-muted); }
.section--dark .contact__list small { color: #94a3b8; }
.contact__list a, .contact__list strong { font-weight: 700; font-size: 1.125rem; color: var(--c-ink); text-decoration: none; }
.section--dark .contact__list a, .section--dark .contact__list strong { color: #fff; }
.contact__list a:hover { color: var(--c-accent); }
.care { display: flex; gap: 14px; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--c-soft); font-size: .9375rem; }
.section--dark .care { background: rgba(255, 255, 255, .05); color: #dbe4ee; }
.care .icon { color: var(--c-success); margin-top: 2px; }

.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-lg); color: var(--c-text); }
.form-card h2, .form-card h3 { color: var(--c-ink); }
.form-card__head { margin-bottom: var(--s-5); }
.form-card__head h2 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); margin-bottom: 6px; }
.form-card__head p { margin: 0; color: var(--c-muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--c-ink); }
.field label .req { color: var(--c-accent); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--c-line-2); border-radius: var(--r); background: #fff; font-size: 1rem; color: var(--c-ink); transition: border-color .2s, box-shadow .2s; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgba(12, 119, 189, .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--c-error); }
.field__hint { margin-top: 6px; font-size: .8125rem; color: var(--c-muted); }
.field__err { margin-top: 6px; font-size: .8125rem; color: var(--c-error); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--c-line-2); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--c-ink); cursor: pointer; transition: all .15s; user-select: none; }
.chips input:checked + span { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--c-brand-light); outline-offset: 2px; }
.dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--c-line-2); border-radius: var(--r); background: var(--c-soft); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--c-brand); background: var(--c-brand-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { color: var(--c-brand); width: 28px; height: 28px; }
.dropzone strong { display: block; font-size: .9375rem; color: var(--c-ink); }
.dropzone small { font-size: .8125rem; color: var(--c-muted); }
.dropzone__files { margin-top: 8px; font-size: .8125rem; color: var(--c-ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: var(--c-muted); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--c-brand); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8125rem; color: var(--c-muted); }
.form-note .icon { width: 16px; height: 16px; color: var(--c-success); }
.notice { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: var(--s-5); border-radius: var(--r); font-weight: 500; }
.notice--ok { background: #ecfdf3; color: #14532d; border: 1px solid #bbf7d0; }
.notice--err { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }
.notice .icon { flex: none; }

/* ---------- CTA końcowe ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--c-navy); color: #c9d4e2; }
.final-cta__bg { position: absolute; inset: 0; z-index: -2; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 27, 46, .96) 0%, rgba(11, 27, 46, .85) 50%, rgba(11, 27, 46, .7) 100%); }

/* ---------- Treść / wpisy ---------- */
.entry { font-size: 1.0625rem; line-height: 1.75; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); margin-top: 1.8em; }
.entry h3 { margin-top: 1.6em; }
.entry img { border-radius: var(--r); }
.entry figure { margin-inline: 0; }
.entry figcaption { font-size: .875rem; color: var(--c-muted); margin-top: 8px; }
.entry blockquote { margin-inline: 0; padding: var(--s-4) var(--s-5); border-left: 4px solid var(--c-brand); background: var(--c-soft); border-radius: 0 var(--r) var(--r) 0; }
.entry table { font-size: .9375rem; }
.entry th, .entry td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; }
.entry th { background: var(--c-soft); color: var(--c-ink); }
.entry ul li, .entry ol li { margin-bottom: .4em; }
.entry .wp-block-button__link { background: var(--c-accent); border-radius: var(--r); font-weight: 700; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.wp-caption, .gallery-caption { font-size: .875rem; }
.sticky, .bypostauthor {}

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 999px) { .content-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s-5); }
.widget { padding: var(--s-5); border-radius: var(--r-lg); border: 1px solid var(--c-line); background: #fff; }
.widget-title { font-family: var(--f-body); font-size: 1rem; font-weight: 700; text-transform: none; margin-bottom: 12px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.widget li:last-child { border: 0; }
.widget a { color: var(--c-ink); text-decoration: none; font-weight: 500; }
.widget a:hover { color: var(--c-brand-600); }
.side-cta { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--c-navy); color: #c9d4e2; }
.side-cta h3 { color: #fff; font-size: 1.75rem; text-transform: uppercase; }
.side-cta p { font-size: .9375rem; }
.side-cta .btn { width: 100%; margin-top: 8px; }

.posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 999px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .posts { grid-template-columns: 1fr; } }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--c-line); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.post-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-soft-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .8125rem; color: var(--c-muted); margin-bottom: 6px; }
.post-card h3 { font-family: var(--f-body); font-size: 1.1875rem; line-height: 1.35; margin: 0 0 10px; }
.post-card h3 a { color: var(--c-ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: .9375rem; color: var(--c-muted); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .875rem; color: #b6c2d1; margin-top: var(--s-4); }

.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--s-7); }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--c-line); color: var(--c-ink); font-weight: 600; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #07121f; color: #94a3b8; font-size: .9375rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-7); padding-block: clamp(56px, 6vw, 88px) var(--s-7); }
@media (max-width: 999px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-top { grid-template-columns: 1fr; gap: var(--s-6); } }
.footer-about p { margin: var(--s-4) 0; max-width: 340px; }
.footer-title { font-family: var(--f-body); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-brand-light); }
.footer-social { display: flex; gap: 10px; margin-top: var(--s-4); }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.footer-social a:hover { background: var(--c-brand); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-areas { padding-block: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; }
.footer-areas strong { color: #cbd5e1; margin-right: 8px; }
.footer-areas a { color: #94a3b8; }
.footer-areas span { display: inline; }
.footer-areas span + span::before { content: " · "; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-5); }

/* ---------- Pasek mobilny ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); }
.mobile-bar .btn { min-height: 48px; padding: 10px; font-size: .9375rem; }
@media (max-width: 899px) { .mobile-bar { display: grid; } body { padding-bottom: 72px; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(5, 12, 22, .94); }
.lb.is-open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .2); }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: .875rem; }

/* ---------- Animacje wejścia ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- 404 / wyszukiwarka ---------- */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form .input { flex: 1; }
.empty { padding: var(--s-8) 0; text-align: center; }

/* ---------- Druk ---------- */
@media print { .site-header, .topbar, .mobile-bar, .site-footer, .final-cta { display: none !important; } body { padding: 0; } }

/* ---------- Uzupełnienia: landing, konfigurator, wpisy ---------- */
.h3 { font-family: var(--f-body); font-size: 1.1875rem; font-weight: 700; line-height: 1.35; text-transform: none; }
.post-card h2 { margin: 0 0 10px; }
.post-card h2 a { color: var(--c-ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }

.page-hero--landing { padding-block: clamp(56px, 7vw, 104px); }
.page-hero--landing h1 { max-width: 780px; }
.page-hero--slim { padding-block: 20px; }
.page-hero--slim .breadcrumbs { margin: 0; }
.landing-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-7); margin-top: var(--s-6); }
.price-badge { display: inline-flex; flex-direction: column; padding: 14px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.price-badge small { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #b6c2d1; }
.price-badge strong { font-family: var(--f-head); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1.05; color: #fff; }
.price-badge span { font-size: .8125rem; color: #b6c2d1; }
.landing-usps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.landing-usps li { display: flex; align-items: center; gap: 10px; color: #e8eef5; font-weight: 500; }
.landing-usps .icon { width: 22px; height: 22px; color: var(--c-brand-light); }

.configurator-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--sh); background: var(--c-soft); }
.configurator-frame iframe { display: block; width: 100%; height: min(86vh, 900px); min-height: 640px; border: 0; }
.configurator-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--c-soft); }
.configurator-alt p { margin: 0; color: var(--c-muted); }
.page-hero .config__steps li { background: rgba(255, 255, 255, .05); }

.entry .wp-block-table table { border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; }
.entry .wp-block-table td:last-child, .entry .price-table td:last-child { font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.entry .note { padding: var(--s-4) var(--s-5); border-radius: var(--r); background: var(--c-brand-50); color: var(--c-ink); font-size: .9375rem; }
.entry .wp-block-image img { border-radius: var(--r-lg); }
.entry h2:first-child { margin-top: 0; }
.entry .wp-block-columns { gap: var(--s-5); }
.entry .is-style-card, .entry .card-box { padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }

.form-card .notice + form[hidden] { display: none; }
.final-cta .form-card { position: relative; }
.admin-only { display: none !important; }
body.logged-in .admin-only { display: block !important; border: 2px dashed var(--c-accent); background: var(--c-accent-50) !important; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4); }
.swatch { margin: 0; }
.swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.swatch figcaption { margin-top: 8px; font-weight: 700; color: var(--c-ink); font-size: .9375rem; }

/* Pasek administratora WordPress */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Kontakt w ciemnych sekcjach (final CTA) */
.on-dark .contact__ico { background: rgba(92, 179, 242, .12); color: var(--c-brand-light); }
.on-dark .contact__list small { color: #94a3b8; }
.on-dark .contact__list a, .on-dark .contact__list strong { color: #fff; }
.on-dark .contact__list a:hover { color: var(--c-accent-light); }
.on-dark .care { background: rgba(255, 255, 255, .06); color: #dbe4ee; }
.on-dark .care .icon { color: #4ade80; }
.form-card, .form-card .field label { color: var(--c-text); }
.form-card .contact__list a { color: var(--c-ink); }

/* Checkbox / radio — reset stylu pól tekstowych */
.field input[type="checkbox"], .field input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; border: 0; appearance: auto; -webkit-appearance: checkbox; box-shadow: none; accent-color: var(--c-brand); }
.field .consent { display: flex; font-weight: 400; margin: 0; }

/* Nagłówek na wąskich ekranach */
@media (max-width: 1139px) { .site-header .container { gap: 12px; } .logo { min-width: 0; flex: 1 1 auto; } .header-actions { margin-left: auto; } .nav-toggle { margin-left: 0; } }
@media (max-width: 479px) {
	.logo-text__name { font-size: 1.375rem; padding-top: 7px; }
	.logo-text__tag { font-size: .5rem; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.header-phone__ico { width: 40px; height: 40px; }
	.nav-toggle { width: 44px; height: 44px; }
}
html, body { overflow-x: clip; }
@media (max-width: 1139px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }

/* ==========================================================================
   Responsywność — zabezpieczenia przed wychodzeniem treści poza ekran
   ========================================================================== */
body { overflow-wrap: break-word; }
.content-layout > *, .ref-layout > *, .contact > *, .build > *, .idea > *, .config__grid > *,
.faq-wrap > *, .areas > *, .big-intro > *, .grid > *, .form-grid > *, .landing-meta > *, .section-head > * { min-width: 0; }
.entry, .entry * { max-width: 100%; }
.entry .wp-block-table, .entry figure.wp-block-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry table { min-width: 480px; }
.entry pre { overflow-x: auto; }
iframe, video, embed { max-width: 100%; }

@media (max-width: 999px) {
	.content-layout, .ref-layout, .contact, .build, .idea, .config__grid, .faq-wrap, .areas { grid-template-columns: minmax(0, 1fr); }
	.sidebar, .spec-card { position: static; }
}
@media (max-width: 899px) { .big-intro { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 599px) {
	.section { padding-block: 56px; }
	.btn { white-space: normal; text-align: center; }
	.btn-row { width: 100%; }
	.btn-row .btn { flex: 1 1 100%; }
	.section-head { margin-bottom: 28px; }
	.section-head .btn { width: 100%; }
	.page-hero h1 { font-size: clamp(2rem, 1.4rem + 4vw, 2.6rem); overflow-wrap: anywhere; hyphens: auto; }
	h1, h2 { hyphens: auto; }
	.landing-meta { gap: var(--s-4); }
	.price-badge { width: 100%; }
	.process-cta { padding: var(--s-5); }
	.process-cta .btn-row { flex-direction: column; align-items: stretch; }
	.process-cta__phone { justify-content: center; }
	.form-card { padding: 20px 16px; border-radius: var(--r-lg); }
	.chips span { min-height: 38px; padding: 7px 12px; font-size: .8125rem; }
	.spec-list div { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); }
	.gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.configurator-frame iframe { min-height: 560px; height: 75vh; }
	.configurator-alt .btn-row { flex-direction: column; }
	.config__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.config__steps li { padding: 10px; font-size: .875rem; }
	.hero__trust { gap: 10px 16px; }
	.rating-box { flex: 1 1 auto; }
	.reviews-top { width: 100%; }
	.reviews-top .btn { width: 100%; }
	.review .stars { margin-left: 0; }
	.review figcaption { flex-wrap: wrap; }
	.filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filters a, .filters__label { flex: none; }
	.footer-areas span { display: inline-block; }
	.faq summary { font-size: 1rem; }
	.faq__a { padding-right: 0; }
	.idea__flow { gap: 8px; }
	.build__stamp { position: static; margin-top: -24px; margin-inline: 12px; max-width: none; }
	.stat strong { font-size: 2rem; }
	.areas__stats { gap: 12px; }
}
@media (max-width: 359px) {
	:root { --gutter: 14px; }
	.cats { grid-template-columns: minmax(0, 1fr); }
	.styles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.addons { grid-template-columns: minmax(0, 1fr); }
	.header-phone { display: none; }
}
.sidebar > *, .widget > * { min-width: 0; }
.widget .wp-block-search__inside-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .wp-block-search__input { flex: 1 1 140px; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--c-line-2); border-radius: var(--r); }
.widget .wp-block-search__button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--r); background: var(--c-brand-600); color: #fff; font-weight: 700; margin: 0; }
.widget .wp-block-search__label { display: block; font-weight: 700; color: var(--c-ink); margin-bottom: 8px; }
.widget h2, .widget .wp-block-heading { font-family: var(--f-body); font-size: 1rem; font-weight: 700; text-transform: none; margin: 0 0 12px; }

/* ==========================================================================
   Wersja 1.1 — audyt UX: CTA, podmenu, karuzele, dostępność
   ========================================================================== */

/* Fokus z klawiatury — wyraźny na jasnym i ciemnym tle */
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .section--dark :focus-visible, .final-cta :focus-visible { outline-color: #fff; }
.btn:focus-visible { outline-offset: 3px; }

/* Podmenu z przyciskiem */
.main-nav .menu-item-has-children { display: flex; align-items: center; flex-wrap: nowrap; }
.submenu-toggle { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -6px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--c-ink); cursor: pointer; }
.submenu-toggle svg { transition: transform .2s var(--ease); opacity: .7; }
.submenu-toggle:hover { background: var(--c-brand-50); color: var(--c-brand-600); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); opacity: 1; }
@media (min-width: 1140px) { .main-nav .menu-item-has-children > .sub-menu { top: 100%; } }
@media (max-width: 1139px) {
	.main-nav .menu-item-has-children { flex-wrap: wrap; }
	.main-nav .menu-item-has-children > a { flex: 1; }
	.submenu-toggle { width: 48px; height: 48px; margin: 0; border: 1px solid var(--c-line); }
	.main-nav .sub-menu { flex-basis: 100%; }
}

/* Dolny pasek CTA: widoczny dopiero po hero, chowa się przy formularzu i klawiaturze */
.mobile-bar { transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-bar.is-visible { transform: none; }
@media (max-width: 899px) { body { padding-bottom: 88px; } }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }

/* Ocena Google */
.google-rating { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
a.google-rating:hover { text-decoration: underline; color: #fff; }
a.rating-box { text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.rating-box:hover { border-color: var(--c-brand); box-shadow: var(--sh-sm); }
.rating-box small { color: var(--c-muted); }

/* Konfigurator — karta startowa */
.config-launch { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.config-launch > * { min-width: 0; }
.config-launch__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh); aspect-ratio: 4 / 3; object-fit: cover; }
.config-launch__body { display: grid; gap: var(--s-5); }
.config-launch__body h2 { margin: 0; }
.config-launch__steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: c; }
.config-launch__steps li { counter-increment: c; display: flex; gap: 14px; align-items: center; font-weight: 500; color: var(--c-ink); }
.config-launch__steps li::before { content: counter(c); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-brand-50); color: var(--c-brand-600); font-weight: 800; }
.config-launch__note { margin: -8px 0 0; font-size: .875rem; color: var(--c-muted); text-align: center; }
@media (max-width: 899px) { .config-launch { grid-template-columns: minmax(0, 1fr); } }

/* Większe obszary dotyku */
.header-phone__ico { width: 44px; height: 44px; }
.site-footer ul { gap: 2px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 4px; }
.footer-contact li { min-height: 40px; align-items: center; }
.footer-areas a { display: inline-block; padding-block: 6px; }
.footer-social a { width: 44px; height: 44px; }
.breadcrumbs a { display: inline-block; padding-block: 6px; }
.filters a { min-height: 44px; display: inline-flex; align-items: center; }

/* Mobile: skrócona strona główna i karuzele */
@media (max-width: 699px) {
	.hide-mobile { display: none !important; }
	.is-carousel { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.is-carousel::-webkit-scrollbar { display: none; }
	.is-carousel > * { flex: 0 0 84%; scroll-snap-align: start; }
	.is-carousel > .reveal { opacity: 1 !important; transform: none !important; }
	.is-carousel.reviews > * { flex-basis: 88%; }
	.carousel-hint { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: .8125rem; color: var(--c-muted); }
	.home .faq details:nth-of-type(n+6) { display: none; }
	.hero .btn-row { gap: 10px; }
	.hero__trust { margin-top: var(--s-5); }
}
@media (min-width: 700px) { .carousel-hint { display: none; } }
.model__price strong.is-range { font-size: 1.375rem; white-space: nowrap; }
.model__price strong .price-from { font-size: .75rem; }

/* Nagłówek: mieści pozycję „Gotowe modele” na każdej szerokości desktopu */
.site-header .container { gap: 16px; }
.main-nav { min-width: 0; }
.main-nav a { padding-inline: 10px; }
@media (max-width: 1499px) {
	.header-phone small { display: none; }
	.header-phone__txt strong { font-size: 1rem; }
	.main-nav a { padding-inline: 8px; font-size: .9063rem; }
	.header-actions { gap: 12px; }
}
@media (max-width: 1319px) and (min-width: 1140px) {
	.header-phone__txt { display: none; }
	.logo-text__tag { display: none; }
}

/* Nagłówek v1.3 — bez nachodzenia elementów na siebie */
.header-phone small { display: none !important; }
.main-nav { flex: 0 0 auto; min-width: auto; }
.main-nav a { white-space: nowrap; }
.header-actions { flex: 0 0 auto; }
.header-cta { gap: 8px; }
.header-cta .icon { width: 18px; height: 18px; }
@media (min-width: 1140px) {
	.site-header .container { gap: 20px; }
	.main-nav { margin-left: auto; }
}
@media (max-width: 1339px) and (min-width: 1140px) {
	.header-phone__txt { display: none; }
	.logo-text__tag { display: none; }
	.logo-text__name { padding-top: 7px; }
	.main-nav a { padding-inline: 8px; }
}
@media (max-width: 1139px) {
	.header-actions .header-cta { display: none; }
}
