* {
  font-family: 'Manrope', sans-serif;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

.header {
  width: 100%;
  background: linear-gradient(
      180deg,
      rgba(31, 31, 31, 0.125) 0%,
      rgba(31, 31, 31, 0.425) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12) 29%, rgba(0, 0, 0, 0.68) 100%),
    url('../img/les2.png') no-repeat;
  background-size: cover;
}

.navbar {
  padding: 24px 140px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  &-logo {
    margin-right: 61px;
  }
  &-burger {
    margin-right: 40px;
  }
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin-left: 0;
  padding: 0;
  &-item {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    margin-right: 50px;
    &__link {
      color: #ffffff;
      text-decoration: none;
    }
  }
  &-item:last-child {
    margin-right: 0;
  }
}

.second-menu {
  display: flex;
  flex-direction: row;
  height: 20px;
  list-style: none;
  margin-left: auto;
  padding: 0;
  &-item {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin-right: 41px;
    &__link {
      color: #ffffff;
      text-decoration: none;
      &__login {
        display: flex;
        flex-direction: row;
        align-items: center;
        img {
          margin-right: 10px;
        }
        span {
          font-size: 14px;
          line-height: 19px;
          letter-spacing: 0.02em;
        }
      }
      &__lang {
        font-weight: bold;
      }
    }
  }
  &-item:last-child {
    margin-right: 0;
  }
}

.separator {
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  background: #ffffff;
  opacity: 0.1;
}

.header-section {
  display: flex;
  flex-direction: row;
}

.heading {
  padding: 68px 255px 59px 140px;
  width: 80%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px rgba($color: #fff, $alpha: 0.1) solid;
  &__title {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    margin-bottom: 40px;
  }
  &__slogan {
    font-weight: 800;
    font-size: 70px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    margin-bottom: 80px;
  }
  &__button {
    font-weight: bold;
    font-size: 15px;
    line-height: 120%;
    letter-spacing: 0.15em;
    color: #ffffff;
    padding: 21px 40px;
    background: #029745 url('../img/button_mask.svg') no-repeat;
    text-decoration: none;
  }
}

.heading-other {
  padding: 68px 255px 59px 140px;
  display: flex;
  flex-direction: column;
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #ffffff;
  }
  &-nav {
    display: flex;
    align-items: center;
    &__page {
      font-weight: normal;
      font-size: 18px;
      line-height: 110%;
      letter-spacing: 0.02em;
      color: #ffffff;
      &--current {
        color: #93969e;
      }
    }
    &__icon {
      margin: 0 15px;
    }
  }
}

.heading-menu {
  list-style: url('../img/list.svg');
  &-item {
    margin-bottom: 35px;
    margin-left: 45px;
    margin-top: 35px;
    &__link {
      text-decoration: none;
      font-weight: normal;
      font-size: 14px;
      line-height: 26px;
      color: #ffffff;
      opacity: 0.8;
    }
  }
  &-item:last-child {
    margin-bottom: 0;
  }
}

.point {
  margin: 30px 20px 0 134px;
  display: flex;
  justify-content: space-between;
  &-item {
    padding: 16px 47px 0 32.5px;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 25%;
    &__num {
      font-weight: 300;
      font-size: 30px;
      line-height: 120%;
      color: #ffffff;
      margin-bottom: 19px;
      margin-left: -7px;
    }
    &-wrapper {
      border-left: 1px rgba($color: #fff, $alpha: 0.5) solid;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding-bottom: 48px;
      &__title {
        font-weight: normal;
        font-size: 22px;
        line-height: 160%;
        color: #ffffff;
        margin: 0;
        margin-left: 44.5px;
        margin-bottom: 16px;
      }
      &__text {
        display: none;
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
        margin-left: 45px;
      }
    }
  }
  &-item:hover {
    background: #ffffff;
    cursor: pointer;
  }
  &-item:hover &-item__num,
  &-item:hover &-item-wrapper__title {
    color: #16291f;
  }
  &-item:hover &-item-wrapper__text {
    display: block;
  }
  &-item:hover &-item-wrapper {
    border-color: #e6e9f0;
  }
}

.production {
  background: #f6f8fa url('../img/production_mask.svg') no-repeat right -290px;
  margin: 0;
  padding: 80px 140px 0;
  &-text {
    width: 680px;
    margin-bottom: 72px;
  }
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #16291f;
    margin: 0;
    margin-bottom: 56px;
  }
  &__descr {
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: #16291f;
    margin: 0;
    margin-bottom: 24px;
  }
  &__link {
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
    color: #029745;
    text-decoration: none;
    border-bottom: 1px #029745 solid;
    padding-bottom: 5px;
  }
  &-list {
    display: flex;
    &-link {
      margin-right: 20px;
    }
    &-link:last-child {
      margin-right: 0;
    }
    &-item {
      position: relative;
      width: 400px;
      background: #ffffff;
      padding: 66px 52px 75px;
      box-sizing: border-box;
      transition: 0.4s;
      &__arrow {
        stroke: #029745;
        width: 67px;
        height: 67px;
        transition: 0.4s;
      }
      &__image {
        position: absolute;
        top: 0;
        right: 0;
        clip-path: polygon(50% 0, 100% 0, 100% 50%, 75% 75%, 25% 25%);
      }
      &__title {
        font-weight: bold;
        font-size: 20px;
        line-height: 130%;
        color: #16291f;
        margin: 40px 0;
        width: 190px;
        height: 52px;
        transition: 0.4s;
      }
      &__descr {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
        transition: 0.4s;
      }
    }
    &-item:hover {
      background: #029745;
      cursor: pointer;
    }
    &-item:hover &-item__title,
    &-item:hover &-item__descr {
      color: #ffffff;
    }
    &-item:hover &-item__arrow {
      stroke: #ffffff;
    }
  }
  &-separator {
    margin-top: 56px;
    height: 3px;
    background: #029745;
  }
}

