@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,600&subset=latin,latin-ext);

:root {
	--header-height: 6.5rem;

	--color-section-about: #9600c8;
	--color-section-references: #de0000;
	--color-section-production: #ff7800;
	--color-section-technologies: #82d300;
	--color-section-contacts: #00d3c8
}

* {
	box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, span, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, strong {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	text-decoration: none;
	vertical-align: baseline;
}
html {
	height: 100%;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	background: #fafafa;
	font-size: 1rem;
	color: #1a171b;
	-webkit-font-smoothing: antialiased;
}
:focus{
	outline: 0;
}
ol, ul {
	list-style: none;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-style: normal;
}
h1 {
	font-size: 2.8rem;
	padding-bottom: 0.5rem;
}
h2 {
	font-size: 2.5rem;
	padding-bottom: 0.5rem;
}
h3 {
	font-size: 2.3rem;
	padding-bottom: 0.5rem;
}
h4 {
	font-size: 2.25rem;
}
h5 {
	font-size: 1.2rem;
	font-weight: 700;
}
a {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
a:hover {
	opacity:1;
}
strong {
	font-weight: 700;
}
em {
	font-style: italic;
}
p, address {
	line-height: 160%;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	color: #333333;
}

/*************************************************************/

.js-scroll-blocked-mobile {
	overflow: hidden;
}

@media only screen and (min-width : 1024px) {
	.js-scroll-blocked-mobile {
		overflow: auto;
	}
}

.header {
	height: var(--header-height);
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 100;
}

.header::before {
	content: "";
	z-index: -1;
	position: fixed;
	height: var(--header-height);
	width: 100%;
	top: 0;
	left: 0;
	background: #fff;
}

@media only screen and (min-width : 1024px) {
	.header::before {
		clip-path: polygon(
			50vw calc(var(--header-height) + 2px),
			calc(50vw + 330px) calc(var(--header-height) + 2px),
			max(100vw, calc(50vw + 960px)) 0,
			100% 0,
			0 0,
			min(0px, calc(50vw - 960px)) 0,
			calc(50vw - 590px) 0,
			calc(50vw - 589px + 111px) calc(var(--header-height) + 2px)
		);
	}
}

.header__inner {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 2rem;
}

@media only screen and (min-width : 1024px) {
	.header__inner {
		padding-left: 0;
		padding-right: 5rem;
		justify-content: flex-start;
	}
}

.header__menu {
	display: none;
	position: fixed;
	top: var(--header-height);
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);

}

@media only screen and (min-width : 1024px) {
	.header__menu {
		position: static;
		display: block;
		background: transparent;
		height: 100%;
	}
}

.header__inner--menu-active .header__menu {
	display: block;
}

.header__buttons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.header__menu-button {
	position: relative;
	width: 2rem;
	height: 20px; /* 4px line + 4px space + 4px line + 4px space + 4px line */
	background: transparent;
	border: none;
	cursor: pointer;

}

@media only screen and (min-width : 1024px) {
	.header__menu-button {
		display: none;
	}
}

.header__menu-line {
	display: block;
	width: 2rem;
	height: 4px;
	background: #000;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__menu-line--1 {
	position: absolute;
	top: 0;
	left: 0;
}

.header__menu-line--2 {
	position: absolute;
	top: 8px;
	left: 0;
}

.header__menu-line--3 {
	position: absolute;
	top: 16px;
	left: 0;
}

.header__inner--menu-active .header__menu-line--1 {
	transform: translateY(8px) rotate(45deg);
}

.header__inner--menu-active .header__menu-line--2 {
	opacity: 0;
}

.header__inner--menu-active .header__menu-line--3 {
	transform: translateY(-8px) rotate(-45deg);
}

.menu {
	background: #fff;

}
@media only screen and (min-width : 1024px) {
	.menu {
		background: none;
	}
}

.menu__links {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0 0 1rem;
	list-style-type: none;
}
@media only screen and (min-width : 1024px) {
	.menu__links {
		flex-direction: row;
		padding-bottom: 0;
	}
}

.menu__links li {
	display: inline;
	width: 100%;
	text-align: center;
}

.menu__link {
	width: 100%;
	display: inline-block;
	font-size: 1rem;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	white-space: nowrap;
	padding: 1rem;
	color: #000000;
	transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
@media only screen and (min-width : 1024px) {
	.menu__link {
		padding: 0 1rem;
		line-height: var(--header-height);
		border-bottom: 6px solid transparent;
	}
}

.menu__link:hover,
.menu__links li.current .menu__link {
	color: var(--color-section-about);
	background-color: transparent;
	text-decoration: none;
}

.menu__links li:nth-child(2):hover .menu__link,
.menu__links li:nth-child(2).current .menu__link {
	color: var(--color-section-references);
}
.menu__links li:nth-child(3):hover .menu__link,
.menu__links li:nth-child(3).current .menu__link {
	color: var(--color-section-production);
}
.menu__links li:nth-child(4):hover .menu__link,
.menu__links li:nth-child(4).current .menu__link  {
	color: var(--color-section-technologies);
}
.menu__links li:nth-child(5):hover .menu__link,
.menu__links li:nth-child(5).current .menu__link  {
	color: var(--color-section-contacts);
}

.menu__links li.current .menu__link {
	border-color: var(--color-section-about);
}
.menu__links li:nth-child(2).current .menu__link {
	border-color: var(--color-section-references);
}
.menu__links li:nth-child(3).current .menu__link {
	border-color: var(--color-section-production);
}
.menu__links li:nth-child(4).current .menu__link {
	border-color: var(--color-section-technologies);
}
.menu__links li:nth-child(5).current .menu__link {
	border-color: var(--color-section-contacts);
}

.header-language {
	position: relative;
	text-align: center;
	font-size: 0.8rem;
}

.header-language__button {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: .5rem;
	color: #e7e7e7
}

.header-language__popup {
	width: 100%;
	display: none;
	border-radius: 0;
	padding: 0;
	position: absolute;
}

.header-language:hover > .header-language__popup,
.header-language:focus-within > .header-language__popup {
	display: block;
}

.header-language__item {
	margin-bottom: 2px;
	background: #ffffff;
	color: #c9c9c9;
}

.header-language__link {
	display: block;
	text-decoration: none;
	padding: 0.5rem;
	color: #c9c9c9;
}

.header-language__link:hover {
	color: #666666;
}

@media only screen and (min-width : 1024px) {
	.section {
		/* overlap for the top wedge of section */
		margin-top: calc(0px - var(--header-height));
	}
}

.section__wrap {
	overflow: hidden;
	background-color: #fafafa;
	position: relative;

}
@media only screen and (min-width : 1024px) {
	.section__wrap {
		clip-path: polygon(
				50vw calc(var(--header-height) + 2px),
				calc(50vw + 340px) calc(var(--header-height) + 2px),
				max(100vw, calc(50vw + 960px)) 2px,
				100% 100%,
				0 100%,
				min(0px, calc(50vw - 960px)) 2px,
				calc(50vw - 591px) 2px,
				calc(50vw - 591px + 111px) calc(var(--header-height) + 2px)
		);
	}
}

.section--about .section__wrap {
	background: #fdfdfd;
}

.section--references .section__wrap {
	background: #f7f5f6;
}

.section--contacts .section__wrap {
	background: #f9f9f9;
}

.section__container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-width: 50rem;
	margin-left: auto;
	margin-right: auto;
	padding-top: var(--header-height);
	min-height: calc(100vh + var(--header-height));

}
@media only screen and (min-width : 1024px) {
	.section__container {
		flex-direction: row;
		justify-content: flex-start;
	}
}

@media only screen and (min-width : 1024px) {
	.section--references .section__container,
	.section--technologies .section__container {
		justify-content: flex-end;
	}
}

.section__content {
	width: 100%;
	padding: 0 2rem 2rem;
	z-index: 1;
}
@media only screen and (min-width : 1024px) {
	.section__content {
		padding-top: 5rem;
		padding-bottom: 10rem;
	}
}

.section--about .section__content {
	padding-top: 5rem;
}

.section--references .section__content,
.section--technologies .section__content {
	text-align: right;
}

@media only screen and (min-width : 768px) {
	.section--about .section__content {
		padding-right: 50vw;
	}
}

@media only screen and (min-width : 1024px) {
	.section--about .section__content {
		padding-right: 0;
		max-width: 27rem;
	}

	.section--references .section__content,
	.section--production .section__content,
	.section--technologies .section__content {
		width: 29rem;
	}

	.section--contacts .section__content {
		padding-bottom: 4rem;
	}
}

.section--about .section__content::selection,
.section--about .section__content *::-moz-selection {
	color: #ffffff;
	background: var(--color-section-about);
}

.section--references .section__content::selection,
.section--references .section__content *::-moz-selection {
	color: #ffffff;
	background: var(--color-section-references);
}

.section--production .section__content::selection,
.section--production .section__content *::-moz-selection {
	color: #ffffff;
	background: var(--color-section-production);
}

.section--technologies .section__content::selection,
.section--technologies .section__content *::-moz-selection {
	color: #ffffff;
	background: var(--color-section-technologies);
}

.section--contacts .section__content::selection,
.section--contacts .section__content *::-moz-selection {
	color: #ffffff;
	background: var(--color-section-contacts);
}

.section__content p {
	padding-bottom: 1rem;
}

@media only screen and (min-width : 1024px) {
	.section__image {
		position: absolute;
		bottom: 0;
	}
}

@media only screen and (max-width : 767px) and (max-height : 755px) {
	.section--about .section__image {
		display: none;
	}
}

@media only screen and (min-width : 1024px) {
	.section--about .section__image {
		z-index: -1;
		height: 140%;
		top: -20%;
		right: min(0px, calc(-50rem + 25%));
	}
}

.section--references .section__image {
	position: absolute;
	width: 200%;
	max-width: 48rem;
	left: -9.5rem;
	bottom: -6.25rem;
}

@media only screen and (min-width : 1024px) {
	.section--references .section__image {
		max-width: none;
		min-width: 100%;
		width: auto;
		min-height: 100%;
		left: min(0px, calc(-45rem + 20%));
		top: 0;
	}
}

.section--production .section__image {
	display: none;
	position: absolute;
	max-width: 50%;
	right: -3rem;
	max-height: 30vh;
	bottom: 0;
	z-index: -1;
}

@media only screen and (min-width : 438px) {
	.section--production .section__image {
		display: block;
	}
}

@media only screen and (min-width : 588px) {
	.section--production .section__image {
		max-height: 40vh;
	}
}

@media only screen and (min-width : 780px) {
	.section--production .section__image {
		max-height: 50vh;
	}
}

@media only screen and (min-width : 1024px) {
	.section--production .section__image {
		max-height: none;
		max-width: none;
		height: 100%;
		right: min(0px, calc(-45rem + 20%));
	}
}

.section--technologies .section__image {
	display: none;

}
@media only screen and (min-width : 1024px) {
	.section--technologies .section__image {
		display: block;
		top: 0;
		left: min(0px, calc(-45rem + 20%));
		height: 100%;
	}
}

.section--contacts .section__image {
	position: absolute;
	width: 100%;
	bottom: -5rem;
	right: -6rem;
}

@media only screen and (min-width : 588px) {
	.section--contacts .section__image {
		right: -15rem;
	}
}

@media only screen and (min-width: 1024px) {
	.section--contacts .section__image {
		width: auto;
		height: 100%;
		bottom: 0;
		right: min(0px, calc(-45rem + 25%));
	}
}

.section--about {
	margin-top: 0;
	filter: drop-shadow(0 -2px 0 var(--color-section-about));
}

.section--references {
	filter: drop-shadow(0 -2px 0 var(--color-section-references));
}

.section--production {
	filter: drop-shadow(0 -2px 0 var(--color-section-production));
}

.section--technologies {
	filter: drop-shadow(0 -2px 0 var(--color-section-technologies));
}

.section--contacts {
	filter: drop-shadow(0 -2px 0 var(--color-section-contacts));
}

.section__heading {}

.section--about .section__heading,
.section--references .section__heading {
	margin-bottom: 3.5rem;
}

.section--production .section__heading,
.section--technologies .section__heading {
	margin-bottom: 2rem;
}

.section--contacts .section__heading {
	margin-bottom: 1rem;
}

.cert {
	color: #000000;
	text-decoration: underline;
}
.cert:hover {
	text-decoration: none;
}

.contact {
	margin-bottom: 1rem;
}

.contact__map-button {
	height: 3rem;
	line-height: 3rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.1rem;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #999999;
	text-decoration: none;
}
.contact__map-button:hover {
	color: #333333;
	text-decoration: underline;
}

.contact__link {
	color: #000000;
	text-decoration: underline;
}

.contact__link:hover {
	color: #000000;
	text-decoration: none;
}

.contact__establishment {
	margin-bottom: 2rem;
}
@media only screen and (min-width : 1024px) {
	.contact__establishment {
		display: flex;
		justify-content: space-between;
	}
}

.production-menu {
	width: fit-content;
	border: 1px solid #282828;
}

.production-menu__tab {
	border-bottom: 1px solid #282828;
	display: block;
	line-height: 3rem;
	color: #282828;
	padding: 0 1rem;
	font-size: 1.1rem;
	font-weight: 700;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	cursor: pointer;
}
.production-menu__tab:last-child {
	border-bottom: none;
}
.production-menu__tab:hover,
.production-menu__tab.selected {
	background-color: #282828;
	color: #ffffff;
}

.production-tabs {
	padding-bottom: 2rem;
}

.production-tabs__tab.hidden {
	display: none;
}

.photo img {
	width: 100%;
	height: auto;
	border: 2px solid #ffffff;
}
.photo:hover img {
	border: 2px solid #282828;
}

.step__number {
	font-size: 1.5rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Gallery slider */

.splide {
	max-width: 22.5rem;
}

.splide__slide {
	display: grid;
	grid-template-columns: repeat(3, calc(100% / 3));
	grid-template-rows: repeat(3, calc(100% / 3));
}

.splide__arrow {
	display: none;
	align-items: center;
	gap: 1.5rem;
	background: transparent;
	border: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;

}
@media only screen and (min-width : 550px) {
	.splide__arrow {
		display: flex;
	}
}

.splide__arrow[disabled] {
	opacity: 0.25;
	cursor: not-allowed;
}

.splide__arrow--prev {
	text-align: left;
	left: 0;
	transform: translateX(-8rem);
}

.splide__arrow--next {
	text-align: right;
	right: 0;
	transform: translateX(8rem);
}
