@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Stack Sans Text', sans-serif;
	--font2: 'Stack Sans Headline', sans-serif;

	--primary-color: hsl(221 79% 48%);
	--primary-color-light: hsl(221 79% 58%);
	--primary-color-dark: hsl(221 79% 38%);

	--xxl: 9.375rem;
	--xl: 4.6875rem;

	--bs-primary: hsl(221 79% 48%);
	--bs-primary-rgb: 26, 87, 219;

	--bs-light: hsl(216 45% 98%);
	--bs-light-rgb: 248, 249, 252;
	--bs-border-color: hsl(216 45% 87%);

	--bs-dark: hsl(218 53% 12%);
	--bs-dark-rgb: 14, 26, 47;

	--bs-body-color: var(--bs-dark);

	--h1: clamp(3.1rem, 5.5vw, 5.6125rem);
	--h2: clamp(2.4rem, 4vw, 4.20625rem);
	--h3: clamp(1.85rem, 3vw, 3.15625rem);
	--h4: clamp(1.5rem, 2.5vw, 2.36875rem);
	--h5: clamp(1.35rem, 2vw, 1.775rem);
	--h6: clamp(1.25rem, 1.5vw, 1.33125rem);
	--lead: clamp(1.15rem, 1.3vw, 1.25rem);

	--affix-height: 80px;
}

[x-cloak] {
	display: none !important;
}

:focus-visible {
	outline: 2px dashed var(--primary-color);
	outline-offset: 2px;
}

@view-transition {
	navigation: auto;
}

@keyframes fade-in {
	from {
		opacity: 0;
		background-color: var(--primary-color);
	}

	to {
		opacity: 1;
		background-color: var(--primary-color);
	}
}

@keyframes fade-out {
	from {
		opacity: 1;
		background-color: var(--primary-color);
	}

	to {
		opacity: 0;
		background-color: var(--primary-color);
	}
}

::view-transition-old(root) {
	animation: 800ms ease-in forwards fade-out;
}

::view-transition-new(root) {
	animation: 400ms ease-in forwards fade-in;
}

html {
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
	scroll-padding-top: var(--affix-height);
}

body {
	font-weight: 300;
	font-family: var(--font);
	line-height: 1.6;
	text-wrap-style: pretty;
}


b,
strong {
	font-weight: 500;
}

.aspect-1 {
	aspect-ratio: 1 / 1;
	height: auto;
	display: block;
	object-fit: cover;
}

.aspect-16x9 {
	aspect-ratio: 16 / 9;
	height: auto;
	display: block;
	object-fit: cover;
}

.aspect-4x3 {
	aspect-ratio: 4 / 3;
	height: auto;
	display: block;
	object-fit: cover;
}

.aspect-5x2 {
	aspect-ratio: 5 / 2;
	height: auto;
	display: block;
	object-fit: cover;
}

.font-size-12px {
	font-size: .75rem;
}

.font-size-14px {
	font-size: .875rem;
}

.font-size-16px {
	font-size: 1rem;
}

.font-size-18px {
	font-size: 1.125rem;
}

.font-size-20px {
	font-size: 1.25rem;
}

.font-size-22px {
	font-size: 1.375rem;
}

.font-size-24px {
	font-size: 1.5rem;
}

.font-size-26px {
	font-size: 1.625rem;
}

.font-size-28px {
	font-size: 1.75rem;
}

.font-size-30px {
	font-size: 1.875rem;
}

.font-size-32px {
	font-size: 2rem;
}

.font-size-34px {
	font-size: 2.125rem;
}

.font-size-36px {
	font-size: 2.25rem;
}

.font-size-38px {
	font-size: 2.375rem;
}

.font-size-40px {
	font-size: 2.5rem;
}

.font-size-42px {
	font-size: 2.625rem;
}

.font-size-44px {
	font-size: 2.75rem;
}

.font-size-46px {
	font-size: 2.875rem;
}

.font-size-48px {
	font-size: 3rem;
}

.font-size-50px {
	font-size: 3.125rem;
}

.icon {
	width: var(--icon-size, 72px);
}

.icon-72px,
[src*="_72px"] {
	width: 72px;
	flex-shrink: 0;
	display: block;
}

.icon-48px,
[src*="_48px"] {
	width: 48px;
	flex-shrink: 0;
	display: block;
}

.icon-32px,
[src*="_32px"] {
	width: 32px;
	flex-shrink: 0;
	display: block;
}

