@charset "UTF-8";

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

	--color-lightness-step: 10;
	--primary-color: #244d91;
	--primary-color-light: hsl(
		from var(--primary-color) h s calc(l + var(--color-lightness-step))
	);
	--primary-color-dark: hsl(
		from var(--primary-color) h s calc(l - var(--color-lightness-step))
	);

	--secondary-color: #0BBEC6;

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

	--bs-primary: var(--primary-color);
	--bs-primary-rgb: 36, 77, 145;

	--bs-light: #f7f7f7;
	--bs-light-rgb: 247, 247, 247;

	--bs-dark: #131214;
	--bs-dark-rgb: 19, 18, 20;

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

	--h1: clamp(3.15rem, 5.5vw + 0.1rem, 5.6125rem);
	--h2: clamp(2.36rem, 4.1vw + 0.1rem, 4.2rem);
	--h3: clamp(1.775rem, 3vw + 0.1rem, 3.15rem);
	--h4: clamp(1.33rem, 2.25vw + 0.1rem, 2.36rem);
	--h5: clamp(1.25rem, 1.6vw + 0.1rem, 1.775rem);
	--h6: clamp(1.15rem, 1.2vw + 0.1rem, 1.33rem);
	--lead: var(--h6);

	--affix-height: 59px;
}

@view-transition {
	navigation: auto;
}

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

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

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

body {
	font-family: var(--font);
	font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
	padding-top: 124px;
	line-height: 1.44;
}

b, strong {
	font-weight: 700;
}

main a:not(.btn) {
	color: var(--primary-color);
	transition: color 200ms;
	text-decoration: none;

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

.font-size-12px {
	font-size: 0.75rem;
}
.font-size-14px {
	font-size: 0.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);
	font-weight: bold;
	margin-bottom: 1rem;
	line-height: 1.1;

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

	& small {
		font-family: var(--font);
		font-weight: bold;
		font-size: 1rem;
		color: var(--primary-color);
		padding: 0.5em 1.25em;
		border-radius: 5rem;
		background-color: #ebf3fa;
	}
}

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

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

@media (min-width: 1399px) {
	.container {
		max-width: 1320px;
	}
}

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

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

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

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

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

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

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

.dropdown-menu {
	border: 0;
	padding: 0.75rem 1rem;
	border-radius: .75rem;
	box-shadow: 0 1rem 2.5rem -0.5rem hsl(0 0% 0% / 0.25);
	background-color: hsl(0 0% 100% / 0.85);
	backdrop-filter: blur(.5rem);
}

.dropdown-item {
	padding: 0.25rem 0;
	transition:
		color 200ms,
		border-color 200ms;
	border-bottom: 1px solid transparent;
}

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

.dropdown-menu .dropdown-menu {
	top: 0;
	left: 100%;
}

.dropdown:not(.search-dropdown):hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
	display: block;
}

.search-dropdown .dropdown-menu {
	left: auto;
	right: 0 !important;
}

.dropdown .dropdown > a {
	color: var(--bs-dark);
	text-decoration: none;

	&::after {
		transform: rotate(-90deg);
	}
}

.dropdown-menu input {
	border-radius: 5rem 0 0 5rem;
	border-right: 0;
	min-width: 200px;
	padding-inline: 1.5em;
}

.dropdown-menu button {
	border-radius: 0 5rem 5rem 0;
}

/*  MARK: header  */

header {
	--offset: 150px;
	height: calc(100vh - var(--offset));
	content-visibility: auto;
	contain-intrinsic-size: auto calc(100vh - var(--offset));
}

.home header img.z-1 {
	animation: zoom-out 30s ease-in-out 1 forwards;
}

@keyframes zoom-out {
	0% {
		transform: scale(1.3);
	}
	100% {
		transform: scale(1);
	}
}

.home header h1 {
	color: var(--primary-color);
}

.blurred {
	background-color:  hsl(218 60% 35% / .48);
	backdrop-filter: blur(.5rem);
}

