/* ==========================================================================
   BM Architekci – style motywu potomnego Kadence
   Wymiary z projektu Figma (1920px, kontener 1414px).
   ========================================================================== */

:root {
	--bm-ink: #1e1e1e;
	--bm-bg: #f8f9fb;
	--bm-muted: rgba(30, 30, 30, 0.6);
	--bm-line-soft: rgba(30, 30, 30, 0.3);
	--bm-border: #a2a2a2;
	--bm-font: "Fustat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	--bm-col-gap: 51px;
	--bm-row-gap: 56px;
	--bm-text: 20px;
	--bm-display: clamp(48px, 4.6vw, 88px);
	--bm-h2: clamp(28px, 2.2vw, 36px);

	--global-body-font-family: var(--bm-font);
	--global-heading-font-family: var(--bm-font);
	--global-content-width: 1462px;
	--global-content-edge-padding: 24px;
	--global-palette3: var(--bm-ink);
	--global-palette4: var(--bm-ink);
	--global-palette5: var(--bm-ink);
	--global-palette9: var(--bm-bg);
	--global-palette8: var(--bm-bg);
}

@media (max-width: 1024px) {
	:root {
		--bm-col-gap: 24px;
		--bm-row-gap: 32px;
		--bm-text: 18px;
	}
}

@media (max-width: 767px) {
	:root {
		--global-content-edge-padding: 16px;
		--bm-row-gap: 24px;
		--bm-text: 17px;
	}
}

body.bm-theme {
	font-family: var(--bm-font);
	font-size: var(--bm-text);
	color: var(--bm-ink);
	background: var(--bm-bg);
	overflow-x: clip;
}

.bm-theme #wrapper {
	position: relative;
	overflow-x: clip;
}

.bm-theme h1,
.bm-theme h2,
.bm-theme h3,
.bm-theme h4 {
	font-family: var(--bm-font);
	color: var(--bm-ink);
}

.bm-theme a {
	color: inherit;
}

/* --------------------------------------------------------------------------
   Typografia
   -------------------------------------------------------------------------- */

.bm-display,
.bm-theme .is-style-bm-display {
	font-size: var(--bm-display);
	font-weight: 800;
	line-height: 0.85;
	margin: 0;
	letter-spacing: 0;
}

.bm-eyebrow,
.bm-theme .is-style-bm-eyebrow {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.4em;
	text-transform: uppercase;
}

.bm-lead,
.bm-theme .is-style-bm-lead {
	max-width: 702px;
	margin: 0;
	font-size: var(--bm-text);
	line-height: 1.3;
}

.bm-lead p {
	margin: 0;
}

/* Ozdobne ukośne kreski na nagłówkach */
.bm-lined,
.bm-theme .is-style-bm-lined {
	position: relative;
	isolation: isolate;
}

.bm-deco {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	height: 1px;
	background: var(--bm-line-soft);
	transform: rotate(24deg);
	transform-origin: 0 0;
	pointer-events: none;
	z-index: -1;
}

.bm-theme .is-style-bm-lined::before,
.bm-theme .is-style-bm-lined::after {
	content: "";
	position: absolute;
	height: 1px;
	background: var(--bm-line-soft);
	transform: rotate(24deg);
	transform-origin: 0 0;
	pointer-events: none;
}

.bm-theme .is-style-bm-lined::before {
	left: 0;
	top: 0.1em;
	width: 1.2em;
}

.bm-theme .is-style-bm-lined::after {
	left: 3.1em;
	top: 0.05em;
	width: 0.9em;
}

/* --------------------------------------------------------------------------
   Przyciski i linki
   -------------------------------------------------------------------------- */

.bm-btn,
.bm-theme .is-style-bm-outline .wp-block-button__link,
.bm-theme .header-button-wrap .header-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 143px;
	min-height: 48px;
	padding: 12px 32px;
	border: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	color: var(--bm-ink);
	font-family: var(--bm-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.25s var(--bm-ease), color 0.25s var(--bm-ease);
}

.bm-btn:hover,
.bm-btn:focus-visible,
.bm-theme .is-style-bm-outline .wp-block-button__link:hover,
.bm-theme .header-button-wrap .header-button:hover,
.bm-theme .header-button-wrap .header-button:focus-visible {
	background: var(--bm-ink);
	color: var(--bm-bg);
	box-shadow: none;
}

.bm-more {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--bm-text);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.bm-more::after {
	content: "";
	width: 13px;
	height: 8px;
	background: url("../img/arrow-more.svg") center / contain no-repeat;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.25s var(--bm-ease), transform 0.25s var(--bm-ease);
}

.bm-more:hover::after,
.bm-more:focus-visible::after {
	opacity: 1;
	transform: none;
}

.bm-theme :focus-visible {
	outline: 2px solid var(--bm-ink);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Nagłówek (Kadence header builder)
   -------------------------------------------------------------------------- */

.bm-theme #masthead {
	position: relative;
	z-index: 20;
	box-shadow: 0 4px 12px rgba(30, 30, 30, 0.08);
}

.bm-theme #masthead .site-header-row-container-inner {
	background: var(--bm-bg);
}

.bm-theme .site-branding .custom-logo {
	width: 309px;
	max-width: 100%;
	height: auto;
}

