@charset "UTF-8";

/* =====================
   FAQ – Section Title
===================== */
#faq .sectionTitle {
  background: none !important;
}
#faq .sectionTitle::before {
  content: 'FAQ';
}

/* =====================
   FAQ – Category
===================== */
.faq-category {
  margin-bottom: 60px;
}
.faq-category:last-of-type {
  margin-bottom: 0;
}

.faq-category__title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-dark);
  padding: 10px 0 10px 18px;
  border-left: 4px solid var(--clr-yellow);
  margin-bottom: 6px;
}

/* =====================
   FAQ – Accordion Item
===================== */
.faq-item {
  border-bottom: 1px solid var(--clr-gray);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--clr-gray);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--clr-dark);
  letter-spacing: 0.03em;
  line-height: 1.55;
  transition: background 0.2s ease;
  position: relative;
}
.faq-question::before {
  content: 'Q';
  font-family: 'Spartan', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--clr-yellow);
  flex-shrink: 0;
  margin-right: 4px;
}
.faq-question:hover {
  background: rgba(246, 209, 30, 0.07);
}
.faq-question[aria-expanded="true"] {
  background: rgba(246, 209, 30, 0.06);
}

/* Plus / Minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--clr-dark);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Horizontal bar */
.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
/* Vertical bar */
.faq-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
/* When open: rotate to X / minus */
.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-question[aria-expanded="true"] .faq-icon::before {
  background: var(--clr-yellow);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px 0 20px;
}
.faq-answer.is-open {
  max-height: 600px;
  padding: 0 20px 24px 20px;
}
.faq-answer p {
  font-size: 1.4rem;
  line-height: 1.95;
  color: #555;
  position: relative;
  margin: 0;
}

/* =====================
   FAQ – Contact CTA
===================== */
.faq-contact {
  margin-top: 72px;
  text-align: center;
  padding: 48px 32px;
  background: var(--clr-gray-bg);
  border-radius: var(--radius);
}
.faq-contact > p:first-child {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

/* =====================
   Responsive
===================== */
@media screen and (max-width: 767px) {
  .faq-category {
    margin-bottom: 48px;
  }
  .faq-category__title {
    font-size: 1.5rem;
    padding-left: 14px;
  }
  .faq-question {
    font-size: 1.4rem;
    padding: 18px 14px;
  }
  .faq-question::before {
    font-size: 1.5rem;
  }
  .faq-answer {
    padding: 0 14px 0 14px;
  }
  .faq-answer.is-open {
    padding: 0 14px 20px 14px;
  }
  .faq-answer p {
    font-size: 1.35rem;
  }
  .faq-contact {
    padding: 36px 20px;
    margin-top: 56px;
  }
}
