.guide-faq {
  background-color: var(--color-white);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-faq__container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  width: 100%;
}

.guide-faq__header {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.guide-faq__icon {
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.guide-faq__icon-img {
}

.guide-faq__title {
  font-family: var(--font-family-main);
  font-size: var(--font-size-4);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-main);
  letter-spacing: 3.2px;
  white-space: pre;
  margin: 0;
}

.guide-faq__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1120px;
  padding: 32px 0;
}

.guide-faq__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 1120px;
}

.guide-faq__question {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guide-faq__question:hover {
  opacity: 0.8;
}

.guide-faq__question-mark {
  background-color: var(--color-main);
  padding: 6px 11px;
  border-radius: 20px;
  font-family: var(--font-family-accent);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.14;
  color: var(--color-white);
  white-space: pre;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-faq__question-text {
  font-family: var(--font-family-special);
  font-size: var(--font-size-7);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  flex: 1;
}

.guide-faq__toggle {
  width: 16px;
  height: 16px;
  position: relative;
}
.guide-faq__toggle:before,
.guide-faq__toggle:after {
  background-color: var(--color-main);
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  height: 3px;
}


.guide-faq__toggle:after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s ease;
}
.guide-faq__item.active .guide-faq__toggle:after {
  transform: translateY(-50%) rotate(180deg);
}

.guide-faq__answer {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.guide-faq__item.active .guide-faq__answer {
  max-height: 500px;
}

.guide-faq__answer-mark {
  background-color: #d7d7d7;
  padding: 6px 11px;
  border-radius: 20px;
  font-family: var(--font-family-accent);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.14;
  color: var(--color-main);
  white-space: pre;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-faq__answer-text {
  font-family: var(--font-family-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  flex: 1;
}

.guide-faq__answer-text p {
  margin: 0;
}

.guide-faq__link {
  color: var(--color-text);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.guide-faq__link:hover {
  color: var(--color-main);
}

@media screen and (max-width: 960px) {
  .guide-faq {
    padding: 40px 0;
  }
  .guide-faq__container {
    gap: 24px;
  }
  .guide-faq__header {
    position: relative;
  }
  .guide-faq__title {
    font-size: var(--font-size-6);
  }
  .guide-faq__icon {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  .guide-faq__icon-img {
  }
  
  .guide-faq__content {
    padding: 0;
  }
  .guide-faq__question-mark {
    font-size: var(--font-size-8);
  }
}