.bm-theme .main-navigation .primary-menu-container > ul > li.menu-item > a {
	padding-inline: 30px;
	font-size: 20px;
	color: var(--bm-ink);
	text-underline-offset: 6px;
}

.bm-theme .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.bm-theme .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.bm-theme .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a,
.bm-theme .main-navigation .primary-menu-container > ul > li.current_page_parent > a {
	color: var(--bm-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.bm-theme .header-button-wrap {
	margin-left: 14px;
}

@media (max-width: 1024px) {
	.bm-theme .site-branding .custom-logo {
		width: 220px;
	}
}

/* --------------------------------------------------------------------------
   Social media
   -------------------------------------------------------------------------- */

.bm-social {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-social__link {
	display: grid;
	place-items: center;
	width: 39px;
	height: 39px;
	transition: opacity 0.2s var(--bm-ease);
}

.bm-social__link:hover {
	opacity: 0.6;
}

.bm-social__link img {
	max-width: 100%;
	max-height: 100%;
}

.bm-social__link--facebook img {
	height: 80%;
	width: auto;
}

.bm-social__link--linkedin img {
	width: 80%;
	height: auto;
}

.bm-side-social {
	position: absolute;
	top: 217px;
	left: min(calc(50% + 757px), calc(100% - 82px));
	z-index: 5;
	width: 98px;
	height: 161px;
}

.bm-side-social .bm-social {
	position: absolute;
	top: 13px;
	left: 27px;
	flex-direction: column;
	gap: 9px;
}

.bm-side-social .bm-social__link img {
	transform: rotate(90deg);
}

.home .bm-side-social {
	top: 411px;
}

/* Poniżej ~1680px ikony nachodziłyby na kafelki – są wtedy w stopce i na stronie Kontakt. */
@media (max-width: 1679px) {
	.bm-side-social {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Ozdobne kwadraty
   -------------------------------------------------------------------------- */

.bm-squares {
	position: absolute;
	width: 653px;
	height: 893px;
	pointer-events: none;
	z-index: 0;
}

.bm-squares span {
	position: absolute;
	left: 95px;
	width: 462px;
	height: 462px;
	border: 1px solid var(--bm-ink);
	transform: rotate(45deg);
}

.bm-squares span:first-child {
	top: 95px;
}

.bm-squares span:last-child {
	top: 334px;
}

.bm-squares--content {
	top: 388px;
	left: calc(50% + 706px);
}

.single-projekt .bm-squares--content,
.blog .bm-squares--content,
.single-post .bm-squares--content {
	top: 623px;
}

.post-type-archive-projekt .bm-squares--content,
.tax-typ_projektu .bm-squares--content {
	top: 906px;
}

.home .bm-squares--content {
	top: 2315px;
	left: calc(50% + 771px);
}

.bm-squares--footer {
	top: -83px;
	left: calc(50% - 1375px);
}

@media (max-width: 1279px) {
	.bm-squares--content {
		display: none;
	}

	.bm-squares--footer {
		left: -415px;
	}
}

@media (max-width: 767px) {
	.bm-squares {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Układ podstron
   -------------------------------------------------------------------------- */

.bm-theme .content-area {
	margin-top: 0;
	margin-bottom: 0;
}

.bm-theme .site-main .entry-content-wrap {
	padding: 0;
}

.bm-theme .entry.content-bg,
.bm-theme .content-bg {
	background: transparent;
	box-shadow: none;
}

.bm-page,
.page .bm-theme .content-area {
	position: relative;
	z-index: 1;
}

.bm-page {
	padding-top: clamp(64px, 8vw, 154px);
}

.bm-page-header {
	display: flex;
	flex-direction: column;
	gap: 25px;
	margin-bottom: 51px;
}

.bm-page-header--spaced {
	margin-bottom: clamp(48px, 6vw, 92px);
}

.bm-empty {
	margin: 0 0 80px;
}

/* Strony z edytora (O nas, Kontakt, strona główna) */
.page .entry-content.single-content {
	position: relative;
	z-index: 1;
}

.bm-theme .single-content > .wp-block-heading.is-style-bm-display:first-child {
	margin-top: clamp(64px, 8vw, 154px);
}

.bm-theme .single-content > .wp-block-heading.is-style-bm-display + * {
	margin-top: 65px;
}

.bm-theme .single-content > p {
	font-size: var(--bm-text);
	line-height: 1.25;
}

.bm-theme .single-content > p {
	max-width: 702px;
	margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   Mozaika projektów
   -------------------------------------------------------------------------- */

.bm-masonry {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--bm-col-gap);
	align-items: start;
}

.bm-masonry__col {
	display: flex;
	flex-direction: column;
	gap: var(--bm-row-gap);
	min-width: 0;
}

.bm-masonry__item {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.bm-masonry__head {
	gap: 0;
}

.bm-masonry__insert {
	margin: 0 0 8px;
	font-size: var(--bm-h2);
	font-weight: 800;
	line-height: 1;
}

@media (max-width: 767px) {
	.bm-masonry {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: var(--bm-row-gap);
	}

	.bm-masonry__col {
		display: contents;
	}

	.bm-masonry__item {
		order: var(--o);
	}
}

/* Kafelek projektu */
.bm-tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 681 / 544;
	background: #dfe2e6;
	color: var(--bm-bg);
	text-decoration: none;
}

.bm-tile--pionowy {
	aspect-ratio: 681 / 728;
}

.bm-tile--hero {
	aspect-ratio: 676 / 405;
}

.bm-tile--maly {
	aspect-ratio: 326 / 401;
}

.bm-tile--niski {
	aspect-ratio: 326 / 286;
}

.bm-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--bm-ease);
}

.bm-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #1e1e1e, #848484);
	mix-blend-mode: multiply;
	opacity: 0;
	transition: opacity 0.45s var(--bm-ease);
}

.bm-theme .bm-tile,
.bm-theme .bm-tile:hover {
	color: var(--bm-bg);
}

.bm-tile__label {
	position: absolute;
	color: var(--bm-bg);
	right: 22px;
	bottom: 0;
	z-index: 1;
	font-size: 20px;
	line-height: 23px;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg) translateY(-100%);
	opacity: 0;
	transition: opacity 0.45s var(--bm-ease), transform 0.45s var(--bm-ease);
}

.bm-tile:hover::after,
.bm-tile:focus-visible::after {
	opacity: 0.45;
}

.bm-tile:hover .bm-tile__img,
.bm-tile:focus-visible .bm-tile__img {
	transform: scale(1.03);
}

.bm-tile:hover .bm-tile__label,
.bm-tile:focus-visible .bm-tile__label {
	opacity: 1;
	transform: rotate(180deg) translateY(25px);
}

.bm-tile--maly .bm-tile__label,
.bm-tile--niski .bm-tile__label {
	font-size: 16px;
	right: 12px;
}

@media (hover: none) {
	.bm-tile::after {
		opacity: 0.3;
	}

	.bm-tile__label {
		opacity: 1;
		transform: rotate(180deg) translateY(25px);
	}
}

/* Mozaika – góra strony głównej */
.bm-mozaika .bm-masonry__col:last-child .bm-masonry__head {
	gap: 28px;
}

.bm-mozaika .bm-masonry__col:first-child .bm-masonry__head {
	gap: clamp(40px, 4.4vw, 85px);
}

.bm-mozaika .bm-masonry__col:first-child .bm-masonry__head + .bm-masonry__item {
	margin-top: calc(44px - var(--bm-row-gap));
}

.bm-mozaika .bm-masonry__col:last-child .bm-masonry__head + .bm-masonry__item {
	margin-top: calc(51px - var(--bm-row-gap));
}

.bm-hero-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 1.25vw, 24px);
	align-items: start;
}

.bm-hero-row__side {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.bm-stat {
	margin: 0;
	padding-top: 8px;
	font-size: var(--bm-h2);
	font-weight: 800;
	line-height: 1.03;
}

.bm-intro {
	display: flex;
	flex-direction: column;
	gap: 29px;
}

.bm-intro__title {
	margin: 0;
	padding-top: 14px;
	font-size: var(--bm-h2);
	font-weight: 800;
	line-height: 35px;
}

/* Strona główna: mozaika zaczyna się tuż pod nagłówkiem */
.home .bm-theme .single-content > .bm-mozaika:first-child,
.home .single-content > .bm-mozaika:first-child {
	margin-top: 1px;
}

@media (max-width: 767px) {
	.bm-hero-row {
		grid-template-columns: 1fr 1fr;
	}

	.bm-intro__title {
		line-height: 1.1;
	}
}

/* Filtry typów projektów */
.bm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 51px;
}

.bm-filter {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 25px 10px 28px;
	border: 1px solid var(--bm-ink);
	font-size: 16px;
	text-decoration: none;
	transition: background-color 0.25s var(--bm-ease), color 0.25s var(--bm-ease);
}

.bm-filter:hover,
.bm-filter:focus-visible,
.bm-filter.is-active {
	background: var(--bm-ink);
	color: var(--bm-bg);
}

@media (max-width: 767px) {
	.bm-filters {
		gap: 8px;
	}

	.bm-filter {
		min-height: 44px;
		padding: 8px 16px;
		font-size: 15px;
	}
}

/* Paginacja */
.bm-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 42px 0 0;
	font-size: 20px;
}

