@charset "UTF-8";

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

	--primary-color: hsl(45 100% 59%);
	--primary-color-light: hsl(45 100% 69%);
	--primary-color-dark: hsl(45 100% 49%);

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

	--bs-primary: hsl(45 100% 59%);
	--bs-primary-rgb: 255, 203, 46;

	--bs-light: hsl(0 0% 93%);
	--bs-light-rgb: 237, 237, 237;

	--bs-dark: hsl(0 0% 13%);
	--bs-dark-rgb: 33, 33, 33;

	--bs-link-color: var(--primary-color);
	--bs-link-color-rgb: 255, 203, 46;
	--bs-link-decoration: none;
	--bs-link-hover-color: var(--primary-color-dark);
	--bs-link-hover-color-rgb: 250, 187, 0;

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

	--h1: clamp(3.15625rem, 3.15625rem + ((1vw - 0.2rem) * 1.333), 5.6125rem);
	--h2: clamp(2.36875rem, 2.36875rem + ((1vw - 0.2rem) * 1.333), 4.20625rem);
	--h3: clamp(1.775rem, 1.775rem + ((1vw - 0.2rem) * 1.333), 3.15625rem);
	--h4: clamp(1.33125rem, 1.33125rem + ((1vw - 0.2rem) * 1.333), 2.36875rem);
	--h5: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 1.333), 1.775rem);
	--h6: clamp(1.15rem, 1.15rem + ((1vw - 0.2rem) * 1.333), 1.33125rem);
	--lead: var(--h6);
}

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

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

body {
	font-family: var(--font);
	font-size: clamp(1rem, 1.3vw, 1.125rem);
	line-height: 1.65;
}

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

.bg-primary h2 em {
	color: var(--bs-body-color);
	opacity: .5;
}

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 {
	--container-padding-x: clamp(1.5rem, 6vw, var(--xxl));
	max-width: 1620px;
	padding-inline: var(--container-padding-x);
	width: 100%;
}

@media (min-width: 1660px) {
	.container {
		padding-inline: 0;
	}
}

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

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

.navbar.affix {
	--bs-navbar-padding-y: .5rem;
	backdrop-filter: blur(.5rem);
}

.home .navbar.affix {
	background-color: hsl(0 0% 0% / .8);
}

.sub .navbar.affix {
	background-color: hsl(100 100% 100% / .8);
}

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

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

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

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

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

.navbar a[href*="tel"] {
	color: black;
	font-size: var(--h6);
	padding-inline-start: 3rem;
	margin-inline-start: 3rem;
	margin-inline-end: 0;
	border-left: 1px solid black;
}

.home .navbar a[href*="tel"] {
	color: white;
	border-left: 1px solid white;
}

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

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

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

/*  MARK: header  */

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

header h1 {
	font-size: clamp(3.5rem, 7vw, 7.5rem) !important;
}

header a {
	border-top: 1px solid white;
	text-decoration: none;
	padding-top: 1rem;

	& img {
		transition: transform 200ms;
	}

	&:hover img {
		transform: translateX(.25rem);
	}
}

header .swiper-slide img {
	height: 100vh;
}


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

.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-bg {
	background-color: #fff;
}

.home .main-bg {
	background-image: url(../img/mainbg.png);
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: contain;
}

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

	&:hover .card-img-top img,
	&:focus .card-img-top img {
		transform: scale(1.1);
	}
}

.card {
	border: 0;
	border-radius: 0;
	background-color: transparent;

	& .position-absolute {
		padding: 30px;
	}

	& .badge {
		background-color: hsl(0 0% 100% / .3);
		backdrop-filter: blur(.5rem);
		border: 1px solid white;
		font-weight: normal;
	}
}

.tags {
	padding: 30px;

	& .badge {
		background-color: hsl(0 0% 100% / .3);
		backdrop-filter: blur(.5rem);
		border: 1px solid white;
		font-weight: normal;
	}
}

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

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

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

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

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



#dlaczego .bg {
	position: relative;

	& .row,
	& .col-xl-7,
	& .col-xl-5 {
		height: inherit;
	}
}

#firma video {
	display: block;
	max-width: 100%;
	aspect-ratio: 16/9 !important;
	height: auto;
}

@media (min-width: 1200px) {
	#dlaczego .bg {
		height: 467px;
		background-color: hsl(0 0% 100% / .2);
		backdrop-filter: blur(.5rem);
		box-shadow: 0 0 1.5rem hsl(0 0% 0% / .05);

		& img {
			margin-top: -80px;
		}
	}
}


/*  MARK: stopka */

body {
	margin-bottom: 600px;

	& .main-bg,
	& header,
	& main,
	& footer {
		position: relative;
		z-index: 2;
	}
}

#mapa-google {
	width: 100%;
	height: 600px;
	display: block;
	filter: grayscale(1);
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 1;
}

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

/*  MARK: sub content  */

.sub .main-bg {
	padding-top: 144px;
}

.sub .navbar {
	background-color: white;
	border-bottom: 1px solid #e2e2e2;
}


