section#consult {
  position: relative;
  overflow: hidden;
}
section#consult .wrapper {
  padding: 40px 0;
  position: relative;
  z-index: 2;
}
section#consult .wrapper > span {
  color: #435871;
  font-family: "Rubik Regular", sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
  display: block;
}
section#consult .wrapper h1 {
  font-weight: normal;
  color: #435871;
  font-size: 40px;
}
section#consult .wrapper p {
  font-size: 16px;
  color: #435871;
  margin-bottom: 45px;
}
section#consult .wrapper b {
  font-family: "BellMT Regular", sans-serif;
  color: #435871;
  font-size: 40px;
  display: block;
  margin-bottom: 20px;
  line-height: 0.9;
}
section#consult .wrapper > span,
section#consult .wrapper h1,
section#consult .wrapper > p {
  padding-right: 400px;
  line-height: 1.4;
}
section#consult .wrapper .card {
  background: #ffffff;
  box-shadow: 0px 5px 22px rgba(49, 76, 117, 0.1);
  border-radius: 11px;
  padding: 38px 50px;
  padding-right: 150px;
  width: 705px;
  position: relative;
  z-index: 2;
}
section#consult .wrapper .card h2 {
  color: #435871;
  font-size: 30px;
  font-family: "Rubik SemiBold", sans-serif;
  margin-bottom: 20px;
}
section#consult .wrapper .card p {
  margin-bottom: 53px;
}
section#consult .wrapper .card::after {
  content: "";
  width: 85px;
  height: 100px;
  background-image: url("../images/consult/icons/question.svg");
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 35px;
  right: 45px;
  transform: rotate(-0.92deg);
}
section#consult .wrapper .card a.btn-primary {
  height: 46px;
  width: 290px;
}
section#consult::before {
  content: "";
  width: 440px;
  height: 636px;
  background-image: url("../images/consult/tree.png");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  bottom: -180px;
  z-index: 1;
}
section#consult::after {
  content: "";
  width: 557px;
  height: 652px;
  background-image: url("../images/consult/house.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  bottom: -90px;
  z-index: 1;
}

@media screen and (max-width: 1200px) {
  section#consult .wrapper h1 {
    padding-right: 0;
  }
  section#consult .wrapper > p {
    padding-right: 420px;
    margin-bottom: 90px;
  }
}
@media screen and (max-width: 760px) {
  section#consult .wrapper {
    padding-top: 10px;
  }
  section#consult .wrapper > span {
    padding-right: 0;
  }
  section#consult .wrapper h1 {
    font-size: 18px;
  }
  section#consult .wrapper b {
    font-size: 30px;
  }
  section#consult .wrapper > p {
    padding-right: 0;
  }
  section#consult .wrapper .card {
    width: 100%;
    padding: 20px;
    padding-right: 20px;
  }
  section#consult .wrapper .card h2 {
    font-size: 21px;
    margin-bottom: 10px;
  }
  section#consult .wrapper .card p {
    margin-bottom: 30px;
  }
  section#consult .wrapper .card::after {
    opacity: 0.05;
  }
  section#consult .wrapper .card a.btn-primary {
    width: 100%;
  }
  section#consult::before {
    bottom: -300px;
  }
  section#consult::after {
    right: -328px;
    bottom: -278px;
  }
}
@media screen and (max-width: 500px) {
  section#consult .wrapper > p {
    margin-bottom: 40px;
  }
}
