/* Root variables */
:root {
	--main-black-color: #333;
	--main-yellow-color: #f2d815;
	--main-blue-color: #2e1980;
	--main-color-grey: #ececec;
	--background-yellow: rgba(242, 216, 21, 0.03);
	--background-blue: rgba(46, 25, 128, 0.03);
	--background-dark-grey: #3b3b3b;
	--header-height: 4.8rem;
	--slider-width: 375px;
	--slider-height: 300px;
	--section-padding-bottom: 4rem;
	--section-padding-top: 2rem;
	--section-margin-top: 5rem;
	--section-margin-bottom: 5rem;
}

/* 1. Use a more-intuitive box-sizing model */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 2. Remove default margin */
* {
	margin: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 3.2rem);
	font-size: 62.5%;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
	html {
		interpolate-size: allow-keywords;
	}
}

body {
	/* 4. Add accessible line-height */
	line-height: 1.5;
	/* 5. Improve text rendering */
	color: var(--main-black-color);
	-webkit-font-smoothing: antialiased;
	font-family: 'Raleway', sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 1.6rem;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
	font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
	text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
	letter-spacing: 0.5px;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
	isolation: isolate;
}

/* Headings */
h1 {
	text-align: center;
	font-size: 1.6rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}

h2 {
	font-size: 1.6rem;
	position: relative;
	padding-left: 3rem;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 2rem;
	margin-bottom: 2rem;
}

h2::before {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	content: url(images/branding.svg);
}

h3 {
	font-size: 1.6rem;
	margin-bottom: 1em;
}

.strategy-card h3 {
	margin-bottom: 0;
}

.heading-wrapper {
	display: flex;
	justify-content: center;
}

/* Lists */
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.classic {
	list-style: disc;
	padding: 0 0 0 4rem;
}

ul.classic li + li {
	margin-top: 1em;
}

/* Links */
a {
	text-decoration: none;
	color: inherit;
}

/* Header */
header {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 100;
	padding: 6px 0;
	background-color: var(--main-black-color);
	-webkit-box-shadow: 0px 2px 6px 0px rgba(66, 68, 90, 0.1);
	-moz-box-shadow: 0px 2px 6px 0px rgba(66, 68, 90, 0.1);
	box-shadow: 0px 2px 6px 0px rgba(66, 68, 90, 0.1);
}

#header_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 100;
}

#logo_wrapper {
	z-index: 100;
}

#logo_wrapper svg {
	fill: #000;
}

#quick-call {
	position: absolute;
	right: 0;
	top: var(--header-height);
	background-color: var(--main-yellow-color);
	padding: 0.4rem 1rem 0.6rem 1.3rem;
	border-bottom-left-radius: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

#quick-call a {
	color: #333;
	font-weight: 700;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
}

/* Navigation */
#nav_wrapper {
	position: absolute;
	right: -100vw;
	top: var(--header-height);
	width: 100%;
	height: calc(100vh - var(--header-height));
	z-index: 99;
	background: #fff;
	transition: right 0.3s ease;
	-webkit-transition: right 0.3s ease;
}

#nav_wrapper.active {
	right: 0;
}

#primary-menu {
	display: flex;
	flex-direction: column;
	overflow-y: scroll;
	padding-bottom: 2rem;
}

#primary-navigation {
	width: 100%;
	display: flex;
	flex-direction: column;
	background: white;
	height: 100%;
}

#primary-menu a {
	text-transform: uppercase;
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
	-webkit-transition: color 0.3s ease;
	padding: 18px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	text-align: center;
	width: 100%;
	display: block;
}

#primary-menu li.menu-info {
	margin-top: 2.4rem;
}

#primary-menu li.menu-info a {
	border-bottom: 0;
	padding: 0.6rem 0;
	text-transform: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

#primary-menu a:hover {
	color: var(--main-yellow-color);
}

/* Mobile navigation */
#menu-toggle {
	background: 0 0;
	display: flex;
	outline: 0;
	width: 26px;
	height: 21px;
	position: relative;
	border: none;
}

#menu-toggle span {
	position: absolute;
	width: 100%;
	height: 3px;
	background-color: #fff;
	left: 0;
	transition: all 0.3s ease;
}

#menu-toggle > span:nth-child(1) {
	top: 0;
}

#menu-toggle > span:nth-child(2) {
	top: 9px;
}

#menu-toggle > span:nth-child(3) {
	bottom: 0;
}

#menu-toggle.active > span:nth-child(1) {
	-webkit-transform: translatey(9px) rotate(-45deg);
	-ms-transform: translatey(9px) rotate(-45deg);
	transform: translatey(9px) rotate(-45deg);
}

#menu-toggle.active > span:nth-child(2) {
	opacity: 0;
}

