/* =====================================================
   Mido Hasan — FAQ Section
   /assets/css/22__faq.css
   MIDO PHASE 10.4.1 FAQ SECTION ACTIVE
   ===================================================== */

.mht-faq {
  position: relative;
  background: transparent;
  overflow: clip;
  isolation: isolate;
}
.mht-faq__inner {
  position: relative;
  z-index: 1;
}
.mht-faq__head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.mht-faq__kicker {
  margin-bottom: var(--sp-5, 20px);
}
.mht-faq__heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 0;
}
.mht-faq__heading-white {
  display: block;
  color: var(--text-primary, #F6F2F7);
}
.mht-faq__heading-gradient {
  display: block;
  color: #C5A6D3;
  font-style: italic;
  font-weight: 400;
  padding-bottom: .14em;
  overflow: visible;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #C5A6D3;
  background-clip: initial;
}

/* Accordion items */
.mht-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mht-faq__item {
  border-radius: 12px;
  border: 1px solid rgba(44,37,50,.6);
  background: rgba(27,22,32,.5);
  overflow: hidden;
  transition: border-color 300ms ease;
}
.mht-faq__item.is-open {
  border-color: rgba(142,99,163,.45);
}
.mht-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary, #F6F2F7);
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.45;
  transition: color 240ms ease;
}
.mht-faq__item.is-open .mht-faq__question {
  color: #E6D8FF;
}
.mht-faq__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(183,140,255,.3);
  display: grid;
  place-items: center;
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
  color: #B78CFF;
}
.mht-faq__item.is-open .mht-faq__icon {
  transform: rotate(45deg);
  border-color: rgba(183,140,255,.6);
  background: rgba(183,140,255,.08);
}
.mht-faq__icon svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.mht-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms ease;
}
.mht-faq__item.is-open .mht-faq__answer {
  grid-template-rows: 1fr;
}
.mht-faq__answer-inner {
  overflow: hidden;
}
.mht-faq__answer-body {
  padding: 0 clamp(20px, 3vw, 28px) clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary, #AFA4B8);
  font-family: var(--font-sans);
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.7;
}
@media (max-width: 600px) {
  .mht-faq__heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}
/* Fallback: if JS fails, show all answers */
.mht-faq__answer:not(.mht-faq-js-ready .mht-faq__answer) {
  display: block;
}

/* Phase 10.10.27 — Quick Answers heading follows two-line section heading pattern */
.mht-faq__heading-white,
.mht-faq__heading-gradient {
  display: block !important;
}

.mht-faq__heading-gradient {
  color: #C5A6D3 !important;
  font-style: italic !important;
  font-weight: 400 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #C5A6D3 !important;
}