.bm-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	padding: 0 4px;
	text-decoration: none;
}

.bm-pagination .page-numbers.current {
	background: #000;
	color: #fff;
	font-weight: 700;
}

.bm-pagination .page-numbers:not(.current):hover {
	text-decoration: underline;
}

.bm-pagination__next,
.bm-pagination__last {
	display: flex;
	align-items: center;
}

.bm-pagination__last img + img {
	margin-left: -21px;
}

.bm-pagination__last img:first-child {
	margin-left: -9px;
}

/* --------------------------------------------------------------------------
   Pojedynczy projekt
   -------------------------------------------------------------------------- */

.bm-project__header {
	display: flex;
	flex-direction: column;
	gap: 26px;
	margin-bottom: 49px;
}

.bm-project__body {
	display: grid;
	grid-template-columns: minmax(0, 706px) minmax(0, 1fr);
	gap: clamp(32px, 2.5vw, 48px);
	align-items: start;
	margin-bottom: 77px;
}

.bm-gallery__stage {
	display: grid;
}

.bm-gallery__slide {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s var(--bm-ease), visibility 0.5s;
}

.bm-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.bm-gallery__slide img {
	display: block;
	width: 100%;
	height: auto;
}

.bm-gallery__nav {
	display: flex;
	align-items: center;
	gap: 33px;
	margin-top: 49px;
}

