.eco-banner {
  --padding-box: 24px;
}
.eco-banner__inner {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding: var(--padding-box);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.eco-banner__bg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.eco-banner__logo {
  position: absolute;
  z-index: 1;
  bottom: var(--padding-box);
  left: var(--padding-box);
  height: 68px;
}
.eco-banner__content {
  width: 100%;
  max-width: 511px;
  background-color: var(--primary-main);
  color: var(--text-white);
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-top: 166px;
  min-height: 450px;
  padding: 24px;
}
.eco-banner__content ._decor {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 190px;
  z-index: 1;
  background-color: #4F7177;
  -webkit-clip-path: polygon(0 100%, 100% 20%, 100% 100%, 0 100%);
          clip-path: polygon(0 100%, 100% 20%, 100% 100%, 0 100%);
}
.eco-banner__title {
  margin-bottom: 16px;
  padding-bottom: 16px;
  position: relative;
}
.eco-banner__title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background-color: var(--secondary-main);
}
@media (max-width: 1024px) {
  .eco-banner__logo {
    top: var(--padding-box);
    bottom: auto;
  }
}
@media (max-width: 600px) {
  .eco-banner {
    --padding-box: 16px;
  }
  .eco-banner__inner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(17, 17, 17, 0.7)), color-stop(40.93%, rgba(17, 17, 17, 0)));
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.7) 0%, rgba(17, 17, 17, 0) 40.93%);
  }
  .eco-banner__content {
    padding: 25px 16px;
    min-height: 200px;
    margin-top: 180px;
  }
  .eco-banner__content ._decor {
    height: 120px;
  }
  .eco-banner__logo {
    top: 24px;
    height: 42px;
  }
}