@font-face {
  font-family: 'Lato-Light';
  src: url('../fonts/Lato-Light.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Lato-Light.woff') format('woff'),
  url('../fonts/Lato-Light.ttf')  format('truetype'),
  url('../fonts/Lato-Light.svg#Lato-Light') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat-Bold';
  src: url('../fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Montserrat-Bold.woff') format('woff'),
  url('../fonts/Montserrat-Bold.ttf')  format('truetype'),
  url('../fonts/Montserrat-Bold.svg#Montserrat-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat-Regular';
  src: url('../fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Montserrat-Regular.woff') format('woff'),
  url('../fonts/Montserrat-Regular.ttf')  format('truetype'),
  url('../fonts/Montserrat-Regular.svg#Montserrat-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Oswald-Medium';
  src: url('../fonts/Oswald-Medium.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Oswald-Medium.woff') format('woff'),
  url('../fonts/Oswald-Medium.ttf')  format('truetype'),
  url('../fonts/Oswald-Medium.svg#Oswald-Medium') format('svg');
  font-weight: normal;
  font-style: normal;
}

html, body {
  font-size: 16px;
  font-family: 'Lato-Light',Helvetica,sans-serif;
  color: #1D1E21;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}
:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat-Bold',Helvetica,serif;
}
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
a {
  color: #fff;
  text-decoration: none;
  transition: color 0.4s ease 0s;
}
a:hover {
  color: #096266;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: block;
}
.clearfix:after {
  clear: both;
}
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 15px;
}
header {
  position: fixed;
  width: 100%;
  z-index: 99;
}
.display-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.display-flex--header {
  height: 115px;
}
.logo {
  flex-shrink: 0;
}
.logo-text {
  color: #1D1E21;
  font-size: 23px;
  margin-left: 15px;
}
.logo-text-bottom {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.nav-list__element {
  display: inline-block;
  padding: 0 15px;
}
.nav-list__link {
  text-transform: uppercase;
}
.nav-list__link:focus {
  color: #1d1e21;
}
.main {
  height: 791px;
  width: 100%;
  background: url("../image/main.webp") no-repeat fixed;
  background-size: cover;
}
.container--main {
  height: 100%;
  max-width: 770px;
}
.display-flex--main {
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  height: 100%;
  margin-left: -100px;
}
.main-title {
  font-size: 51px;
  font-weight: normal;
  margin-bottom: 35px;
  font-family: 'Montserrat-Regular', Helvetica, sans-serif;
}
.main-title > span {
  display: block;
}
.main-text {
  font-size: 23px;
  font-family: 'Montserrat-Regular', Helvetica, sans-serif;
  margin-bottom: 55px;
}
.main-btn {
  border: solid rgba(29, 30, 33, 1) 2px;
  border-radius: 30px;
  color: #1D1E21;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4em;
  display: inline-block;
  padding: 12px 40px;
  transition: border-color 0.4s ease 0s, background-color 0.4s, color 0.4s ease 0s;
}
.main-btn:hover {
  background-color: rgba(50, 50, 50, 1);
  border-color: transparent;
  color: #fff;
}
.container--about {
  max-width: 1170px;
}
.display-flex--about {
  margin: 140px 0;
}
.about-img {
  width: 45%;
  height: auto;
}
.about-info {
  width: 55%;
  padding-left: 50px;
}
.about-title {
  font-size: 44px;
  margin-bottom: 45px;
}
.about-title__small {
  font-size: 19px;
  margin-bottom: 15px;
}
.about-title__small > span {
  display: block;
}
.about-text {
  letter-spacing: 0.05em;
  line-height: 1.5em;
}
.container--services {
  max-width: 960px;
}
.services-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 55px;
}
.display-flex--services {
  flex-wrap: wrap;
}
.services-block {
  width: 50%;
  padding: 60px;
  position: relative;
}
.services-block__title {
  font-size: 19px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.services-block__text {
  font-size: 20px;
  position: relative;
  z-index: 2;
}
.services-number {
  position: absolute;
  color: #FCD1CC;
  font-size: 176px;
  font-weight: bold;
  letter-spacing: 0.02em;
  font-family: 'Oswald-Medium', Helvetica, sans-serif;
  top: -50px;
  left: 25px;
  z-index: 1;
}
.services-number--two {
  color: #ECDBFF;
}
.services-number--three {
  color: #D4EDEE;
}
.services-number--four {
  color: #D5D8E0;
}
.container--comments {
  max-width: 1190px;
  background: #a7d1d4;
  height: 803px;
  padding-top: 70px;
  text-align: center;
}
.title-comments {
  margin-bottom: 70px;
  font-size: 32px;
}
.commentSlider {
  max-width: 840px;
  margin: 0 auto;
}
.slider-text {
  font-size: 41px;
  line-height: 1.2em;
  margin-bottom: 70px;
  font-weight: bold;
  position: relative;
  z-index: 2;
}
.slider-name {
  font-size: 18px;
  font-weight: bold;
}
.commentSlider .slick-dots li {
  width: 7px;
  height: 7px;
  margin: 0 8px;
}
.commentSlider .slick-dots li button {
  width: 7px;
  height: 7px;
  background: rgba(29, 30, 33, 1);
  border-radius: 50%;
  padding: 0;
}
.commentSlider .slick-dots li button::before {
  display: none;
}
.commentSlider .slick-dots .slick-active button {
  background-color: rgba(255, 255, 255, 1);
}
.commentSlider .slick-dots {
  bottom: -200px;
}
.commentSlider .slick-slide {
  position: relative;
  padding: 90px 90px 0 60px;
}
.icon-slider {
  position: absolute;
  background: url("../image/comments.png") no-repeat;
  width: 140px;
  height: 140px;
  left: 0;
  top: 0;
}
.contact {
  margin-top: 45px;
}
.container--contact {
  max-width: 1220px;
}
.display-flex--contact {
  align-items: stretch;
}
.form {
  width: 50%;
  background: #1d1e21;
  padding: 35px 65px 116px 65px;
}
form {
  position: relative;
}
.info {
  width: 50%;
  background: #ef9c83;
}
.fb-label {
  font-size: 0;
  position: absolute;
}
.fb-input, .fb-textarea {
  height: 30px;
  border: none;
  font-size: 14px;
  line-height: 1.4em;
  width: 100%;
  padding: 5px 10px;
  color: #000;
  margin-bottom: 12px;
}
.fb-textarea {
  min-height: 128px;
}
.display-flex--info {
  height: 100%;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.info-title {
  font-size: 19px;
  text-align: center;
}
.info-text {
  position: absolute;
  bottom: 45px;
  color: #fff;
}
.info-text:last-child {
  bottom: 15px;
}
.fb-submit {
  background-color: rgba(0, 0, 0, 1);
  color: #fff;
  border: none;
  position: absolute;
  padding: 16px 58px;
  font-size: 16px;
  line-height: 1.4em;
  bottom: -30px;
  left: 50%;
  margin-left: -75px;
}
.contact-title {
  color: #fff;
  text-align: center;
  font-size: 19px;
  margin-bottom: 55px;
}
footer {
  height: 50px;
  text-align: center;
}
.display-flex--footer {
  height: 100%;
  justify-content: center;
}
.open-menu {
  display: none;
}
.sticky.fixed {
  background: #fff;
}
.sticky.fixed .nav-list__link {
  color: #1D1E21;
}
@media (max-width: 960px) {
  .display-flex--main {
    margin: 0;
  }
}
@media (max-width: 768px) {
  .display-flex--about, .display-flex--contact {
    flex-wrap: wrap;
  }
  .display-flex--about {
    margin-top: 45px;
  }
  .about-img, .about-info, .form, .info {
    width: 100%;
  }
  .about-info {
    padding: 0;
    margin-top: 25px;
  }
  .container--comments {
    height: auto;
    padding-bottom: 50px;
  }
  .title-comments {
    margin-bottom: 20px;
  }
  .slider-text {
    font-size: 26px;
  }
  .icon-slider {
    background-size: cover;
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
  }
  .commentSlider .slick-slide {
    padding: 25px 0 0 0
  }
  .commentSlider .slick-dots {
    top: auto;
    height: 30px;
    bottom: -55px;
  }
  .info {
    height: 495px;
  }
  .nav-list {
    text-align: right;
  }
  .nav-list__element {
    padding-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .nav {
    display: none;
  }
  button.open-menu {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
  }
  button.open-menu .line {
    display: block;
    height: 4px;
    background: #000;
    margin-bottom: 7px;
    width: 45px;
    border-radius: 1px;
  }
  .open .open-menu span {
    opacity: 0;
    position: relative;
  }
  .open #open-menu span:first-child, .open #open-menu span:last-child {
    -webkit-transform: rotate(-45deg);
    top: 12px;
    opacity: 1;
  }
  .open #open-menu span:last-child {
    -webkit-transform: rotate(45deg);
    top: -10px;
  }
  body.open .nav {
    display: block;
    position: absolute;
    width: 180px;
    z-index: 99;
    padding: 25px 20px;
    background: #fff;
    bottom: -190px;
    right: 15px;
    box-shadow: 0 0 5px rgba(0,0,0,0.56);
    border-radius: 3px;
    text-align: left;
  }
  .nav-list__element {
    padding: 7px 0;
    display: block;
  }
  .nav-list__link {
    color: #000;
  }
  .services-block {
    width: 100%;
  }
  .logo-text {
    font-size: 20px;
  }
}
@media (max-width: 380px) {
  .display-flex--header {
    justify-content: space-evenly;
    flex-direction: column;
  }
  button.open-menu {
    align-self: flex-end;
  }
}