.bm-gallery__arrow {
	flex: none;
	padding: 8px 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.bm-gallery__arrow:hover {
	background: none;
	opacity: 0.6;
}

.bm-gallery__arrow img {
	display: block;
	width: 38px;
	height: auto;
}

.bm-gallery__arrow[data-dir="-1"] img {
	transform: rotate(180deg);
}

.bm-gallery__thumbs {
	display: flex;
	flex: 1;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.bm-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.bm-gallery__thumb {
	flex: none;
	width: 97px;
	height: 97px;
	padding: 0;
	border: 0;
	background: none;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.25s var(--bm-ease);
}

.bm-gallery__thumb:hover {
	background: none;
}

.bm-gallery__thumb.is-active,
.bm-gallery__thumb:hover {
	opacity: 1;
}

.bm-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-project__aside {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 120px);
	padding-top: 22px;
	font-size: var(--bm-text);
}

.bm-project__text p {
	margin: 0 0 1.2em;
	line-height: 1.25;
}

.bm-project__details {
	display: flex;
	flex-direction: column;
	gap: 36px;
	margin: 0;
}

.bm-project__details dt {
	font-size: var(--bm-h2);
	font-weight: 800;
	line-height: 1.2;
}

.bm-project__details dd {
	margin: 4px 0 0;
	font-size: clamp(24px, 1.9vw, 32px);
	line-height: 1.2;
}

/* Wjazd tekstu spod zdjęcia (animacja z projektu) – sterowany klasą .bm-anim z JS */
.bm-reveal.bm-anim {
	opacity: 0;
	transform: translateX(-40%);
	transition: opacity 0.9s var(--bm-ease) var(--bm-delay, 0s), transform 0.9s var(--bm-ease) var(--bm-delay, 0s);
}

.bm-reveal.bm-anim.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 900px) {
	.bm-project__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-project__aside {
		padding-top: 0;
	}

	.bm-reveal.bm-anim {
		transform: translateY(24px);
	}

	.bm-gallery__nav {
		gap: 16px;
		margin-top: 24px;
	}

	.bm-gallery__thumb {
		width: 72px;
		height: 72px;
	}
}

/* --------------------------------------------------------------------------
   Aktualności
   -------------------------------------------------------------------------- */

.bm-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 16px;
}

.bm-card {
	display: flex;
	flex-direction: column;
}

.bm-card__media {
	display: block;
	aspect-ratio: 461 / 220;
	overflow: hidden;
	background: #dfe2e6;
}

.bm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--bm-ease);
}

.bm-card:hover .bm-card__media img {
	transform: scale(1.04);
}

.bm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	min-height: 272px;
	padding: 17px 20px 42px 21px;
	border: 1px solid rgba(0, 0, 0, 0.5);
	border-top: 0;
	font-size: var(--bm-text);
}

.bm-card__date {
	opacity: 0.6;
}

.bm-card__title {
	margin: 0;
	font-size: var(--bm-text);
	font-weight: 700;
	line-height: 1.2;
}

.bm-card__title a {
	text-decoration: none;
}

.bm-card__excerpt {
	margin: 0;
	line-height: 1.25;
}

.bm-card .bm-more {
	margin-top: auto;
	padding-top: 14px;
	align-self: flex-start;
}

@media (max-width: 1024px) {
	.bm-news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bm-news {
		grid-template-columns: 1fr;
	}

	.bm-card__body {
		min-height: 0;
	}
}

/* Pojedyncza aktualność */
.bm-article__content {
	margin-bottom: 64px;
}

.bm-theme .bm-article__content > * {
	max-width: 1060px;
}

.bm-article__content > .wp-block-columns {
	max-width: none;
	gap: clamp(32px, 4vw, 64px);
	margin-bottom: 48px;
}

.bm-article__content p {
	margin: 0 0 1.25em;
}

.bm-back {
	margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Oferujemy
   -------------------------------------------------------------------------- */

.bm-oferta {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 4.5vw, 86px);
	margin-block: clamp(80px, 9vw, 168px) 0;
}

.bm-oferta__title {
	text-align: center;
}

.bm-oferta__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.bm-oferta__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 13px;
	padding: 35px 19px 18px 20px;
	border: 1px solid var(--bm-border);
	text-align: center;
	color: #000;
}

.bm-oferta__icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.bm-oferta__name {
	margin: 0;
	font-size: var(--bm-text);
	font-weight: 700;
	color: #000;
}

.bm-oferta__text {
	margin: 0 0 1.2em;
	font-size: var(--bm-text);
	line-height: 1.25;
}

@media (max-width: 1024px) {
	.bm-oferta__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.bm-oferta__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.bm-kontakt {
	display: grid;
	grid-template-columns: minmax(0, 709px) minmax(0, 706px);
	justify-content: space-between;
	gap: 48px;
	padding-top: clamp(48px, 7vw, 220px);
}

.bm-kontakt__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.bm-kontakt__title {
	margin: 0 0 54px;
	font-size: clamp(44px, 3.75vw, 72px);
	font-weight: 800;
	line-height: 1.25;
}

.bm-kontakt__items {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-bottom: 48px;
}

.bm-kontakt__subtitle {
	margin: 0 0 17px;
	font-size: var(--bm-h2);
	font-weight: 800;
	line-height: 1.25;
}

.bm-kontakt__form .bm-kontakt__subtitle {
	margin-bottom: 35px;
}

.bm-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 17px;
	font-size: 16px;
	line-height: 1.3;
}

