@import 'reset.css';

.a-body {
	font-family: "FuturaLT-Book", sans-serif;
	font-size: 14px;
	position: relative;
	min-height: 100vh;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.a-container {
	width: 100%;
	max-width: 1200px;
	padding: 0 15px;
	box-sizing: border-box;
	margin: 0 auto;
}

.a-section-title {
	font-family: "BarlowCondensed-Medium";
	font-size: 28px;
	line-height: 1;
	padding-bottom: 15px;
	font-weight: 500;
	text-transform: uppercase;
	position: relative;
	text-align: center;
}

/* Header */
.header {
	width: 100%;
	background: #fff;
}

.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100px;
}

.header__logo {
	width: 260px;
}

	.header__logo img {
		width: 100%;
		height: auto;
		display: block;
	}

.header__slogan {
	font-size: 20px;
	color: #333;
	font-family: "FuturaBookC", sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 0.02em;
}

.main {
	min-height: calc(100vh - 200px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.a-section {
	width: 100%;
}
/* Scheme */
.scheme {
	margin: auto 0;
}

.s-scheme__title {
	text-align: center;
	padding: 5px 10px;
	box-sizing: border-box;
	background: #6cab3f;
	width: 100%;
	color: #fff;
	margin: 0px 0 15px;
	box-shadow: 0 4px 10px rgba(52,52,52,0.15);
}

.scheme__container {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 25px 115px 0;
	position: relative;
}

.scheme__block {
	width: 38%;
	margin-bottom: 80px;
	position: relative;
}

.scheme__block-logo {
	height: 55px;
	width: auto;
	margin: 0 auto 10px;
	display: flex;
	justify-content: center;
}

.scheme__block-logo--ring,
.scheme__block-logo--rule {
	height: 69px;
}

.scheme__block-logo img {
	height: 100%;
	width: auto;
	display: block;
}

.scheme__items {
	min-height: 175px;
	display: flex;
	flex-direction: column;
}

.scheme__item {
	text-align: center;
	font-family: "FuturaLT-Book", sans-serif;
	font-size: 15px;
	color: #6c6d71;
	background: #f6f6f7;
	border-radius: 3px;
	margin-bottom: 5px;
	height: 100%;
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

	.scheme__item:last-of-type {
		margin-bottom: 0;
	}

.sheme__lines {
	width: 100%;
	height: 0;
	max-height: 0;
}

.scheme__arrow {
	width: 0;
	height: 0;
	position: absolute;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 10px solid #6cab3f;
	transition: 500ms;
	z-index: 1;
}

.scheme__arrow--down {
	transform: rotate(180deg);
}

.scheme__arrow--left {
	transform: rotate(-90deg);
}

.scheme__arrow--right {
	transform: rotate(90deg);
}

.scheme__arrow--1 {
	top: 315px;
	left: 36%;
}

.scheme__arrow--2 {
	top: 305px;
	left: 92.8%;
}

.scheme__arrow--3 {
	top: 410px;
	left: 36%;
}

.scheme__arrow--4 {
	top: 508px;
	left: 40.6%;
}

.scheme__arrow--5 {
	top: 485px;
	left: 90.6%;
}

.scheme__arrow--6 {
	top: 530px;
	left: 90.6%;
}

.scheme__line {
	border-color: #f6f6f7;
	border-style: solid;
	position: absolute;
	transition: 500ms;
}

.scheme__line--vertical {
	border-left-width: 5.5px;
}

.scheme__line--horizontal {
	border-top-width: 5px;
}

.scheme__line--1 {
	top: 270px;
	left: 36.35%;
	height: 40px;
}

.scheme__line--2 {
	top: 325px;
	left: 36.35%;
	height: 86px;
}

.scheme__line--3 {
	top: 510px;
	left: 55.8%;
	height: 32px;
}

.scheme__line--4 {
	top: 200px;
	left: 94.1%;
	height: 337px;
}

.scheme__line--5 {
	top: 200px;
	left: 91.1%;
	width: 3%;
}

.scheme__line--6 {
	top: 243px;
	left: 91.1%;
	width: 3%;
}

.scheme__line--7 {
	top: 307px;
	left: 36.3%;
	width: 57%;
}

.scheme__line--8 {
	top: 510px;
	left: 41.2%;
	width: 15%;
}

.scheme__line--9 {
	top: 540px;
	left: 55.8%;
	width: 3.5%;
}

.scheme__line--10 {
	top: 487px;
	left: 91.1%;
	width: 3.3%;
}

.scheme__line--11 {
	top: 532px;
	left: 91.1%;
	width: 3.3%;
}

.sheme__legend {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: -30px 0 30px;
	width: 100%;
	font-size: 15px;
	color: #6c6d71;
}

	.sheme__legend strong {
		margin-right: 10px;
	}

	.sheme__legend div {
		position: static;
	}

	.sheme__legend .scheme__line {
		width: 60px;
	}
/* Contacts */
.s-scection-contacts {
	margin-top: auto;
	background: #6cab3f;
	/*border-bottom: 8px solid #d3d3d3;*/
	box-sizing: border-box;
}

.s-contacts {
	display: flex;
	min-height: 140px;
	align-items: flex-start;
	padding-top: 43px;
	box-sizing: border-box;
	justify-content: space-around;
}

.s-contacts__contact {
	text-align: center;
	display: flex;
	align-items: flex-start;
}

.s-contacts__contact-label {
	font-family: "BarlowCondensed-Medium", sans-serif;
	color: #fff;
	font-size: 24px;
	margin-bottom: 11px;
}

.s-contacts__contact-icon {
	margin: 0 18px 0 0;
	height: 25px;
	width: auto;
}

.s-contacts__contact--tel {
	position: relative;
	left: 120px;
}

.s-contacts__contact--mail .s-contacts__contact-icon {
	height: 23px;
}

.s-contacts__contact-info {
	text-align: left;
}

	.s-contacts__contact-info a {
		font-size: 18px;
		color: #000;
		font-family: "FuturaLT-Book", sans-serif;
		transition: 300ms;
		display: inline-block;
	}

.s-contacts__contact-info--site {
	text-decoration: underline;
	margin-bottom: 10px;
}

.s-contacts__contact-info a:hover {
	color: #fff;
}
/* Footer */
.a-footer {
	height: 70px;
	background: linear-gradient(#6b6b6b, #1a1b1b);
	border-top: 3px solid #a2a2a2;
}

.a-footer__slogan {
	font-family: "FuturaLT-Book", sans-serif;
	color: #fff;
	font-size: 18px;
	text-align: center;
	margin-top: 36px;
}

.a-footer__copyrights {
	font-family: "FuturaLT-Light", sans-serif;
	font-size: 13px;
	color: #6cab3f;
	text-align: center;
	margin-top: 37px;
}

[data-popup] {
	cursor: pointer;
}

.popup {
	position: fixed;
	background: white;
	width: 280px;
	height: auto;
	padding: 20px 15px 15px 10px;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
	top: 405px;
	left: 300px;
	box-sizing: border-box;
	cursor: default;
	border-radius: 3px;
	border-left: 5px solid #6cab3f;
	display: none;
	z-index: 5;
}

.popup__text {
	white-space: pre-line;
	text-align: left;
}

.popup__close {
	width: 15px;
	height: 15px;
	position: absolute;
	top: 5px;
	right: 5px;
	display: none;
}

	.popup__close::before, .popup__close::after {
		content: '';
		width: 17px;
		height: 1px;
		background: #222;
		position: absolute;
		transform: rotate(45deg);
		top: 49%;
		left: 0;
		cursor: pointer;
	}

	.popup__close::after {
		transform: rotate(-45deg);
	}

@media (max-width: 1200px) {
	.a-section-title {
		font-size: 28px;
	}

	.header__slogan {
		font-size: 20px;
	}

	.scheme__container {
		padding: 25px 10%;
	}
}

@media (max-width: 992px) {
	.a-section-title {
		font-size: 26px;
	}

	.header__container {
		height: 90px;
	}

	.header__logo {
		width: 230px;
	}

	.header__slogan {
		font-size: 18px;
	}

	.scheme__container {
		padding: 25px 5% 0 15px;
	}

	.scheme__block {
		width: 45%;
	}

	.scheme__arrow--1, .scheme__arrow--3 {
		left: 38%;
	}

	.scheme__arrow--2 {
		left: 95.8%;
	}

	.scheme__arrow--4 {
		left: 44%;
	}

	.scheme__arrow--5, .scheme__arrow--6 {
		left: 95.6%;
	}

	.scheme__line--1, .scheme__line--2 {
		left: 38.5%;
	}

	.scheme__line--4 {
		left: 98%;
	}

	.scheme__line--5, .scheme__line--6, .scheme__line--10, .scheme__line--11 {
		width: 3%;
		left: 95.7%;
	}

	.scheme__line--7 {
		left: 38.5%;
		width: 59%;
	}

	.scheme__line--8 {
		width: 6%;
		left: 44%;
	}

	.scheme__line--9, .scheme__line--3 {
		left: 49.8%;
	}

	.s-contacts__contact--tel {
		left: 0;
	}

	.s-contacts__contact-label {
		font-size: 22px;
	}

	.s-contacts__contact-info a {
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	.a-section-title {
		font-size: 26px;
	}

	.header__container {
		height: 80px;
	}

	.header__logo {
		width: 200px;
	}

	.header__slogan {
		font-size: 18px;
	}

	.s-scheme__title {
		padding: 10px;
	}

	.scheme__container {
		flex-direction: column;
		padding: 30px 30px 0 20px;
		max-width: 375px;
		margin: 0 auto;
	}

	.scheme__block {
		width: 100%;
		max-width: 335px;
		margin-bottom: 60px;
	}

	.scheme__block--hub {
		order: 1;
	}

	.scheme__block--ring {
		order: 2;
	}

	.scheme__block--gear {
		order: 3;
	}

	.scheme__block--rule {
		order: 4;
	}

	.sheme__legend {
		order: 5;
		color: #6c6d71;
	}

	.scheme__arrow--1, .scheme__arrow--3 {
		left: 82.3%;
	}

	.scheme__arrow--2 {
		transform: rotate(180deg);
		top: 800px;
		padding-bottom: 5px;
		background: white;
	}

	.scheme__arrow--3 {
		top: 395px;
	}

	.scheme__arrow--5, .scheme__arrow--6 {
		left: 92%;
	}

	.scheme__arrow--4 {
		transform: rotate(90deg);
		left: 2.5%;
		top: 493px;
	}

	.scheme__arrow--5 {
		top: 1083px;
	}

	.scheme__arrow--6 {
		top: 1128px;
	}

	.scheme__line--1, .scheme__line--2 {
		left: 83.5%;
	}

	.scheme__line--2 {
		height: 73px;
	}

	.scheme__line--3 {
		top: 495px;
		left: 1%;
		height: 640px;
	}

	.scheme__line--4 {
		left: 97%;
		top: 307px;
		height: 828px;
	}

	.scheme__line--5, .scheme__line--6, .scheme__line--10, .scheme__line--11 {
		left: 94%;
		width: 4%;
	}

	.scheme__line--5 {
		top: 815px;
	}

	.scheme__line--6 {
		top: 860px;
	}

	.scheme__line--8, .scheme__line--9 {
		left: 2%;
		top: 495px;
		width: 3%;
	}

	.scheme__line--9 {
		top: 1130px;
	}

	.scheme__line--10 {
		top: 1085px;
	}

	.scheme__line--11 {
		top: 1130px;
	}

	.scheme__line--7 {
		left: 83.5%;
		width: 15%;
	}

	.popup {
		left: 50% !important;
		transform: translateX(-50%);
		box-shadow: -5000px -5000px 0 10000px rgba(0,0,0,0.15);
	}

	.popup__close {
		display: block;
	}
}

@media (max-width: 575px) {
	.a-section-title {
		font-size: 24px;
	}

	.header__container {
		height: auto;
		padding: 10px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.header__logo {
		width: 160px;
		margin-bottom: 15px;
	}

	.header__slogan {
		font-size: 16px;
	}

	.scheme__block-logo img {
		height: 90%;
	}

	.s-contacts {
		flex-direction: column;
		align-items: center;
		padding: 25px 0;
	}

	.s-contacts__contact {
		position: relative;
		height: 60px;
	}

	.s-contacts__contact-info a {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		z-index: 1;
	}

	.s-contacts__contact--tel {
		margin-bottom: 30px;
	}
}