.icon-36px,
[src*="_36px"] {
	width: 36px;
	flex-shrink: 0;
	display: block;
}

.icon-16px,
[src*="_16px"] {
	width: 16px;
	flex-shrink: 0;
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--font2);
	line-height: 1.1;
	margin-bottom: 1rem;
	font-weight: 500;

	b,
	strong {
		font-weight: bold;
	}
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h1 em,
.h2 em,
.h3 em,
.h4 em,
.h5 em,
.h6 em {
	font-style: normal;
	color: var(--primary-color);
}

h1,
.h1 {
	font-size: var(--h1) !important;
	text-wrap-style: balance;
}

h2,
.h2 {
	font-size: var(--h2) !important;
	text-wrap-style: balance;
}

h3,
.h3 {
	font-size: var(--h3) !important;
	text-wrap-style: balance;
}

h4,
.h4 {
	font-size: var(--h4) !important;
	text-wrap-style: balance;
}

h5,
.h5 {
	font-size: var(--h5) !important;
}

h6,
.h6 {
	font-size: var(--h6) !important;
}

.lead {
	font-size: var(--lead);
}

.container-fluid {
	padding-inline: min(120px, 5vw);
}

@media (min-width: 1536px) {
	.container {
		max-width: 1470px;
	}
}

@media (min-width: 1720px) {
	.container {
		max-width: 1680px;
	}
}

.inset-0 {
	inset: 0;
}

.p-xxl {
	padding: var(--xxl);
}

.p-xl {
	padding: var(--xl);
}

.px-xxl {
	padding-inline: var(--xxl)
}

.px-xl {
	padding-inline: var(--xl)
}

.pt-xxl {
	padding-top: var(--xxl);
}

.pb-xxl {
	padding-bottom: var(--xxl);
}

.py-xxl {
	padding-top: var(--xxl);
	padding-bottom: var(--xxl);
}

.mt-xxl {
	margin-top: var(--xxl);
}

.mb-xxl {
	margin-bottom: var(--xxl);
}

.my-xxl {
	margin-top: var(--xxl);
	margin-bottom: var(--xxl);
}

.pt-xl {
	padding-top: var(--xl);
}

.pb-xl {
	padding-bottom: var(--xl);
}

.py-xl {
	padding-top: var(--xl);
	padding-bottom: var(--xl);
}

.mt-xl {
	margin-top: var(--xl);
}

.mb-xl {
	margin-bottom: var(--xl);
}

.my-xl {
	margin-top: var(--xl);
	margin-bottom: var(--xl);
}

#main ol li ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#main ol li+li {
	margin-top: 1rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 1rem;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;
	transition: padding 200ms, background-color 200ms;
	background-color: transparent;
}

.navbar.affix {
	--bs-navbar-padding-y: .35rem;
	background-color: var(--bs-dark);
}

.navbar-brand-image {
	height: 100px;
	transition: height 200ms;
}

.affix .navbar-brand-image {
	height: 60px;
}

.navbar-nav .nav-link {
	font-weight: 500;
	text-transform: uppercase;
	color: white;

	transition: color 200ms;

	&:hover,
	&:focus,
	&.active,
	&.show {
		color: var(--primary-color);

		&::after {
			border-color: var(--primary-color);
		}
	}

	&.show::after {
		transform: rotate(-135deg);
	}
}

.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.dropdown-toggle::after {
	width: 0.35rem;
	height: 0.35rem;
	border: 0;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
	transform: rotate(45deg) translateX(-50%);
	vertical-align: 0;
	transition: transform 300ms;
}

.dropdown-menu {
	border: 0;
	padding: .75rem;
	border-radius: .5rem;
	background-color: var(--bs-dark);
}

.dropdown-item {
	color: white;
	font-weight: 300;
	border-radius: 3rem;
	padding: 0.25rem .75rem;
	transition: color 200ms, background-color 200ms;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: white;
	background-color: var(--bs-primary);
}

/*  MARK: header  */

.slogan {
	color: white;
	margin-top: 142px;

	.row {
		margin-top: 2.5rem;
		margin-bottom: 1.5rem;
	}

	h1 {
		margin-bottom: 2rem;
	}

	.col {
		padding-inline: 4rem;

		&:first-child {
			padding-left: calc(var(--bs-gutter-x) / 2);
		}

		&:last-child {
			padding-right: calc(var(--bs-gutter-x) / 2);
		}

		small {
			line-height: 1.5;
			display: block;
		}

		&+.col {
			border-left: 1px solid hsl(0 0% 100% / .3);
		}
	}
}