#menu-toggle.active > span:nth-child(3) {
	-webkit-transform: translatey(-9px) rotate(45deg);
	-ms-transform: translatey(-9px) rotate(45deg);
	transform: translatey(-9px) rotate(45deg);
}

/* Banner */
#banner {
	height: 50vw;
	max-height: 600px;
	background-image: url('images/serwis-telm-masatsow-krakow-skala-retardery-m.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

/* Layout */
main {
	padding-top: var(--header-height);
}

section {
	padding: 2rem 0;
}

p {
	margin-bottom: 1em;
	letter-spacing: 0.3px;
	text-align: justify;
}

.container {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}

.container_inner {
	padding: 0 1.2rem;
}

.mt {
	margin-top: 4rem;
}

.ml {
	margin-left: 1rem;
}

.ml-small {
	margin-left: 0.5rem;
}

.page-title-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 2rem;
	backdrop-filter: blur(2px);
	background-color: rgba(51, 51, 51, 0.78);
	position: absolute;
	left: 1.4rem;
	bottom: 1.4rem;
	border-radius: 0.6rem;
}

.img-wrapper {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.group .img-wrapper {
	margin: 0 -1.2rem;
}

.img-titled {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.color-heading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 1.2rem;
	padding: 0.5rem 8rem;
	transform: translateY(50%);
	position: absolute;
	bottom: 0;
}

.color-heading.yellow {
	background-color: var(--main-yellow-color);
}

.color-heading.blue {
	background-color: var(--main-blue-color);
}

.color-heading h3 {
	text-transform: uppercase;
	margin-bottom: 0;
}

.color-heading.yellow h3 {
	color: #333;
}

.color-heading.blue h3 {
	color: #fff;
}

.info-list li {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	text-align: justify;
}

.info-list li + li {
	margin-top: 2rem;
}

.icon-wrapper {
	flex: 0 0 auto;
	margin-top: 3px;
}

.column-row {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.column-row + .column-row {
	margin-top: 3rem;
}

.logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	margin-top: var(--section-padding-top);
}

.logo-wrapper {
	flex: 1 0 50%;
	max-width: 140px;
}

.icon-row {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.map-section {
	background-color: #272f3e;
	padding: 0;
}

#map-wrapper {
	position: relative;
}

.map-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.map-logo {
	position: absolute;
	left: 15%;
	top: 10%;
}

.map-city {
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 2rem;
	left: 36%;
	position: absolute;
	bottom: 17%;
}

.map-distance {
	border: none;
	border-top: 1px dashed #fff;
	color: #fff;
	height: 1px;
	width: 33%;
	position: absolute;
	transform: rotate(75deg);
	left: 39%;
	top: 24%;
	transform-origin: left;
}

.map-distance:after {
	position: absolute;
	content: '20 km';
	color: #fff;
	transform: rotate(-75deg);
	transform-origin: left;
	left: 49%;
	bottom: 0;
}

.contact-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 2rem 0;
}

.contact-wrapper a {
	display: inline-flex;
	align-items: center;
	margin-top: 2rem;
}

.contact-wrapper a svg {
	margin-right: 1.8rem;
}

footer {
	font-size: 1.2rem;
	text-align: center;
	padding: 2rem 0;
	color: #fff;
	background-color: var(--background-dark-grey);
}

/* Utility classes */
.fixed {
	position: fixed;
}

.shadow {
	-webkit-box-shadow: 0px 3px 6px -5px #333;
	-moz-box-shadow: 0px 3px 6px -5px #333;
	box-shadow: 0px 3px 6px -5px #333;
}

.grey {
	background-color: var(--main-color-grey);
}

.pb {
	padding-bottom: var(--section-padding-bottom);
}

.mt {
	margin-top: var(--section-margin-top);
}

.mt-0 {
	margin-bottom: 0;
}

.mb {
	margin-bottom: var(--section-margin-bottom);
}

.align-center {
	align-items: center;
}

#services {
	background-color: var(--main-color-grey);
}

.text-center {
	text-align: center;
}

.bg-yellow-mobile {
	background-color: var(--background-yellow);
}

.bg-blue {
	background-color: var(--background-blue);
}

.pvertical {
	padding: 2rem 0;
}

/* Other */
#map_section {
	background: #222a39;
	display: flex;
	justify-content: center;
}

#strategy {
	counter-reset: section;
	margin-top: 2rem;
}

.strategy-card {
	border-width: 1px;
	border-style: solid;
	border-radius: 1.2rem;
	border-color: rgba(112, 112, 112, 0.35);
	padding: 1.2rem 1.2rem 1.2rem 4rem;
	position: relative;
  margin-left: 1rem;
}

.strategy-card:before {
	position: absolute;
	counter-increment: section;
	content: counter(section);
	left: -1rem;
	top: -1rem;
	background-color: var(--background-dark-grey);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 2rem;
	width: 3.2rem;
	height: 3.2rem;
	line-height: 1em;
	font-weight: 700;
}

