/* ============================================================
   FAQ Section — Accordion + dual transparent video slots
   ============================================================ */

.faq-section {
  padding: clamp(44px, 6vh, 72px) 0;
}

.faq-showcase {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1.36fr) minmax(180px, 0.82fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  max-width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---- Video slots ---- */
.faq-video-slot {
  min-height: 420px;
}

.faq-video-slot__frame {
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 215, 106, .05), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 22, .72), rgba(7, 10, 16, .78));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
}

.faq-video-slot__stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.faq-video-slot__media {
  display: block;
  width: min(100%, 280px);
  max-height: 92%;
  object-fit: contain;
  transform:
    translate(var(--faq-video-offset-x, 0px), var(--faq-video-offset-y, 0px))
    scale(var(--faq-video-scale, 1));
  transform-origin: center center;
}

.faq-video-slot__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  transform:
    translate(var(--faq-video-offset-x, 0px), var(--faq-video-offset-y, 0px))
    scale(var(--faq-video-scale, 1));
  transform-origin: center center;
}

.faq-video-slot__empty-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(238, 244, 255, .62);
}

.faq-video-slot__empty-hint {
  font-size: 12px;
  color: rgba(200, 212, 232, .42);
}

/* ---- Accordion ---- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(10, 14, 22, .62);
  overflow: hidden;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 215, 106, .18);
  background: rgba(12, 16, 24, .72);
}

.faq-item.is-open {
  border-color: rgba(255, 215, 106, .32);
  background: rgba(14, 18, 28, .78);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 215, 106, .08);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #f4f8ff;
  font: inherit;
}

.faq-item__question {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.45;
}

.faq-item.is-open .faq-item__question {
  color: #ffe89a;
}

.faq-item__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 215, 106, .85);
  transform: translate(-50%, -50%);
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1), opacity .22s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  opacity: 0;
}

.faq-item__panel {
  height: 0;
  overflow: hidden;
  transition: height .28s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__panel-inner {
  padding: 0 20px 18px;
}

.faq-item__panel-inner p {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.75;
  color: rgba(220, 228, 240, .82);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .faq-showcase {
    grid-template-columns: 1fr;
    max-width: min(760px, calc(100% - 32px));
  }

  .faq-video-slot {
    min-height: 280px;
  }

  .faq-video-slot__frame,
  .faq-video-slot__stage {
    min-height: 280px;
  }

  .faq-video-slot--left {
    order: 2;
  }

  .faq-accordion {
    order: 1;
  }

  .faq-video-slot--right {
    order: 3;
  }
}

@media (max-width: 560px) {
  .faq-item__trigger {
    padding: 16px;
  }

  .faq-item__panel-inner {
    padding: 0 16px 16px;
  }
}