.scroll {
	color: white;
	text-decoration: none;
	padding-left: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	font-size: .75rem;
	border-left: 1px solid var(--primary-color);
}

.swiper__image {
	height: 100vh;
}

/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 500;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: 5rem;
}

.btn-primary {
	--bs-btn-bg: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color-light);
	--bs-btn-hover-border-color: var(--primary-color-light);
	--bs-btn-active-bg: var(--primary-color-dark);
	--bs-btn-active-border-color: var(--primary-color-dark);
}

.btn-outline-primary {
	--bs-btn-color: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color);
	--bs-btn-hover-border-color: var(--primary-color);
	--bs-btn-active-bg: var(--primary-color);
	--bs-btn-active-border-color: var(--primary-color);
}

main section h2:first-child {
	margin-bottom: 2.5rem;

	&:has(small) {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	small.text-primary {
		display: flex;
		flex-direction: column;
		align-items: inherit;
		gap: inherit;

		&::after {
			content: '';
			display: block;
			width: 4rem;
			height: 0.125rem;
			background-color: var(--primary-color);
		}
	}

	&.text-center small.text-primary {
		align-items: center;
	}
}

small {
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.75rem;
}

.columns-2 {
	column-count: 2;
	column-gap: 1.875rem;

	p {
		break-inside: avoid;
	}
}

#firma {
	.images {
		width: 100%;
		aspect-ratio: 800 / 678;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.image-1 {
		position: absolute;
		left: 0;
		z-index: 2;
		aspect-ratio: 1;
		width: min(360px, 55%);
	}

	.image-2 {
		position: relative;
		z-index: 1;
		aspect-ratio: 1;
		width: min(680px, 90%);
	}
}

#oferta {
	background-image: url(../img/logo-bg.webp);
	background-position: right top;
	background-repeat: no-repeat;
}

.nav-tabs {
	border: 0;
	padding: 0;
	margin: 0;

	li {
		list-style: none;
	}

	a {
		display: block;
		padding: 0.75rem 1rem;
		font-size: var(--h6);
		font-weight: 300;
		opacity: .65;
		color: var(--bs-dark);
		text-decoration: none;
		border-left: 1px solid var(--bs-border-color);
		transition: opacity 300ms, border-color 300ms;

		&:hover,
		&:focus {
			opacity: .8;
		}

		&.active {
			opacity: 1;
			border-left-color: var(--primary-color);
		}
	}
}

.tab-content {
	box-shadow: 0 0 3rem hsl(0 0% 0% / .1);
	padding: min(4vw, 4.5rem);
	background-color: white;

	h2,
	h3,
	h4 {
		color: var(--primary-color);
	}

	p {
		opacity: .6;
	}

	ul {
		margin: 2rem 0 0 0;
		padding: 0;
		column-count: 2;
		column-gap: 1.875rem;

		li {
			list-style: none;
			font-size: var(--h6);
			margin-bottom: 0;
			font-family: var(--font2);
			display: flex;
			align-items: center;
			gap: .75rem;

			a {
				color: var(--bs-body-color);
				text-decoration: none;
				transition: color 300ms;

				&:hover,
				&:focus {
					color: var(--primary-color);
				}
			}

			&::before {
				content: '';
				display: block;
				width: 2rem;
				height: 2rem;
				background-image: url(../img/bullet.svg);
				background-repeat: no-repeat;
				background-size: contain;
				flex-shrink: 0;
			}
		}

		li+li {
			margin-top: 1rem;
		}
	}
}

.paralaksa .simpleParallax {
	height: min(600px, 60vh);
}

p:last-child {
	margin-bottom: 0;
}

.square {
	aspect-ratio: 1;
}

.rounded-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
}

