.faq-main {
  width: 100%;
  color: #171717;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.faq-main *,
.faq-main *::before,
.faq-main *::after {
  box-sizing: border-box;
}

.faq-main [hidden] {
  display: none !important;
}

.faq-hero {
  position: relative;
  padding: 100px 40px 80px;
  background: #171717;
  color: #ffffff;
}

.faq-hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.faq-hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #ff681e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-hero-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #ff681e;
}

.faq-hero h1 {
  max-width: 1000px;
  margin: 0 0 24px;
  padding: 0;
  color: #ffffff;
  font-size: clamp(38px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.faq-hero-description {
  max-width: 750px;
  margin: 0 0 40px;
  color: #c5c5c5;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.faq-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 750px;
  min-height: 64px;
  background: #ffffff;
  border: 1px solid #ffffff;
  transition: border-color 0.2s ease;
}

.faq-search:focus-within {
  border-color: #ff681e;
  outline: 2px solid #ff681e;
  outline-offset: 2px;
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 25px;
  height: 25px;
  color: #ff681e;
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-search-input {
  display: block;
  width: 100%;
  height: 62px;
  margin: 0;
  padding: 0 58px 0 64px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: #171717;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  appearance: none;
  -webkit-appearance: none;
}

.faq-search-input::placeholder {
  color: #888888;
  opacity: 1;
}

.faq-search-input::-webkit-search-cancel-button {
  display: none;
}

.faq-search-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: #f3f3f3;
  color: #171717;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.faq-search-clear:hover {
  background: #ff681e;
  color: #ffffff;
}

.faq-content {
  padding: 65px 40px 90px;
  background: #f5f5f5;
}

.faq-content-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 55px;
}

.faq-category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid #dddddd;
  border-radius: 0;
  background: #ffffff;
  color: #171717;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.faq-category-button:hover {
  color: #ff681e;
  border-color: #ff681e;
}

.faq-category-button.is-active {
  background: #ff681e;
  border-color: #ff681e;
  color: #ffffff;
}

.faq-category-button:focus-visible,
.faq-search-clear:focus-visible,
.faq-empty button:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

.faq-list {
  width: 100%;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  margin: 36px 0 16px;
  padding: 0;
  color: #171717;
  font-family: inherit;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-transform: none;
}

.faq-category-title:empty {
  display: none;
}

.faq-group > .faq-category-title {
  margin: 0 0 12px;
}

.faq-item:first-child > .faq-category-title {
  margin-top: 0;
}

.faq-item {
  min-width: 0;
}

.faq-accordion {
  width: 100%;
  margin: 0;
  border: 1px solid #e1e1e1;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.faq-accordion:hover {
  border-color: #ff681e;
}

