@charset "UTF-8";

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

	--primary-color: hsl(46, 98%, 48%);
	--primary-color-light: hsl(46, 98%, 58%);
	--primary-color-dark: hsl(46, 98%, 38%);

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

	--bs-primary: hsl(46, 98%, 48%);
	--bs-primary-rgb: 242, 186, 2;

	--bs-light: hsl(0, 0%, 96%);
	--bs-light-rgb: 245, 245, 245;

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

	--bs-body-color: black;

	--h1: 		clamp(3.15625rem, 4.5vw, 5.6125rem);
	--h2: 		clamp(2.36875rem, 4.2vw, 4.20625rem);
	--h3: 		clamp(1.775rem, 3.15vw, 3.15625rem);
	--h4: 		clamp(1.33125rem, 2.36vw, 2.36875rem);
	--h5: 		clamp(1.2rem, 1.7vw, 1.775rem);
	--h6: 		clamp(1.1rem, 1.3vw, 1.33125rem);
	--lead: 	var(--h6);
}

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

.cookie-alert {
	bottom: 20px !important;
	padding: 10px 45px !important;
}

body {
	font-family: var(--font);
	position: relative;
	padding-top: 20px;
	font-size: 1.125rem;
	line-height: 1.75;

	&::before {
		content: '';
		display: block;
		position: fixed;
		inset: 0;
		z-index: 999999;
		border: 20px solid var(--primary-color);
		pointer-events: none;
	}
}

strong, .strong {font-weight: 600;}
.light {font-weight: 300;}

.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-24px, [src*="_24px"] {width: 24px;}
.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: 600;

	em {
		font-style: normal;
		color: var(--primary-color);
	}
}

h1, .h1 {font-size: var(--h1);}
h2, .h2 {font-size: var(--h2);}
h3, .h3 {font-size: var(--h3);}
h4, .h4 {font-size: var(--h4);}
h5, .h5 {font-size: var(--h5);}
h6, .h6 {font-size: var(--h6);}
.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);
}


/*  MARK: navbar  */

.navbar {
	top: 20px;
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 2.125rem;
    --bs-navbar-active-color: white;
    --bs-navbar-nav-link-padding-x: 1.25rem;
		--bs-navbar-brand-padding-y: 0;
    --bs-navbar-brand-margin-end: 0;

	transition: padding 200ms, box-shadow 200ms;

	&.affix {
		top: 20px;
		--bs-navbar-padding-y: .5rem;
		background-color: hsl(0 0% 0% / .8);
		backdrop-filter: blur(3px);
	}
}

.navbar-brand-image {
	height: 3rem;
	transition: height 200ms;
}

.affix .navbar-brand-image {height: 2rem;}

.navbar-nav .nav-link {
	font-weight: bold;
	color: white;
	transition: color 200ms;

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

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

.dropdown-item {
	color: var(--bs-body-color);
	padding: 0.25rem .5rem;
	border-radius: .25rem;
	transition: color 200ms, background-color 200ms;

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


/*  MARK: header  */

header {
	position: relative;

	.position-absolute {
		background-color: hsl(0 0% 0% / .2);
	}
}

.header__swiper {
	overflow: hidden;
	position: relative;
}

header .swiper-pagination {
	z-index: 99 !important;
	inset: auto 0 10dvh auto !important;
	width: auto !important;
	gap: 1rem;
	display: inline-flex;
	justify-content: flex-end;
}

header .swiper-pagination-bullet {
	width: 1rem;
	height: 1rem;
	background-color: var(--primary-color) !important;
}

/* header .position-absolute:not(.z-3) {
	background-image: linear-gradient(transparent 80%, black);
} */

.slogan {
	margin-bottom: 10dvh;

	.h1 {
		line-height: 1.1;
	}
}

.swiper__image {height: 100dvh;}


.header__swiper .container {
	position: relative;
}



.egger-dist {
	position: absolute;
	right: 0;
	bottom: 160px;
	gap: 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	small {
		font-size: 1rem;
		font-weight: normal;
		text-transform: uppercase;
	}

	img {
		filter: drop-shadow(0 0 1.5rem white);
	}
}






/*  MARK: main content */

.decor {
	padding-left: 1.5em;
	line-height: 1.5;
	border-left: 8px solid var(--primary-color);
}

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

.btn-sm {
	--bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: .75rem;
}

.navbar .btn {
	--bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 1.15625rem;
}

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

		--bs-btn-color: var(--bs-body-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-active-color: var(--bs-body-color);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-active-color: var(--bs-body-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);
}

.firma-images {
	width: 100%;
	height: 782px;
	min-height: 500px;
	max-height: 100dvh;

	img {
		max-width: 65%;
	}
}

#firma {
	padding-bottom: calc(var(--xxl) + 205px);
}

#materialy {
	position: relative;
	z-index: 5;
	margin-top: -205px;
}

