/* ==========================================================================
   MAPS TOWING — FAQ PAGE
   ========================================================================== */

/* --- Hero --- */
.faqp-hero {
  position: relative;
  background: var(--graphite-850);
  height: 580px;
  padding: 0 var(--side-pad) 52px;
  overflow: hidden;
}

.faqp-hero__glow {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  pointer-events: none;
}

.faqp-hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 112px;
}

.faqp-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.faqp-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.faqp-hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 78px;
  color: var(--graphite-50);
  max-width: 750px;
  text-shadow: 0 4px 32px rgba(255, 56, 0, 0.12), 0 4px 40px rgba(0, 0, 0, 0.32);
}

.faqp-hero__title span {
  color: var(--primary-2);
}

.faqp-hero__sub {
  font-size: 16px;
  line-height: 22px;
  color: var(--graphite-250);
  max-width: 600px;
}

.faqp-hero__search .hero-search__field {
  width: 440px;
}

/* --- List section --- */
.faqp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 72px var(--side-pad) 144px;
}

.faqp__filters {
  align-self: stretch;
}

.faqp__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 650px;
  max-width: 100%;
}

.faqp__empty {
  font-size: 16px;
  line-height: 22px;
  color: var(--graphite-450);
  text-align: center;
  max-width: 650px;
}

/* --- Q&A item --- */
.qa {
  border-bottom: 1px solid var(--graphite-200);
  padding-bottom: 16px;
}

.qa__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.qa__q {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  color: var(--graphite-800);
  transition: color 0.2s var(--ease);
}

.qa.is-open .qa__q {
  color: var(--graphite-900);
}

.qa__btn {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--primary-1);
  background: var(--grad-secondary);
  box-shadow: 0 4px 12px rgba(255, 56, 0, 0.06);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.qa__btn img {
  width: 20px;
  height: 20px;
}

.qa__minus {
  display: none;
}

.qa.is-open .qa__btn {
  border: 0;
  background: var(--grad-primary);
  box-shadow: 0 4px 14px rgba(255, 56, 0, 0.24);
}

.qa.is-open .qa__plus {
  display: none;
}

.qa.is-open .qa__minus {
  display: block;
}

/* Collapsible answer */
.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.qa__a-inner {
  overflow: hidden;
}

.qa__a-inner p {
  padding-top: 6px;
  font-size: 16px;
  line-height: 22px;
  color: var(--graphite-700);
  max-width: 578px;
}

.qa.is-open .qa__a {
  grid-template-rows: 1fr;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 1023.98px) {
  .faqp-hero {
    padding: 96px var(--side-pad-mobile) 40px;
  }

  .faqp-hero__glow {
    top: 232px;
    width: 534px;
    height: 523px;
  }

  .faqp-hero__inner {
    padding-top: 0;
  }

  .faqp-hero__title {
    font-size: 44px;
    line-height: 50px;
    font-weight: 600;
  }

  .faqp-hero__search {
    width: 100%;
  }

  .faqp-hero__search .hero-search__field {
    width: 100%;
  }

  .faqp {
    gap: 24px;
    padding: 72px var(--side-pad-mobile) 144px;
  }

  .faqp__list {
    width: 100%;
  }

  .qa__btn {
    width: 48px;
    height: 48px;
  }

  .qa__btn img {
    width: 16px;
    height: 16px;
  }
}

.qa[hidden] { display: none; }
