main .faq {
  width: 100%;
  max-width: 1280px;
  margin-top: 120px;
  display: flex;
  flex-direction: column;
}

main .faq h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 48px;
}

main .faq .faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
main .faq .faq-list .faq-item {
  width: 100%;

  border-radius: 30px;
}

main .faq .faq-list .faq-item .faq-question {
  background: url("../img/noise.png") repeat;
  /* background-size: 80%; */
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 36px;
  cursor: pointer;
  border-radius: 30px;
  user-select: none;
  color: white;
  z-index: 100;
  transition: color 0.3s ease;
}
main .faq .faq-item.open .faq-question {
  color: #00daa9;
}

main .faq .faq-list .faq-item .faq-question h3 {
  margin: 0;
}

.arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-left: 3px solid white;
  border-top: 3px solid white;
  transform: rotate(45deg); /* стрелка вниз */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item.open .arrow {
  transform: rotate(-135deg);
  border-left-color: #00daa9;
  border-top-color: #00daa9;
}

.faq-answer {
  padding-top: 24px;
  padding-left: 80px;
  padding-right: 80px;
  display: none;
  height: 100%;
  background-color: #14181b;
}
.faq-answer p {
  margin: 0;
}

@media (max-width: 360px) {
  main .faq {
    margin-top: 72px;
    max-width: 328px;

    padding-left: 16px;
    padding-right: 16px;
  }
  main .faq h2 {
    margin-bottom: 32px;
  }
  main .faq .faq-list {
    gap: 20px;
  }
  main .faq .faq-list .faq-item {
    width: fit-content;
  }
  main .faq .faq-list .faq-item .faq-question {
    border-radius: 35px;
    padding: 16px 24px;
  }
  main .faq .faq-list .faq-item .faq-answer {
    padding-top: 12px;
    padding-left: 40px;
    padding-right: 0;
  }
  main .faq .faq-list .faq-item .faq-question h3 {
    display: block;
    width: fit-content;
  }
}
