/* =====================================================
   APEX IP — sections/faq.css
   FAQ — left header + native <details> accordion
   ===================================================== */

.apx-faq {
  width: 100%;
  max-width: var(--apx-canvas);
  margin: 0 auto;
  padding: 80px var(--apx-pad-x);
  background: #000;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ---------- Header ---------- */
.apx-faq-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.apx-faq-title {
  color: #F2F2F2;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
}

.apx-faq-body {
  max-width: 628px;
  color: #F2F2F2;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
}

/* ---------- List ---------- */
.apx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apx-faq-item {
  background: #0A0A0A;
  border: 1px solid rgba(51, 51, 51, 0.40);
  border-radius: 16px;
  overflow: hidden;
}

.apx-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #F2F2F2;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.apx-faq-q::-webkit-details-marker { display: none; }

/* +/- icon */
.apx-faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23E5300B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}

.apx-faq-item[open] .apx-faq-q::after {
  transform: rotate(45deg);
}

.apx-faq-a {
  padding: 0 32px 28px;
  color: #C7C7C7;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .apx-faq-title { font-size: 40px; }
}

@media (max-width: 600px) {
  .apx-faq { gap: 40px; }
  .apx-faq-title { font-size: 30px; }
  .apx-faq-q { padding: 22px 20px; font-size: 18px; }
  .apx-faq-a { padding: 0 20px 22px; font-size: 16px; line-height: 25px; }
}
