@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'DM Sans', sans-serif;

	--primary-color: hsl(224 73% 38%);
	--primary-color-light: hsl(224 73% 48%);
	--primary-color-dark: hsl(224 73% 28%);

	--xxl: 7.5rem;
	--xl: 3.5rem;

	--bs-primary: hsl(224 73% 38%);
	--bs-primary-rgb: 26, 64, 168;

	--bs-light: hsl(0 0% 100%);
	--bs-light-rgb: 255, 255, 255;

	--bs-dark: hsl(0 0% 8%);
	--bs-dark-rgb: 20, 20, 20;

	--bs-border-color: hsl(0 0% 8% / .24);

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

	--sub-bg-light: hsl(225 27% 94%);

	--bs-link-color: var(--primary-color);
	--bs-link-color-rgb: 26, 64, 168;
	--bs-link-hover-color: var(--primary-color-dark);
	--bs-link-hover-color-rgb: 19, 47, 124;

	--h1: clamp(3.55rem, 6vw, 6.3125rem);
	--h2: clamp(2.66rem, 5vw, 4.7375rem);
	--h3: clamp(2.25rem, 4vw, 3.55rem);
	--h4: clamp(2rem, 3vw, 2.6625rem);
	--h5: clamp(1.35rem, 2vw, 2rem);
	--h6: clamp(1.15rem, 1.5vw, 1.5rem);
	--lead: var(--h6);

	--affix-height: 80px;
}

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

@view-transition {
	navigation: auto;
}

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

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

body {
	font-family: var(--font);
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.65;
	background-color: var(--sub-bg-light);
}

.sub {
	background-color: white;

	--xxl: 4.375rem;
	--xl: 2.5rem;

	.bg-light {
		background-color: var(--sub-bg-light) !important;
	}
}

#read-also {
	background-color: var(--sub-bg-light);
}

.sub:not(:has(header)) {
	padding-top: 114px;

	main h1 {
		font-size: var(--h3) !important;
	}

	main h2 {
		font-size: var(--h4) !important;
	}

	main h3 {
		font-size: var(--h5) !important;
	}

	main h4 {
		font-size: var(--h6) !important;
	}

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

b,
strong {
	font-weight: 500;
}

.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;
}

.icon-48px,
[src*="_48px"] {
	width: 48px;
}

.icon-32px,
[src*="_32px"] {
	width: 32px;
}

.icon-16px,
[src*="_16px"] {
	width: 16px;
}

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

	.badge {
		letter-spacing: normal;
	}
}

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;
}

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

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

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

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

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

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

.lead,
p {
	text-wrap: pretty;
}

.container-fluid {
	padding-inline: 3vw;
}

@media (min-width: 1360px) {
	.container {
		max-width: 1342px;
	}
}

.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;
}

/*  MARK: navbar  */

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

.sub:not(:has(header)) .navbar {
	background-color: var(--sub-bg-light);
}

