@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body,html {
	margin: 0;padding: 0;
}

body {
	font-family: 'Montserrat';
	font-weight: 500;
	font-size: 30px;
	line-height: 37px;
}

/* Header */

header {
	background: url(/images/back.jpg) no-repeat left top #000;
	color: #fff;
	font-weight: 400;
	height: 100vh;
	display: flex;
	box-sizing: border-box;
	min-height: 690px;
	max-height: 920px;
}

.wrapper {
	box-sizing: border-box;
	padding-left: 120px;
	padding-right: 120px;
}

.header-body {
	display: flex;
	justify-content: space-around;
	align-items: center;
	position: relative;
}

.phone {
	text-decoration: none;
	position: relative;
	color: #fff;
	padding-left: 40px;
  	box-sizing: border-box;
}

.header-body .phone {
	position: absolute;
	right: 0;
	top: 90px;
}

.phone::before {
	content: "";
	display: block;
	left: 0;
	width: 35px;
	height: 35px;
	background: url(/images/phone.svg) no-repeat center;
	background-size: contain;
	position: absolute;
}

.header-body-social {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	margin-right: 100px;
}
.header-body-social::before,
.header-body-social::after {
	content: "";
	display: block;
	height: 200px;
	width: 1px;
	background-color: #fff;
	margin: 30px auto;
}
.header-body-social a {
	display: block;
	width: 40px;
	height: 40px;
	margin: 20px auto;
	background: no-repeat center;
	background-size: contain;
	filter: grayscale(1) brightness(2);
	transition: filter .3s;
	cursor: pointer;
}
.header-body-social a:hover {filter: none;}

a.tg {background-image: url(/images/tg_ico.svg);}
a.vk {background-image: url(/images/vk_ico.svg);}
a.wa {background-image: url(/images/wa_ico.svg);}

.header-body-desc {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-right: 285px;
	max-width: 1200px;
}

.header-body-desc strong {
	font-size: 45px;
}

.header-body-desc img {
	margin:0 auto 15px 0;
	max-width: 590px;
}

.button {
	display: block;
	text-align: center;
	padding: 30px 60px;
	box-sizing: border-box;
	background: #d08e03;
	color: #fff;
	border-radius: 15px;
	margin: 30px auto 0 0;
	cursor: pointer;
	transition: background .3s;
	text-decoration: none;
}
.button:hover {
	background-color: #bb7c2b;
}

/* Main block */

h1,h2 {
	font: 700 50px Montserrat;
	line-height: 61px;
	text-align: center;
	margin: 0 0 25px 0;
	padding-top: 70px;
}

.small {
	font-family: 'Montserrat';
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
	padding-bottom: 150px;
}

main.wrapper {
	text-align: center;
	padding-bottom: 65px;
}

section {text-align: center;}

.circle {
	background: url(/images/zavitok.png) no-repeat left top, url(/images/zavitok2.png) no-repeat bottom right;
}

/* articles */

.items {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(32%,1fr));
	grid-gap: 20px;
	text-align: left;
}

.item {
	margin: auto;
	padding: 17px;
	border: 1px solid #323232;
	border-radius: 20px;
	position: relative;
	max-width: 514px;
}
.item img {
	display: block;
	width: 100%;
}
.item p {
	font-family: 'Montserrat';
	font-weight: 600;
	font-size: 20px;
	line-height: 32px;
	color: #000000;
	padding: 5px 10px;
	box-sizing: border-box;
}
.item .button {
	width: 90%;
	max-width: 395px;
	margin: 20px auto;
}
.item h2 {
	z-index: 4;
	text-align: left;
	position: absolute;
	left: 40px;
	top: 35px;
	font-family: 'Montserrat';
	font-weight: 700;
	font-size: 35px;
	line-height: 43px;
	color: #fff;
	margin: 0;
	padding: 0;
}

/* Form */

form {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

#mailform.loading {
	opacity: .6;
	filter: grayscale(1);
}

form .button {
	margin: 0;
}

form input {
	margin: 20px;
	background: #fff;
	border: 2px solid #D08E03;
	padding: 30px 45px;
	box-sizing: border-box;
	border-radius: 15px;
	color: #D08E03;
	outline: none !important;
	font-size: 30px;
	font-weight: normal;
}

/* Overlay*/

#overlay {
	width: 100vw;
	height: 100%;
	position: fixed;
	z-index: 999;
	background: #0000004f;
	backdrop-filter: blur(3px);
	display: flex;
	justify-content: center;
	align-items: center;
}

#overlay #modal {
	max-width: 340px;
	background-color: #fff;
	padding: 25px 30px;
	border-radius: 15px;
	border: 2px solid #fff;
	box-shadow: 0px 10px 50px #00000070;
	color: #000;
	position: relative;
	text-align: center;
}
#overlay #modal::before,#overlay #modal::after {
	content: "";
	background: #000;
	display: block;
	position: absolute;
	width: 20px;
	height: 1px;
	right: 5px;
	top: 12px;
}

#overlay #modal::before {transform: rotate(45deg);}
#overlay #modal::after {transform: rotate(-45deg);}
#overlay #modal p {
	margin: 0;
}
#overlay #modal h2 {
	padding: 0 0 5px;
	margin: 0 auto;
}
#overlay #modal img {
	display: block;
	margin: auto;
}

/* Footer */

footer {
	background: #000;
	padding-top: 35px;
	padding-bottom: 35px;
	display: flex;
	justify-content: space-between;
}

