.faq {
  padding: 6.25vw 0;
}

.faq .title__section {
  text-align: center;
}

.faq__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.04vw;
  margin-top: 2.08vw;
}

.faq_items__columns {
  display: grid;
  grid-auto-rows: -webkit-max-content;
  grid-auto-rows: max-content;
  gap: 1.04vw;
}

.faq__item {
  padding: 1.56vw 2.08vw;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.1);
  border-radius: 1.04vw;
}

.faq__item__title {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 3.23vw;
  display: flex;
  align-items: center;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}

.faq__item__title::before,
.faq__item__title::after {
  content: "";
  width: 1.4vw;
  height: 0.15vw;
  background: rgba(111, 110, 115, 1);
  border-radius: 0.143vw;
  position: absolute;
  right: 0;
  transition: 0.3s -webkit-transform;
  transition: 0.3s transform;
  transition: 0.3s transform, 0.3s -webkit-transform;
}

.faq__item__title::before {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.faq__item.active .faq__item__title::before {
  -webkit-transform: rotate(0);
  transform: rotate(0);
}

.faq__item__title p {
  font-size: 1.25vw;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.01vw;
  padding-right: 1.3vw;
}

.faq__item__desc {
  font-size: 0.937vw;
  font-weight: 400;
  line-height: 1.51vw;
  display: grid;
  gap: 1.56vw;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0, 1, 0, 1);
}

.faq__item.active .faq__item__desc {
  max-height: 100vw;
  transition: max-height 1s ease-in-out;
}

.faq__item__desc > span {
  display: block;
}

.faq__item__desc > span:first-child {
  padding-top: 2.08vw;
}

.faq__item__link {
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .faq {
    padding: 80px 0;
  }

  .faq__items {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .faq_items__columns {
    gap: 20px;
  }

  .faq__item {
    border-radius: 20px;
    padding: 24px 30px;
  }

  .faq__item__title {
    height: 74px;
  }

  .faq__item__title p {
    font-size: clamp(23px, 3.22vw, 24px);
    letter-spacing: 0.2px;
    padding-right: 45px;
  }

  .faq__item__desc {
    font-size: 16px;
    line-height: 25px;
    gap: 30px;
  }

  .faq__item__desc > span:first-child {
    padding-top: 36px;
  }

  .faq__item__title::before,
  .faq__item__title::after {
    width: 26px;
    height: 3px;
    border-radius: 3px;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: 60px 0 40px;
  }

  .faq .title__section {
    text-align: left;
  }

  .faq__items {
    margin-top: 20px;
  }

  .faq__item {
    padding: 0;
    border-radius: 12px;
  }

  .faq__item__title {
    padding: 17px 20px;
    height: unset;
    min-height: 38px;
  }

  .faq__item__title p {
    font-size: 16px;
    padding-right: 30px;
  }

  .faq__item__title::before,
  .faq__item__title::after {
    width: 15px;
    height: 2px;
    right: 20px;
  }

  .faq__item__desc {
    font-size: 14px;
    line-height: 22px;
    padding: 0;
    gap: 20px;
  }

  .faq__item__desc > span:first-child {
    padding: 0 20px 20px;
  }
}