.navbar.affix {
	background-color: white;
	--bs-navbar-padding-y: .5rem;
	box-shadow: 0 0 2rem hsl(0 0% 0% / .15);
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

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

.navbar-nav .nav-link {
	font-size: .75rem;
	font-weight: bold;
	text-transform: uppercase;
	color: var(--bs-body-color);
	transition: color 200ms;
	position: relative;
	isolation: isolate;

	&::before {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 50%;
		z-index: -1;
		transform: translateX(-50%);
		width: 0;
		height: 4px;
		border-radius: 4px;
		background-color: var(--primary-color);
		transition: width 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

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

		&::before {
			width: 100%;
		}
	}
}

.dropdown-menu {
	border: 0;
	padding: .75rem;
	border-radius: 0;
	width: 100%;
	box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25);
	background-color: hsl(0 0% 100%);
	border-radius: .25rem;

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

	.list-unstyled a {
		text-decoration: none;
		color: var(--bs-body-color);
		line-height: 1.3;
		display: block;
		width: 100%;
		transition: color 200ms;

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

.dropdown-item {
	padding: 0.25rem 1rem;
	border-radius: 4rem;
	transition: color 200ms, background-color 200ms;
}

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

.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: 3px;
	content: "";
	border: 0;
	width: 10px;
	height: 5px;
	background-image: url(../img/drop.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

.navbar .container {
	position: relative;
}

.dropdown {
	position: unset;
}

/*  MARK: header  */

header {
	background-color: hsl(223 45% 89%);

	.slogan {
		padding-top: 120px;
	}

	h1 {
		color: var(--primary-color);
	}

	h1:has(.badge) {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	h1 small {
		text-transform: uppercase;
		font-size: .75rem !important;
		font-weight: normal !important;
		margin-bottom: 1rem;
	}

	.col+.col {
		border-left: 1px solid var(--bs-border-color);
		padding-left: 2.5rem;
	}

	.col small {
		font-size: .875rem;
		display: block;
		line-height: 1;
	}

	.h4 {
		color: var(--primary-color);
	}

	.position-absolute {
		background-image: linear-gradient(to right, hsl(223 45% 89%) 20%, transparent);
	}

	.backdrop {
		position: absolute;
		inset: 0;
		z-index: 2;
		background-color: var(--primary-color);
		mix-blend-mode: color;
	}

	video {
		height: 100vh;
		object-position: 23vw center;
	}
}

.badge {
	padding: 0.5rem 1rem;
	border-radius: .25rem;
}


/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: .75rem;
	--bs-btn-font-weight: 700;
	--bs-btn-line-height: 1.2;
	text-transform: uppercase;
	transition: color 300ms, background-color 600ms, border-color 300ms, transform 300ms, box-shadow 300ms;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: 0;


	&:hover,
	&:focus {
		transform: translateY(-2px);
		box-shadow: 0 1rem 1rem -.25rem hsl(224 73% 28% / .15), 0 0 .5rem hsl(224 73% 48% / .5);
	}

	span.ripple {
		position: absolute;
		border-radius: 50%;
		transform: scale(0);
		animation: ripple 600ms linear;
		background-color: hsl(0 0% 100% / 0.2);
	}

	&:has(span) {
		span:not(.ripple) {
			position: relative;
			z-index: 2;
		}
	}

	&:has(.btn-icon) {
		display: inline-flex;
		align-items: center;
		gap: 0;
		transition: padding 600ms cubic-bezier(0.165, 0.84, 0.44, 1), gap 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
		box-shadow: none !important;
		transform: none !important;

		.btn-icon {
			overflow: hidden;
			width: 0;
			height: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1), width 600ms cubic-bezier(0.165, 0.84, 0.44, 1);

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

		&:hover,
		&:focus {
			gap: 0.5rem;
			padding-left: 1rem;
			padding-right: 1rem;



			.btn-icon {
				width: 1rem;

				img {
					transform: translateX(0);
				}
			}
		}
	}
}

.btn-outline-primary {
	border: 1px solid var(--primary-color) !important;
}

@keyframes ripple {
	to {
		transform: scale(4);
		opacity: 0;
	}
}

.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);
}

.btn-sm {
	padding: 0.5rem 1.75rem;
	font-size: .75rem;
	text-align: left;
}

.tabs-nav {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;

	li {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	button {
		border: 0;
		border-radius: .5rem;
		padding: 1.875rem;
		width: 100%;
		background-color: transparent;
		transition: background-color 300ms;

		&.active {
			background-color: white;

			.h6 {
				margin-bottom: 1rem;
				opacity: 1;
			}
		}

		.h6 {
			margin-bottom: 0;
			transition: margin-bottom 300ms, opacity 300ms;
			opacity: .5;
		}

		strong.h6 {
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}

}

.tabs-nav-item-content {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 1.875rem;
	margin-left: 1.875rem;
	position: relative;
	text-align: left;

	p {
		font-size: .875rem;
		opacity: .5;
	}

	&::before {
		content: '';
		display: block;
		height: 100%;
		width: 1px;
		position: absolute;
		top: 0;
		left: 0;
		background-image: linear-gradient(to bottom, white, var(--bs-border-color), white);
	}
}

.tab-content-wrapper {
	width: 100%;
	aspect-ratio: 1072/624;
}

.tab-content .bg-white {
	width: 100%;
	height: 100%;

	img {
		border-radius: .5rem;
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}
}

.tags {
	margin-top: 0.5rem;
}

.tag {
	border-radius: 4rem;
	padding: 0.375rem 1rem;
	text-transform: uppercase;
	font-size: .75rem;
	line-height: 1.3;
	background-color: var(--sub-bg-light);
	border: 1px solid var(--bs-border-color);
}

#realizacje a.more {
	margin-top: 1rem;
}

a.more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--bs-body-color);
	transition: color 200ms;

	&::after {
		content: '\2192';
		display: block;
		font-size: 1rem;
		font-weight: bold;
		font-style: normal;
		transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

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

		&::after {
			transform: translateX(3px);
		}
	}
}

