div.home-title-wrapper {
  display: block;
}

.section__title {
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--title-color);
  margin-bottom: 30px;
}

section {
  margin-top: 80px;
  padding: 0;
}

section.form-section{
  margin-bottom: inherit;
}

@media screen and (min-width: 640px){
  section.form-section{
    margin-bottom: inherit;
  }
}

@media screen and (min-width: 1000px) {
  section {
    margin-top: 120px;
  }

  .section__title {
    font-size: 30px;
    line-height: 39px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 640px) {
  section {
    margin-top: 60px;
  }

  .section__title {
    font-family: var(--title-font);
    font-size: 21px;
    font-weight: 600;
    line-height: 27px;
    letter-spacing: 0em;
    text-align: left;
  }

}

/* карусель Схема работы */
section.scheme {
  margin-top: 80px;
  padding: 0;
}

.scheme__container {
  overflow: hidden;
}

.scheme__container .carousel-container-wrapper .owl-stage-outer {
  overflow: visible;
  padding-bottom: 0;
}

.scheme__container .carousel-container .owl-stage {
  padding-top: 0;
  display: flex;
}

.scheme__item {
  box-sizing: border-box;
  background: #F7F7F7;
  border-radius: 4px;
  padding: 30px 30px 40px 30px;
  width: 419px;
  min-height: 280px;
}

.carousel .item.scheme__item {
  margin-right: 0;
}

.scheme__item .num {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--background);
  font: 400 14px/150% var(--text-font);
  color: var(--dark-grey-color);
  margin-bottom: 41px;
  padding-top: 3px;
}

.scheme__item .text {
  font: 400 16px/150% var(--text-font);
  color: var(--title-color);
}

.scheme__item .text br {
  display: none;
}

@media screen and (min-width: 1000px) {
  section.scheme {
    margin-top: 90px;
    padding: 0;
  }

  .scheme__item {
    width: auto;
    height: auto;
    min-height: 343px;
    padding: 30px 30px 40px 30px;
  }

  .carousel-container.owl-drag .owl-item {
    max-width: 311px;
  }

  .scheme__item .num {
    margin-bottom: 30px;
  }

}

.scheme__container .carousel-container-wrapper.wrapper {
  width: calc(100% - 48px);
}

@media (max-width: 960px) {
  .scheme__container .carousel-container-wrapper.wrapper {
    width: calc(100% - 60px);
  }
}

@media (max-width: 640px) {
  .scheme__container .carousel-container-wrapper.wrapper {
    width: calc(100% - 52px);
  }

  .scheme__item {
    width: 272px;
    min-height: 376px;
  }
}

@media (max-width: 500px) {
  .scheme__container .carousel-container-wrapper.wrapper {
    width: calc(100% - 32px);
  }
}

/* конец Схема работы */

/* Используем только качественные материалы */

.materials__container {
  display: flex;
  flex-wrap: nowrap;
  row-gap: 15px;
  flex-direction: column;
}

.materials__item {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  display: flex;
  border: 1px solid #C1C1C1;
  border-radius: 4px;
  align-items: start;
  border: 1px solid var(--line-color);
  padding: 29px;
  min-height: unset;
  flex-direction: row;
  align-items: center;
}

.materials__item img {
  box-sizing: border-box;
  margin-right: unset;
  margin-bottom: 0;
  width: 25px;
  height: 25px;
  margin-right: 30px;
}

.materials__item .text {
  font: 400 16px/24px var(--text-font);
  color: var(--dark-grey-color);
  margin-top: -2px;
}

.materials__item._btn {
  flex-direction: column;
  background: #F7F7F7;
  border-radius: 4px;
  border: 1px solid #F7F7F7;
  padding: 32px 30px 30px;
}

.materials__item._btn .text {
  font: 600 18px/130% var(--title-font);
  color: var(--title-color);
}

.materials__item._btn .btn-link {
  width: 264px;
  margin-top: 30px;
}

.materials .need-help {
  background: var(--block-background);
  padding: 41px 47px 39px 40px;
  margin-top: 15px;
  border-radius: 6px;
}

.materials .need-help__title {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--text-color);
  margin-bottom: 10px;
}

.materials .need-help__desc {
  font-family: var(--text-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--text-color);
}

.materials .button {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  font: 500 12px var(--text-font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--background);
  border-radius: 4px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 0;
  margin: 0;
  margin-top: 20px;
  max-width: 256px;
  padding: 10px 41px 10px;
  box-sizing: border-box;
  white-space: nowrap;
}

@media screen and (min-width: 1000px) {
  .materials__container {
    column-gap: 30px;
    flex-direction: row;
  }

  .materials__item {
    padding: 40px 50px 40px 30px;
    min-height: 203px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 6px;
  }

  .materials__item._btn {
    justify-content: space-between;
    padding: 20px;
  }

  .materials__item .text {
    font-size: 16px;
  }

  .materials__item._btn .btn-link {
    width: 100%;
    margin-top: unset;
  }

  .materials__item img {
    margin-bottom: 21px;
    margin-right: 0;
  }

  .materials .need-help {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  section.materials {
    margin-top: 60px;
  }

  .materials__item {
    align-items: flex-start;
  }

  .materials__item {
    row-gap: 22px;
  }

  .materials .need-help {
    margin-top: 22px;
  }

  .materials__container {
    row-gap: 22px;
  }

  .materials .need-help__desc{
    width:85%;
  }
}

@media screen and (max-width: 374px) {
  .materials .need-help__desc{
    width:100%;
  }
}

/* конец Используем только качественные материалы */

/* map */

.map-section .section__title {
  margin-bottom: 30px;
}

.map-section .text-block {
  margin-bottom: 40px;
}

.map-section .text-block p {
  font-family: var(--text-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--title-color);
}

.yandex-map {
  max-width: 1320px;
  margin: auto;
}

#yandex-map {
  height: 496px;
  overflow: hidden;
}

