* {
  margin: 0;
  padding: 0;
  font-size: 16px;
  box-sizing: border-box;
  color: #4F4F4F;
  outline: none;
}

.container {
  max-width: 1170px;
}

header {
  background-color: #FEFEFE;
}

.header {
  padding: 35px 15px;
  display: flex;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo__text {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #A6A6A6;
  margin-left: 30px;
}

.header__office, .header__phones {
  display: flex;
  align-items: center;
}

.header__office__image, .header__phones__image {
  margin-right: 20px;
}

.header__office__address {
  color: #848484;
}

.header__office__span {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #848484;
}

.nav {
  background: linear-gradient(to bottom, #F4F4F4, #FAFAFA);
  border-bottom: 2px solid #F2F2F2;
}

.nav__menu__btn {
  width: 35px;
  padding: 10px 0 3px;
  text-align: center;
  display: none;
}

.nav__menu__btn div {
  height: 3px;
  background-color: #828282;
  margin-bottom: 7px;
  transition: all 0.2s ease-in-out;
}

.first-div {
  transform: translate(7px, 2px) rotate(45deg);
  transform-origin: left top;
  background-color: #FF5C00 !important;
  z-index: 20;
}

.second-div {
  transform: scale(0);
}

.third-div {
  transform: translate(-4px, -19px) rotate(-45deg);
  transform-origin: right bottom;
  background-color: #FF5C00 !important;
  z-index: 20;
}

.nav__menu {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
}

.nav__menu li {
  padding: 20px 0;
}

.nav__menu li a {
  color: #828282;
  text-transform: uppercase;
  font-weight: 500;
  padding: 20px 0;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.nav__menu li a:before {
  content: '';
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: -3.5px;
  left: 0;
  background-color: #FF5C00;
  transition: all 0.2s ease-in-out;
  opacity: 0;
}

.nav__menu li a:hover {
  color: #4F4F4F;
  text-decoration: none;
}

.nav__menu li a:hover::before {
  opacity: 1;
}

h2 {
  font-size: 36px;
  text-transform: uppercase;
}

h2:before {
  content: url(../img/Rectangle.svg);
  display: inline-block;
  margin-right: 20px;
  transform: translateY(-3px);
}

.main_slider {
  height: auto;
}

.main_slider .slick-dots {
  position: static;
  text-align: left;
  max-width: 1140px;
  padding: 0 15px;
  margin: -60px auto 0;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.main_slider__item {
  height: 610px;
  padding: 80px 0 150px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

h1 {
  font-size: 36px;
  text-transform: uppercase;
}

.main_slider__subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  line-height: 34px;
  width: 47%;
  padding: 50px 0;
}

.main_slider__btn {
  background-color: #FFEFE6;
  color: #000;
  height: 70px;
  width: 270px;
  border: none;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.main_slider__btn:before {
  content: url(../img/deg_button.svg);
  position: absolute;
  top: -6px;
  right: 0;
  transform: rotate(180deg);
}

.main_slider__btn:after {
  content: url(../img/deg_button.svg);
  position: absolute;
  bottom: -6px;
  left: 0;
}

.main_slider__btn:hover {
  background-color: #FF5C00;
  color: #fff;
}

.about {
  background-color: #F8F8F8;
  padding: 120px 0 90px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(226, 226, 226, 0.5);
}

.about h2 {
  margin-bottom: 60px;
}

.about__wrap {
  display: flex;
  position: relative;
}

.about__text {
  width: 45%;
  padding-right: 60px;
}

.about__form_wrap {
  position: absolute;
  top: 0;
  left: 45%;
  width: 100%;
  height: 130%;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(226, 226, 226, 0.6);
  padding-left: 60px;
}

.about__form_wrap:before {
  content: url(../img/deg_form.svg);
  position: absolute;
  top: -10px;
  left: -10px;
}

form {
  width: 55%;
}

form input, form textarea {
  min-width: 270px;
  height: 60px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 20px;
  background-color: #F2F2F2;
  border: none;
  border-bottom: 4px solid #E2E2E2;
  margin: 0 25px 25px 0;
}

form textarea {
  height: 110px;
  padding-top: 25px;
  resize: none;
  display: inline-block;
}

form .inputFile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

form .inputFile + label {
  cursor: pointer;
}

form .labelFile {
  font-family: "Roboto", sans-serif;
  font-style: italic;
  font-size: 14px;
  color: #A7A7A7;
  padding: 10px 0;
}

form .labelFile:before {
  content: url(../img/file.svg);
  margin-right: 2px;
}

form .labelFile__span {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 14px;
  text-transform: uppercase;
  color: #A7A7A7;
}

form .main_slider__btn {
  background-color: #F2F2F2;
  color: #000;
  height: 60px;
}

form .form__redact {
  display: flex;
}

form .form__redact__inner {
  margin-left: 4px;
  width: 270px;
}

form input[type=checkbox], form input[type=radio] {
  display: none;
}

form input[type=checkbox] + label:before {
  content: "\2713";
  color: transparent;
  display: inline-block;
  border: 2px solid #F2F2F2;
  font-size: 17px;
  line-height: 15px;
  margin: -5px 5px 0 0;
  height: 20px;
  width: 20px;
  text-align: center;
  vertical-align: middle;
  transition: color ease .2s;
  z-index: 5;
}

form input[type=checkbox]:checked + label:before {
  color: #FF5C00;
}

form label[for=check], form label[for=check1] {
  color: #A7A7A7;
  font-size: 14px;
}

form label[for=check] a, form label[for=check1] a {
  color: #A7A7A7;
  font-size: 14px;
  text-decoration: underline;
}

.about__form__title {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 80px 0 20px;
}

.services {
  padding: 160px 0;
}

.services h2 {
  margin-bottom: 60px;
}

.services__wrap {
  display: flex;
  justify-content: space-between;
}

.services__item {
  width: 31%;
}

.services__image {
  max-width: 100%;
  position: relative;
  border-bottom: 10px solid transparent;
  overflow: hidden;
}

.services__image img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.services__image:before {
  content: url(../img/arrow_service.svg);
  position: absolute;
  bottom: 12px;
  left: 25px;
  z-index: 5;
}

.services__image:after {
  content: url(../img/hover.png);
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.services__image:hover {
  border-bottom: 10px solid #FF5C00;
}

.services__image:hover:after {
  opacity: 1;
}

.services__deg {
  position: relative;
}

.services__deg:before {
  content: url(../img/deg_form.svg);
  transform: rotate(-90deg);
  position: absolute;
  top: -73px;
  left: 3px;
  z-index: 3;
}

.services__name {
  font-size: 22px;
  font-weight: 500;
  margin-top: 20px;
}

.auto {
  background-color: #F8F8F8;
  padding: 100px 0;
}

.auto h2 {
  margin-bottom: 60px;
}

.auto__wrap {
  display: flex;
  justify-content: space-between;
}

.auto__item {
  width: 23%;
}

.auto__item a {
  text-decoration: none !important;
}

.auto__item:hover .auto__name {
  background-color: #FF5C00;
  color: #fff;
}

.auto__item:hover .auto__name:before {
  color: #fff;
}

.auto__image {
  background-color: #FDFDFD;
  width: 270px;
  height: 220px;
  max-width: 100%;
}

.auto__image img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.auto__name {
  background-color: #FEFEFE;
  font-weight: 500;
  padding: 20px;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.auto__name:before {
  content: '\2192';
  font-size: 40px;
  position: absolute;
  top: -2px;
  right: 18px;
  z-index: 3;
  color: #E0E0E0;
}

.auto__name:after {
  content: '';
  width: 6px;
  height: 40px;
  background-color: #FF5C00;
  position: absolute;
  top: 13px;
  left: 0;
  z-index: 3;
}

.work {
  padding: 160px 0;
}

.work h2 {
  margin-bottom: 60px;
}

.work__wrap {
  display: flex;
  justify-content: space-between;
}

.work__item {
  width: 31%;
  overflow: hidden;
}

.work__item a {
  text-decoration: none;
}

.work__item:hover .work__image:after {
  opacity: 1;
}

.work__item:hover .work__see {
  transform: translateX(0);
}

.work__item:hover .work__see__arrow {
  color: #FF5C00;
}

.work__image {
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.work__image img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.work__image:after {
  content: url(../img/hover.png);
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  z-index: 3;
}

.work__name {
  font-size: 22px;
  font-weight: 500;
  margin-top: 30px;
}

.work__see {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #A7A7A7;
  margin-top: 30px;
  position: relative;
  transform: translateX(-160px);
  transition: all 0.2s ease-in-out;
}

.work__see__arrow {
  font-size: 35px;
  z-index: 3;
  color: #E0E0E0;
  display: inline-block;
  transform: translateY(4px);
}

.howItWork {
  padding-bottom: 160px;
}

.howItWork h2 {
  margin-bottom: 140px;
}

.howItWork__wrap {
  display: flex;
  justify-content: space-between;
}

.howItWork__item {
  width: 18%;
  text-align: center;
  position: relative;
}

.howItWork__item:before {
  content: url(../img/Vector_howItWork.svg);
  position: absolute;
  top: -6px;
  right: -31px;
}

.howItWork__item:last-child:before {
  content: '';
}

.howItWork__image {
  position: relative;
  width: 135px;
  height: 135px;
  margin: 0 auto;
}

.howItWork__image:before {
  content: '';
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(226, 226, 226, 0.4);
  position: absolute;
  top: -40px;
  left: 0;
}

.howItWork__text {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  max-width: 100%;
  margin-top: 20px;
}

footer {
  position: relative;
}

.contacts {
  position: absolute;
  top: 0;
  z-index: 10;
  background-color: #fff;
  color: #848484;
  padding: 70px;
  box-shadow: 0 0 20px rgba(226, 226, 226, 0.4);
}

.contacts h2 {
  margin-bottom: 50px;
}

.contacts .main_slider__btn {
  background-color: #F2F2F2;
}

.contacts .main_slider__btn:hover {
  background-color: #FF5C00;
  color: #fff;
}

.contacts__item {
  display: flex;
  margin-bottom: 30px;
}

.contacts__icon {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.contacts__phones__span {
  color: #333333;
  font-size: 22px;
  font-weight: 600;
}

.ymap-container {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ymap-container img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#map-yandex {
  position: relative;
  z-index: 7;
  width: 100%;
  height: 650px;
  cursor: pointer;
  background-color: transparent;
}

.loader {
  position: absolute;
  z-index: 15;
  top: -100%;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #000000;
  transition: opacity .7s ease;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.loader:after,
.loader:before {
  box-sizing: border-box;
}

.loader.is-active {
  top: 0;
  opacity: 1;
}

.loader-default:after {
  position: absolute;
  top: calc(50% - 24px);
  left: calc(50% - 24px);
  width: 48px;
  height: 48px;
  content: '';
  animation: rotation 1s linear infinite;
  border: solid 8px #ffffff;
  border-left-color: transparent;
  border-radius: 50%;
}

@keyframes rotation {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(359deg);
  }
}

@keyframes blink {
  from {
    opacity: .5;
  }
  to {
    opacity: 1;
  }
}

.footerColumns {
  overflow: hidden;
  margin-top: -5px;
}

.footerColumns__wrap {
  display: flex;
  justify-content: space-between;
  padding: 50px 15px;
  font-family: "Roboto", sans-serif;
  z-index: 3;
}

.footerColumns__wrap a {
  color: #848484;
  font-weight: 500;
  line-height: 25px;
}

.footerColumns__logo {
  width: 20%;
  height: 200px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #F8F8F8;
  position: relative;
  z-index: 5;
}

.footerColumns__logo:before {
  content: '';
  background-color: #F8F8F8;
  position: absolute;
  height: 190%;
  width: 400%;
  top: -60px;
  right: 0;
  z-index: -1;
}

.footerColumns__logo__text {
  font-size: 14px;
  line-height: 22px;
  color: #A6A6A6;
  margin: 20px 0 30px;
}

.footerColumns__siteAuthor {
  font-size: 12px;
  color: #A4A4A4;
  line-height: 22px;
}

.footerColumns__siteAuthor a {
  font-size: 12px;
  color: #A4A4A4;
  display: block;
  text-decoration: underline;
}

.footerColumns__services {
  width: 30%;
  height: 200px;
  padding: 0 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px solid #F2F2F2;
}

.footerColumns__links {
  width: 20%;
  height: 200px;
  padding: 0 25px 0 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px solid #F2F2F2;
}

.footerColumns__contacts {
  width: 30%;
  height: 200px;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footerColumns__phones {
  color: #4F4F4F;
}

/*------- modal  --------*/
.modal-dialog {
  max-width: 600px;
  text-align: center;
}

.modal h3 {
  padding: 20px 0;
}

.close {
  width: 40px;
  height: 40px;
}

.close span {
  font-size: 35px;
}

/*------- media  --------*/
@media (max-width: 1200px) {
  .about {
    padding: 100px 0 80px;
  }
  .about h2 {
    margin-bottom: 50px;
  }
  .about__wrap {
    flex-direction: column;
  }
  .about__text {
    width: 100%;
    padding-right: 0;
    margin-bottom: 50px;
  }
  .about__form_wrap {
    position: relative;
    left: 0;
    height: 100%;
    padding-left: 0;
    text-align: center;
  }
  form {
    width: auto;
    margin: 0 auto;
    padding: 10px;
  }
  form input, form textarea, form .form__redact__inner {
    margin: 0 12px 24px;
  }
  form .labelFile {
    margin-left: 0;
  }
  form .form__redact {
    justify-content: center;
  }
  .about__form__title {
    padding: 60px 20px 20px;
  }
  .services {
    padding: 100px 0;
  }
  .services h2 {
    margin-bottom: 50px;
  }
  .services__name, .work__name {
    font-size: 19px;
  }
  .work {
    padding: 100px 0;
  }
  .work h2 {
    margin-bottom: 60px;
  }
  .howItWork {
    padding-bottom: 100px;
  }
  .howItWork h2 {
    margin-bottom: 100px;
  }
  .howItWork__item:before {
    right: -24px;
  }
  .howItWork__text {
    font-size: 14px;
  }
}

@media (max-width: 1120px) {
  .footerColumns__wrap {
    flex-wrap: wrap;
    padding: 15px;
  }
  .footerColumns__logo, .footerColumns__services, .footerColumns__links, .footerColumns__contacts {
    width: 50%;
    padding: 15px 0;
  }
  .footerColumns__logo {
    background-color: transparent;
    border-bottom: 2px solid #F2F2F2;
  }
  .footerColumns__logo:before {
    content: '';
    background-color: transparent;
    position: absolute;
    height: 0.1px;
    width: 0.1px;
    top: 0;
    right: 0;
    z-index: -1;
  }
  .footerColumns__siteAuthor a {
    display: inline;
  }
  .footerColumns__services {
    border-right: none;
    border-bottom: 2px solid #F2F2F2;
  }
  .footerColumns__links {
    border-right: none;
  }
}

@media (max-width: 992px) {
  .header {
    flex-wrap: wrap;
    padding: 30px 15px;
  }
  .header__logo {
    width: 100%;
    margin-bottom: 30px;
  }
  .nav {
    position: relative;
  }
  .nav__menu__btn {
    display: block;
  }
  .nav__menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 5;
    width: 100%;
    background-color: #F7F7F7;
    padding-bottom: 10px;
  }
  .nav__menu li {
    padding: 20px 15px;
  }
  .about__form_wrap form {
    padding: 10px;
  }
  form input, form textarea, form .form__redact__inner {
    min-width: 250px;
    margin: 0 12px 24px;
  }
  form .main_slider__btn {
    width: 250px;
  }
  form .labelFile, form .labelFile__span {
    font-size: 12px;
  }
  form .form__redact {
    justify-content: center;
  }
  form .form__redact__inner {
    width: 250px;
  }
  .auto {
    background-color: #F8F8F8;
    padding: 80px 0;
  }
  .auto h2 {
    margin-bottom: 50px;
  }
  .auto__wrap {
    flex-wrap: wrap;
  }
  .auto__item {
    width: 48%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }
  .howItWork__wrap {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .howItWork__item {
    width: 31%;
  }
  .howItWork__item:nth-child(4) {
    margin-top: 90px;
  }
  .howItWork__item:nth-child(5) {
    margin-top: 90px;
  }
  .howItWork__item:before {
    content: '';
    position: absolute;
    top: -6px;
    right: -31px;
  }
  .modal h3 {
    padding: 20px 22px;
  }
}

@media (max-width: 768px) {
  h1, h2 {
    font-size: 32px;
  }
  .main_slider__item {
    height: 510px;
    padding: 40px 0 120px;
  }
  .main_slider__subtitle {
    font-size: 18px;
    width: 70%;
    padding: 30px 0;
  }
  .services__wrap {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .services__item {
    width: 48%;
  }
  .services__item:last-child {
    margin-top: 40px;
  }
  .work__wrap {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .work__item {
    width: 48%;
  }
  .work__item:last-child {
    margin-top: 50px;
  }
  .work__see {
    margin-top: 10px;
  }
  .howItWork__item {
    width: 45%;
    margin-bottom: 100px;
  }
  .howItWork__item:nth-child(4) {
    margin-top: 0;
  }
  .howItWork__item:nth-child(5) {
    margin-top: 0;
  }
  .howItWork__item:last-child {
    margin-bottom: 0;
  }
  .contacts {
    position: static;
    box-shadow: none;
    padding: 0 0 50px;
  }
  .mapWrap iframe {
    height: 400px !important;
  }
}

@media (max-width: 700px) {
  .footerColumns__logo, .footerColumns__services, .footerColumns__links, .footerColumns__contacts {
    width: 95%;
  }
  .footerColumns__logo__text {
    margin: 0;
  }
  .footerColumns__services {
    height: auto;
  }
  .footerColumns__services a {
    margin-bottom: 20px;
  }
  .footerColumns__services a:last-child {
    margin-bottom: 0;
  }
  .footerColumns__links {
    border-bottom: 2px solid #F2F2F2;
  }
}

@media (max-width: 650px) {
  .header__office {
    width: 100%;
    margin-bottom: 30px;
  }
  .main_slider__item {
    height: 570px;
  }
}

@media (max-width: 600px) {
  .form__redact {
    flex-direction: column;
  }
  .about__form__title {
    font-size: 20px;
  }
  form input, form textarea, form .form__redact__inner {
    min-width: auto;
    margin: 0 12px 24px;
  }
  form .form__redact__inner {
    width: auto;
    max-width: auto;
  }
  form .main_slider__btn {
    width: 100%;
    max-width: 300px;
  }
  form .labelFile {
    padding-top: 0;
  }
  form .labelFile, form .labelFile__span {
    font-size: 14px;
  }
  .auto__item {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .header__logo {
    flex-direction: column;
    align-items: flex-start;
  }
  .header__logo__text {
    margin: 10px 0 0;
  }
  .main_slider__item {
    height: 530px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 24px;
  }
  h2:before {
    transform: translateY(1px);
  }
  .main_slider__subtitle {
    width: 90%;
  }
  .services__item {
    width: 100%;
    margin-bottom: 40px;
  }
  .services__item:last-child {
    margin-top: 0;
    margin-bottom: 0;
  }
  .work__item {
    width: 100%;
    margin-bottom: 40px;
  }
  .work__item:last-child {
    margin-top: 0;
    margin-bottom: 0;
  }
  .howItWork__item {
    width: 90%;
  }
  .howItWork__text {
    margin-top: 0;
  }
}

@media (max-width: 400px) {
  .header__logo {
    align-items: center;
  }
  .main_slider__item {
    height: 580px;
  }
}

/*------- fonts --------*/
@font-face {
  font-family: "Mont-Heavy";
  src: url("../fonts/Fontfabric---Mont-Heavy.otf");
  font-style: regular;
  font-weight: normal;
}
