/* BRAF DESIGN v2: standard branży wykonany starannie. Kolory zmierzone z zatwierdzonej makiety A. */
:root {
	--bg: #ffffff;
	--bg-2: #f9f9f9;
	--ink: #0c0d11;
	--muted: #55565b;
	--faint: #6e6f74;
	--rule: #dee0e4;
	--rule-strong: #c9ccd1;
	--night: #0c0d11;
	--accent: #2d6893;
	--accent-hover: #245a80;
	--font: 'Mulish', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
	--wrap: 1320px;
	--gutter: 40px;
	--text-w: 720px;
	--header-h: 84px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--rule-strong) transparent; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	caret-color: var(--ink);
	overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, li a:not(.btn), dd a, .entry-text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); transition: text-decoration-color .2s; }
p a:hover, li a:not(.btn):hover, dd a:hover, .entry-text a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { font-weight: 600; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.sr-only, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 14px; }
.ico { flex: none; }

/* Przyciski */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 56px; padding: 0 24px;
	font: inherit; font-size: 16px; font-weight: 400; letter-spacing: .01em;
	border: 1px solid transparent; border-radius: 0; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .ico, .wp-block-button__link .ico { transition: transform .35s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-solid, .wp-block-button__link { background: var(--accent); color: #fff; }
.btn-solid:hover, .wp-block-button__link:hover { background: var(--accent-hover); color: #fff; }
.btn-outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform .35s var(--ease); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); color: var(--ink); }
.header-inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 16px; margin-right: auto; color: inherit; font-size: 28px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-txt { line-height: 1; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 8px 0; font-size: 15px; letter-spacing: .01em; text-decoration: none; position: relative; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav .menu > li > a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-parent > a::after { transform: scaleX(1); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 14px 0; position: absolute; top: 100%; left: -20px; min-width: 260px; background: #fff; color: var(--ink); border: 1px solid var(--rule); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 8px 20px; font-size: 15px; }
.main-nav .sub-menu a:hover { background: var(--bg-2); }
.header-tel { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; padding-left: 30px; border-left: 1px solid currentColor; border-left-color: rgba(12,13,17,.25); white-space: nowrap; }
.tel-link { display: inline-flex; align-items: center; gap: 10px; }
.nav-toggle, .nav-mobile-extra { display: none; }

/* Strona główna: menu przezroczyste nad zdjęciem */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: #fff; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.has-hero .site-header::before { content: ""; position: absolute; inset: 0 0 -60px 0; background: linear-gradient(180deg, rgba(8,8,10,.42), rgba(8,8,10,0)); pointer-events: none; transition: opacity .35s; }
.has-hero .header-tel { border-left-color: rgba(255,255,255,.45); color: #fff; }
.has-hero.is-scrolled .header-tel { color: var(--ink); }
.has-hero.is-scrolled .site-header { background: rgba(255,255,255,.97); color: var(--ink); border-bottom-color: var(--rule); }
.has-hero.is-scrolled .site-header::before { opacity: 0; }
.has-hero.is-scrolled .header-tel { border-left-color: rgba(12,13,17,.25); }
.admin-bar .site-header { top: 32px; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1180px; overflow: hidden; background: #24201d; color: #fff; }
.hero-media, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 58%; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 100%, rgba(10,9,8,.55) 0%, rgba(10,9,8,.18) 45%, rgba(10,9,8,0) 70%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: clamp(36px, 5vh, 64px); }
.hero-title { font-size: clamp(44px, 5.6vw, 80px); font-weight: 300; line-height: 1.04; letter-spacing: -0.015em; margin: 0; max-width: 11em; color: #fff; }
.hero-title span { display: block; }
.hero-sub { font-size: clamp(17px, 1.45vw, 20px); font-weight: 400; margin: 20px 0 34px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.hero-tel { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: #fff; }
.hero-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }


/* Wejście hero: jedna zaplanowana chwila */
.js .hero-img { transform: scale(1.06); transition: transform 2.8s var(--ease); }
.js .hero-title span, .js .hero-sub, .js .hero-actions { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .is-ready .hero-img { transform: none; }
.js .is-ready .hero-title span, .js .is-ready .hero-sub, .js .is-ready .hero-actions { opacity: 1; transform: none; }
.js .is-ready .hero-title span:nth-child(1) { transition-delay: .15s; }
.js .is-ready .hero-title span:nth-child(2) { transition-delay: .28s; }
.js .is-ready .hero-sub { transition-delay: .45s; }
.js .is-ready .hero-actions { transition-delay: .6s; }

/* Sekcje strony głównej (bloki grupy z klasami) */
.home-content > * { max-width: none; }
.sekcja { padding-block: clamp(72px, 9vw, 128px); }
.sekcja > .wp-block-group__inner-container, .sekcja-in { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sekcja-szara { background: var(--bg-2); }
.dwie-kolumny { display: grid !important; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px) !important; align-items: start; }
.dwie-kolumny > .wp-block-column { margin: 0 !important; min-width: 0; }
.deklaracja { font-size: clamp(28px, 3.3vw, 48px); font-weight: 300; line-height: 1.26; letter-spacing: 0; margin: 0; max-width: 16em; }
.podpis { font-size: 15px; color: var(--muted); margin: 0; position: relative; padding-top: 34px; margin-top: 34px; }
.podpis::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 1px; background: var(--rule-strong); }
.indeks, .entry .indeks { list-style: none; margin: 0; padding: 0; }
.indeks li { border-bottom: 1px solid var(--rule); margin: 0; }
.indeks li a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0 18px; text-decoration: none; }
.indeks-nazwa { font-size: 19px; transition: transform .45s var(--ease); }
.indeks-n { font-size: 15px; color: var(--faint); font-variant-numeric: tabular-nums; }
.indeks a:hover .indeks-nazwa { transform: translateX(8px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 44px; }
.section-title, .sekcja h2.wp-block-heading { font-size: clamp(30px, 3vw, 44px); font-weight: 300; margin: 0 0 .7em; }
.section-head .section-title { margin: 0; }
.prowadzenie { font-size: 19px; font-weight: 300; color: var(--muted); max-width: 40em; }

/* Kafle projektów */
.braf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 28px; margin: 0; }
.tile { display: block; text-decoration: none; color: var(--ink); }
.tile-img { display: block; aspect-ratio: 8 / 7; overflow: hidden; background: #ececee; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.tile:hover .tile-img img { transform: scale(1.035); }
.tile:hover .tile-title { color: var(--accent); }
.tile-title { transition: color .3s var(--ease); font-size: 17px; font-weight: 400; line-height: 1.35; margin: 18px 0 4px; letter-spacing: 0; }
.tile-kat { display: block; font-size: 13px; color: var(--faint); }
.js .tile-img img[loading="lazy"] { opacity: 0; }
.js .tile-img img.is-loaded { opacity: 1; }
.sekcja .wp-block-buttons { margin-top: 56px; }

/* Lista z liniami (usługi, proces) */
.wiersze { list-style: none; margin: 0; padding: 0 !important; border-top: 1px solid var(--rule); }
.wiersze li { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); margin: 0; color: var(--muted); }
.wiersze li strong { font-weight: 400; font-size: 19px; color: var(--ink); }
.proces li { grid-template-columns: 56px minmax(160px, 30%) 1fr; }
.proces li em { font-style: normal; color: var(--accent); font-variant-numeric: tabular-nums; font-size: 15px; padding-top: 3px; }

/* Oferta AI */
.ai-split { align-items: center !important; }
.ai-split .wp-block-image { margin: 0; }
.ai-split .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Architekt */
.os-czasu { list-style: none; margin: 32px 0 36px; padding: 0 !important; border-top: 1px solid var(--rule); }
.os-czasu li { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); margin: 0; color: var(--muted); }
.os-czasu li strong { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.architekt .wp-block-image { margin: 0; }
.architekt .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Opinie */
.opinie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; margin: 0 0 48px; }
.opinia { margin: 0; padding-top: 26px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 18px; }
.opinia-gwiazdki { display: flex; gap: 3px; color: var(--ink); }
.opinia-gwiazdki svg { width: 13px; height: 13px; }
.opinia-tekst { margin: 0; flex: 1; }
.opinia-tekst p { margin: 0; font-size: 17px; font-weight: 300; line-height: 1.62; }
.opinia-autor { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.opinia-g svg { width: 16px; height: 16px; }
.opinia-autor strong { display: block; font-weight: 600; }
.opinia-autor small { display: block; color: var(--faint); font-size: 13px; }
.opinie-linki { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin: 0; }
.opinie-fb { font-size: 14px; color: var(--muted); }

/* Pytania */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--accent); content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 46em; margin: 0 0 26px; }

/* Nagłówek podstron */
.page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(36px, 4.6vw, 68px); font-weight: 300; line-height: 1.06; letter-spacing: -0.02em; margin: 0; max-width: 17em; }
.page-lead { font-size: 19px; font-weight: 300; color: var(--muted); max-width: 40em; margin: 22px 0 0; }

/* Treść stron: kolumna tekstu wyrównana do lewej krawędzi kontenera, jak tytuł */
.entry > * { max-width: var(--text-w); margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); margin-right: var(--gutter); }
.entry > .alignwide, .entry > .wp-block-columns { max-width: var(--wrap); }
.entry > .sekcja, .home-content > * { max-width: none; margin: 0; }
.page-content { padding-bottom: clamp(72px, 9vw, 128px); }
.entry h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 1.8em; }
.entry h3 { font-size: 22px; font-weight: 400; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: .45em; }
.entry .lead { font-size: clamp(19px, 1.6vw, 22px); font-weight: 300; line-height: 1.55; }
.entry-text { max-width: var(--text-w); }
.entry .faq, .entry .proces { margin-top: 24px; }
.kontakt-cols { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 96px) !important; }
.kontakt-cols > .wp-block-column { margin: 0 !important; }
.kontakt-cols h2 { margin-top: 0; }