#realizacje a {
	color: white;
	text-decoration: none;

	.position-absolute {
		background-image: linear-gradient(to top, hsl(0 0% 0% / .85), transparent 50%);
	}

	img.position-relative {
		aspect-ratio: 1;
		object-fit: cover;
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	.h5 {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.d-flex img {
		transition: transform 300ms ease;
	}

	&:hover,
	&:focus {
		img.position-relative {
			transform: scale(1.1);
		}

		.d-flex img {
			transform: translateX(3px);
		}
	}
}

.counter {
	width: 2rem;
	background-color: hsl(221 79% 48% / .12);

	small {
		letter-spacing: normal;
		font-weight: 500;
		display: block;
		line-height: 1;
	}
}

.baner {
	background-color: var(--primary-color);
	background-image: url(../img/baner.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding: clamp(2.5rem, 5vw, 4.5rem) !important;
}

#mapa iframe {
	width: 100%;
	height: 600px;
	display: block;
}






/*  MARK: stopka */

footer a {
	text-decoration: none;
	color: var(--bs-dark);
	transition: color 200ms;
}

footer a:hover,
footer a:focus {
	color: var(--primary-color);
}

footer .list-unstyled li+li {
	margin-top: 0.75em;
}

footer .list-unstyled a {
	display: block;
	line-height: 1.5;
	transition: transform 300ms ease;

	&:hover,
	&:focus {
		transform: translateX(3px);
	}
}

.madeby {
	display: flex;
	align-items: center;
}

.madeby small {
	font-size: 0.625rem;
	margin: 0.2em 0.2em 0 0;
	letter-spacing: normal;
	text-transform: none;
}




/*  MARK: sub content  */

.sub:has(.navbar-light) {
	padding-top: 142px;
}

.sub:has(nav.position-sticky) {
	scroll-padding-top: 180px;
}

.navbar-light {
	background-color: white;
	transition: padding 200ms;
	border-bottom: 1px solid var(--bs-border-color);

	&.affix {
		background-color: inherit;
	}

	.navbar-nav .nav-link {
		color: var(--bs-dark);

		&:hover,
		&:focus,
		&.active,
		&.show {
			color: var(--primary-color);
		}
	}

	.dropdown-toggle::after {
		border-color: var(--bs-dark);
	}
}

.breadcrumb {
	font-size: 1rem;

	a {
		color: var(--bs-dark);
		text-decoration: none;
		transition: color 200ms;

		&:hover,
		&:focus {
			color: var(--primary-color);
		}
	}
}

nav.position-sticky {
	top: 80px;
	z-index: 999;
	margin-bottom: var(--xl);
	transition: background-color 200ms;

	&.is-sticky {
		background-color: var(--bs-light);
	}

	ul {
		background-color: var(--bs-light);
		padding-inline: 0;
		margin: 0;

		li {
			margin: 0;
		}
	}

	a {
		display: block;
		padding: 30px;
		text-decoration: none;
		color: var(--bs-dark);
		font-family: var(--font2);
		font-size: var(--h6);
		margin: 0;
		border-bottom: 1px solid var(--bs-border-color);
		position: relative;

		&::after {
			content: '';
			display: block;
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			background-color: var(--bs-border-color);
			height: 0;
			transition: height 300ms, background-color 300ms;
		}

		&:hover,
		&:focus {
			transition: none !important;

			&::after {
				height: 10px;
				background-color: var(--bs-border-color);
			}
		}

		&.active {
			transition: none !important;

			&::after {
				height: 10px;
				background-color: var(--primary-color);
			}
		}
	}
}

.sub .swiper__image {
	height: 600px;
}

main:has(#sub-pages:last-of-type) {
	padding-bottom: 0;
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
}

.gallery a img {
	width: 100%;
	display: block;
	transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery a:hover img {
	transform: scale(1.1);
}

.downloads a {
	text-decoration: none;
	color: black;
	border: 1px solid hsl(0 0% 90%);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;
}

.downloads a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-control {
	border-radius: .25rem;
}

.form-control.error {
	border-color: red !important;
}

.error-msg {
	color: red;
}

/* MARK: Kontakt */

.contact-section a {
	color: inherit;
}

.contact-eyebrow {
	font-size: .75rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 500;
	white-space: nowrap;
}

/* .contact-title {
	margin-left: -.07em;
	margin-bottom: 0;
	font-size: clamp(4rem, 10vw, 9rem);
	line-height: .82;
	font-weight: 500;
} */

.contact-intro {
	max-width: 520px;
	font-size: 1.1rem;
	line-height: 1.7;
}

.contact-line {
	height: 1px;
	background: var(--contact-line);
}

.contact-label {
	margin-bottom: .5rem;
	color: var(--contact-muted);
	font-size: .7rem;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.contact-value {
	font-size: 1.05rem;
	line-height: 1.5;
}

.contact-link {
	position: relative;
	display: inline-block;
	text-decoration: none;
}

.contact-link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -4px;
	left: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s ease;
}

.contact-link:hover::after,
.contact-link:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	border-bottom: 1px solid var(--contact-line);
	font-size: 1.15rem;
	text-decoration: none;
	transition: padding .35s ease;
}

.social-link:hover,
.social-link:focus-visible {
	padding-right: .75rem;
	padding-left: .75rem;
}

.social-link i {
	transition: transform .35s ease;
}

.social-link:hover i,
.social-link:focus-visible i {
	transform: translate(4px, -4px);
}

.contact-form .form-control {
	padding: 1rem 0;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, .25);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 1.05rem;
}

