/*!
Theme Name: itc-landos
Theme URI: https://itcrafter.ru/
Author: IT Crafter
Author URI: https://itcrafter.ru/
Description: Landing page
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: itc-landos
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	color: #fff;
}

h1 {
    font-size: calc(100vw / 27.7);
}
h2, .h2, .rev_ball {
    font-size: calc(100vw / 35.5);
}
h3 {
    font-size: calc(100vw / 42.5);
}
h4 {
    font-size: calc(100vw / 53.5);
}
.h5 {
    font-size: calc(100vw / 60);
}
button, li, a, p, .p {
    font-size: calc(100vw / 80);
	color: inherit;
}
button:hover,
a:hover {
	cursor: pointer;
}
a {
	text-decoration: none;
}
.wrapper {
	max-width: 1380px;
	padding: 0 10px;
	margin: 0 auto;
}
.btn {
	background: none;
	padding: 10px 30px;
	outline: none;
	border: none;
	font-family: 'Oswald', sans-serif;
}
.wpcf7-form input[type="submit"].wpcf7-form-control,
.btn_orange {
	background-color: #e8631c;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
}
.top_line {
	position: sticky;
	top: 0;
	left: 0;
	background-color: #303030;
	padding: 5px 0;
	z-index: 100;
}
.top_line .wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top_line a {
	font-weight: 600;
}
.phone_block {
	background: url(./img/phone.svg) no-repeat left;
	background-size: contain;
	padding-left: 2vw;
}
.adress_block {
	background: url(./img/geo.svg) no-repeat left;
	background-size: contain;
	padding-left: 2vw;
}
.header {
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	box-shadow: 0 0 10px #303030;
	position: relative;
	z-index: 1;
}
.site_brand {
	min-height: 45vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.header h1 > span {
	display: block;
	margin: 15px 0;
}
.header .btn_orange {
	margin-top: 20px;
}
h1 {
	text-transform: uppercase;
}
section {
	padding: 5% 10px;
}
.achievements_list {
	margin: 0;
	list-style: none;
}
.achive_item {
	position: relative;
	text-transform: uppercase;
	margin-bottom: 10px;
    font-weight: bold;
}
.achive_item::before {
	content: '';
	position: absolute;
	left: -40px;
	height: 2vw;
    width: 2vw;
	background: url(./img/achive.svg) no-repeat center;
	background-size: contain;
}
.color_orange {
	color: #e8631c;
	background-color: #fff;
    width: fit-content;
    padding: 0 5px;
}
.promo_block {
	background: #e8631c url(./img/dots_dark.png) no-repeat;
	background-position-x: -40%;
    background-size: contain;
}
.promo_grid {
	min-height: 35vw;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.promo_grid_cell {
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.promo_grid_cell img{
    height: auto;
    width: 50%;
	align-self: center;
}
.services_block {
	background: #303030 url(./img/dots_light.png) no-repeat;
	background-position-x: 100%;
    background-size: contain;
    box-shadow: 0 0 10px #303030;
    z-index: 1;
    position: relative;
	padding: 10% 10px 15% 10px;
}
.services_block h2 {
	text-align: center;
}
.services_grid {
	display: grid;
	/* grid-template-columns: repeat(3, 1fr); */
	grid-template-columns: repeat(auto-fit, minmax(0, 0.33fr));
	grid-gap: 15px;
	min-height: 20vw;
}
.services_grid_cell {
	background-color: #e8631c;
	color: #fff;
	border-radius: 5px;
	padding: 10px;
	display: grid;
	grid-template-rows: 1fr auto auto;
}
.services_grid_cell {
	text-align: center;
}
.btn_dark {
	background-color: #303030;
	border-radius: 5px;
	color: #fff;
}
.reviews_block {
	min-height: 30vw;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.reviews_block h2 {
	display: flex;
    justify-content: center;
    align-items: center;
}
.reviews_wrapper {
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
}
.reviews_link {
    margin-left: 7px;
	display: inline-flex;
	background-color: #fff;
	padding: 0 5px;
}
.reviews_link img {
	height: 4vw;
}
.review_carousel .slick-track {
    display: flex;
}
.review {
    align-self: center;
	background-color: #fff;
	padding: 10px 30px;
	border-radius: 7px;
	box-shadow: inset 0 0 7px #e8631c;
	border: 5px solid #e8631c;
	color: #303030;
}
.rev_ball span:first-child {
    margin-right: 7px;
}
.reviews_wrapper .item {
    z-index: auto;
}
.rev_header_wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}
.rev_header {
    display: grid;
    grid-template-columns: auto 1fr;
	justify-items: center;
}
.rev_ball {
	grid-row: span 2;
	margin-right: 10px;
}
.rev_stars {
    align-self: end;
}
.business-rating-badge-view__stars {
    display: flex;
}
.business-rating-badge-view__star:not(:last-child) {
    margin-right: 4px;
}
.business-rating-badge-view__star._size_m {
    width: 12px;
    height: 12px;
}
.business-rating-badge-view__star {
    background-image: url(./img/star.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.review_author {
	margin-bottom: 15px;
}
.review_author .author_name{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}
.review_author .user-icon-view__icon {
	display: none;
}
.review_text {
	text-align: center;
}
.nav_rev {
    position: absolute;
	background-color: #fff;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
	z-index: 10;
	border-radius: 50%;
	box-shadow: inset 0 0 7px #e8631c;
	border: 3px solid #e8631c;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
}
.nav_rev_prew {
    left: -25px;
}
.nav_rev_next {
    right: -25px;
}
.posts {
	padding: 0;
}
.posts_grid_cell {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.posts_grid_cell:nth-child(even){
	direction: rtl;
}
.post_bg {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.post_text {
	padding: 5% 2%;
	background-color: #e8631c;
	color: #fff;
}
.order_for_personal {
	min-height: 30vw;
	background: #e8631c url(./img/dots_white.png) no-repeat left;
	background-size: contain;
	box-shadow: inset 0 0 10px #303030;
}
.order_for_personal h2 {
	text-align: center;
}
.personal_order_form {
	display: flex;
    align-items: center;
    justify-content: center;
}
.officers {
	background: #303030 url(./img/dots_light.png) no-repeat left;
	background-position-x: -50%;
	background-size: contain;
	position: relative;
	z-index: 1;
	box-shadow: 0 0 10px #303030;
	padding: 5% 40px;
}
.officers .wrapper {
	padding: 0 30px;
}
.officers h2 {
	text-align: center;
}
.offers_carusel {
	padding: 0 30px;
	min-height: 50vw;
}

.offer_block {
	background-color: #fff;
	padding: 20px 15px;
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	border: 4px solid #e8631c;
	box-shadow: 0 5px 20px #e8631c8a;
	transition: all .3s ease-in-out;
	height: 100%;
	margin: 80px 30px 0 30px;
}
.offer_block h3 {
	text-align: center;
	color: #303030;
	margin-top: -40px;
	margin-bottom: 5px;
}
.offer_foto {
	border: 3px solid #e8631c;
	position: relative;
	background-color: #fff;
	top: -60px;
	width: 100%;
	padding-top: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 5px;
	z-index: 1;
	box-shadow: 0 5px 20px #30303088;
}
.offer_text {
	position: relative;
	height: 0;
	transition: height .3s ease-in-out;
}
.offer_post_description {
	margin-top: -140px;
	margin-bottom: 0;
	text-align: center;
	color: #303030;
	visibility: hidden;
	opacity: 0;
	transition: all .3s ease-in-out;
}
.offer_block:hover .offer_text {
	height: 100%;
}
.offer_block:hover .offer_post_description {
	visibility: visible;
	opacity: 1;
	margin-top: 0;
}
.footer {
	background-color: #303030;
	padding: 30px 0;
}
.footer p {
	text-align: center;
}
.footer .copyright {
	margin-right: 7px;
}
/*===================== MODAL ========================*/
.modal {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
	color: #303030;
}
.modal.is-visible {
    visibility: visible;
}
.no-scroll {
    overflow: hidden;
}
.modal-overlay,
.modal-container {
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s ease 0.3s, opacity 0.3s ease;
}
.modal-overlay {
    background: hsla(0, 0%, 0%, 0.5);
}
.modal.is-visible .modal-overlay,
.modal.is-visible .modal-container {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.modal.is-visible .modal-container {
    overflow: auto;
    -webkit-overflow-scrolling: touch; 
}
.modal-wrapper {
    position: absolute;
    z-index: 10000;
    top: 3em;
    left: 50%;
    width: 100%;
    max-width: 600px;
    margin-left: -50%;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}
.modal-transition {
    transition: visibility 0.3s 0.12s, opacity 0.3s 0.12s, transform 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}
.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}
.modal-header,
.modal-content {
    padding: 1em;
}
.modal-header {
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
    border-bottom: 1px solid #e8e8e8;
}
.modal-heading {
    font-size: 1.125em;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.125em;
    color: #aaa;
    background: none;
    border: 0;
}
.modal-close:hover {
    color: #777;
}
.modal-content > *:first-child {
    margin-top: 0;
}
.modal-content > *:last-child {
    margin-bottom: 0;
}
.wpcf7-form {
    display: grid;
    row-gap: 20px;
}
.wpcf7-form textarea,
.wpcf7-form input {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 13px 85px 13px 20px;
    border-radius: 8px;
    border: 1px solid #e3e7ef;
    background-color: #fff;
    outline: none;
    font-family: "Circe",sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 156%;
    color: #303030;
    transition: all .3s ease;
    box-shadow: none;
}
.wpcf7-form textarea::placeholder,
.wpcf7-form input::placeholder{
    opacity: 1;
    transition: opacity .2s ease-in-out;
}
.wpcf7-form textarea:focus::placeholder,
.wpcf7-form input:focus::placeholder{
    opacity: 0;
}
.wpcf7-form p {
	margin: 0;
}
.wpcf7 form.invalid .wpcf7-response-output {
	margin: 0;
}
.wpcf7-form input[type="submit"].wpcf7-form-control {
	padding-left: 0;
	padding-right: 0;
}
.personal_order_form .wpcf7-not-valid-tip {
	color: #303030;
}
@media (min-width: 600px) {
    .modal-wrapper {
        top: 6em;
        margin-left: -300px;
    }
}
@media (max-width: 1024px) { 
	.phone_block,
	.adress_block {
		padding-left: 3vw;
	}
	h1 {
        font-size: calc((100vw / 27.7) * 1.25);
    }
    h2, .h2, .rev_ball {
        font-size: calc((100vw / 35.5) * 1.25);
    }
    h3 {
        font-size: calc((100vw / 42.5) * 1.25);
    }
    h4 {
        font-size: calc((100vw / 53.5) * 1.25);
    }
	.h5 {
		font-size: calc((100vw / 60) * 1.25);
	}
    button, li, a, p, .p {
        font-size: calc((100vw / 80) * 1.75);
    }
}
@media (max-width: 767px) {
    h1 {
        font-size: calc((100vw / 27.7) * 2);
    }
    h2, .h2, .rev_ball {
        font-size: calc((100vw / 35.5) * 3);
    }
    h3 {
        font-size: calc((100vw / 42.5) * 2.5);
    }
    h4 {
        font-size: calc((100vw / 53.5) * 3);
    }
	.h5 {
		font-size: calc((100vw / 60) * 3);
	}
    button, li, a, p, .p {
        font-size: calc((100vw / 80) * 3.5);
    }
	.wrapper {
		padding: 10px;
	}
	.services_grid,
	.promo_grid {
		grid-template-columns: none;
	}
}
@media (max-width: 480px) {
	.achive_item::before {
		height: 8vw;
		width: 8vw;
	}
	.top_line {
		padding: 0;
	}
	.adress_block,
	.phone_block {
		padding-left: 6vw;
		margin: 5px 0;
	}
	.top_line .wrapper {
		flex-direction: column-reverse;
		align-items: flex-start;
		padding: 5px 10px;
	}
	.top_line .wrapper a {
		font-size: calc((100vw / 80) * 3);
		padding: 5px 0;
	}
	.offer_block {
		margin: 0;
		margin-top: 80px;
		box-shadow: none
	}
	.officers {
		padding: 5% 25px;
	}
	.offers_carusel {
		padding: 0 15px;
	}
	.posts_grid_cell {
		grid-template-columns: none;
		border-bottom: 1px solid #303030;
	}
	.reviews_link img {
		height: 10vw;
	}
	.reviews_block h2 {
		text-align: center;
		flex-direction: column;
	}
}