@charset "UTF-8";

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

	--primary-color: hsl(248 94% 61%);
	--primary-color-light: hsl(248 94% 71%);
	--primary-color-dark: hsl(248 94% 51%);

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

	--bs-primary: hsl(248 94% 61%);
	--bs-primary-rgb: 87, 62, 249;

	--bs-light: hsl(220 14% 96%);
	--bs-light-rgb: 244, 245, 247;
	--bs-border-color: hsl(220 100% 94%);

	--bs-dark: hsl(248 64% 12%);
	--bs-dark-rgb: 32, 19, 54;

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

	--h1: clamp(3.55rem, 6vw, 6.3125rem);
	--h2: clamp(2.6625rem, 4.7vw, 4.7375rem);
	--h3: clamp(2rem, 3.5vw, 3.55rem);
	--h4: clamp(1.875rem, 2.6vw, 2.6625rem);
	--h5: clamp(1.5rem, 2vw, 2rem);
	--h6: clamp(1.25rem, 1.5vw, 1.5rem);
	--lead: var(--h6);
}

:focus:not(:focus-visible) {
	box-shadow: none !important;
	outline: none !important;
}

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

body {
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.7;
}

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

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

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

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

/*  MARK: navbar  */

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

.navbar-dark,
.navbar[data-bs-theme=dark] {
	--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");
}

.navbar.affix {
	background-color: hsl(262 48% 14% / .95);
}

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

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

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

.navbar-toggler {
	height: 180px;
	padding: 0 2rem;
	transition: height 200ms;
}

.affix .navbar-toggler {
	height: 60px;
}

.nav-link {
	font-weight: bold;
	color: white;
	opacity: 1;
	transition: color 200ms, transform 200ms;

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

.dropdown-menu {
	border: 0;
	border-radius: 0;
	padding: 0;
	background-color: transparent;
}

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

.dropdown-item:hover {
	transform: translateX(3px);
}

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

.offcanvas {
	height: 100dvh;
	background-color: var(--bs-body-color) !important;
}

.offcanvas-body {
	background-color: var(--bs-body-color);
}

@media (min-width: 992px) {
	.offcanvas.offcanvas-end {
		max-width: 100vw;
		width: 100vw;
		inset: 0;
		overflow: hidden;
	}

	.offcanvas-header  {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 100;
		justify-content: flex-end;
	}

	.offcanvas-header .btn-close {
		margin-right: 2rem;
		margin-top: 1rem;
		font-size: 2rem;
	}

	.offcanvas-title {
		display: none;
	}

	.offcanvas-body {
    padding: 30px var(--xxl);
		isolation: isolate;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: space-between;

		&::after {
			content: '';
			display: block;
			inset: 0 50% 0 0;
			position: absolute;
			z-index: -1;
			background-color: hsl(248 64% 22%);
		}
	}

	.navbar-nav {
		max-width: 38vw;

		& .nav-link {
			font-size: var(--h4);
			padding: 1rem 0;

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

.langs.list-unstyled li + li {
	margin-top: 0;
}

.langs a {
	display: block;
	transition: transform 200ms;

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






/*  MARK: header  */

header {
	background-color: hsl(262 48% 14%);
}

header::after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 2;
	background-image: url("../img/headynks.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	transform: translateY(50%);
}


header h1 {
	margin-top: 180px;
	margin-bottom: 0;
	line-height: .875;
	font-size: clamp(3.5rem, 11vw, 11.25rem) !important;
}

.swiper__image {
	height: 100dvh;
	object-position: right;
}

.sub header img {
	height: 100dvh;
}

/*  MARK: main content */

main, footer {
	overflow: hidden;
}

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

	&:only-child {
		margin-top: 1rem;
	}
}

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

section h1,
section h2 {
	text-transform: uppercase;
}

#firma {
	background-image: url(../img/firma-bg.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right top;
}

.decor {
	border-left: .2em solid var(--primary-color);
	padding: .25em 0 .25em .75em;
}

.icon {
	margin-inline: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	background-image: url(../img/hexbg.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#oferta .list-group {
	--bs-list-group-bg: transparent;
	--bs-list-group-border-color: var(--bs-border-color);
	--bs-list-group-color: var(--bs-dark);
	--bs-list-group-action-hover-bg: var(--primary-color-light);
	--bs-list-group-action-hover-color: var(--primary-color);
	--bs-list-group-action-active-bg: var(--primary-color-dark);
	--bs-list-group-action-active-color: #fff;

	& li {
		padding: 3px 0;
	}

	& a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		;
		width: 100%;
		padding: .5rem 0;
		text-decoration: none;
		transition: opacity 200ms;

		&::after {
			content: '';
			display: block;
			width: 24px;
			height: 24px;
			background-image: url(../img/arrow-right-white.svg);
			background-repeat: no-repeat;
			background-size: contain;
			transition: transform 200ms;
			flex-shrink: 0;
		}

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

		&:hover::after {
			transform: translateX(5px);
		}
	}
}

#miedzynarodowo {
	color: white;

	& .position-absolute {
		right: 0;
		bottom: 0;
		width: 70%;
		mix-blend-mode: exclusion;
	}
}

.checklist {
	padding-left: 0;
}

.checklist li {
	list-style: none;
	position: relative;
	padding-left: 1.5em;

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

	&::before {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		top: 0.35em;
		width: 1em;
		height: 1em;
		background-image: url(../img/check.svg);
		background-repeat: no-repeat;
		background-size: contain;
	}
}

/*  MARK: stopka */

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

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

.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 .position-absolute {
	background-color: hsl(0 0% 0% / .5);
}

.sub header img,
.sub .swiper__image {
	height: 100dvh;
}

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 var(--bs-border-color);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;

	& .h5 {
		font-size: 1.125rem !important;
		font-weight: normal !important;
	}
}

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

.form-control {
	border-radius: 0;
	padding: 1em;
}

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

.error-msg {
	color: red;
}


aside .list-group-item {
	padding-inline: 0 !important;
}


aside .nav-link {
	color: var(--bs-body-color);
	text-decoration: none;
	display: block;
	line-height: 1.3;
	font-weight: normal;

	transition: color 200ms, transform 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
		transform: translateX(5px);
	}

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

aside .nav li + li > a {
	border-top: 1px solid var(--bs-border-color) !important;
}

#sub-nav .ratio {
	overflow: hidden;

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

	& a {
		&:hover,
		&:focus {
			text-decoration: none;
			color: white !important;
		}
	}

	& a:hover + img,
	& a:focus + img {
		transform: scale(1.1);
		opacity: .3 !important;
	}
}

form textarea {
	height: 15.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: reduced motion media */

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation-duration: 0s !important;
		scroll-behavior: auto !important;
	}
}


