.faq-workspace-page {
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: var(--page-bg);
  overflow-y: auto;
  overflow-x: hidden;
}

.faq-layout {
  width: min(1080px, 100%);
  margin: auto;
}

.faq-head {
  margin-bottom: 24px;
}

.faq-head h1 {
  margin: 0;
  color: #111111;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.faq-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #59616c;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.faq-list {
  border-top: 2px solid #111111;
}

.faq-item {
  border: 0;
  border-bottom: 1px solid #aeb4bc;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-question-wrap {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 68px;
  padding: 18px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover .faq-question-text,
.faq-question:focus-visible .faq-question-text {
  color: #454545;
}

.faq-question:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 4px;
}

.faq-question-text {
  min-width: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  transition: color 0.16s ease, transform 0.16s ease;
}

.faq-question:hover .faq-question-text {
  transform: translateX(3px);
}

.faq-plus {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #111111;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.faq-plus::before {
  width: 16px;
  height: 2px;
}

.faq-plus::after {
  width: 2px;
  height: 16px;
}

.faq-item.is-open .faq-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer-shell {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer-note {
  padding: 0 46px 22px 2px;
  background: transparent;
}

.faq-answer-note p {
  max-width: 780px;
  margin: 0;
  color: #4b535e;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.faq-contact-note {
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  margin-top: 24px;
  padding: 12px 16px;
  border: 2px solid #111111;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.faq-contact-note span {
  min-width: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.3;
}

.faq-contact-note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.faq-contact-note:hover {
  background: #1f1f1f;
  transform: translateY(-1px);
}

.faq-contact-note:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .faq-workspace-page {
    padding: 24px 18px;
  }

  .faq-head {
    margin-bottom: 18px;
  }

  .faq-head h1 {
    font-size: 36px;
  }

  .faq-head p {
    margin-top: 8px;
    font-size: 14px;
  }

  .faq-question {
    min-height: 60px;
    padding: 16px 0;
    gap: 14px;
  }

  .faq-question-text {
    font-size: 18px;
  }

  .faq-answer-note {
    padding: 0 34px 18px 0;
  }

  .faq-answer-note p {
    font-size: 14px;
    line-height: 1.6;
  }

  .faq-contact-note {
    min-height: 48px;
    margin-top: 18px;
    padding: 10px 12px;
  }

  .faq-contact-note span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .faq-workspace-page {
    padding: 20px 14px;
  }

  .faq-head h1 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-plus::before,
  .faq-plus::after,
  .faq-answer-shell,
  .faq-question-text,
  .faq-contact-note {
    transition: none;
  }

  .faq-contact-note:hover,
  .faq-contact-note:active {
    transform: none;
  }
}
