/* ===== FAQ — Dyson Forestry (Cyber-Neon Orange/Red) ===== */
/* Полный код (без повторов), под твою палитру: тёмная база + оранж/красный неон */

.faq{
  /* Dyson palette */
  --accent:        #ff8a00;                 /* orange (primary) */
  --accent-2:      #ff3b2f;                 /* red-orange (secondary) */
  --accent-soft:   rgba(255, 138, 0, 0.12);
  --accent-strong: rgba(255, 138, 0, 0.92);

  --ink:           rgba(255,255,255,0.92);  /* main text */
  --muted:         rgba(255,255,255,0.68);  /* secondary text */

  --stroke:        rgba(255, 138, 0, 0.18);
  --glass-brd:     rgba(255, 138, 0, 0.22);
  --chip:          rgba(9, 10, 14, 0.92);   /* deep charcoal glass */
}

/* section */
.faq{
  background: transparent; /* общий фон сайта */
}

/* header */
.faq__head{
  text-align: center;
  position: relative;
}
.faq__sub{
  margin: 0;
  color: var(--muted);
}

/* neon line */
.faq__tricolore{
  display: flex;
  height: 6px;
  width: 170px;
  margin: 14px auto 0;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--accent),
    rgba(255,255,255,0.48) 45%,
    var(--accent-2)
  );
  box-shadow:
    0 0 18px rgba(255,138,0,0.26),
    0 0 28px rgba(255,59,47,0.18);
}
.faq__tricolore .it{ display:none; }

/* list */
.faq-list{
  display: grid;
  gap: 12px;
}

/* card */
.faq-item{
  background:
    radial-gradient(circle at 0 0, rgba(255,138,0,0.08), transparent 55%),
    rgba(8, 9, 12, 0.88);
  border: 1px solid var(--glass-brd);
  border-radius: 18px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.faq-item:hover{
  border-color: rgba(255,138,0,0.52);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.62),
    0 0 28px rgba(255, 138, 0, 0.18),
    0 0 22px rgba(255, 59, 47, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translateY(-3px);
  background:
    radial-gradient(circle at 0 0, rgba(255,138,0,0.14), transparent 60%),
    radial-gradient(circle at 100% 20%, rgba(255,59,47,0.10), transparent 55%),
    rgba(8, 9, 12, 0.94);
}

/* question button */
.faq-question{
  width: 100%;
  padding: 16px 56px 16px 18px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;

  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;

  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.faq-item:hover .faq-question{
  background: rgba(0, 0, 0, 0.16);
}

/* plus/minus icon */
.faq-icon{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 9px;

  background: radial-gradient(
    circle at 30% 0,
    rgba(255,59,47,0.22),
    rgba(0,0,0,0.86)
  );
  border: 1px solid rgba(255,138,0,0.52);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    inset 0 4px 10px rgba(255,138,0,0.14),
    0 0 14px rgba(255,138,0,0.18),
    0 0 10px rgba(255,59,47,0.12);
}

.faq-icon::before,
.faq-icon::after{
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after{ transform: rotate(90deg); }
.faq-question.active .faq-icon::after{ opacity: 0; }

/* active icon state */
.faq-question.active .faq-icon{
  background: radial-gradient(
    circle at 50% 0,
    rgba(255,138,0,0.55),
    rgba(0,0,0,0.86)
  );
  border-color: rgba(255,59,47,0.50);
  box-shadow:
    inset 0 4px 10px rgba(255,59,47,0.16),
    0 0 16px rgba(255,138,0,0.22),
    0 0 14px rgba(255,59,47,0.18);
}

/* answer */
.faq-answer{
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  border-top: 1px solid transparent;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;

  transition:
    max-height 0.18s ease,
    padding 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
  opacity: 0;
}

.faq-answer.open{
  max-height: 280px;
  padding: 10px 18px 16px;
  border-top-color: rgba(255,138,0,0.20);
  opacity: 1;
}

/* responsive */
@media (max-width: 640px){
  .faq{ padding: 36px 0; }
  .faq-icon{
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }
}