.bm-contact-item__icon {
	flex: none;
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.bm-contact-item__label {
	margin: 0;
	font-weight: 700;
}

.bm-contact-item__value {
	display: block;
	margin: 3px 0 0;
	text-decoration: none;
}

.bm-contact-item__value--muted {
	margin-top: 10px;
	opacity: 0.6;
	font-size: 0.85em;
}

.bm-contact-item__value--muted + .bm-contact-item__value--muted {
	margin-top: 3px;
}

a.bm-contact-item__value:hover {
	text-decoration: underline;
}

.bm-contact-item--large {
	font-size: 20px;
}

.bm-contact-item--large .bm-contact-item__value {
	margin-top: 6px;
}

@media (max-width: 900px) {
	.bm-kontakt {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Formularz */
.bm-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 42px;
}

.bm-form__box {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 53px 38px;
	align-content: start;
	width: 100%;
	min-height: 579px;
	padding: 69px 43px 48px 48px;
	border: 1px solid var(--bm-ink);
}

.bm-form__field {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 16px;
}

.bm-form__field--wiadomosc {
	grid-column: 1 / -1;
	margin-top: 122px;
}

.bm-form__label {
	opacity: 0.6;
}

.bm-form input[type="text"],
.bm-form input[type="tel"],
.bm-form input[type="email"],
.bm-form textarea {
	width: 100%;
	min-height: 30px;
	padding: 2px 0;
	border: 0;
	border-bottom: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--bm-ink);
	font: inherit;
	font-size: 18px;
}

.bm-form textarea {
	resize: vertical;
	field-sizing: content;
	min-height: 32px;
}

.bm-form input:focus,
.bm-form textarea:focus {
	outline: none;
	border-bottom-width: 2px;
	box-shadow: none;
}

.bm-form__consent {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: -29px;
	font-size: 13px;
}

.bm-form__consent span {
	opacity: 0.6;
}

.bm-form__consent input {
	appearance: none;
	flex: none;
	width: 15px;
	height: 15px;
	margin: 0;
	border: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.bm-form__consent input:checked {
	background: var(--bm-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23f8f9fb' stroke-width='1.6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.bm-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bm-form__notice {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid var(--bm-ink);
	font-size: 16px;
}

.bm-form__notice--ok {
	background: var(--bm-ink);
	color: var(--bm-bg);
}

@media (max-width: 640px) {
	.bm-form__box {
		grid-template-columns: 1fr;
		gap: 32px;
		min-height: 0;
		padding: 32px 20px;
	}

	.bm-form__field--wiadomosc {
		margin-top: 0;
	}

	.bm-form__consent {
		margin-top: 0;
	}
}

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */

.bm-footer {
	position: relative;
	margin-top: clamp(80px, 8vw, 150px);
	padding: 0 0 39px;
	background: var(--bm-bg);
}

.bm-footer__inner {
	position: relative;
	z-index: 1;
}

.bm-footer__title {
	display: flex;
	justify-content: flex-end;
	margin: 0;
	padding: 0 22px 10px 0;
	border-bottom: 1px solid #000;
	font-size: clamp(44px, 3.4vw, 64px);
	font-weight: 800;
	line-height: 1;
}

.bm-footer__title .bm-lined {
	display: inline-block;
}

.bm-footer__grid {
	display: grid;
	grid-template-columns: 259px 299px 1fr auto;
	grid-template-areas:
		".    .     .       nav"
		"logo phone .       ."
		"logo email address social";
	align-items: start;
	row-gap: 0;
	padding-top: 65px;
}

.bm-footer__logo {
	grid-area: logo;
	align-self: end;
	width: 79px;
}

.bm-footer__logo img {
	display: block;
	width: 79px;
	height: auto;
}

.bm-footer__phone {
	grid-area: phone;
	margin-top: 4px;
}

.bm-footer__email {
	grid-area: email;
	margin-top: 38px;
}

.bm-footer__address {
	grid-area: address;
	margin-top: 41px;
}

.bm-footer__nav {
	grid-area: nav;
}

.bm-footer__menu {
	display: flex;
	gap: 60px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 20px;
}

.bm-footer__menu a {
	text-decoration: none;
	text-underline-offset: 6px;
}

.bm-footer__menu a:hover,
.bm-footer__menu .current-menu-item > a {
	text-decoration: underline;
}

.bm-footer__social {
	grid-area: social;
	display: flex;
	align-items: center;
	gap: 23px;
	align-self: end;
	justify-self: end;
}

.bm-footer__social::before {
	content: "";
	width: 199px;
	height: 1px;
	margin-top: 22px;
	background: #000;
}

@media (max-width: 1100px) {
	.bm-footer__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"nav     nav"
			"phone   email"
			"address ."
			"logo    social";
		gap: 28px 24px;
		padding-top: 40px;
	}

	.bm-footer__phone,
	.bm-footer__email,
	.bm-footer__address {
		margin-top: 0;
	}
}

@media (max-width: 560px) {
	.bm-footer__grid {
		grid-template-columns: 1fr;
		grid-template-areas: "nav" "phone" "email" "address" "social" "logo";
	}

	.bm-footer__menu {
		flex-wrap: wrap;
		gap: 12px 32px;
	}

	.bm-footer__social {
		justify-self: start;
	}

	.bm-footer__social::before {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Pomocnicze
   -------------------------------------------------------------------------- */

.bm-block-placeholder {
	padding: 32px;
	border: 1px dashed var(--bm-border);
	font-size: 16px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Neutralizacja marginesów z .single-content Kadence wewnątrz bloków BM
   -------------------------------------------------------------------------- */

.bm-theme .single-content :where(.bm-mozaika, .bm-projekty, .bm-oferta, .bm-kontakt) :is(h1, h2, h3, p, dl, dd, ul, figure) {
	margin-top: 0;
	margin-bottom: 0;
}

.bm-theme .single-content :where(.bm-mozaika, .bm-projekty, .bm-oferta, .bm-kontakt) ul {
	padding-left: 0;
}

.bm-theme .single-content .bm-masonry .bm-masonry__insert {
	margin-bottom: 8px;
}

.bm-theme .single-content .bm-kontakt .bm-kontakt__title {
	margin-bottom: 54px;
}

.bm-theme .single-content .bm-kontakt .bm-kontakt__subtitle {
	margin-bottom: 17px;
}

.bm-theme .single-content .bm-kontakt .bm-kontakt__form .bm-kontakt__subtitle {
	margin-bottom: 35px;
}

.bm-theme .single-content .bm-oferta .bm-oferta__text {
	margin-bottom: 1.2em;
}

.bm-theme .single-content .bm-kontakt .bm-form__notice {
	margin-bottom: 24px;
}

.bm-theme .single-content .bm-kontakt .bm-kontakt__items {
	margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   Animacje odsłaniania (dodawane przez JS – bez JS wszystko jest widoczne)
   -------------------------------------------------------------------------- */

/* Kurtyna odsłaniająca kafelek (pseudo-element – clip-path na samym kafelku blokowałby IntersectionObserver) */
.bm-tile.bm-anim::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--bm-bg);
	transform-origin: 50% 0;
	transition: transform 1.1s cubic-bezier(0.77, 0, 0.18, 1) var(--bm-delay, 0s);
	pointer-events: none;
}

.bm-tile.bm-anim.is-visible::before {
	transform: scaleY(0);
}

.bm-tile.bm-anim .bm-tile__img {
	transform: scale(1.18);
	transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) var(--bm-delay, 0s), opacity 0.6s ease;
}

.bm-tile.bm-anim.is-visible .bm-tile__img {
	transform: none;
}

.bm-tile.bm-anim.is-visible:hover .bm-tile__img,
.bm-tile.bm-anim.is-visible:focus-visible .bm-tile__img {
	transform: scale(1.03);
	transition-delay: 0s;
	transition-duration: 0.8s;
}

.bm-js .bm-tile__img,
.bm-js .bm-card__media img {
	opacity: 0;
}

.bm-js .bm-tile__img.is-loaded,
.bm-js .bm-card__media img.is-loaded {
	opacity: 1;
}

.bm-card.bm-anim,
.bm-masonry__insert.bm-anim,
.bm-stat.bm-anim,
.bm-intro.bm-anim {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s var(--bm-ease) var(--bm-delay, 0s), transform 0.8s var(--bm-ease) var(--bm-delay, 0s);
}

.bm-card.bm-anim.is-visible,
.bm-masonry__insert.bm-anim.is-visible,
.bm-stat.bm-anim.is-visible,
.bm-intro.bm-anim.is-visible {
	opacity: 1;
	transform: none;
}

/* Podmiana wyników (AJAX) */
.bm-results {
	transition: opacity 0.35s var(--bm-ease), transform 0.35s var(--bm-ease);
}

.bm-results.is-leaving {
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
}

.bm-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 2px;
	background: var(--bm-ink);
	transform: scaleX(0);
	transform-origin: 0 50%;
	opacity: 0;
	pointer-events: none;
}

.bm-progress.is-active {
	opacity: 1;
	animation: bm-progress 1.4s var(--bm-ease) forwards;
}

@keyframes bm-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(0.85); }
}

/* Podgląd zdjęć (lightbox) */
.bm-gallery__slide {
	cursor: zoom-in;
}

.bm-no-scroll {
	overflow: hidden;
}

.bm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 64px 88px;
	background: rgba(20, 20, 20, 0.94);
	opacity: 0;
	transition: opacity 0.3s var(--bm-ease);
}

