@charset "UTF-8";
/*
  $list: a, b, d, e, f;
  $new-list: insert-nth($list, 3, c);     // a, b, c, d, e, f
*/
/*
  $list: a, b, r, a, c a, d a, b, r, a;
  $new-list: replace($list, a, u);       // u, b, r, u, c a, d a, b, r, u;
*/
/*
  $list: a, b, z, d, e, f;
  $new-list: replace-nth($list,   3, c); // a, b, c, d, e, f
  $new-list: replace-nth($list,  -2, c); // a, b, c, d, z, f
*/
/*
  $list: a, b z, c, z, d, z, e, f;
  $new-list: remove($list, z);       // a, b z, c, d, e, f;
*/
/*
  $list: a, b, z, c, d, e, f;
  $new-list: remove-nth($list,   3); // a, b, c, d, e, f
  $new-list: remove-nth($list,  -2); // a, b, z, c, d, f
*/
/*
  $list: a, b, c, d, e, f;
  $new-list: slice($list, 3, 5);   // c, d, e
  $new-list: slice($list, 4, 4);   // d
*/
/*
  $list: a, b, c d e, f, g, h;
  $new-list: reverse($list);       // h, g, f, c d e, b, a
  $new-list: reverse($list, true); // h, g, f, e d c, b, a
*/
/*
    Добавляет константу к каждому значению карты.

    Пример:
      $map: (
        (1024px, 0): 100px,
        (768px, 1024px): 80px,
        (0, 768px): 60px,
      )

      > map_add($map, 10px)
      (
        (1024px, 0): 110px,
        (768px, 1024px): 90px,
        (0, 768px): 70px,
      )
 */
/*
    Получение ключа карты $map media-интервалов,
    в который входит искомый интервал $media.
    Если искомый интервал находится на границе
    двух или более интервалов карты, генерируется ошибка.

    Пример:
      $map: (
        (1024px, 0): 100px,
        (768px, 1024px): 80px,
        (0, 768px): 60px,
      )

      > media_map_key($map, (1200px, 0))
      (1024px, 0)
 */
/*
    Получение среза media-карты.

    Пример:
      $map: (
        (1024px, 0): 100px,
        (768px, 1024px): 80px,
        (0, 768px): 60px,
      )

      > media_map_slice($map, (640px, 1200px))
      (
        (1024px, 1200px): 100px,
        (768px, 1024px): 80px,
        (640px, 768px): 60px,
      )
 */
/*
  Многоколоночная верстка через flexbox.

  Пример:
    .list {
      display: flex;
      flex-wrap: wrap;

      .item {
        @include flex-columns(2, 10px, 10px);
      }
    }
*/
/*
  Пример:
    input {
      color: #808080;
      ...
      @include placeholder {
        color: red;
      }
    }
*/
.faq-form {
  padding: 20px;
  box-sizing: border-box;
  background: #35393E;
  position: relative;
  overflow: hidden;
}
@media all and (max-width: 1023px) {
  .faq-form {
    margin-top: 30px;
  }
}
.faq-form:before {
  content: "";
  background: url(/static/img/menu-bg.png);
  background-size: contain;
  position: absolute;
  z-index: 0;
  right: -15px;
  bottom: -40px;
  width: 180px;
  height: 220px;
}
.faq-form form {
  position: relative;
  z-index: 1;
}
.faq-form input, .faq-form textarea {
  background: #545558 !important;
  color: #FFFFFF !important;
}
.faq-form input:focus, .faq-form textarea:focus {
  color: #212121 !important;
  background: #FFFFFF !important;
}
.faq-form .title-h2 {
  padding-bottom: 30px;
  text-align: center;
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.3;
}
@media all and (max-width: 767px) {
  .faq-form .title-h2 {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.1111111111;
  }
}
.faq-form .buttons {
  max-width: 335px;
  margin: 0 auto;
}
.faq-form .buttons .btn {
  width: 100%;
}
.faq-form .recaptcha__text {
  margin: 0 auto;
  text-align: center;
}
@media all and (max-width: 479px) {
  .faq-form .recaptcha__text {
    text-align: left;
  }
}



/* ── FAQ Board layout ─────────────────────────────────────── */
.faq-board {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 20px 0 40px;
}

/* Left nav */
.faq-board__nav {
  flex: 0 0 180px;
  position: sticky;
  top: 90px;
  background: #0e1810;
  border: 1px solid rgba(45,122,79,.28);
  border-radius: 12px;
  padding: 16px 0;
  overflow: hidden;
}
.faq-board__nav-head {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  padding: 0 16px 10px;
}
.faq-board__nav-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.faq-board__nav-topic:hover {
  background: rgba(45,122,79,.18);
  color: #fff;
  border-left-color: rgba(45,122,79,.7);
}
.faq-board__nav-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.faq-board__nav-count {
  font-size: .7rem;
  font-weight: 400;
  opacity: .45;
  margin-left: 6px;
  flex-shrink: 0;
}
.faq-board__nav-divider {
  margin: 10px 0;
  border-top: 1px solid rgba(45,122,79,.2);
}
.faq-board__nav-ask {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: #02C294;
  text-decoration: none;
  border-left: 3px solid transparent;
  opacity: .85;
  transition: background .18s, opacity .18s, border-color .18s;
}
.faq-board__nav-ask:hover {
  background: rgba(2,194,148,.08);
  border-left-color: #02C294;
  opacity: 1;
}

