/* ==========================================================================

   ОГЛАВЛЕНИЕ (block-06-faq.css) — Блок 6: FAQ

   0. Переход 5→6 — светящий шарик на стыке (без фона)

   1. FAQ по центру (горизонтально и вертикально в секции)

   2. Аккордеон вопросов

   ========================================================================== */

/* 0. Переход: только шарик по границе блоков 5 и 6, без своего фона */

.section-divider--b5-b6 {
  height: 72px;
  position: relative;
  z-index: 4;
  background: transparent;
  overflow: visible;
  margin-top: -36px;
  margin-bottom: -36px;
  pointer-events: none;
}

.section-divider--b5-b6 .section-divider__line,

.section-divider--b5-b6 .section-divider__orb {
  display: none;
}

/* «Солнышко» — движение слева направо (16s), без луча вниз */
.b5b6-sun-unit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  animation: b5b6OrbTravel 16s linear infinite;
  will-change: transform;
}

.b5b6-sun-core {
  position: absolute;
  left: -7.5px;
  top: -7.5px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffef5 0%, #ffe566 28%, #ffb347 52%, #ff7a1a 72%, transparent 100%);
  box-shadow:
    0 0 12px rgba(255, 240, 180, 0.95),
    0 0 26px rgba(255, 180, 60, 0.75),
    0 0 40px rgba(255, 107, 26, 0.45);
}

@keyframes b5b6OrbTravel {
  0% { transform: translateX(-48vw); }
  100% { transform: translateX(48vw); }
}

.block-06 {
  background: var(--color-bg-mid);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.block-06__fx {
  position: absolute;
  inset: 0;
  top: 0;
  height: 200px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.b5b6-question {
  position: absolute;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 210, 120, 0.7);
  text-shadow: 0 0 14px rgba(255, 159, 61, 0.55);
  animation: b5b6QuestionFall 5.2s ease-in forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes b5b6QuestionFall {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5) rotate(-8deg);
  }
  12% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(175px) scale(1.05) rotate(6deg);
  }
}

.block-06__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-10px);
}

.block-06__title {
  text-align: center;
  width: 100%;
  margin-top: -100px;
  margin-bottom: var(--gap-lg);
}

.block-06__faq {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  margin-top: 40px;
}

.block-06__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.block-06__faq-q {
  width: 100%;
  text-align: left;
  padding: var(--gap-md) 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.block-06__faq-q::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.25rem;
  transition: transform var(--duration-fast);
}

.block-06__faq-item.is-open .block-06__faq-q::after {
  transform: rotate(45deg);
}

.block-06__faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  transition: max-height var(--duration-normal), padding var(--duration-normal);
}

.block-06__faq-item.is-open .block-06__faq-a {
  max-height: 200px;
  padding-bottom: var(--gap-md);
}

@media (prefers-reduced-motion: reduce) {
  .b5b6-sun-unit {
    animation: none;
    transform: translateX(0);
  }
  .b5b6-question {
    display: none;
  }
}
