/* ===== Секция «Вопрос - ответ» ===== */

.faq {
  position: relative;
  overflow: hidden;
  padding: 9.8rem 0 26rem;
  background: linear-gradient(180deg, #687f63 0%, #87a580 50%, #687f63 100%);
  font-family: 'Inter', sans-serif;
}

/* Заголовок секции */
.faq__title {
  position: relative;
  z-index: 1;
  margin: 0 auto 10rem;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 900;
  font-size: 10rem;
  line-height: 1.16;
  text-align: center;
  color: #ffffff;
}

/* Список вопросов */
.faq__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  box-sizing: border-box;
  max-width: 192rem;
  margin: 0 auto;
  padding: 0 37.9rem 0 26.8rem;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5rem solid #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 6.4rem;
  line-height: normal;
  color: #ffffff;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* Плюс справа, при открытии поворачивается в крестик */
.faq__item summary::after {
  content: '+';
  flex: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 6.4rem;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

/* Ответ */
.faq__answer {
  max-width: 110rem;
  padding: 2.4rem 0 1rem;
}

.faq__answer p {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

/* Декоративные еловые ветки */
.faq__decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.faq__decor--branch-tl {
  left: 8.4rem;
  top: 17.6rem;
  width: 27.8rem;
  height: 59.1rem;
  transform: translate(-50%, -50%) rotate(-55.88deg) scaleY(-1);
}

.faq__decor--branch-br {
  right: 16.6rem;
  bottom: 13.5rem;
  width: 27.8rem;
  height: 59.1rem;
  transform: translate(50%, 50%) rotate(124.12deg) scaleY(-1);
}

.faq__decor--cones-bl {
  left: 8rem;
  bottom: 13.5rem;
  width: 41.3rem;
  height: 27.5rem;
  transform: translate(-50%, 50%) rotate(-20.41deg) scaleY(-1);
}

.faq__decor--cones-tr {
  right: 8.6rem;
  top: 13.1rem;
  width: 41.3rem;
  height: 27.5rem;
  transform: translate(50%, -50%) rotate(159.59deg) scaleY(-1);
}

/* ===== Мобильная версия ===== */
@media (max-width: 768px) {
  .faq {
    padding: 6rem 0 10rem;
  }

  .faq__title {
    margin-bottom: 4rem;
    font-size: 3.6rem;
  }

  .faq__list {
    gap: 3rem;
    padding: 0 2rem;
  }

  .faq__item summary {
    gap: 1.6rem;
    padding-bottom: 0.8rem;
    border-bottom-width: 0.2rem;
    font-size: 1.8rem;
  }

  .faq__item summary::after {
    font-size: 2.6rem;
  }

  .faq__answer {
    max-width: none;
    padding: 1.2rem 0 0.4rem;
  }

  .faq__answer p {
    font-size: 1.6rem;
  }

  .faq__decor--branch-tl {
    left: 2rem;
    top: 4rem;
    width: 11rem;
    height: 23.4rem;
  }

  .faq__decor--cones-tr {
    right: 1rem;
    top: 3rem;
    width: 16rem;
    height: 10.7rem;
  }

  .faq__decor--branch-br {
    right: 2rem;
    bottom: 3rem;
    width: 11rem;
    height: 23.4rem;
  }

  .faq__decor--cones-bl {
    display: none;
  }
}
