.block-faq {
  margin-bottom: 60px;
}

.block-faq__body {
  display: flex;
  grid-column-gap: 30px;
}

.block-faq__form {
  position: sticky;
  top: 115px;
  height: 370px;
  width: 32%;
  display: flex;
  flex-direction: column;
  padding: 40px 45px;
  border-radius: 5px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.block-faq__form::before {
  content: "";
  background: linear-gradient(180deg, rgba(24, 22, 20, 0.8) 0%, rgba(24, 22, 20, 0) 100%);
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

.block-faq__form .title {
  position: relative;
  z-index: 15;
  color: var(--card);
  padding-bottom: 20px;
}

.block-faq__form .btn-main {
  position: relative;
  z-index: 15;
  margin-top: auto;
  max-width: 100%;
  width: 100%;
}

.block-faq__items {
  width: 68%;
}

.block-faq__items .faq-item {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  background: var(--card);
  margin-bottom: 10px;
  border: 1px solid transparent;
  transition: border 0.3s ease;
}

.block-faq__items .faq-item:last-child {
  margin-bottom: 0px;
}

.block-faq__items .faq-item.hidden {
  display: none !important;
}

.block-faq__items .faq-item .faq-item__arrow svg {
  color: var(--text);
}

.block-faq__items .faq-item.active {
  border: 1px solid var(--primary);
}

.block-faq__items .faq-item.active .faq-item__arrow {
  background: var(--text);
  transform: rotateX(180deg);
}

.block-faq__items .faq-item.active .faq-item__arrow svg {
  color: var(--card);
}

.block-faq__items .faq-item__header {
  display: flex;
  align-items: center;
  grid-column-gap: 15px;
  position: relative;
  padding: 30px 25px 30px 40px;
  cursor: pointer;
}

.block-faq__items .faq-item__header::before {
  content: "";
  background: var(--primary);
  width: 5px;
  height: calc(100% - 30px);
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.block-faq__items .faq-item__text {
  display: none;
  padding: 20px 40px 30px 40px;
  position: relative;
}

.block-faq__items .faq-item__text::before {
  content: "";
  background: var(--primary);
  width: calc(100% - 80px);
  height: 1px;
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-50%);
}

.block-faq__items .faq-item__arrow {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background 0.3s, transform 0.3s ease;
}

.block-faq__items .faq-item__arrow svg path {
  transition: stroke 0.3s ease;
}

@media (max-width: 1200px) {
  .block-faq__form {
    padding: 20px;
  }

  .block-faq__items .faq-item__header {
    padding: 15px 15px 15px 20px;
  }

  .block-faq__items .faq-item__text {
    padding: 15px 15px 15px 20px;
  }

  .block-faq__items .faq-item__text::before {
    width: calc(100% - 30px);
  }
}

@media (max-width: 991px) {
  .block-faq {
    margin-bottom: 40px;
  }

  .block-faq__body {
    flex-direction: column-reverse;
  }

  .block-faq__form {
    position: relative;
    top: 0px;
    height: auto;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .block-faq__form .title br {
    display: none;
  }

  .block-faq__items {
    margin-bottom: 30px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .block-faq__faq {
    min-width: 380px;
  }
}

/*# sourceMappingURL=block.css.map */