.faq-accordion[open] {
  border-color: #ff681e;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  margin: 0;
  padding: 20px 26px;
  list-style: none;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-question:focus-visible {
  outline: 2px solid #ff681e;
  outline-offset: -2px;
}

.faq-question-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #171717;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.faq-question-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: #f2f2f2;
  color: #171717;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.faq-question-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

.faq-icon-vertical {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.faq-question:hover .faq-question-icon {
  background: #ff681e;
  color: #ffffff;
}

.faq-accordion[open] .faq-question-text {
  color: #ff681e;
}

.faq-accordion[open] .faq-question-icon {
  background: #ff681e;
  color: #ffffff;
}

.faq-accordion[open] .faq-icon-vertical {
  opacity: 0;
}

.faq-answer {
  padding: 0 90px 28px 26px;
  color: #555555;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.faq-answer p {
  margin: 0 0 14px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 12px 0 18px;
  padding-left: 24px;
}

.faq-answer ul {
  list-style-type: disc;
}

.faq-answer ol {
  list-style-type: decimal;
}

.faq-answer li {
  margin: 0 0 8px;
}

.faq-answer strong,
.faq-answer b {
  color: #171717;
  font-weight: 700;
}

.faq-answer a {
  color: #ff681e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: #e95612;
}

.faq-answer img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.faq-answer iframe {
  max-width: 100%;
}

.faq-answer table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.faq-empty {
  padding: 65px 25px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  text-align: center;
}

.faq-empty h3 {
  margin: 0 0 16px;
  color: #171717;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.faq-empty p {
  margin: 0 0 24px;
  color: #777777;
  font-size: 15px;
  line-height: 1.6;
}

.faq-empty button {
  min-height: 50px;
  padding: 14px 26px;
  border: 0;
  background: #ff681e;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-empty button:hover {
  background: #e95612;
}

@media (max-width: 1024px) {
  .faq-hero {
    padding: 80px 30px 65px;
  }

  .faq-content {
    padding: 50px 30px 70px;
  }

  .faq-categories {
    margin-bottom: 42px;
  }

  .faq-question {
    min-height: 76px;
  }
}

@media (max-width: 767px) {
  .faq-hero {
    padding: 55px 20px 45px;
  }

  .faq-hero-label {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .faq-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(32px, 6vw, 46px);
  }

  .faq-hero-description {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .faq-search {
    min-height: 56px;
  }

  .faq-search-input {
    height: 54px;
    padding-left: 48px;
    padding-right: 45px;
    font-size: 16px;
  }

  .faq-search-icon {
    left: 15px;
    width: 22px;
    height: 22px;
  }

  .faq-search-clear {
    right: 8px;
    width: 30px;
    height: 30px;
  }

  .faq-content {
    padding: 35px 20px 50px;
  }

  .faq-categories {
    gap: 8px;
    margin-bottom: 32px;
  }

  .faq-category-button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .faq-group {
    gap: 10px;
    margin-bottom: 30px;
  }

  .faq-category-title {
    font-size: 25px;
  }

  .faq-question {
    min-height: 68px;
    padding: 16px;
    gap: 14px;
  }

  .faq-question-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-question-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .faq-question-icon svg {
    width: 20px;
    height: 20px;
  }

  .faq-answer {
    padding: 0 16px 22px;
    font-size: 14px;
    line-height: 1.75;
  }

  .faq-empty {
    padding: 40px 20px;
  }

  .faq-empty h3 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-main *,
  .faq-main *::before,
  .faq-main *::after {
    transition: none !important;
  }
}
.faq-main .faq-hero {
  padding: 45px 40px 40px;
}

.faq-main .faq-hero h1 {
  max-width: 1200px;
  margin: 0 0 18px;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.faq-main .faq-hero-description {
  max-width: 1000px;
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.6;
}

.faq-main .faq-search {
  max-width: 750px;
  min-height: 56px;
}

.faq-main .faq-search-input {
  height: 54px;
  font-size: 15px;
}

.faq-main .faq-content {
  padding: 40px 40px 70px;
}

.faq-main .faq-categories {
  gap: 10px;
  margin-bottom: 30px;
}

.faq-main .faq-category-button {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid #dddddd;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
}

.faq-main .faq-category-button:focus,
.faq-main .faq-category-button:active {
  outline: none;
  box-shadow: none;
}

.faq-main .faq-category-button.is-active {
  background: #ff681e;
  border-color: #ff681e;
  color: #ffffff;
  box-shadow: none;
}

.faq-main .faq-category-button:focus-visible {
  outline: 2px solid #ff681e;
  outline-offset: 3px;
  box-shadow: none;
}

.faq-main .faq-category-title {
  margin: 24px 0 14px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.faq-main .faq-group > .faq-category-title {
  margin: 0 0 12px;
}

.faq-main .faq-group {
  gap: 10px;
  margin-bottom: 35px;
}

.faq-main .faq-group:last-child {
  margin-bottom: 0;
}

.faq-main .faq-question {
  min-height: 70px;
  padding: 15px 24px;
  gap: 20px;
}

.faq-main .faq-question-text {
  font-size: 16px;
  font-weight: 600;
}

.faq-main .faq-question-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.faq-main .faq-question-icon svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 1024px) {
  .faq-main .faq-hero {
    padding: 40px 30px 35px;
  }

  .faq-main .faq-content {
    padding: 35px 30px 60px;
  }
}

@media (max-width: 767px) {
  .faq-main .faq-hero {
    padding: 35px 20px 30px;
  }

  .faq-main .faq-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(28px, 5.5vw, 36px);
    line-height: 1.15;
  }

  .faq-main .faq-hero-description {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .faq-main .faq-search-input {
    font-size: 16px;
  }

  .faq-main .faq-content {
    padding: 28px 20px 45px;
  }

  .faq-main .faq-categories {
    gap: 8px;
    margin-bottom: 25px;
  }

  .faq-main .faq-category-button {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .faq-main .faq-category-title {
    font-size: 20px;
  }

  .faq-main .faq-group {
    margin-bottom: 28px;
  }

  .faq-main .faq-question {
    min-height: 64px;
    padding: 14px 16px;
    gap: 12px;
  }

  .faq-main .faq-question-text {
    font-size: 14px;
  }

  .faq-main .faq-question-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .faq-main .faq-question-icon svg {
    width: 19px;
    height: 19px;
  }
}
/* HERO */
.faq-hero-title {
  word-spacing: 0.08em;
  line-height: 1.08;
}

.faq-hero-text {
  word-spacing: 0.04em;
  line-height: 1.6;
}

/* Кнопки-категории */
.faq-filter-btn {
  word-spacing: 0.04em;
}

/* Заголовки разделов */
.faq-section-title {
  word-spacing: 0.2em;
  line-height: 1.15;
}

/* Вопросы */
.faq-question-text {
  word-spacing: 0.03em;
  line-height: 1.45;
}