.bm-lightbox.is-open {
	opacity: 1;
}

.bm-lightbox[hidden] {
	display: none;
}

.bm-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 128px);
	object-fit: contain;
	opacity: 0;
	transform: scale(0.97);
	transition: opacity 0.4s var(--bm-ease), transform 0.4s var(--bm-ease);
}

.bm-lightbox__img.is-loaded {
	opacity: 1;
	transform: none;
}

.bm-theme .bm-lightbox button {
	position: absolute;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bm-bg);
	cursor: pointer;
	box-shadow: none;
}

.bm-theme .bm-lightbox .bm-lightbox__close {
	top: 20px;
	right: 28px;
	font-size: 44px;
	line-height: 1;
}

.bm-theme .bm-lightbox .bm-lightbox__nav {
	top: 50%;
	width: 56px;
	height: 56px;
	margin-top: -28px;
	background: url("../img/arrow-next.svg") center / 38px auto no-repeat;
	filter: invert(1);
}

.bm-theme .bm-lightbox .bm-lightbox__nav[data-dir="-1"] {
	left: 20px;
	transform: rotate(180deg);
}

.bm-theme .bm-lightbox .bm-lightbox__nav[data-dir="1"] {
	right: 20px;
}

.bm-theme .bm-lightbox .bm-lightbox__nav[hidden] {
	display: none;
}