.company {
  background: #f6f8fa;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  &-text {
    width: 50%;
    box-sizing: border-box;
    padding: 85px 160px 85px 140px;
  }
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #16291f;
    margin: 0;
    margin-bottom: 56px;
  }
  &__descr {
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: #16291f;
    margin: 0;
    margin-bottom: 23px;
  }
  &__descr:last-child {
    margin-bottom: 0;
  }
  &-fact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 50%;
    box-sizing: border-box;
    &-item {
      display: flex;
      flex-direction: column;
      width: 50%;
      height: 50%;
      padding: 80px 97px;
      box-sizing: border-box;
      border-bottom: 1px solid #e6e9f0;
      border-left: 1px solid #e6e9f0;
      &__num {
        font-weight: 800;
        font-size: 40px;
        line-height: 130%;
        color: #029745;
        margin-bottom: 8px;
      }
      &__descr {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
      }
    }
  }
  &-video {
    content: url('../img/video.png');
    box-sizing: border-box;
    width: 50%;
    object-fit: cover;
  }
  &-button {
    position: absolute;
    left: 50%;
    bottom: 410px;
    transform: translate(-50%, 50%);
  }
  &-tour {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 50%;
    padding: 0 120px 0 140px;
    &__text {
      font-weight: 300;
      font-size: 18px;
      line-height: 130%;
      color: #555e59;
      margin: 0;
    }
    &-wrapper {
      margin-top: 85px;
      margin-bottom: 21px;
    }
    &__button {
      font-weight: bold;
      font-size: 15px;
      line-height: 120%;
      letter-spacing: 0.15em;
      color: #ffffff;
      padding: 21px 40px;
      background: #029745 url('../img/button_mask.svg') no-repeat;
      text-decoration: none;
      margin-right: 56px;
    }
    &__link {
      font-weight: bold;
      font-size: 16px;
      line-height: 140%;
      color: #029745;
      text-decoration: none;
      border-bottom: 1px #029745 solid;
      padding-bottom: 5px;
    }
  }
  &-top {
    display: flex;
    width: 100%;
    &-item {
      width: 25%;
      padding: 112px 120px 112px 80px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      &__num {
        font-weight: 800;
        font-size: 40px;
        line-height: 110%;
        color: #029745;
        margin-bottom: 16px;
      }
      &__descr {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
        margin-bottom: 40px;
        max-width: 280px;
      }
      &__image {
        width: 90px;
      }
    }
    &-item:nth-child(2n + 1) {
      background: #ffffff;
    }
    &-item:last-child {
      width: 50%;
      background: #ffffff url('../img/top_mask.svg') no-repeat right 20px;
    }
  }
}