#cennik,
#technologia {
	background-image: url(../img/aurora.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.text-white blockquote,
.sub blockquote {
	margin: 0;
	padding: 0;

	p em {
		font-size: var(--lead);
		color: hsl(0 0% 100% / .64);

		strong {
			color: white;
		}
	}

	cite {
		text-transform: uppercase;
		font-style: normal;
		font-size: .75rem;
		font-weight: 500;
	}
}

.tag-box {
	border-radius: .5rem;
	padding: 1.875rem;
	background-color: hsl(0 0% 0% / .24);
	backdrop-filter: blur(1rem);

	h3 {
		margin-bottom: 1.875rem;
	}

	.tag {
		text-decoration: none;
		color: var(--bs-body-color);
		transition: background-color 300ms, color 300ms;

		/* &:hover,
		&:focus {
			color: white;
			background-color: var(--bs-dark);
		} */
	}
}

#coop,
.automatyzacja {

	a,
	div.box {
		border-radius: .5rem;

		.position-absolute {
			padding: 1.875rem;
			color: white;
			text-decoration: none;
			background-image: linear-gradient(to top, var(--primary-color), transparent);
		}

		img {
			width: 100%;
			display: block;
			aspect-ratio: 420/600;
			object-fit: cover;
			transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
		}

		&:hover,
		&:focus {
			img {
				transform: scale(1.1);
			}
		}
	}
}

#coop .box {
	cursor: pointer;
}

#firma .col {
	padding-top: 1.875rem;
	padding-bottom: 1.875rem;
}

#firma .col+.col {
	border-left: 1px solid var(--bs-border-color);
}

.opinie {
	padding-bottom: var(--xl) !important;

	.swiper-slide {
		height: auto !important;
	}

	.swiper-pagination-bullet {
		width: .75rem;
		height: .75rem;
	}

	.swiper-pagination-bullet-active {
		background-color: var(--primary-color);
	}
}

.opinia {
	border-radius: .25rem;
	background-color: white;
	padding: clamp(1.875rem, 3vw, 3rem);

	display: flex;
	flex-direction: column;

	p {
		display: block;
		position: relative;
		isolation: isolate;
		font-style: italic;
		text-indent: 1.875em;
		margin-bottom: clamp(1.875rem, 3vw, 3rem);

		&::before,
		&::after {
			content: '';
			display: block;
			position: absolute;
			z-index: -1;
			width: 22px;
			height: 1rem;
			background-repeat: no-repeat;
			background-size: contain;
		}

		&::before {
			background-image: url(../img/quote-start.svg);
			top: 0;
			left: 0;
		}

		&::after {
			background-image: url(../img/quote-end.svg);
			bottom: 0;
			right: 0;
		}
	}

	small {
		font-size: .875rem;
		display: block;
	}
}

/* Swiper - realizacje */

.js-swiper .swiper-slide {
	margin-bottom: 4rem;
}

.js-swiper .swiper-slide .card-img-wrap img {
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.js-swiper .swiper-slide:hover .card-img-wrap img {
	transform: scale(1.05);
}

.swiper-nav-btn {
	width: 64px;
	height: 64px;
	border: 1px solid var(--bs-light);
	border-radius: 50%;
	background: white;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
	color: inherit;
	font-size: 2rem;
	font-family: monospace;
	line-height: 1;
	padding: 0;
}

.swiper-nav-btn:hover {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
}

.swiper-nav-btn.swiper-button-disabled {
	opacity: .3;
	pointer-events: none;
}

.swiper-pagination {
	position: static;
	margin-top: 1rem;
}

.swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	background: #1a1a1a;
	opacity: .2;
	transition: opacity var(--transition), width var(--transition);
}