#materialy a {
	.position-absolute {
		background-image: linear-gradient(transparent 50%, black);
		color: white;
		isolation: isolate;

		&::after {
			content: '';
			display: block;
			position: absolute;
			inset: 1.6rem;
			z-index: 1;
			border: 1px solid white;
		}
	}

	img {
		transition: transform 500ms cubic-bezier(0.075, 0.82, 0.165, 1);
	}

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

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

#news a {
	color: var(--bs-body-color);
	text-decoration: none;

	&.text-loose {
		transition: color 200ms;

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

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

		img {
			transition: transform 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
		}
	}
}

.card {
	border: 0;
	border-radius: 0;
	cursor: pointer;

	&:hover {
		.card-image img {
			transform: scale(1.1);
		}
	}
}

.card-image {
	overflow: hidden;

	img {
		transition: transform 500ms cubic-bezier(0.075, 0.82, 0.165, 1);
	}
}

.card-body {
	padding: 1.25rem 0 0;
}

.card-title {
	margin: 1rem 0;
}

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

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


/*  MARK: stopka  */

footer h5 {
	margin-bottom: 1.5rem;
}

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

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

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

footer .list-group-flush .list-group-item {
	background-color: transparent !important;
	color: white;
	padding-inline: 0 !important;
	border-color: hsl(0 0% 100% / .2);
}

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

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


/*  MARK: sub content  */

/* .sub {
	padding-top: 138px;
}

.sub .navbar {
	background-color: black;
} */

.sub header .swiper-slide img {
	width: 100%;
	height: 40dvh;
	min-height: 350px;
	filter: brightness(.6);
}

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

	img {
		width: 100%;
		display: block;
		aspect-ratio: 16/10;
		object-fit: cover;
		transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
	}

	&: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;

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

.form-control {
	border-radius: 0;

	&.error {border-color: red;}
}

.form-check label small {
	display: block;
}

.star {color: red;}

.error-msg {color: red;}

.sub #main a:not(.btn) {
	text-decoration: none;
	color: var(--primary-color);

	&:hover {
		text-decoration: underline;
	}
}

.sub main img {
	--shadow: black;
	box-shadow:
		-50px -50px 0 -40px var(--shadow),
		50px 50px 0 -40px var(--shadow);
}

.col-xl-4 p + p:has(img:only-child) {margin-top: 2.5rem;}

#sub-pages .row + .row {margin-top: var(--xl);}


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


.offers {
	position: sticky;
	top: 130px;
	bottom: 0;
	background-color: hsl(0 0% 94%);
}

.aplikacja-form {
	position: sticky;
	top: 130px;
	bottom: 0;
}

.offers h4 {line-height: 1.1 !important;}

.oferta-pracy {
	border-left: 5px solid var(--primary-color);
	padding-left: 1rem;

	a {
		color: var(--bs-body-color);
		transition: color 200ms;

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

		small:empty {display: none;}

		&:has(small:empty) .h5 {margin-bottom: 0 !important;}
	}
}

.kontaktowa main [src*=".svg"] {
	filter: invert(1);
}

