/* ═══════════════════════════════════════════
   FAQ Page
   ═══════════════════════════════════════════ */

.section--faq {
  padding-block: 140px 100px;
}

.faq__header {
  text-align: center;
  margin-bottom: 80px;
}

.faq__title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  color: #fff;
  letter-spacing: 0.05em;
}

.faq__content {
  max-width: 900px;
  margin: 0 auto;
}

.faq__category {
  margin-bottom: 60px;
}

.faq__category-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--clr-accent);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq__item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq__item.is-active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--clr-accent);
}

.faq__trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  gap: 20px;
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Horizontal line */
.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

/* Vertical line */
.faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__item.is-active .faq__icon::before {
  background: var(--clr-accent);
}

.faq__item.is-active .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq__answer-inner {
  padding: 0 24px 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #A6A9A2;
}

/* FAQ Banner */
.faq__banner {
  margin-top: 100px;
  position: relative;
  display: flex;
  background: #0B0B0B;
  border: none;
  border-radius: 0;
  overflow: hidden;
  min-height: 400px;
  -webkit-mask: url(#tile-mask-1);
  mask: url(#tile-mask-1);
}

.faq__banner-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.faq__banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.faq__banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(90deg, rgba(11, 11, 11, 1) 0%, rgba(11, 11, 11, 0.8) 40%, transparent 100%);
}

.faq__banner-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  color: #fff;
  line-height: 1.1;
  max-width: 500px;
}

.faq__banner-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #A6A9A2;
  max-width: 460px;
}

.faq__banner-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 42px;
  padding: 0 48px;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 10px;
  background: none;
}

.faq__banner-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/btn-secondary-black.svg') no-repeat center;
  background-size: 100% 100%;
  z-index: -1;
  transition: all 0.2s ease;
}

.faq__banner-btn:hover {
  transform: translateY(-2px);
  color: #DFDCBD;
}

@media (max-width: 992px) {
  .faq__banner {
    min-height: auto;
  }

  .faq__banner-content {
    padding: 60px 30px;
    background: linear-gradient(0deg, rgba(11, 11, 11, 1) 0%, rgba(11, 11, 11, 0.7) 100%);
    text-align: center;
    align-items: center;
  }

  .faq__banner-desc {
    max-width: 100%;
  }

  .faq__banner-title {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .faq__header {
    margin-bottom: 40px;
  }

  .faq__category {
    margin-bottom: 40px;
  }

  .faq__trigger {
    padding: 16px 20px;
    font-size: 16px;
  }

  .faq__answer-inner {
    padding: 0 20px 20px;
    font-size: 14px;
  }
}

.faq__legal-wrap {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .faq__legal-wrap {
    justify-content: center;
  }
}

/* FAQ Atmospheric Background */
.faq__atmospheric-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.faq__atmospheric-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: blur(2px) brightness(0.75);
}