.bm-lightbox__count {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	margin: 0;
	color: var(--bm-bg);
	font-size: 16px;
	letter-spacing: 0.3em;
	text-align: center;
}

@media (max-width: 767px) {
	.bm-lightbox {
		padding: 56px 12px;
	}

	.bm-theme .bm-lightbox .bm-lightbox__nav {
		top: auto;
		bottom: 8px;
		margin-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bm-results,
	.bm-lightbox,
	.bm-lightbox__img {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Formularz WPForms – wygląd jak w projekcie
   -------------------------------------------------------------------------- */

.bm-form--wpforms {
	display: block;
}

.bm-form--wpforms .wpforms-container {
	margin: 0;
}

.bm-form--wpforms .wpforms-field-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 53px 38px;
	align-content: start;
	min-height: 579px;
	padding: 69px 43px 48px 48px;
	border: 1px solid var(--bm-ink);
}

.bm-form--wpforms .wpforms-field {
	position: relative;
	padding: 0 !important;
	margin: 0;
}

.bm-form--wpforms .wpforms-field-textarea {
	grid-column: 1 / -1;
	margin-top: 122px;
}

.bm-form--wpforms .wpforms-field-checkbox {
	grid-column: 1 / -1;
	margin-top: -29px;
}

.bm-form--wpforms .wpforms-field-label {
	display: block;
	margin: 0 0 3px;
	font-size: 16px;
	font-weight: 400;
	opacity: 0.6;
}

.bm-form--wpforms .wpforms-required-label {
	display: none;
}

.bm-form--wpforms input[type="text"],
.bm-form--wpforms input[type="tel"],
.bm-form--wpforms input[type="email"],
.bm-form--wpforms textarea {
	width: 100%;
	max-width: none !important;
	height: auto;
	min-height: 30px;
	padding: 2px 0;
	border: 0;
	border-bottom: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--bm-ink);
	font: inherit;
	font-size: 18px;
}

.bm-form--wpforms textarea {
	height: 32px !important;
	min-height: 32px;
	resize: vertical;
	field-sizing: content;
}

.bm-form--wpforms input:focus,
.bm-form--wpforms textarea:focus {
	outline: none;
	border-bottom-width: 2px;
	box-shadow: none;
}

.bm-form--wpforms .wpforms-field-checkbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-form--wpforms .wpforms-field-checkbox li {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
}

.bm-form--wpforms .wpforms-field-checkbox label {
	margin: 0;
	font-size: 13px;
	opacity: 0.6;
}

.bm-form--wpforms input[type="checkbox"] {
	appearance: none;
	flex: none;
	width: 15px;
	height: 15px;
	margin: 0;
	border: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.bm-form--wpforms input[type="checkbox"]:checked {
	background: var(--bm-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23f8f9fb' stroke-width='1.6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.bm-form--wpforms label.wpforms-error,
.bm-form--wpforms em.wpforms-error {
	/* Absolutnie – pojawienie się/zniknięcie błędu nie przesuwa formularza. */
	position: absolute;
	top: 100%;
	left: 0;
	display: block;
	margin-top: 4px;
	color: #b3261e;
	font-size: 13px;
	font-style: normal;
	opacity: 1;
}

.bm-form--wpforms .wpforms-field-checkbox :is(label, em).wpforms-error {
	left: 30px;
}

.bm-form--wpforms input.wpforms-error,
.bm-form--wpforms textarea.wpforms-error {
	border-color: #b3261e;
}

.bm-form--wpforms .wpforms-submit-container {
	position: relative;
	margin-top: 42px;
	padding: 0;
}

.bm-theme .bm-form--wpforms button.wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 143px;
	min-height: 48px;
	padding: 12px 32px;
	border: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	color: var(--bm-ink);
	font-family: var(--bm-font);
	font-size: 16px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.25s var(--bm-ease), color 0.25s var(--bm-ease);
}

.bm-theme .bm-form--wpforms button.wpforms-submit:hover,
.bm-theme .bm-form--wpforms button.wpforms-submit:focus-visible {
	background: var(--bm-ink);
	color: var(--bm-bg);
}

.bm-form--wpforms .wpforms-submit-spinner {
	margin-left: 12px;
	vertical-align: middle;
}

.bm-form--wpforms [class^="wpforms-confirmation-container"] {
	margin: 0;
	padding: 24px 28px;
	border: 1px solid var(--bm-ink);
	background: var(--bm-ink);
	color: var(--bm-bg);
	font-size: 18px;
}

.bm-form--wpforms [class^="wpforms-confirmation-container"] p {
	margin: 0;
}

@media (max-width: 640px) {
	.bm-form--wpforms .wpforms-field-container {
		grid-template-columns: 1fr;
		gap: 32px;
		min-height: 0;
		padding: 32px 20px;
	}

	.bm-form--wpforms .wpforms-field-textarea,
	.bm-form--wpforms .wpforms-field-checkbox {
		margin-top: 0;
	}
}

/* Nadpisania bazowego CSS WPForms (wyższa specyficzność niż div.wpforms-container …) */
.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form .wpforms-field :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
	border: 0;
	border-bottom: 1px solid var(--bm-ink);
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	padding: 2px 0;
}

.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form .wpforms-field :is(input, textarea).wpforms-error {
	border-bottom-color: #b3261e;
}

.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form .wpforms-field input[type="checkbox"] {
	position: static;
	width: 15px;
	height: 15px;
	margin: 0;
	border: 1px solid var(--bm-ink);
	opacity: 1;
}

.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form .wpforms-field input[type="checkbox"].wpforms-error {
	border-color: #b3261e;
}

.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form .wpforms-field-checkbox em.wpforms-error {
	left: 30px;
	margin-top: 2px;
}

.bm-theme .bm-form--wpforms .wpforms-container [class^="wpforms-confirmation-container"] {
	margin: 0;
	padding: 24px 28px;
	border: 1px solid var(--bm-ink);
	background: var(--bm-ink);
	color: var(--bm-bg);
	font-size: 18px;
}

.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form :is(label, em).wpforms-error {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.bm-theme .bm-form--wpforms .wpforms-container .wpforms-form .wpforms-field-checkbox {
	margin-top: 0;
}

.bm-form--wpforms .wpforms-field-checkbox label a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Strony tekstowe (regulamin, polityka prywatności) */
.bm-theme .single-content > :is(h2, h3) {
	max-width: 960px;
	margin: 48px 0 16px;
	font-size: clamp(22px, 1.6vw, 28px);
	font-weight: 800;
}

.bm-theme .single-content > :is(ul, ol) {
	max-width: 960px;
	font-size: var(--bm-text);
	line-height: 1.4;
}

.bm-theme .single-content > p.has-small-font-size {
	opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Menu mobilne (panel Kadence) – kolory z projektu
   -------------------------------------------------------------------------- */

.bm-theme #mobile-drawer .drawer-inner {
	background: var(--bm-bg);
	color: var(--bm-ink);
}

.bm-theme #mobile-drawer .drawer-overlay {
	background: rgba(30, 30, 30, 0.35);
}

.bm-theme #mobile-drawer .drawer-header .drawer-toggle,
.bm-theme #mobile-drawer .drawer-header .drawer-toggle:hover {
	color: var(--bm-ink);
	background: transparent;
}

.bm-theme #mobile-drawer .toggle-close-bar {
	background: var(--bm-ink);
}