.contact-form .form-control::placeholder {
	color: #999;
	opacity: 1;
}

.contact-form .form-control:focus {
	border-color: var(--contact-text);
	background: transparent;
	box-shadow: none;
}

.contact-form textarea.form-control {
	resize: vertical;
}

.contact-form .form-label {
	margin-bottom: 0;
	color: var(--contact-muted);
	font-size: .7rem;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.contact-form .form-check-input {
	border-color: rgba(0, 0, 0, .35);
	border-radius: 0;
}

.contact-form .form-check-input:focus {
	border-color: var(--contact-text);
	box-shadow: 0 0 0 .2rem rgba(0, 0, 0, .1);
}

.contact-form .form-check-input:checked {
	border-color: var(--contact-text);
	background-color: var(--contact-text);
}

.contact-submit {
	width: 170px;
	height: 170px;
	flex-shrink: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .25rem;
	border: 0;
	border-radius: 50%;
	background: var(--contact-text);
	color: #fff;
	background: #222;
	transition: .4s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
	background: #222;
	transform: rotate(-8deg) scale(1.05);
}

.contact-submit:focus-visible {
	outline: 3px solid rgba(0, 0, 0, .35);
	outline-offset: 5px;
}

.contact-submit i {
	font-size: 1.5rem;
}

.contact-number {
	position: absolute;
	right: -2rem;
	bottom: -1rem;
	pointer-events: none;
	user-select: none;
	font-size: clamp(5rem, 13vw, 12rem);
	line-height: .75;
	letter-spacing: -.08em;
	font-weight: 500;
	opacity: .045;
}

@media (max-width: 991.98px) {
	.contact-title {
		font-size: clamp(4rem, 17vw, 8rem);
	}

	.contact-number {
		display: none;
	}

	.contact-submit {
		width: 140px;
		height: 140px;
	}
}

@media (max-width: 575.98px) {
	.contact-eyebrow:last-child {
		display: none;
	}

	.contact-title {
		font-size: clamp(3.5rem, 18vw, 6rem);
	}

	.contact-intro {
		font-size: 1rem;
	}

	.contact-submit {
		width: 125px;
		height: 125px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* MARK: paginator */

.d-flex:has(.pagination) {
	justify-content: flex-start !important;
}

.pagination {
	display: flex;
	gap: .25rem;
}

.pagination li {
	display: none
}

.pagination .active,
.pagination .insertPage,
.pagination li:first-child,
.pagination li:last-child {
	display: block
}

.pagination a,
.pagination input {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: .25rem;
	padding: 0;
	text-align: center;
	font-size: 1.125rem;
	color: var(--bs-body-color);
	border: 1px solid var(--bs-border-color);
	transition: all .2s;
	text-decoration: none;
}

.pagination a:focus,
.pagination a:hover,
.pagination input:focus,
.pagination input:hover {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
	background-color: var(--bs-light);
}

.pagination input::placeholder {
	color: var(--bs-body-color);
	font-size: 16px;
	font-weight: 500
}

.pagination .active a {
	border: 1px solid var(--primary-color);
	background-color: var(--primary-color) !important;
	color: white !important;
	cursor: text
}

.pagination .insertPage+.insertPage {
	display: none
}




.card-img-top,
.card-img {
	overflow: hidden;
	width: 100%;
	display: block;

	img {
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}
}

.card[x-data] {
	cursor: pointer;
}

.card[x-data]:hover {

	.card-img img,
	.card-img-top img {
		transform: scale(1.1);
	}

	.card-title-link {
		color: var(--primary-color);
	}
}

.card-title-link {
	color: var(--bs-body-color);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

.card-text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}



article h2 {
	font-size: var(--h3) !important;
}

article h3 {
	font-size: var(--h4) !important;
}

article h4 {
	font-size: var(--h5) !important;
}

.link-dark {
	transition: color 200ms;

	img {
		transition: transform 300ms ease-out;
	}

	&:hover,
	&:focus {
		color: var(--primary-color) !important;

		img {
			transform: translateX(3px);
		}
	}
}

.list-unstyled.d-flex {
	flex-wrap: wrap;
}


/*
MARK: FAQ
*/

.accordion-button:not(.collapsed) {
	color: var(--primary-color);
	background-color: transparent !important;
	box-shadow: none !important;
}

.accordion-body {padding-top: 0;}



/*  MARK: RWD  */

@media (width < 1300px) {
	.slogan {
		.col {
			padding-inline: 2rem;
		}
	}

	nav.position-sticky {
		a {
			padding: 1rem;
			font-size: 1rem;
		}
	}

}

@media (width < 1200px) {

	.navbar-dark,
	.navbar[data-bs-theme=dark] {
		--bs-navbar-toggler-border-color: rgba(255, 255, 255, 1);
		--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.offcanvas-body {
		display: flex;
		flex-direction: column;
	}

	.navbar-nav {
		flex-grow: 1;
	}

	.nav-tabs {
		a {
			font-size: 1rem;
		}
	}

	#realizacje .btn-primary {
		flex-shrink: 0;
	}

	#realizacje a {
		img.position-relative {
			aspect-ratio: 16/10;
		}
	}

	#jak .square {
		aspect-ratio: 4/3;
	}

	#mapa iframe {
		height: 60vh;
	}

	.display-5 {
		font-size: calc(1rem + 1.1vw) !important;
	}

	.display-5+.small {
		display: block;
		line-height: 1.3;
	}

	.navbar-nav .nav-link,
	.dropdown-item {
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.dropdown-toggle::after {
		filter: invert(1);
	}

	.sub .navbar-nav .nav-link {
		color: white;
	}

	nav.position-sticky {
		ul {
			align-items: stretch;
		}

		li {
			flex: 1 !important;
		}

		a {
			padding: 1rem;
			font-size: 1rem;
			text-wrap: balance;
			height: 100%;
		}
	}
}


@media (width <=991px) {
	.nav-tabs {
		a {
			padding: 0.5rem 1rem;
		}
	}

	.tab-content {
		ul {
			column-count: 1;
		}
	}

	.paralaksa .simpleParallax {
		height: min(600px, 40vh);
	}

	#realizacje a {
		img.position-relative {
			aspect-ratio: 16 / 9;
		}
	}

	#jak .square {
		aspect-ratio: 5 / 2;
	}

	.baner,
	footer {
		text-align: center;
	}

	#main .col-lg-5:has(img) {
		margin-top: 2rem;
	}

	nav.position-sticky {
		ul {
			align-items: stretch;
		}

		li {
			flex: auto !important;
		}

		a {
			padding: .5rem .75rem;
			font-size: 1rem;
			text-wrap: balance;
			height: 100%;
		}
	}

	.sub h1 {
		font-size: var(--h2) !important;
	}

}