/* Portfolio */
.portfolio { padding-bottom: clamp(72px, 9vw, 128px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 0 0 22px; margin-bottom: 52px; border-bottom: 1px solid var(--rule); }
.filter { font-size: 15px; color: var(--muted); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.filter span { color: var(--faint); font-size: 13px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.term-outro { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--rule); color: var(--muted); }
.term-outro h2 { color: var(--ink); font-size: clamp(26px, 2.4vw, 34px); }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; margin-top: 80px; }
.page-numbers { font-size: 15px; color: var(--muted); padding: 6px 2px; border-bottom: 1px solid transparent; text-decoration: none; }
.page-numbers.current { color: var(--ink); border-bottom-color: var(--ink); }
.page-numbers:hover { color: var(--ink); }

/* Projekt */
.projekt-hero { margin-top: 0; margin-bottom: 0; }
.projekt-hero img { width: 100%; max-height: 82vh; object-fit: cover; }
.projekt-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 80px); }
.projekt-meta { margin: 0; border-top: 1px solid var(--rule); align-self: start; }
.projekt-meta div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.projekt-meta dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.projekt-meta dd { margin: 4px 0 0; font-size: 16px; }
.projekt-opis { font-size: 18px; font-weight: 300; line-height: 1.7; }
.projekt-opis p:first-child { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: clamp(48px, 6vw, 80px); }
.gallery-item { display: block; overflow: hidden; background: #ececee; }
.gallery-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.025); }
.projekt-pano, .projekt-video { padding-bottom: clamp(40px, 5vw, 64px); }
.pano, .pano.pnlm-container { width: 100%; height: min(72vh, 680px) !important; background: #111; }
.pano-hint { font-size: 13px; color: var(--faint); margin-top: 12px; }
.projekt-video video { width: 100%; background: #111; }
.projekt-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: 48px; border-top: 1px solid var(--rule); }
.projekt-cta-title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; margin: 0; }
.projekt-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.related { background: var(--bg-2); padding-block: clamp(64px, 8vw, 112px); }

