/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */

.vg-faq {
  padding: 5rem 1.5rem;
  background: var(--white);
}

.vg-faq__inner {
  max-width: 900px;
  margin: 0 auto;
}

.vg-faq__search {
  margin-bottom: 3rem;
}

.vg-faq__search-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.vg-faq__search-box:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 8px 24px rgba(128, 0, 32, 0.1);
}

.vg-faq__search-box svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.vg-faq__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
}

.vg-faq__search-input::placeholder {
  color: var(--text-muted);
}

.vg-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vg-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.vg-faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vg-faq-item.vg-faq-item--active {
  border-color: var(--maroon);
  box-shadow: 0 8px 28px rgba(128, 0, 32, 0.12);
}

.vg-faq-item--hidden {
  display: none;
}

.vg-faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.vg-faq-item__text {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.vg-faq-item__icon {
  width: 24px;
  height: 24px;
  color: var(--maroon);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.vg-faq-item--active .vg-faq-item__icon {
  transform: rotate(180deg);
}

.vg-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.vg-faq-item--active .vg-faq-item__answer {
  max-height: 300px;
}

.vg-faq-item__answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .vg-faq {
    padding: 3.5rem 1.25rem;
  }

  .vg-faq-item__question {
    padding: 1.25rem;
  }

  .vg-faq-item__answer p {
    padding: 0 1.25rem 1.25rem;
  }
}