/*  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: 700;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: 5rem;
	font-family: var(--font);
}

.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 {
	content-visibility: auto;
	contain-intrinsic-size: auto none;
	overflow: hidden;
}

.grid {
	display: grid;
}

#oferta .bg-light {
	flex-basis: 30%;
	flex-grow: 1;
}

#more-info .icon {
	width: 64px;
	aspect-ratio: 1/1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--secondary-color);
	flex-shrink: 0;

	& img {
		width: 34px;
		object-fit: contain;
	}
}

.offer main ul,
ul.offer,
.columns-2 {
	column-count: 2;
	column-gap: 1.5rem;
	padding: 0;

	& li {
		list-style: none;
		padding: 0;
		display: flex;
		align-items: center;
		gap: 0.5rem;
		margin-bottom: .5rem;

		&::before {
			content:"";
			display: block;
			width: 20px;
			height: 20px;
			background-image: url(../img/check.svg);
			background-size: contain;
			background-repeat: no-repeat;
		}
	}
}

ul.offer,
.offer main ul {
	column-count: 1;
	padding-left: 0 !important;

	& li {
		padding-left: 1.75rem;
		position: relative;
		display: block;

		&::before {
			position: absolute;
			top: 2px;
			left: 0;
		}
	}
}

.card-img-top {
	display: block;
	border-radius: 2rem;
	overflow: hidden;

	& img {
		width: 100%;
		aspect-ratio: 383/194;
		transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
	}

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

.card-title {
	margin-bottom: 0;
}

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

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


/*  MARK: stopka */

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

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

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

footer iframe {
	max-width: 100%;
}

.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-header-image {
	width: 100vw;
	height: calc(100vh - 150px);
	object-fit: cover;
	border-radius: 4rem 0 0 0;
}

.sub .slogan {
	border-radius: 0 4rem 0 0;

	&::before {
		content: '';
		position: absolute;
		width: 64px;
		height: 64px;
		background-image: url(../img/wciecie.svg);
		background-size: contain;
		background-repeat: no-repeat;
	}

	&::before {
		top: -64px;
		left: 0;
	}
}

p:last-of-type {
	margin-bottom: 0;
}

p + * {
	margin-top: 1rem;
}

ul li::marker {
	color: var(--primary-color);
}

.sub-pages:not(:has(.bg-light:first-child)) {
	padding-top: var(--xxl);
}

.sub-pages {
	display: grid;
	gap: var(--xxl);
}

.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: 0.25rem;
	transition:
		color 200ms,
		border-color 200ms;
}

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

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

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

.error-msg {
	color: red;
}

main:has(.sub-pages .bg-light:last-child) + footer {
	margin-top: 0;
}

/*  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 0.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-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-toggler-border-color: rgb(36, 77, 145);
    --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%2836, 77, 145, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


@media (max-width: 1199px) {
	.offcanvas-body {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}

	.navbar-nav .nav-item + .nav-item a {
		border-top: 1px solid var(--bs-border-color);
	}

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


@media (max-width: 991px) {
	#dpi .overflow-hidden.h-100 {
		height: auto !important;
		max-height: 50vh !important;
	}

	footer iframe {
		width: 100%;
		max-width: 991px;
		aspect-ratio: 5/4;
	}

	footer {
		text-align: center;

		& .d-flex {
			flex-direction: column;
			align-items: center;
			text-align: center;
			gap: .15rem !important
		}
	}

	.sub-pages .row {
		padding: 0;
	}

	.sub-pages .overflow-hidden img {
		max-width: 100%;
		height: auto !important;
		aspect-ratio: 1 / 1;
	}

	.sub-pages .bg-light {
		overflow: hidden;
	}
}


@media (max-width: 767px) {
	#oferta .bg-light {
    flex-basis: 35%;
	}

	.madeby {margin-top: 1rem;}

	main table {
		max-width: 100%;
		overflow-x: auto;
		display: block;

		& th,
		& td {
			min-width: 10em;
		}
	}
}

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

	.navbar-nav .nav-link {
		font-size: var(--h5);
	}

	body {
		padding-top: 106px;
	}

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

	header .container-fluid {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;

		& h1 {
			padding-inline: 1.5rem;
		}

		& .d-flex {
			flex-direction: column;
		}
	}

	footer {
		overflow: hidden;
	}

	.search-dropdown {
		position: static;

		& .dropdown-menu {
			position: absolute;
			top: 97%;
			left: 0;
			right: 0;
			width: 100%;
			border-radius: 0;
		}
	}

	#oferta .bg-light {
    flex-basis: 100%;
	}

	.sub .slogan {
    max-width: 85%;
	}

	.offer ul li {
		max-width: 95%;
	}
}