.bm-theme #mobile-drawer .mobile-navigation ul li > a {
	padding-block: 18px;
	color: var(--bm-ink);
	font-size: 22px;
	text-decoration: none;
}

.bm-theme #mobile-drawer .mobile-navigation ul li > a:hover,
.bm-theme #mobile-drawer .mobile-navigation ul li.current-menu-item > a,
.bm-theme #mobile-drawer .mobile-navigation ul li.current-menu-ancestor > a,
.bm-theme #mobile-drawer .mobile-navigation ul li.current_page_parent > a {
	color: var(--bm-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

.bm-theme #mobile-drawer .mobile-navigation ul li:not(.menu-item-has-children) a,
.bm-theme #mobile-drawer .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap {
	border-bottom: 1px solid var(--bm-line-soft);
}

.bm-theme #mobile-drawer .mobile-header-button-wrap {
	margin-top: 32px;
}

.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 143px;
	min-height: 48px;
	padding: 12px 32px;
	border: 1px solid var(--bm-ink);
	border-radius: 0;
	background: transparent;
	color: var(--bm-ink);
	font-size: 16px;
	box-shadow: none;
}

.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button:hover,
.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button:focus-visible {
	background: var(--bm-ink);
	color: var(--bm-bg);
}

.bm-theme .menu-toggle-open,
.bm-theme .menu-toggle-open:hover {
	color: var(--bm-ink);
	background: transparent;
}

/* Przycisk „Kontakt” w nagłówku – Kadence (.button-style-outline) zeruje tło na hover */
.bm-theme #masthead .header-button-wrap .header-button,
.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button {
	box-shadow: none;
}

.bm-theme #masthead .header-button-wrap .header-button,
.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button {
	border: 1px solid var(--bm-ink);
	background: transparent;
	color: var(--bm-ink);
}

.bm-theme #masthead .header-button-wrap .header-button:hover,
.bm-theme #masthead .header-button-wrap .header-button:focus-visible,
.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button:hover,
.bm-theme #mobile-drawer .mobile-header-button-wrap .mobile-header-button:focus-visible {
	background: var(--bm-ink);
	border-color: var(--bm-ink);
	color: var(--bm-bg);
	box-shadow: none;
}