.kontaktowa main a {
	color: var(--bs-body-color);
	text-decoration: none;

	transition: color 200ms;

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

.kontaktowa main p:has(.btn:only-child) {display: none;}


.form-check label, .form-check label small {
	font-size: .875rem !important;
}


.kontaktowa {
	iframe {
		display: block;
		border: 20px solid white !important;
		box-shadow: 0 1.5rem 2.5rem -.5rem hsl(0 0% 0% / .2);
	}
}



/* MARK: RWD */



/* MARK: < 1536 */
@media (max-width: 1535px) {
	.navbar .btn {
    --bs-btn-padding-x: .85rem;
    --bs-btn-padding-y: .5rem;
		gap: .35rem !important;
	}

	.navbar {
		--bs-navbar-nav-link-padding-x: 1rem;
	}
}


/* MARK: < 1399 */
@media (max-width: 1399px) {
	.navbar-brand-image {
    height: 2.75rem;
	}

	.navbar {
		--bs-navbar-nav-link-padding-x: .875rem;
	}

	.navbar-nav .nav-link, .navbar .btn {
		font-size: 0.875rem;
	}

	.firma-images img {
    max-width: 75%;
	}

	.btn {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: .75rem;
	}

	footer + img {
		max-width: 90% !important;
	}
}



/* MARK: < 1280 */
@media (max-width: 1280px) {
	.firma-images {
    height: 686px;
    min-height: 400px;
	}
}

/* MARK: < 1199 */
@media (max-width: 1199px) {
	.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-toggler-border-color: var(--primary-color);
		--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='hsla%2846, 98%, 48%, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.offcanvas {
		padding: 1.25rem 1.25rem 1.25rem .5rem;
	}

	.firma-images img {max-width: 80%;}

	.affix .offcanvas {
		height: 100dvh;
	}
}

/* MARK: < 991 */
@media (max-width: 991px) {
	:root {
		--xxl: 3rem;
	}

	.firma-images {margin-top: 3rem;}

	#materialy a img, .card-image img {
		height: auto;
		aspect-ratio: 16/9;
		object-fit: cover;
	}

	footer {
		text-align: center;

		p.d-flex {
			flex-direction: column !important;
			align-items: center !important;
			justify-content: center !important;
		}

		.col-lg-4:not(.d-flex) {
			margin-top: 2rem;
		}

		.col-lg-4.d-flex {
			margin-top: 1rem;
			margin-bottom: 1rem;
		}
	}

	.sub header .swiper-slide img {
		height: 25dvh;
		min-height: 250px;
	}
}


/* MARK: < 767 */
@media (max-width: 767px) {
	header .swiper-pagination {display: none;}

	.firma-images {
		height: 70dvh;
		min-height: 500px;
	}

	.kontaktowa .col-lg-3 {text-align: center;}

	.egger-dist {
		position: relative;
		inset: auto;
		margin-top: 1rem;
	}

	.h1.decor,
	h1.decor {
		padding-left: 1.5ex;
	}

	.kontaktowa .decor {
		border: 0;
		padding: 0;
	}

	.list-group, .list-group li {
		width: 100%;
	}
}


/* MARK: < 575 */
@media (max-width: 575px) {
	body {
		padding-top: 10px;
	}
	body::before {
    border-width: 10px;
	}

	.container {
		padding-inline: 30px;
	}

	.navbar.affix {top: 10px;}

	.firma-images {
		min-height: 300px;
		max-height: 400px;
	}

	#materialy a strong.h3 {
		font-size: var(--h4) !important;
		margin-bottom: 0 !important;
	}

	#materialy a .position-absolute::after {
    inset: 1rem;
	}

	.offers.p-5, .aplikacja-form.p-5 {padding: 1.5rem !important;}
}


/* MARK: < 375 */
@media (max-width: 375px) {
	header .h1 {font-size: var(--h2) !important;}
	.firma-images {
		min-height: 250px;
		max-height: 350px;
	}

	.decor {
    padding-left: 1rem;
    border-left: 6px solid var(--primary-color);
	}

	#materialy a .position-absolute.p-5 {padding: 1.65rem !important;}
}