.swiper-pagination-bullet-active {
	opacity: 1;
	width: 18px;
	border-radius: 3px;
	background: var(--bs-primary);
}

/*  MARK: stopka */

footer {
	background-image: linear-gradient(to right, white 50%, var(--bs-dark) 50%);
}

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

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

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

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

.madeby small {
	font-size: 0.625rem;
	margin: 0.2em 0.2em 0 0;
}

.form-check label {
	font-size: .875rem;
}

footer .form-check label a {
	color: white;
	text-decoration: underline;
}



/*  MARK: sub content  */

.breadcrumb li,
.breadcrumb li::before {
	color: white !important;
}

#breadcrumbs {
	font-size: .75rem;
	text-decoration: none;

	a {
		color: white;
		transition: opacity 200ms;
		text-decoration: none;

		&:hover,
		&:focus {
			color: white;
			opacity: .6;
		}
	}
}

article p+h2,
article ul+h2,
article ol+h2 {
	margin-top: 3rem;
	display: block;
}

article p+h3,
article ul+h3,
article ol+h3 {
	margin-top: 1.5rem;
	display: block;
}

#about-columns ul {
	padding-left: 0;

	li {
		list-style: none;
		margin: 0;
		padding: .5rem 0;

		&+li {
			border-top: 1px solid var(--bs-border-color);
		}
	}
}

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

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

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

	img {
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
		aspect-ratio: 4/3;
	}
}

.card-body .more {
	font-family: monospace;
	font-weight: bold;
	font-size: var(--h5);
	width: 2.5rem;
	aspect-ratio: 1;
	border-radius: .35rem;
	background-color: var(--bs-dark);
	color: white;
	flex-shrink: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	align-items: center;
	line-height: 1;
	overflow: hidden;

	.arrows {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 5rem;
		flex-shrink: 0;
		line-height: 1;
		margin-top: -1px;
		transform: translateX(-50%);
		transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1);

		span {
			width: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
}

.text-loose {
	letter-spacing: .15em;
}

.card {
	background-color: transparent;

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

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

	&:hover img {
		transform: scale(1.1);
	}

	&:hover .arrows {
		transform: translateX(0);
	}
}

.post-hero {
	aspect-ratio: 1920/700;
}

aside .position-sticky {
	top: 120px;
}

aside .author {
	line-height: 1.2;

	ul {
		margin-bottom: 0;
	}
}

main:has(.position-sticky) {
	overflow: visible;
}

main:has(#sub-pages:last-of-type),
main:has(.bg-light:last-child) {
	padding-bottom: 0;
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: .25rem;
}

.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: var(--bs-body-color);
	border: 1px solid var(--bs-border-color);
	border-radius: 5rem;
	transition: color 200ms, border-color 200ms;

	.h5 {
		font-size: clamp(1rem, 2vw, 1.125rem) !important;
		font-weight: normal;
	}

	img:first-of-type {
		border-radius: 50%;
		aspect-ratio: 1;
		object-fit: cover;
		object-position: bottom;
	}

	img[src*="download"] {
		display: none !important;
	}
}

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

.form-check {
	min-height: 2.5rem;
	padding-left: 2.5em;

	label {
		margin-top: 0.25em;
	}
}

.form-check .form-check-input {
	margin-left: -2.5em;
}

footer {

	.form-control,
	.form-check-input,
	.form-select {
		background-color: transparent !important;
		color: white !important;
		padding: 0.75rem 1rem;
		border-radius: .25rem;
		border-color: hsl(0 0% 100% / .25);
	}

	.form-check-input {
		padding: 0.75rem;
	}

	::placeholder {
		color: white !important;
		opacity: .6 !important;
		transition: opacity 200ms;
	}

	:hover::placeholder {
		opacity: .5 !important;
	}

	:focus::placeholder {
		opacity: .2 !important;
	}
}

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

.error-msg {
	color: red;
}

.sub .subpage img,
.sub .overflow-hidden:has(img),
.sub #main img {
	border-radius: .35rem;
}

