/* =========================
   FAQ (Dedicated CSS)
========================= */

.faq {
  background: #f6f7f9;
  padding: clamp(28px, 4vw, 56px) 0;
}

.faq__container {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 18px;
}

.faq__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.02em;
}

.faq__subtitle {
  margin: 6px 0 0;
  opacity: 0.75;
  font-size: 0.98rem;
}

.faq__controls {
  display: grid;
  gap: 12px;
  margin: 18px 0 18px;
}

.faq__search {
  position: relative;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  padding: 10px 12px;
}

.faq__label {
  display: block;
  font-size: 0.82rem;
  opacity: 0.7;
  margin: 2px 0 6px;
}

.faq__input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 10px 34px 10px 0;
}

.faq__clear {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  line-height: 26px;
  font-size: 18px;
  opacity: 0.65;
}

.faq__clear:hover { opacity: 1; }

.faq__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq__chip {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.faq__chip.is-active {
  border-color: rgba(0,0,0,0.28);
  transform: translateY(-1px);
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__qtext {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.faq__icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 18px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 2px;
  background: rgba(0,0,0,0.65);
  border-radius: 99px;
}

.faq__icon::after {
  transform: rotate(90deg);
  transition: transform .18s ease;
}

.faq__item.is-open .faq__icon::after {
  transform: rotate(0deg);
}

.faq__aInner {
  padding: 0 16px 14px;
  opacity: 0.92;
  line-height: 1.6;
}

.faq__a {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.faq__empty {
  text-align: center;
  padding: 18px;
  opacity: 0.75;
}

/* Mobile polish */
@media (max-width: 576px) {
  .faq__q { padding: 14px 14px; }
  .faq__qtext { font-size: 0.98rem; }
  .faq__aInner { padding: 0 14px 14px; }
}