/* Formularz */
.braf-form-wrap { padding-top: 6px; }
.braf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-bottom: 34px; }
.braf-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.braf-form .braf-full { grid-column: 1 / -1; }
.braf-form input[type=text], .braf-form input[type=email], .braf-form input[type=tel], .braf-form select, .braf-form textarea {
	font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; padding: 10px 0 12px; width: 100%; transition: border-color .2s;
}
.braf-form textarea { resize: vertical; min-height: 120px; }
.braf-form select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 6px 6px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) right 0 center / 6px 6px no-repeat; padding-right: 24px; }
.braf-form input:focus, .braf-form select:focus, .braf-form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.braf-form ::placeholder { color: #a5a7ac; }
.braf-form input[type=file] { font-family: inherit; font-size: 14px; color: var(--muted); padding-top: 6px; }
.braf-form input[type=file]::file-selector-button { font: inherit; font-size: 14px; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 0; padding: 10px 16px; margin-right: 14px; cursor: pointer; transition: background .2s, color .2s; }
.braf-form input[type=file]::file-selector-button:hover { background: var(--ink); color: #fff; }
.braf-form .braf-check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.55; }
.braf-form .braf-check input { appearance: none; margin-top: 1px; width: 18px; height: 18px; flex: none; border: 1px solid var(--ink); border-radius: 0; background: #fff; display: grid; place-content: center; cursor: pointer; }
.braf-form .braf-check input::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: scale(0); transition: transform .2s var(--ease); }
.braf-form .braf-check input:checked::after { transform: scale(1); }
.braf-hp { position: absolute; left: -9999px; }
.braf-form-msg { padding: 18px 20px; margin-bottom: 26px; border: 1px solid var(--ink); }
.braf-form-err { border-color: #b3261e; color: #b3261e; }

/* Stopka */
.site-footer { background: var(--night); color: #a9abb1; font-size: 15px; }
.site-footer a, .site-footer li a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px 48px; padding-block: clamp(64px, 8vw, 112px); }
.footer-cta-title { font-size: clamp(30px, 3.6vw, 54px); font-weight: 300; line-height: 1.12; letter-spacing: -0.015em; color: #fff; margin: 0; max-width: 13em; }
.footer-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.footer-tel { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: .01em; }
.site-footer .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.site-footer .btn-outline:hover { background: #fff; color: var(--ink); text-decoration: none; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
.footer-wordmark { color: #fff; font-size: 19px; margin-bottom: 18px; }
.footer-wordmark .logo-mark { width: 22px; height: 22px; }
.footer-brand p { max-width: 26em; margin: 0; }
.footer-h { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.fab-tel { display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 999; background: rgba(12,13,17,.96); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s var(--ease); }
.lb.is-open { opacity: 1; }
.lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; user-select: none; }
.lb button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.lb button:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Tablet */
@media (max-width: 1100px) {
	:root { --gutter: 28px; }
	.main-nav .menu { gap: 22px; }
	.header-tel { padding-left: 22px; }
	.braf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.opinie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Telefon */
@media (max-width: 900px) {
	:root { --header-h: 68px; --gutter: 20px; }
	body { font-size: 16px; }
	.header-tel { display: none; }
	.wordmark { font-size: 18px; letter-spacing: .24em; gap: 11px; }
	.logo-mark { width: 21px; height: 21px; }
	.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; color: inherit; cursor: pointer; margin-right: -10px; }
	.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 24px; height: 1px; background: currentColor; position: relative; transition: transform .3s var(--ease), top .3s var(--ease); }
	.nav-toggle-bars::before { content: ""; position: absolute; top: 7px; left: 0; }
	.nav-toggle-bars { top: -3px; }
	.nav-open .nav-toggle-bars { transform: rotate(45deg); top: 0; }
	.nav-open .nav-toggle-bars::before { transform: rotate(-90deg); top: 0; }
	.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; color: var(--ink); padding: 18px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 60; }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { background: #fff !important; color: var(--ink) !important; border-bottom-color: var(--rule) !important; }
	.nav-open .site-header::before { opacity: 0; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li > a { font-size: 28px; font-weight: 300; padding: 12px 0; border-bottom: 1px solid var(--rule); }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 4px 0 10px 2px; min-width: 0; }
	.main-nav .sub-menu a { font-size: 17px; color: var(--muted); padding: 7px 0; }
	.nav-mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
	.nav-mail { font-size: 15px; color: var(--muted); }
	.hero { min-height: 560px; }
	.hero-shade { background: linear-gradient(0deg, rgba(10,9,8,.78) 0%, rgba(10,9,8,.5) 30%, rgba(10,9,8,.08) 58%, rgba(10,9,8,0) 70%); }
	.hero-title { font-size: clamp(40px, 11vw, 58px); }
	.hero-caption { display: none; }
	.dwie-kolumny, .kontakt-cols { grid-template-columns: 1fr; }
	.wiersze li, .proces li { grid-template-columns: 1fr; gap: 4px; }
	.proces li em { padding-top: 0; }
	.projekt-body { grid-template-columns: 1fr; }
	.projekt-hero { padding-inline: 0; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.fab-tel { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 0; background: var(--accent); color: #fff; align-items: center; justify-content: center; }
	.fab-tel .ico { width: 22px; height: 22px; }
}

@media (max-width: 640px) {
	.braf-tiles, .opinie, .gallery-grid { grid-template-columns: 1fr; }
	.braf-tiles { gap: 40px; }
	.gallery-grid { gap: 10px; }
	.braf-form-grid { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr; gap: 32px; }
	.btn { width: 100%; }
	.hero-actions .btn { width: auto; }
	.lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
	.lb-prev { transform: scaleX(-1); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .hero-img, .js .hero-title span, .js .hero-sub, .js .hero-actions { transform: none; opacity: 1; }
}

.hero-title, .hero-sub, .has-hero:not(.is-scrolled):not(.nav-open) .site-header { text-shadow: 0 1px 18px rgba(0,0,0,.18); }
.ico-arrow-long { width: 34px; height: 14px; }
