@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Manrope', system-ui, sans-serif;

	--primary-color: hsl(211 100% 30%);
	--primary-color-light: hsl(211 100% 40%);
	--primary-color-dark: hsl(211 100% 20%);

	--xxl: 7.5rem;
	--xl: calc(var(--xxl) / 2);

	--bs-primary: hsl(211 100% 30%);
	--bs-primary-rgb: 0, 74, 153;

	--bs-light: hsl(220, 16%, 96%);
	--bs-light-rgb: 243, 244, 246;

	--bs-dark: black;
	--bs-dark-rgb: 0, 0, 0;

	--bs-body-color: black;

	--h1: clamp(2.625rem, 2.625rem + ((1vw - 0.2rem) * 1.333), 4.375rem);
	--h2: clamp(2rem, 2rem + ((1vw - 0.2rem) * 1.333), 3.5rem);
	--h3: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.333), 2.625rem);
	--h4: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 1.333), 2rem);
	--h5: clamp(1.15rem, 1.15rem + ((1vw - 0.2rem) * 1.333), 1.5rem);
	--h6: clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 1.333), 1.125rem);
	--lead: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 1.25rem);

	--bs-link-color: var(--primary-color);
	--bs-link-color-rgb: 0, 74, 153;
	--bs-link-decoration: underline;
	--bs-link-hover-color: var(--primary-color-light);
	--bs-link-hover-color-rgb: 0, 104, 213;

	--bs-border-color: hsl(218 33% 94%);
	--bs-border-color-rgb: 235, 238, 245;
}

html {
	scroll-padding-top: 100px;
}

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

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

body {
	font-family: var(--font);
	line-height: 1.7;
	font-weight: 500 !important;
	padding-top: 100px;
}

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

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

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

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);
	font-weight: 500;
}

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

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

.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: 1.125rem;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;
	background-color: white;
	transition: padding 200ms, box-shadow 200ms;
}

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

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

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

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

.navbar-nav .nav-link {
	font-weight: 500;

	transition: color 200ms;

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

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

	&>li+li>.dropdown-item {
		margin-top: .25rem;
	}
}

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

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

/*  MARK: header  */

header h2 {
	color: var(--primary-color) !important;
	display: flex;
	align-items: center;
	gap: 0.5rem;

	&::before {
		content: "";
		display: block;
		width: 64px;
		height: 3px;
		background-color: var(--primary-color);
	}
}

.header__swiper {
	width: 57vw;
}

.swiper__image {
	mask-image: url('../img/header-swiper-mask.svg');
	mask-repeat: no-repeat;
	mask-size: cover;
	mask-position: center;
}

/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.15rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 700;
	--bs-btn-line-height: 1.5;
	border-radius: 10rem;
}

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

#dlaczego .signet {
	bottom: -15%;
	left: -30%;
}

#dlaczego ul,
.checklist {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

	list-style: none;
	padding: 0;
	margin: 0;

	& li {
		position: relative;
		padding-left: 2rem;

		&::before {
			content: "";
			display: block;
			width: 24px;
			height: 24px;
			position: absolute;
			left: 0;
			top: 0.25rem;
			background-image: url('../img/check.svg');
			background-size: contain;
			background-position: center;
			background-repeat: no-repeat;
		}
	}
}

.card {
	border: 0;
	border-radius: 0;
}

.card-title {
	margin-bottom: 0.25rem;
}

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

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

.card-img-top {
	overflow: hidden;
	border-radius: 0;
}

.card-img-top img {
	border-radius: 0;
	transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

/*  MARK: stopka */

footer a {
	text-decoration: none;
	color: var(--bs-body-color);
	transition: color 200ms;
	display: inline-block;
	line-height: 1.3;
}

footer .col-lg-2 p {
	margin-bottom: 0.5rem;
}

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

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

/*  MARK: sub content  */

.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(218 33% 94%);
	border-radius: 3rem;
	transition: color 200ms, border-color 200ms;

	& .h5 {
		font-size: 1rem !important;
		font-weight: 500;
	}
}

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

.form-control,
.form-check-input {
	border-radius: 5rem;
	padding: 1.125rem 1.5rem;
	border-color: var(--bs-border-color);
}

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

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

.error-msg {
	color: red;
}

textarea.form-control {
	padding: 1.125rem 1.5rem;
	border-radius: 2rem;
	overflow: hidden;
}

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

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

/*  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  */

.navbar-toggler {
	border: var(--bs-border-width) solid var(--primary-color);
	border-radius: 0;
}

.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%280, 74, 153, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

header,
main,
footer {
	overflow: hidden;
}

@media (max-width: 1399px) {
	.navbar .container {
		max-width: 100%;
		padding-inline: 1.5rem
	}
}


@media (max-width: 1199px) {
	#dlaczego .signet {
		max-width: 20vw;
	}
}

@media (max-width: 991px) {
	header .col-lg-5 {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	header .swiper {
		width: 100%;
	}

	.swiper__image {
		mask-image: none;
	}

	#dlaczego .signet {
		display: none;
	}

	#dlaczego .col-lg-5 img {
		aspect-ratio: 1/1;
		object-position: top;
		object-fit: cover;
	}

	#mieszkania .row {
		--bs-gutter-y: 2rem;
	}

	footer {
		text-align: center;

		& .col-lg-4+.col-lg-4 {
			margin-top: 2rem;
		}
	}
}


@media (max-width: 767px) {
	#dlaczego .col-lg-5 img {
		aspect-ratio: 4/3.5;
	}
}

@media (max-width: 575px) {
	:root {
		--xxl: 3.5rem;
	}

	.navbar-brand-image {
		height: 50px;
	}
}