main:has(#sub-pages:last-of-type) {
	padding-bottom: 0;
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--bs-border-color);
}

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

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

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

.form-control,
.form-check-input {
	border-radius: .25rem;
	padding: 0.75rem;

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

.form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

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

.error-msg {
	color: red;
}

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

#oferta .card-img-top img {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
}

@media (min-width: 1200px) {
	#oferta .card-img-top img {
		height: 520px;
	}
}

@media (min-width: 992px) {
	#oferta .card-img-top img {
		height: 420px;
	}
}


main a {
	color: var(--bs-body-color) !important;
	text-decoration: underline;
	display: inline-block !important;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	line-height: 1;


	~* {
		display: inline-block;
	}

	&:before {
		content: '';
		display: inline-block;
		position: absolute;
		z-index: -1;
		inset: 0 100% 0 -.5em;
		background-color: var(--primary-color);
		transition: inset 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	&:hover,
	&:focus {
		text-decoration: none;

		&::before {
			inset: 0 -5em;
		}
	}
}


.marquee {
	width: 100%;
	overflow: hidden;
	position: relative;
	background: var(--primary-color);
	font-size: 3vw;
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 3rem;
}

.marquee-track {
	display: flex;
	white-space: nowrap;
}

.marquee-content {
	display: inline-block;
	padding-right: 6vw;
	animation: scroll 25s linear infinite;
}

/* AUTOMATYCZNE POWIELENIE TEKSTU */
.marquee-content::after {
	content: attr(data-text);
	padding-left: 6vw;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

.langs {
	top: 50%;
	right: 1rem;
	transform: translateY(-50%);
	z-index: 99;
}


/*  MARK: RWD  */

.offcanvas {
	height: 100vh;
}

.navbar-dark,
.navbar[data-bs-theme=dark] {
	--bs-navbar-toggler-border-radius: .15rem;
	--bs-navbar-toggler-border-color: rgba(255, 255, 255, 1);
	--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");
}

@media (max-width: 1659px) {
	.navbar-brand-image {
		height: 55px;
	}
}

@media (max-width: 1599px) {
	.navbar-nav .nav-link {
		font-size: 0.9rem;
	}

	.navbar a[href*="tel"] {
		--space: 1.5rem;
		font-size: 1rem !important;
		padding-inline-start: var(--space);
		margin-inline-start: var(--space);
	}
}

@media (max-width: 1399px) {

	.nav-link,
	.dropdown-item {
		text-align: center;
		width: 100%;
	}
}

@media (max-width: 1299px) {
	.navbar-brand-image {
		height: 45px;
	}
}


@media (min-width: 992px) and (max-height: 700px) {
	header .row.mb-xxl {
		margin-bottom: 15vh;
	}
}

@media (min-width: 992px) and (max-height: 595px) {
	header h1 {
		font-size: var(--h2) !important;
	}

	header h2.h4,
	header a.h4 {
		font-size: var(--h6) !important;
	}
}


@media (max-width: 1199px) {

	:root {
		--xxl: 6rem;
	}

	.signet {
		width: 42vw;
	}

	.navbar a[href*="tel"] {
		--space: 1.5rem;
		padding-inline-start: 0;
		padding-inline-end: var(--space);
		margin-inline-start: 0;
		margin-inline-end: 0;
		border-left: 0 !important;
		border-right: 1px solid currentColor;
	}
}


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

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

	.home header,
	.home header .swiper-slide img {
		min-height: 600px;
	}

	header .col-lg-5+.col-lg-5,
	header .col-lg-6+.col-lg-6 {
		margin-top: 1rem;
	}

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

	header h2.h4 {
		font-size: var(--h6) !important;
	}

	.col-lg-4:has(.signet) {
		display: none;
	}

	#firma .row.mt-xxl {
		margin-top: 0;
	}

	#dlaczego .bg {
		background-color: transparent;
		backdrop-filter: none;
		height: auto;
		position: relative;
	}

	#dlaczego .bg img {
		position: relative;
		top: 0;
		transform: none;
	}

	footer {
		text-align: center;
	}

	footer .col-lg-6+.col-lg-6 {
		margin-top: 2rem;
	}

	footer iframe {
		height: 60vh;
	}

	body {
		background-position: left 0 bottom 60vh;
	}
}

@media (max-width: 767px) {
	.navbar-brand-image {
		height: 40px;
	}

	.nav-link[href*="tel"] {
		padding-right: 1rem !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 575px) {
	.navbar {
		--bs-navbar-padding-y: 1rem;
	}

	.nav-link[href*="tel"] {
		padding-right: 0 !important;
		margin-right: 0 !important;
		border-right: 0 !important;
	}
}

@media (max-width: 499px) {
	.navbar-brand-image {
		height: 36px;
	}

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

	#oferta .card-img-top img {
		aspect-ratio: 1/1;
	}

	.footer-logo,
	.footer-logo img {
		max-width: 100%;
		height: auto;
	}

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

	.card .tags {
		padding: 0;
	}
}