/* ==============================
   FAQ PAGE STYLES
   ============================== */

/* --- Page Hero (Content Header) --- */
.tt-page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--color-blue-gray) 0%, var(--color-light-yellow) 100%);
  text-align: center;
}

.tt-page-hero__title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-black);
  margin-top: 8px;
  margin-bottom: 16px;
}

.tt-page-hero__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.7;
}

/* --- Category Navigation (Sticky) --- */
.tt-faq-nav {
  background: var(--color-white);
  border-bottom: 1px solid #E0E4E8;
  padding: 0 20px;
}

.tt-faq-nav__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tt-faq-nav__btn {
  display: block;
  padding: 16px 24px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  white-space: nowrap;
  position: relative;
  transition: color 0.3s ease;
}

.tt-faq-nav__btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--color-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tt-faq-nav__btn:hover {
  color: var(--color-main);
}

.tt-faq-nav__btn.is-active {
  color: var(--color-main);
}

.tt-faq-nav__btn.is-active::after {
  transform: scaleX(1);
}

/* --- FAQ Category Section --- */
.tt-faq-category {
  padding: 64px 20px 80px;
  background: var(--color-white);
}

.tt-faq-category--alt {
  background: var(--color-blue-gray);
}

.tt-faq-category__inner {
  max-width: 900px;
  margin: 0 auto;
}

.tt-faq-category__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tt-faq-category__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tt-faq-category__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tt-faq-category__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.4;
}

.tt-faq-category__sub {
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.5;
  margin-top: 4px;
}

.tt-faq-category__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Override FAQ item background on alt sections */
.tt-faq-category--alt .tt-faq-item {
  background: var(--color-white);
}

.tt-faq-category--alt .tt-faq-item.is-open {
  background: var(--color-white);
}

/* ==============================
   RESPONSIVE: Tablet (768px)
   ============================== */
@media (max-width: 768px) {
  .tt-page-hero {
    padding: 100px 0 40px;
  }

  .tt-page-hero__title {
    font-size: 28px;
  }

  .tt-faq-nav__btn {
    padding: 14px 16px;
    font-size: 13px;
  }

  .tt-faq-category {
    padding: 48px 16px 64px;
  }

  .tt-faq-category__title {
    font-size: 22px;
  }

  .tt-faq-category__header {
    margin-bottom: 28px;
  }
}

/* ==============================
   RESPONSIVE: Mobile (480px)
   ============================== */
@media (max-width: 480px) {
  .tt-page-hero {
    padding: 80px 0 32px;
  }

  .tt-page-hero__title {
    font-size: 24px;
  }

  .tt-faq-nav__btn {
    padding: 12px 12px;
    font-size: 12px;
  }

  .tt-faq-category {
    padding: 40px 16px 56px;
  }

  .tt-faq-category__title {
    font-size: 20px;
  }
}
