/* ===== FAQ — Neon Glass (full file) ===== */

/* Палитра секции под твой сайт (неон) */
.faq{
  --brand:   #28E0FF;                      /* cyan */
  --brand-2: #9AA7FF;                      /* violet */
  --accent:  #FFA62B;                      /* orange (на будущее) */

  --ink:     #F4FAFF;                      /* основной светлый текст */
  --muted:   rgba(214,228,255,.86);        /* вторичный текст */

  --paper:   transparent;                  /* делаем панели прозрачными */
  --stroke:  rgba(255,255,255,.06);
  --glass-brd: rgba(255,255,255,.16);
  --chip:    rgba(40,224,255,.08);         /* лёгкий неоновый тинт */
}

/* секция */
.faq{ padding:48px 0; background: transparent; }
.faq__head{ text-align:center; margin-bottom:20px; position:relative; }
.faq__sub{ margin:0; color:var(--muted); }

/* сине-лиловая «полоска» (неоновый градиент) */
.faq__tricolore{
  display:flex; height:6px; width:160px; margin:14px auto 0;
  border-radius:999px; overflow:hidden;
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 55%, var(--accent));
  box-shadow: 0 0 18px rgba(40,224,255,.45);
}
.faq__tricolore .it{ display:none; }

/* список карточек */
.faq-list{ display:grid; gap:12px; margin-top:18px; }

/* карточка: ПОЛНОСТЬЮ прозрачное «стекло» + тонкие границы и мягкая тень */
.faq-item{
  background: transparent;
  border:1px solid var(--glass-brd);
  border-radius:16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
  overflow:hidden;
  backdrop-filter:saturate(130%) blur(8px);
  -webkit-backdrop-filter:saturate(130%) blur(8px);
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease, background .3s ease;
}
.faq-item:hover{
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  box-shadow: 0 18px 46px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform: translateY(-3px);
  background: rgba(255,255,255,.03); /* лёгкий ховер-слой, остаётся «прозрачным» */
}

/* вопрос */
.faq-question{
  width:100%;
  padding:16px 56px 16px 18px;
  text-align:left;
  background: transparent;
  border:none;
  cursor:pointer;
  font-weight:800;
  position:relative;
  display:flex; align-items:center; gap:10px;
  font-family: Inter, "Manrope", system-ui, sans-serif;
  color: var(--ink);
}
.faq-item:hover .faq-question{ background: rgba(255,255,255,.02); }

/* иконка + / - (неон) */
.faq-icon{
  position:absolute; right:16px; top:50%; transform:translateY(-50%);
  width:26px; height:26px; border-radius:8px;
  background: color-mix(in srgb, var(--brand-2) 28%, rgba(255,255,255,.08));
  border:1px solid color-mix(in srgb, var(--brand) 45%, rgba(255,255,255,.5));
  display:flex; align-items:center; justify-content:center;
  box-shadow: inset 0 4px 10px color-mix(in srgb, var(--brand) 20%, transparent);
}
.faq-icon::before,
.faq-icon::after{
  content:""; position:absolute; width:12px; height:2px;
  background: var(--ink); border-radius:2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq-icon::after{ transform: rotate(90deg); }
.faq-question.active .faq-icon::after{ opacity:0; }
.faq-question.active .faq-icon{
  background: color-mix(in srgb, var(--brand-2) 40%, rgba(255,255,255,.12));
}

/* ответ */
.faq-answer{
  max-height:0; overflow:hidden;
  padding:0 18px;
  border-top:1px solid transparent;
  color: var(--muted);
  transition: max-height .18s ease, padding .25s ease, border-color .25s ease, opacity .25s ease;
  opacity:0;
}
.faq-answer.open{
  max-height:280px;
  padding:10px 18px 16px;
  border-top-color: rgba(255,255,255,.08);
  opacity:1;
}

/* адаптив */
@media (max-width: 640px){
  .faq{ padding:36px 0; }
  .faq-icon{ width:24px; height:24px; border-radius:7px; }
}