.strategy-card:nth-child(2) {
	margin-top: 1rem;
}

.strategy-card + .strategy-card {
	margin-top: 3rem;
}

.strategy-card h3 {
	text-transform: none;
}

.strategy-card:nth-child(2) h3 {
	margin-bottom: 1em;
}

.strategy-card p {
	margin-bottom: 0;
}

.strategy-card p + p {
	margin-top: 0.5em;
}

.glide {
	margin: 2rem 0;
}

.glide-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 2rem;
}

.glide-buttons > button {
	border: 1px solid #3b3b3b;
	border-radius: 2rem;
	width: 2rem;
	height: 2rem;
	transition: background-color ease 0.3s;
}

.glide-buttons > button.glide__bullet--active {
	background-color: #3b3b3b;
}

@media screen and (width >= 430px) {
	.map-logo {
		left: 33%;
		top: 19%;
	}

	.map-distance {
		width: 22%;
		left: 41%;
		top: 25%;
	}

	.map-city {
		left: 43%;
		bottom: 30%;
	}
}

@media screen and (width >= 1024px) {
	:root {
		--header-height: 5.6rem;
		--section-padding-bottom: 7rem;
		--section-padding-top: 7rem;
		--section-margin-top: 7rem;
	}

	body {
		font-size: 1.6rem;
	}

	main {
		padding-top: var(--header-height);
	}

	header {
		padding: 10px 0;
	}

	#banner {
		background-image: url('images/serwis-telm-masatsow-krakow-skala-retardery.jpg');
		display: flex;
		align-items: center;
		justify-content: center;
	}

	section {
		padding: 3rem 0;
	}

	.container_inner {
		padding: 0;
	}

	#primary-menu {
		flex-direction: row;
		overflow-y: visible;
		padding-bottom: 0;
	}

	#menu-toggle {
		display: none;
	}

	#nav_wrapper {
		position: relative;
		justify-content: flex-end;
		right: auto;
		top: auto;
		width: auto;
		height: auto;
		z-index: 99;
		background: transparent;
		transition: right 0.3s ease;
		-webkit-transition: right 0.3s ease;
	}

	#primary-navigation {
		width: auto;
		flex-direction: row;
		background: transparent;
	}

	#primary-menu li {
		margin-left: 2.2rem;
	}

	#primary-menu a {
		font-size: 1.6rem;
		padding: 6px 0;
		border-bottom: 0;
		text-align: center;
		width: auto;
		display: inline-block;
		color: #fff;
	}

	.menu-info {
		display: none;
	}

	h1 {
		font-size: 2.6rem;
	}

	.page-title-wrapper {
		padding: 1.7rem 3.8rem;
		position: relative;
	}

	.info-list li {
		text-align: left;
	}

	#quick-call {
		padding: 0.7rem 2.2rem 0.9rem 2.2rem;
	}

	.info-card {
		padding: 2rem;
		display: flex;
		align-items: center;
	}

	.icon-wrapper {
		margin-top: 2px;
	}

	.column-row {
		flex-direction: row;
		gap: 1.6rem;
		flex-basis: 50%;
	}

	.column-row + .column-row {
		margin-top: 3rem;
	}

	.column-row:nth-child(odd) {
		flex-direction: row-reverse;
	}

	.column-row.reverse-desktop {
		flex-direction: row-reverse;
	}

	.column-row > * {
		flex: 1 0 calc(50% - 0.8rem);
	}

	.shadow-desktop {
		-webkit-box-shadow: 0px 3px 6px -5px #333;
		-moz-box-shadow: 0px 3px 6px -5px #333;
		box-shadow: 0px 3px 6px -5px #333;
	}

	.grey-desktop {
		background-color: var(--main-color-grey);
	}

	.rounded-wrapper {
		border-radius: 12px;
	}

	#services {
		background-color: transparent;
	}

	#contact .column-row {
		margin-top: 3rem;
	}

  #telms .column-row {
    margin-top: 2rem;
  }

	.group .img-wrapper {
		margin: 0;
	}

	.pb {
		padding-bottom: var(--section-padding-bottom);
	}

	.pt {
		padding-top: var(--section-padding-top);
	}

	.mt {
		margin-top: var(--section-margin-top);
	}

	.bg-yellow-mobile {
		background-color: transparent;
	}

	.bg-yellow-desktop {
		background-color: var(--background-yellow);
	}

	.map-logo {
		left: 33%;
		top: 19%;
	}

	.map-distance {
		width: 22%;
		left: 41%;
		top: 25%;
	}

	.map-city {
		left: 43%;
		bottom: 30%;
	}

	.padding-d {
		padding: 2rem;
	}
}