.templ-page #main ul {
	margin-left: 0;
	padding-left: 0;

	li {
		list-style: none;
		position: relative;
		padding-left: 2rem;

		&::before {
			content: '';
			display: block;
			width: 1.35rem;
			height: 1.35rem;
			background-image: url(../img/check.svg);
			background-repeat: no-repeat;
			background-size: contain;

			position: absolute;
			top: 0.2em;
			left: 0;
		}

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

/*
MARK: specjalista
*/

.page-id-138 {

	.navbar-brand {
		background-image: url(../img/logo-white.svg);
		background-size: auto 36px;
		background-repeat: no-repeat;
	}

	.navbar-brand-image {
		opacity: 0;
		transition: opacity 200ms;
	}

	.affix {
		.navbar-brand {
			background-image: none;
		}

		.navbar-brand-image {
			opacity: 1;
		}
	}

	.navbar:not(.affix) .navbar-nav .nav-link {
		color: white;
	}

	header {
		border-radius: 0;

		.position-absolute {
			background-image: none;
		}

		.btn-outline-light {
			border: 1px solid white;
		}
	}

	header img {
		height: 100vh;
	}
}

.tag-box p:last-child {
	margin-bottom: 0;
}

p:has(.btn:only-child) {
	margin-top: 1.5rem;
}


.specjalista #cennik ul {
	margin-left: 0;
	padding-left: 0;

	li {
		list-style: none;
		position: relative;
		padding-left: 2rem;

		&::before {
			content: '';
			display: block;
			width: 1.35rem;
			height: 1.35rem;
			background-image: url(../img/check-green.svg);
			background-repeat: no-repeat;
			background-size: contain;

			position: absolute;
			top: 0.2em;
			left: 0;
		}

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

.tag-box.best-offer {
	background-color: hsl(0 0% 0% / .48);

	.badge {
		top: 0;
		right: 2rem;
		transform: translateY(-50%);
		background-color: #E8930B;
		color: white;
		text-transform: uppercase;
		font-weight: bold;
		letter-spacing: 0.05em;
		font-size: .75rem;
	}
}

#wynajem .border.h-100 {
	aspect-ratio: 429/286;
	position: relative;

	h3 {
		display: block;
		position: relative;
		z-index: 2;
	}

	img.icon-48px {
		position: relative;
		z-index: 2;
	}

	.bg {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 50%;
		transform: translate(20%, 20%);
		opacity: .2;
		z-index: 1;
	}
}


.accordion-button {
	padding-inline: 0;
	font-size: var(--h6);
	box-shadow: none !important;
	background-color: transparent !important;
}

.accordion-button:not(.collapsed) {
	color: var(--primary-color);
}

.accordion-button::after {
	background-color: hsl(0, 0%, 90%);
	border-radius: 50%;
	aspect-ratio: 1;
	background-size: 60%;
	background-position: center;
	width: 1.25rem !important;
	height: 1.25rem !important;
}

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


#konsultacje .grid {
	display: grid;
	grid-template-columns: 1fr 1fr;

	.col {
		padding: 40px;
	}

	.col:nth-child(2),
	.col:nth-child(4) {
		border-left: 1px solid var(--bs-border-color);
	}

	.col:nth-child(3),
	.col:nth-child(4) {
		border-top: 1px solid var(--bs-border-color);
	}
}


/* MARK: RWD specjalista */

.page-id-138 {
	.navbar:not(.affix) {
		--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");
		--bs-navbar-toggler-border-color: white;
	}
}


@media (width < 1199px) {
	#konsultacje .grid {
		.col {
			padding: 20px;
		}
	}
}

@media (width < 992px) {
	.page-id-138 header .container {
		align-items: flex-end !important;
	}

	.page-id-138 .slogan {
		margin-bottom: 3rem;
	}

	#konsultacje .position-absolute {
		position: relative !important;

		img {
			aspect-ratio: 1;
		}
	}

	#coop {

		& div.box {
			img {
				aspect-ratio: 16 / 9;
			}
		}
	}

	#wynajem .border.h-100 {
		aspect-ratio: 16/6;
	}

	#wynajem .border.h-100 {
		.bg {
			width: 30%;
		}
	}
}


@media (width < 576px) {
	#wynajem .border.h-100 {
		aspect-ratio: 16/9;
	}

	#coop {

		& div.box {
			.position-absolute {
				padding: .875rem;
			}
		}
	}
}