.sub header .slogan {
	margin-top: 160px;
}

/*  MARK: RWD  */

@media (max-width: 1399px) {
	.sub header h1 {
		font-size: var(--h2) !important;
	}
}

@media (max-width: 1199px) {
	#dolacz {
		padding: var(--xxl) 0;
	}
}

@media (max-width: 991px) {

	[data-aos][data-aos][data-aos-delay].aos-animate {
    transition-delay: 0s !important;
}

	#oferta .bg-light {
		gap: 1.5rem;
	}

	#miedzynarodowo {
		position: relative;

		& .container {
			position: relative;
			z-index: 2;
		}

		&::after {
			content: '';
			inset: 0;
			z-index: 1;
			position: absolute;
			background-color: hsl(0 0% 0% / .5);
		}
	}

	#dolacz {
		padding: var(--xxl) 0 0 0;
	}

	footer {
		text-align: center;
	}

	footer a.d-flex {
		display: flex;
		gap: .25rem !important;
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-top: 1.5rem;
	}

	#oferta img.w-100 {
		height: auto !important;
		aspect-ratio: 16/10;
	}

	#dolacz .col-lg-6:not(.col-lg-6+.col-lg-6) {
		display: flex;
		justify-content: center;
	}

	#dolacz img.img-fluid {
		max-width: 300px !important;
		margin-inline: auto !important;
	}

}

@media (max-width: 767px) {
	:root {
		--xxl: 4rem;
	}

	.home header .swiper__image {
		height: 500px;
	}

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

	main,
	footer {
		overflow: hidden;
	}

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

	.navbar-toggler {
		height: 100px;
	}

	#firma .row-cols-2 {
		row-gap: 2rem;
	}

	.sub .swiper__image {
    height: 300px;
	}

	.navbar-right.gap-5 {
		gap: 1rem !important;
	}

	.navbar-toggler {
    padding: 0 .5rem 0 0;
	}
}

@media (max-width: 575px) {
	header::after {
		height: 30px;
	}

	header h1 {margin-bottom: 2rem;}

	#firma .row-cols-2 .col {
		width: 100%;
	}

	.sub .swiper__image {
    height: 260px;
	}

	.dropdown-item {
		white-space: normal;
		line-height: 1.3;
	}

	.langs img {
		height: 24px;
	}

	.langs {
		gap: .5rem !important;
	}

}

@media (max-width: 399px) {
	.home header .swiper__image,
	.sub header img {
		height: 450px;
	}

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

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

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

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

	.navbar-toggler span:last-child {
		display: none;
	}
}