.press {
  background: #f6f8fa url('../img/top_mask_2.svg') no-repeat right -302px;
  margin: 0;
  padding: 80px 21px 0 0;
  box-sizing: border-box;
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 120%;
    color: #16291f;
    margin: 0;
    margin-bottom: 56px;
    margin-left: 25%;
  }
  &-wrapper {
    margin-left: 25%;
    display: flex;
    align-items: center;
    &__button {
      height: 66px;
      background: #029745;
      font-weight: bold;
      font-size: 15px;
      line-height: 120%;
      letter-spacing: 0.03em;
      color: #ffffff;
      text-align: center;
      padding: 24px 56px;
      box-sizing: border-box;
      &--disabled {
        border: 1px solid rgba(214, 217, 229, 0.5);
        box-sizing: border-box;
        background: none;
        color: #8e9a93;
      }
    }
    &__link {
      font-weight: bold;
      font-size: 16px;
      line-height: 140%;
      color: #029745;
      border-bottom: 1px #029745 solid;
      padding-bottom: 3px;
      margin-left: 56px;
    }
  }
  &-content {
    display: flex;
    &-media {
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      margin-top: 48px;
      padding-left: 140px;
      flex: 0 0 auto;
      width: 25%;
      &-wrapper {
        border: 1px solid #e6e9f0;
        height: 33.3%;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        transition: 0.4s;
        &__link {
          margin-right: 32px;
        }
        &__link:last-child {
          margin-right: 0;
        }
        &__icon {
          stroke: #029745;
          transition: 0.4s;
        }
        &__social {
          fill: #029745;
          width: 25px;
          height: 25px;
          transition: 0.4s;
        }
        &__text {
          margin-left: 16px;
          font-weight: bold;
          font-size: 15px;
          line-height: 120%;
          letter-spacing: 0.03em;
          color: #8e9a93;
          transition: 0.4s;
        }
      }
      &-wrapper:nth-child(n + 2) {
        border-top: none;
      }
      &-wrapper:hover:nth-child(n + 2) {
        background: #029745;
        color: #fff;
      }
      &-wrapper:hover &-wrapper__text {
        color: #fff;
      }
      &-wrapper:hover &-wrapper__icon {
        stroke: #fff;
      }
      &-wrapper__social:hover {
        fill: #28be4a;
      }
    }
    &-news {
      margin-top: 48px;
      display: flex;
      box-sizing: content-box;
      flex: 0 0 auto;
      width: 75%;
      &-item {
        width: 33%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-right: 40px;
        &__icon {
          margin-right: 16px;
        }
        &__text {
          display: flex;
          align-items: flex-start;
          margin: 0;
          margin-bottom: 15px;
          font-weight: bold;
          font-size: 17px;
          line-height: 140%;
          color: #16291f;
          width: 90%;
          transition: 0.4s;
        }
        &__date {
          font-weight: normal;
          font-size: 14px;
          line-height: 160%;
          color: #93969e;
          margin-left: 40px;
        }
        &-img {
          display: flex;
          align-items: flex-end;
          height: 66.6%;
          margin-top: 32px;
          position: relative;
          &__arrow {
            position: absolute;
            bottom: 0;
            left: 0;
            opacity: 0;
            transition: 0.4s;
          }
        }
      }
      &-item:last-child {
        padding-right: 0;
      }
      &-item:hover &-item__text {
        color: #029745;
      }
      &-item:hover &-item-img__arrow {
        opacity: 1;
      }
    }
  }
}

.ecology {
  background: #f6f8fa url('../img/ecology_mask.svg') no-repeat bottom left;
  margin: 0;
  padding-top: 80px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  &-text {
    width: 50%;
    padding-left: 140px;
    box-sizing: border-box;
    &__title {
      font-weight: 800;
      font-size: 50px;
      line-height: 120%;
      color: #16291f;
      margin: 0;
      margin-bottom: 56px;
      max-width: 360px;
    }
    &__descr {
      font-weight: 100;
      font-size: 20px;
      line-height: 160%;
      color: #16291f;
      margin: 0;
      margin-bottom: 24px;
      max-width: 680px;
    }
    &__link {
      font-weight: bold;
      font-size: 16px;
      line-height: 140%;
      color: #029745;
      border-bottom: 1px #029745 solid;
      padding-bottom: 3px;
    }
  }
  &-quote {
    width: 50%;
    box-sizing: border-box;
    background: url('../img/ecology.png') no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 110px;
    position: relative;
    &__icon {
      position: absolute;
      top: 0;
      left: 128px;
    }
    &__text {
      font-weight: 800;
      font-size: 40px;
      line-height: 160%;
      text-transform: capitalize;
      color: #ffffff;
    }
  }
  &-fact {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding-left: 25%;
    margin-top: 80px;
    margin-bottom: 80px;
    &-item {
      width: 25%;
      background: #fafbfc url('../img/ecology_fact.svg') no-repeat top left;
      padding: 96px 72px;
      position: relative;
      margin-right: 40px;
      &__num {
        position: absolute;
        top: 14px;
        left: 29px;
        font-weight: 800;
        font-size: 40px;
        line-height: 130%;
        color: #ffffff;
      }
      &__text {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
      }
    }
  }
}