/*  MARK: paginator  */

.pagination {
	display: flex;
}

.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: 30px;
	height: 30px;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	color: #bbb;
	border: 1px solid #e1e1e1;
	text-decoration: none;
	transition: all .2s;
}

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

.pagination input::placeholder {
	color: #bbb;
	font-size: 16px;
	font-weight: 500;
}

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

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

/*  MARK: RWD  */

@media (width < 1360px) {
	.btn {
		--bs-btn-padding-x: 1.5rem;
	}

	.navbar-nav.ps-lg-5 {
		padding-left: 1.5rem !important;
	}

	.automatyzacja a .position-absolute {
		font-size: .875rem;
		line-height: 1.5;
	}
}


@media (width < 1200px) {
	.navbar {
		--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%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
		--bs-navbar-toggler-border-color: rgba(var(--bs-primary-rgb), 0.15);
	}

	.offcanvas {
		height: 100vh;
	}

	.offcanvas.text-bg-dark {
		background-color: var(--primary-color-dark) !important;
	}

	.navbar-nav .nav-item,
	.navbar-nav .nav-link {
		text-align: center;
		width: 100% !important;
		color: white !important;

		&::after {
			filter: invert(1);
		}
	}

	.navbar .btn {
		width: 100%;
		margin-top: 2rem;
	}

	.navbar {
		.col+.col {
			margin-top: 2rem;
		}
	}

	.navbar-nav.ps-lg-5 {
		padding-left: 0 !important;
	}

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

	header {
		min-height: 650px;

		.slogan {
			padding-top: 35px;
		}
	}

	.tabs-nav {
		button {
			padding: .75rem 1.25rem;
		}
	}

	.tabs-nav-item-content {
		p {
			font-size: .75rem;
			line-height: 1.3;
		}
	}

	.automatyzacja {
		& a {
			img {
				aspect-ratio: 4/3;
			}
		}
	}

	#firma a {
		display: flex;
		justify-content: center;
		align-items: center;

		img {
			max-width: 90%;
		}
	}

	.sub:not(:has(header)) {
		padding-top: 100px;
	}
}


@media (width <=991px) {

	header video {
		object-position: center;
		height: 114vh;
	}

	header .row {
		margin-left: 0;
		margin-right: 0;
	}

	header .col {
		border-left: 1px solid var(--bs-border-color);
		padding-left: calc(var(--bs-gutter-x) * .5) !important;
	}

	.tab-content-wrapper {
		width: 100%;
	}

	.automatyzacja a img {
		aspect-ratio: 16/9;
	}

	#firma .col+.col {
		border-top: 1px solid var(--bs-border-color);
		border-left: 0;
	}

	footer {
		background-image: none;
		background-color: white;

		.d-flex.py-xxl {
			padding-bottom: 0;
		}

		.container {
			max-width: 100%;
			width: 100%;
			padding: 0;
		}

		.w-50 {
			width: 100% !important;
			padding-inline: calc((100% - 720px)/2);
		}

		.w-50+.w-50 {
			margin-top: var(--xxl);
			padding-top: var(--xxl);
			padding-bottom: var(--xxl);
			background-color: var(--bs-dark);
		}
	}

	[data-aos-delay] {
		transition-delay: 0 !important;
		animation-delay: 0 !important;
	}
}


@media (width <=767px) {
	:root {
		--xxl: 3.5rem;
		--xl: 1.5rem;
	}

	.opinie {
		padding-bottom: var(--xxl) !important;
	}

	footer .w-50 {
		padding-inline: calc((100% - 540px)/2);
	}

	#breadcrumbs {
		display: none;
	}

	.position-sticky {
		position: relative !important;
		inset: auto !important;
	}

	main:has(.position-sticky) {
		overflow: hidden !important;
	}
}


@media (width <=575px) {

	header,
	main,
	footer {
		overflow: hidden;
	}


	footer .d-flex.gap-5 {
		gap: 1rem !important;

		img[src*="kontakt"] {
			max-width: 25%;
		}
	}

	footer .w-50 {
		padding-inline: 3vw;
	}

	.d-flex:has(>.btn+.btn) {
		flex-direction: column;
		align-items: stretch;
	}

}