/* Main board */
.faq-board__main {
  flex: 1;
  min-width: 0;
}

/* Board section (one per topic) */
.faq-board-section {
  margin-bottom: 20px;
  border: 1px solid rgba(45,122,79,.28);
  border-radius: 12px;
  overflow: hidden;
  scroll-margin-top: 100px;
}
.faq-board-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(90deg, #0e1c10 0%, #122015 100%);
  border-bottom: 1px solid rgba(45,122,79,.22);
}
.faq-board-section__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  opacity: .85;
}
.faq-board-section__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.faq-board-section__name {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.faq-board-section__count {
  font-size: .72rem;
  color: #02C294;
  opacity: .75;
}

/* Thread list */
.faq-thread-list {
  background: #080f09;
}
.faq-thread {
  border-bottom: 1px solid rgba(45,122,79,.1);
}
.faq-thread:last-child {
  border-bottom: none;
}

/* Question row — keeps .faq__title for accordion JS */
.faq__title.faq-thread__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background .18s;
}
.faq__title.faq-thread__q:hover {
  background: rgba(45,122,79,.1);
}
.faq-thread__q-bubble {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg,#1a472a 0%,#2d7a4f 100%);
  border: 1px solid rgba(45,122,79,.5);
  color: #02C294;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.faq-thread__q-text {
  flex: 1;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  line-height: 1.45;
}
.faq-thread__toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(45,122,79,.4);
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  transition: border-color .18s, color .18s, transform .2s;
}
.faq-thread__toggle::before {
  content: '+';
}
.faq__title--open .faq-thread__toggle {
  border-color: #02C294;
  color: #02C294;
  transform: rotate(45deg);
}
.faq__title--open .faq-thread__q-text {
  color: #fff;
}

/* Answer row — keeps .faq__text for accordion JS (jQuery sets display:block) */
.faq__text.faq-thread__a {
  display: none;
  background: rgba(2,194,148,.04);
  border-top: 1px solid rgba(45,122,79,.12);
}
.faq-thread__a-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px 16px;
}
.faq-thread__a-bubble {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(2,194,148,.12);
  border: 1px solid rgba(2,194,148,.3);
  color: #02C294;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.faq-thread__a-body {
  flex: 1;
  min-width: 0;
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
}
.faq-thread__a-body p:first-child { margin-top: 0; }
.faq-thread__a-body p:last-child  { margin-bottom: 0; }
.faq-thread__a-body a {
  color: #02C294;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Ask form section */
.faq-ask-section {
  margin-top: 8px;
  border: 1px solid rgba(45,122,79,.28);
  border-radius: 12px;
  overflow: hidden;
  scroll-margin-top: 100px;
}
.faq-ask-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(90deg, #0e1c10 0%, #122015 100%);
  border-bottom: 1px solid rgba(45,122,79,.22);
}
.faq-ask-section__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.faq-ask-section__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-ask-section__name {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}
.faq-ask-section__sub {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}
.faq-ask-section__body {
  padding: 24px 24px 20px;
  background: #080f09;
}
.faq-ask-section__body .faq-form {
  background: transparent;
  padding: 0;
}
.faq-ask-section__body .faq-form:before { display: none; }
.faq-ask-section__body .buttons { max-width: none; margin-top: 16px; }
.faq-ask-section__body .buttons .btn { width: auto; }
.faq-ask-section__body .recaptcha__wrapper { margin-top: 12px; }
.faq-ask-section__body .recaptcha__text {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  text-align: left;
}

/* Responsive */
@media (max-width: 900px) {
  .faq-board { flex-wrap: wrap; gap: 16px; }
  .faq-board__nav {
    flex: none;
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 12px;
    border-radius: 10px;
  }
  .faq-board__nav-head { width: 100%; }
  .faq-board__nav-topic {
    border-left: none;
    border-radius: 20px;
    border: 1px solid rgba(45,122,79,.28);
    padding: 5px 12px;
    font-size: .78rem;
  }
  .faq-board__nav-divider { display: none; }
  .faq-board__nav-ask {
    border-left: none;
    border-radius: 20px;
    border: 1px solid rgba(2,194,148,.3);
    padding: 5px 12px;
    font-size: .78rem;
  }
  .faq-board__main { flex: none; width: 100%; }
}


/* ── Board section ask-about link ─────────────────────────── */
.faq-board-section__ask {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(45,122,79,.2);
  transition: color .18s, border-color .18s, background .18s;
}
.faq-board-section__ask:hover {
  color: #02C294;
  border-color: rgba(2,194,148,.4);
  background: rgba(2,194,148,.06);
}
