/* ============================================================
   FAQ.CSS — Volant LLC
============================================================ */

/* ============================================================
   FAQ HERO
============================================================ */

.faq-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(rgba(10, 10, 10, 0.48), rgba(10, 10, 10, 0.62)),
    url("/images/FAQ.jpg")
    center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
  padding-top: 13rem;
}

.faq-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(230, 173, 58, 0) 0%,
    rgba(230, 173, 58, 0.55) 40%,
    rgba(230, 173, 58, 0) 100%
  );
  z-index: 3;
}

.faq-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.2) 65%,
    rgba(10, 10, 10, 0.04) 100%
  );
  z-index: 1;
}

.faq-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 4.5rem;
}

.faq-hero-label {
  color: var(--volant-gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: block;
}

.faq-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.88;
  font-weight: 800;
  margin-bottom: 1.35rem;
  max-width: 820px;
  letter-spacing: -0.01em;
}

.faq-hero h1 span {
  color: var(--volant-gold);
}

.faq-hero-sub {
  color: rgba(217, 226, 234, 0.85);
  font-size: 1.1rem;
  line-height: 1.72;
  max-width: 540px;
}

/* ============================================================
   FAQ TAB NAV — sticky
============================================================ */

.faq-tab-nav {
  position: sticky;
  top: 72px; /* matches site-header height */
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid #dde3ec;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-tab-nav-inner {
  display: flex;
  gap: 0;
}

.faq-tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a7f8e;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.faq-tab svg {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.faq-tab:hover {
  color: var(--dark);
}

.faq-tab:hover svg {
  opacity: 1;
}

.faq-tab.active {
  color: var(--volant-blue);
  border-bottom-color: var(--volant-gold);
}

.faq-tab.active svg {
  opacity: 1;
  color: var(--volant-gold);
}

/* ============================================================
   FAQ SECTIONS
============================================================ */

.faq-section {
  background: var(--white);
  position: relative;
}

.faq-section--alt {
  background: linear-gradient(160deg, #f5f7fa 0%, #edf1f7 100%);
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 22, 32, 0.08), transparent);
}

.faq-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.faq-section-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(230, 173, 58, 0.1);
  border: 1px solid rgba(230, 173, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volant-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.faq-section-tag {
  color: var(--volant-blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.faq-section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--dark);
  line-height: 1.0;
  letter-spacing: -0.01em;
}

/* ============================================================
   FAQ ACCORDION
============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #dde3ec;
}

.faq-item {
  border-bottom: 1px solid #dde3ec;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--volant-blue);
}

.faq-item--open .faq-question {
  color: var(--volant-blue);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--volant-gold);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
}

.faq-item--open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding-bottom: 0;
}

.faq-item--open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.75rem;
}

.faq-answer p {
  color: #4d5d6b;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 760px;
}

.faq-answer p a {
  color: var(--volant-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   STILL HAVE QUESTIONS — dark industrial
============================================================ */

.faq-still-questions {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.faq-still-questions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 130, 197, 0.06) 0%, transparent 60%);
  z-index: 0;
}

.faq-still-questions::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(230, 173, 58, 0) 0%,
    rgba(230, 173, 58, 0.4) 50%,
    rgba(230, 173, 58, 0) 100%
  );
}

.faq-still-questions-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.faq-still-label {
  color: var(--volant-gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.faq-still-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.faq-still-text p {
  color: rgba(217, 226, 234, 0.75);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 480px;
}

.faq-still-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1024px) {
  .faq-still-questions-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .faq-still-actions {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .faq-hero {
    min-height: 44vh;
    padding-top: 10rem;
  }

  .faq-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .faq-tab {
    padding: 1rem 1.25rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .faq-tab svg {
    display: none;
  }

  .faq-section-header {
    flex-direction: column;
    gap: 1rem;
  }

  .faq-question {
    font-size: 0.97rem;
  }
}

@media (max-width: 540px) {
  .faq-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .faq-tab-nav-inner {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .faq-tab-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .faq-still-actions {
    flex-direction: column;
    width: 100%;
  }

  .faq-still-actions .btn {
    text-align: center;
  }
}