.footer-social {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.footer-social a {
	display: block;
	width: 40px;
	height: 40px;
	margin: auto 30px;
	background-repeat: no-repeat;
	background-size: contain;
	filter: grayscale(1) brightness(2);
	transition: filter .3s;
	cursor: pointer;
}

/* media */

@media (min-width: 1921px) {
	.wrapper {
		padding-left: 10%;
		padding-right: 10%;
	}
	header {background-size: cover;}
}

@media (max-width: 1919px) {
	body {font-size: 28px;}
}

@media (max-width: 1680px) {
	body {
		font-size: 25px;
		line-height: 34px;
	}
	.header-body-desc {padding-right: 245px;}
	.wrapper {
		padding-left: 90px;
		padding-right: 90px;
	}
	.button {
		padding: 25px 45px;
		margin: 25px auto 0 0;
	}
	.header-body-desc img {
		max-width: 500px;
	}
	.header-body-desc strong {
		font-size: 38px;
	}
	h1, h2 {
		font-size: 46px;
		line-height: 51px;
	}

	.header-body-social {margin-right: 100px;}
	form input {
		font-size: 27px;
		padding: 25px 45px;
	}
	.item h2 {
		font-size: 33px;
		line-height: 38px;
	}
	.header-body-social a {
		width: 35px;
		height: 35px;
		margin: 15px auto;
	}
	.small {padding-bottom: 100px;}
}
@media (max-width: 1440px) {
	body {
		font-size: 23px;
		line-height: 32px;
	}
	.header-body-desc {padding-right: 220px;}
	.wrapper {
		padding-left: 75px;
		padding-right: 75px;
	}
	.button {
		padding: 20px 35px;
		margin: 22px auto 0 0;
	}
	.header-body-desc img {
		max-width: 410px;
	}
	.header-body-desc strong {
		font-size: 31px;
	}
	h1, h2 {
		font-size: 42px;
		line-height: 50px;
	}

	form input {
		font-size: 25px;
		padding: 20px 35px;
	}
	.item h2 {
		font-size: 30px;
		line-height: 34px;
	}
	.header-body-social a {
		width: 32px;
		height: 32px;
	}
	.item p {
		font-size: 19px;
		line-height: 29px;
		padding: 2px 8px;
	}
	.header-body-social {margin-right: 70px;}
	.small {padding-bottom: 70px;font-size: 17px;}
	.footer-social a {margin: auto 15px;}
}
@media (max-width: 1279px) {
	body {
		font-size: 18px;
		line-height: 24px;
	}
	.wrapper {
		padding-left: 50px;
		padding-right: 50px;
	}
	.header-body-desc strong {
		font-size: 29px;
	}
	.header-body .phone {top: 70px;}
	main.wrapper {
		padding-bottom: 50px;
	}
	.header-body-desc img {
		max-width: 380px;
		margin: 0 auto 15px 0;
	}
	.header-body-desc {
		padding-right: 0;
		min-height: 70vh;
	}
	.button {
		padding: 15px 20px;
	}
	.header-body-social a,
	.footer-social a {
		width: 25px;
		height: 25px;
	}
	.header-body-social {margin-right: 30px;}
	form {
		flex-direction: column;
	}
	form input,
	form .button {
		width: 100%;
		max-width: 800px;
		margin: 10px auto;
	}
	form input {
		font-size: 20px;
		padding: 15px 20px;
	}
	h1, h2 {
		font-size: 36px;
		line-height: 42px;
		padding-top: 40px;
	}
	.item p {
		font-size: 17px;
		line-height: 24px;
		padding: 5px 10px;
	}
	.small {padding-bottom: 40px;font-size: 14px;}
	.item h2 {
		font-size: 25px;
		line-height: 28px;
	}
	.phone {padding-left: 33px;}
	.phone::before {
		width: 25px;
		height: 25px;
	}
	.footer-social a {margin: auto 10px;}
}
@media (max-width: 650px) {
	body {
		font-size: 16px;
		line-height: 18px;
	}
	header {
		background: url(/images/back_mob.jpg) no-repeat center;
		background-size: cover;
	}
	.circle {
		background-size: 40%;
	}
	.header-body .phone {
		top: 30px;
	}
	.header-body-desc img {
		max-width: 260px;
	}

	.header-body-desc strong {
		font-size: 20px;
	}
	.wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}
	main.wrapper {
		padding-bottom: 25px;
	}
	.button {
		padding: 15px 40px;
		margin-top: auto;
	}
	.header-body-social {margin-right: 25px;}
	form input {
		font-size: 16px;
		padding: 12px 17px;
	}
	h1, h2 {
		font-size: 21px;
		line-height: 28px;
		padding-top: 25px;
		margin-bottom: 0;
	}
	.items {grid-template-columns: auto;}
	.item {
		padding: 10px;
		max-width: 85vw;
	}
	.item p {
		font-size: 16px;
		line-height: 20px;
	}
	.small {padding-bottom: 30px;font-size: 13px;}
	footer img {
		max-width: 100px;
		margin: auto;
	}
	footer {
		flex-direction: column;
	}
	.phone {
		width: 200px;
		display: block;
		margin: 20px auto;
	}
	.footer-social {justify-content: center;}
	#overlay #modal {max-width: 85%;}
}
@media (max-width: 339px) {
	body {
		font-size: 13px;
		line-height: 15px;
	}
	h1, h2 {
		font-size: 18px;
		line-height: 22px;
		padding-top: 20px;
	}
	#overlay #modal {max-width: 90%;}
}


/* Slider */

.slick-arrow {
	position: absolute;
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	border: 1px solid #fff;
	border-width: 0 0 1px 1px;
	transform: rotate(45deg);
	background: transparent;
	font-size: 0;
	color: #ffffff00;
	left: 12px;
	z-index: 2;
}
.slick-arrow.slick-next {
	left: auto;
	right: 12px;
	border-width: 1px 1px 0 0;
}

.slick-slider
{
    position: relative;
	overflow: hidden;
	border-radius: 15px;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