@media (width < 768px) {
	:root {
		--xxl: 3.5rem;
		--xl: 2rem;
	}

	.tab-content li a {
		line-height: 1.3;
	}

	.columns-2 {
		column-count: 1;
	}

	.slogan {
		& .col {
			padding-inline: 0;
			padding-left: calc(var(--bs-gutter-x) / 2);

			.h4 {
				margin-bottom: 0.25rem;
			}

			&+.col {
				border-left: 0;
				margin-top: 1rem;
			}
		}
	}

	main {
		overflow: hidden;
	}

	.sub .col-6 {
		width: 100%;
		text-align: left;

		.border-start {
			border-left: 0 !important;
		}
	}

	.breadcrumb {
		font-size: .75rem;
	}

	nav.position-sticky {
		ul {
			align-items: stretch;
			flex-direction: column;
		}

		li {
			flex: 1 !important;
		}
	}
}

@media (width <=575px) {
	.container {
		width: 92%;
	}

	.slogan h1 {
		font-size: var(--h2) !important;
	}

	#firma {
		.image-1 {
			width: min(360px, 45%);
		}
	}

	#realizacje {
		text-align: center;

		strong {
			text-align: left;
		}
	}

	.display-5 {
		font-size: calc(1.15rem + 2.1vw) !important;
	}
}


@media (width < 421px) {
	.slogan p {
		display: none;
	}

	h2,
	.h2 {
		font-size: var(--h3) !important;
	}

	h3,
	.h3 {
		font-size: var(--h4) !important;
	}

	h4,
	.h4 {
		font-size: var(--h5) !important;
	}

	h5,
	.h5 {
		font-size: var(--h6) !important;
	}

	#jak .square {
		aspect-ratio: 5 / 4;
	}
}