.contacts {
  padding: 0 140px;
  background: #f6f8fa;
  display: flex;
  flex-direction: column;
  &-map {
    width: 100%;
  }
  &-info {
    display: flex;
    &-item {
      display: flex;
      flex-direction: column;
      background: #ffffff;
      width: 50%;
      box-sizing: border-box;
      padding: 74px 121px;
      &__title {
        font-weight: bold;
        font-size: 20px;
        line-height: 130%;
        color: #16291f;
        margin-bottom: 16px;
      }
      &__tel {
        font-weight: 800;
        font-size: 26px;
        line-height: 130%;
        color: #029745;
        margin-bottom: 16px;
      }
      &__addr {
        font-weight: normal;
        font-size: 14px;
        line-height: 160%;
        color: #16291f;
        opacity: 0.7;
        margin-bottom: 16px;
      }
      &__email {
        font-weight: normal;
        font-size: 14px;
        line-height: 160%;
        color: #16291f;
        border-bottom: 1px solid rgba($color: #16291f, $alpha: 0.3);
        margin-right: auto;
      }
    }
    &-item:nth-child(2n + 2) {
      background: #f0f1f6;
    }
  }
}

.form {
  padding: 80px 139px 64px;
  background: #f6f8fa;
  &-ui {
    background: #029745 url('../img/form_mask.svg') no-repeat top left;
    padding: 32px 120px;
    &-inner {
      display: flex;
      flex-direction: column;
      &-heading {
        display: flex;
        align-items: flex-end;
        margin-bottom: 24px;
        &__title {
          font-weight: 800;
          font-size: 50px;
          line-height: 120%;
          color: #ffffff;
          margin-right: 80px;
        }
        &__text {
          font-weight: normal;
          font-size: 16px;
          line-height: 160%;
          color: #ffffff;
        }
      }
      &-content {
        display: flex;
        justify-content: space-between;
        margin-bottom: 24px;
        &__input {
          height: 60px;
          width: 220px;
          border-width: 0;
          border-bottom: 1px solid #fff;
          background: none;
        }
        &__input::-webkit-input-placeholder {
          font-weight: normal;
          font-size: 16px;
          line-height: 160%;
          color: #ffffff;
          opacity: 0.5;
        }
        &__button {
          background: #ffffff url('../img/form_button.png') no-repeat;
          width: 254px;
          height: 60px;
          border-width: 0;
          font-weight: bold;
          font-size: 15px;
          line-height: 120%;
          letter-spacing: 0.15em;
          color: #029745;
          cursor: pointer;
        }
      }
      &-checkbox {
        display: flex;
        align-items: center;
        &__input {
          position: absolute;
          z-index: -1;
          opacity: 0;
          display: block;
          width: 0;
          height: 0;
        }
        &__text {
          position: relative;
          padding-left: 16px;
          font-weight: normal;
          font-size: 12px;
          line-height: 160%;
          color: #ffffff;
          opacity: 0.8;
        }
        &__cb {
          width: 15px;
          height: 15px;
          transition: background 0.2s ease;
          background: url('../img/checkbox.png') 0 0 no-repeat;
        }
        &__input:checked + &__cb {
          background-image: url('../img/checkbox2.png');
        }
      }
    }
  }
}

.footer {
  background: url('../img/footer.png') no-repeat;
  padding: 27px 165px 38px 140px;
  &-navbar {
    margin-bottom: 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    &-logo {
      margin-right: 93px;
    }
  }
  &-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    justify-content: space-between;
    margin-left: 0;
    padding: 0;
    width: 100%;
    &-item {
      font-style: normal;
      font-weight: normal;
      font-size: 16px;
      line-height: 140%;
      &__link {
        color: #ffffff;
      }
    }
  }
  &-info {
    display: flex;
    align-items: center;
    &-social {
      display: flex;
      align-items: center;
      &__link {
        display: flex;
        align-items: center;
        margin-right: 24px;
      }
      &__link:last-child {
        margin-right: 0;
      }
      &__icon {
        fill: rgba($color: #fff, $alpha: 0.7);
      }
    }
    &__copy {
      font-weight: normal;
      font-size: 14px;
      line-height: 160%;
      color: #ffffff;
      opacity: 0.7;
      margin-left: 44px;
    }
    &-dev {
      display: flex;
      align-items: center;
      margin-left: auto;
      &__text {
        font-weight: normal;
        font-size: 14px;
        line-height: 160%;
        color: #ffffff;
        opacity: 0.7;
        margin-right: 7px;
      }
    }
  }
}