@media screen and (max-width: 999px) {
  .map-section .section__title {
    margin-bottom: 20px;
  }

  .map-section .text-block p {
    font-family: var(--text-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: var(--text-color);
    width: 80%;
  }

  #yandex-map {
    height: 350px;
  }
}

@media screen and (max-width: 640px) {
  section.map-section {
    margin-top: 60px;
  }

  .map-section .text-block p {
    width: 100%;
  }
}

/* end map */

/*------------- БЛОК ВОПРОСЫ ------------*/

.questions .questions__title {
  margin-bottom: 30px;
}

.questions-question {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 40px;
  font: normal 500 16px/20px var(--text-font);
  color: var(--title-color);
  border-top: 1px solid var(--line-color);
  margin: 0 -15px;
  padding: 28px 20px 31px 15px;
}

.questions-answer__list {
  list-style: disc;
  margin: 0 16px;
}

.questions-answer__list li {
  list-style: disc outside none;
  padding: 0 0 20px 10px;
}

.questions-question.j-dd-button {
  cursor: pointer;
}

.questions .arrow {
  display: inline-block;
  cursor: pointer;
}

.questions .arrow span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--dark-grey-color);
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: opacity 0.1s ease 0.1s, -webkit-transform 0.2s;
  transition: opacity 0.1s ease 0.1s, -webkit-transform 0.2s;
  -o-transition: transform 0.2s, opacity 0.1s ease 0.1s;
  transition: transform 0.2s, opacity 0.1s ease 0.1s;
  transition: transform 0.2s, opacity 0.1s ease 0.1s, -webkit-transform 0.2s;
  opacity: 1;
}

.questions .arrow span:nth-child(1) {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  position: relative;
  top: 2px;
}

.questions .active .arrow span {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.questions .active .arrow span:nth-child(2) {
  opacity: 0;
  -webkit-transform: rotate(90deg) translate(-1.5px, 0px);
  -ms-transform: rotate(90deg) translate(-1.5px, 0px);
  transform: rotate(90deg) translate(-1.5px, 0px);
}

.questions-answer__wrapper {
  display: none;
}

.questions-answer {
  color: var(--text-color);
  font-size: 16px;
  padding: 0 0 30px 0;
}

.questions-answer p {
  width: 80%;
  color: var(--text-color);
  margin-bottom: 20px;
}

.questions-answer .img-desc {
  font: 400 12px/150% var(--text-font);
  color: var(--text-color);
  padding-top: 12px;
}

.questions img {
  margin-top: 27px;
}

section.questions {
  margin-top: 100px;
  border-bottom: 1px solid var(--line-color);
}

.questions .item:last-of-type {
  border-bottom: 1px solid transparent;
}

@media (min-width: 680px) {
  section.questions {
    border-bottom: 1px solid transparent;
  }

  .questions .item:last-of-type {
    border-bottom: 1px solid var(--line-color);
  }

  section.questions {
    border-bottom: none;
  }

  .questions .item:last-of-type {
    border-bottom: 1px solid var(--line-color);
  }

  .questions .small-wrapper {
    margin: 0 auto;
  }

  .questions .item {
    padding-left: 0;
    padding-right: 0;
  }

  .questions-question {
    margin: 0;
    padding: 30px 30px 33px 0;
  }

  .questions .arrow {
    margin-top: 0;
  }

  .questions .arrow span {
    width: 16px;
  }

  .questions-question-text {
    width: 87%;
  }

  .questions-answer {
    padding: 0;
    margin-bottom: 28px;
  }

  .questions .questions__title {
    padding-left: 0;
  }
}

@media (min-width: 1000px) {
  section.questions {
    margin-top: 120px;
  }

  .questions .questions__title {
    font: 600 30px/39px var(--title-font);
    margin-bottom: 40px;
  }

  .questions-question {
    background: #f8f8f8;
    border-top: 1px solid transparent;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    font: 500 18px/27px var(--text-font);
    padding: 30px 30px 32.5px 40px;
  }

  .questions .item:last-of-type {
    border-bottom: 1px solid transparent;
  }

  .questions .item:not(:last-of-type) {
    margin-bottom: 9px;
  }

  .questions-answer__list {
    margin: 0 16px 1.5px;
  }

  .questions-answer__list li {
    padding: 0 0 19.5px 10px;
  }

  .questions .arrow span {
    width: 18px;
    background-color: var(--main-color);
  }

  .questions-answer__list li:last-child {
    padding-bottom: 0;
  }

  .questions-answer {
    width: 67%;
    font-size: 18px;
    line-height: 27px;
    padding: 20.5px 83px 49px;
    margin: 0;
  }

  .questions-answer p {
    margin-bottom: 29px;
  }
}

@media (max-width: 640px) {
  section.questions {
    margin-top: 80px;
  }

  .questions-question {
    padding: 30px 14px 30px 15px;
    line-height: 23px;
  }
}

/*------------- БЛОК ВОПРОСЫ ------------*/

section.zahodi {
  margin-bottom: 80px;
}

@media screen and (min-width: 1000px) {
  section.zahodi {
    margin-bottom: 120px;
  }
}

@media screen and (max-width: 640px) {
  section.zahodi {
    margin-bottom: 60px;
  }
}

section.form-template.form-footer.form-section {
  padding-bottom: 0;
}