@import url('https://fonts.googleapis.com/css?family=Cuprum');
* {
  margin: 0;
  padding: 0;
}
html,
body {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Cuprum', sans-serif;
}
body {
  background: #FFF;
  color: #141414;
}
html,
body,
header,
nav,
section,
.container,
img {
  max-width: 100%;
}
.first {
  background: #ffffff url(../images/bg-1.jpg);
  background-position: center 85px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 1000px;
}
nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
  height: 85px;
    position: fixed;
    width: 100%;
    padding: 0 40px 0 40px;
}
.logo {
  display: inline-block;
}
.phone {
  display: inline-block;
  right: 20px;
  z-index: 10;
}
.phone a {
  color: #000;
  font-size: 32px;
}
.first h1 {
  text-align: center;
  font-size: 88px;
  color: #fff;
  margin-top: 360px;
}
.first h1 span {
  text-transform: uppercase;
  color: #7bc64e;
  font-weight: bold;
}
.first p {
  text-align: center;
  font-size: 32px;
  color: #fff;
  margin-top: 85px;
}
section.second h2 {
  text-align: center;
  font-size: 53px;
  font-weight: bold;
  margin: 70px 0 95px;
}
section.second h2 span {
  color: #7bc64e;
}
.preim {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto 75px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.preim-img {
  max-width: 100%;
  width: 420px;
}
.preim-descr {
  width: 565px;
}
.preim-descr h3 {
  display: block;
  margin: 0;
  padding: 20px 45px;
  background: #7bc64e;
  font-size: 39px;
  font-weight: bold;
  text-transform: uppercase;
  color: #FFF;
}
.preim-descr p {
  font-size: 22px;
  margin-top: 35px;
}
.preim-descr p span {
  color: #7bc64e;
}
.form {
  display: block;
  height: auto;
  min-height: 415px;
  background: url(../images/form-bg.jpg);
  background-size: cover;
  padding: 80px 10px 70px;
}
.form-title {
  text-align: center;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
}
form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 70px;
}
input[type="text"] {
  width: 315px;
  height: 56px;
  padding: 25px 20px;
  font-size: 25px;
  margin-bottom: 20px;
}
input[type="submit"] {
  width: 315px;
  height: 56px;
  background: #6690e3;
  color: #FFF;
  font-size: 31px;
  border: none;
}
.form p {
  text-align: center;
  margin: 64px auto 0;
  color: #fff;
  font-size: 19px;
  font-weight: normal;
}
section.third h2 {
  text-align: center;
  font-size: 53px;
  font-weight: bold;
  margin: 80px auto;
}
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.service {
  width: 30%;
  min-width: 350px;
  margin: 0 auto 60px;
  text-align: center;
}
.service h3 {
  display: block;
  font-size: 35px;
  font-weight: bold;
  text-transform: uppercase;
  height: 80px;
}
.service p {
  font-size: 22px;
}
.service p span {
  font-size: 40px;
  font-weight: bold;
  color: #7bc64e;
}
section.fourth h3 {
  text-align: center;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: bold;
  margin: 70px auto;
}
.green3rd {
  text-align: center;
  width: 30%;
  min-width: 290px;
  margin: 0 auto 64px;
}
.green3rd span {
  color: #7bc64e;
  font-size: 90px;
  font-weight: bold;
}
.green3rd p {
  font-size: 25px;
}
.why {
  width: 25%;
  min-width: 240px;
  margin: 0 auto 64px;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  line-height: 29px;
}
.why img {
  margin-bottom: 40px;
}
.why:nth-child(even) {
  padding-top: 250px;
}
section.fifth h2 {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 36px;
  margin: 70px auto;
}
section.fifth p {
  font-size: 18px;
}
section.fifth li {
  font-size: 18px;
}
section.fifth ul {
  list-style-position: inside;
  padding-left: 20px;
}
.otzyv {
  display: grid;
  grid-template-columns: 470px auto;
  background: #f4f4f4;
  min-height: 330px;
  margin-bottom: 50px;
}
.otzyv2 {
  display: grid;
  grid-template-columns: auto 470px;
  background: #f4f4f4;
  min-height: 330px;
  margin-bottom: 50px;
}
.otzyv-img {
  display: block;
}
.otzyv-img-l {
  display: none;
}
.otzyv-img-r {
  display: block;
}
.q {
  display: block;
  margin: 35px 30px 20px 70px;
  font-size: 18px;
  line-height: 21px;
}
.q img {
  margin-bottom: 30px;
}
section.sixth h3 {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 36px;
  margin: 70px auto;
}
.contacts {
  text-transform: uppercase;
  font-size: 19px;
  line-height: 36px;
  font-weight: bold;
  margin: 20px auto 10px;
}
.contacts span {
  font-size: 27px;
}
a.tel {
  display: block;
  font-size: 36px;
  font-weight: bold;
  margin: 20px 0 50px;
  color: #141414;
}
.map {
  width: 660px;
  max-width: 100%;
  height: 370px;
  margin-bottom: 135px;
}
@media screen and (max-width: 1200px) {
  .preim-img {
    margin-right: 20px;
  }
  input[type="text"] {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 992px) {
  .first h1 {
    margin-top: 230px;
  }
  .preim-img {
    width: 50%;
  }
  .preim-descr {
    width: 50%;
  }
  .why {
    min-width: 251px;
    margin: 0 auto;
  }
  .why:nth-child(3),
  .why:nth-child(4) {
    margin-top: -195px;
  }
  .otzyv,
  .otzyv2 {
    grid-template-columns: 50% 50%;
  }
  .q {
    margin: 35px 30px 20px 30px;
  }
}
@media screen and (max-width: 768px) {
  .preim-img {
    width: 420px;
    margin: 0 auto 20px;
  }
  .preim-descr {
    width: 90%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 600px) {
  .first h1 {
    font-size: 76px;
    margin-top: 200px;
  }
  .preim-img {
    width: 420px;
    margin: 0 auto 20px;
  }
  .preim-descr {
    width: 90%;
    margin: 0 auto;
  }
  .form-title {
    font-size: 30px;
  }
  .why,
  .why:nth-child(3),
  .why:nth-child(4) {
    min-width: 300px;
    margin: 0 auto 30px;
  }
  .why:nth-child(even) {
    padding-top: 0;
  }
  .otzyv,
  .otzyv2 {
    grid-template-columns: 100%;
  }
  .otzyv-img {
    width: 470px;
    margin: 0 auto 20px;
  }
  .otzyv-img-l {
    display: block;
  }
  .otzyv-img-r {
    display: none;
  }
}
@media screen and (max-width: 500px) {
  .first {
    background-position: center 155px;
  }
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 150px;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
  .first h1 {
    font-size: 60px;
  }
  .preim-descr h3 {
    padding: 20px 30px;
    font-size: 30px;
  }
  section.sixth h3 {
    margin: 35px auto;
  }
  .contacts {
    font-size: 16px;
  }
}
