/* ===== CONTAINER ===== */
.faq-container{
  width: 90%;
  margin: 0 auto;
}

/* ===== HERO ===== */
.faq-hero{
  position: relative;
  min-height: 420px;
  padding: 84px 0 56px;
  overflow: hidden;
  background: var(--dark-blue);
  display: flex;
  align-items: center;
}

.faq-hero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.faq-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.267)
}

.faq-hero__container{
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-hero__title{
  margin: 0;
  color: var(--white);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
}

.faq-hero__desc{
  margin: 0 0 10px;
  color: rgba(255,255,255,.80);
  font-size: 13px;
  line-height: 1.7;
  max-width: 560px;
}

/* ===== SEARCH ===== */
.faq-search{
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-search__icon{
  color: rgba(255,255,255,.85);
  font-size: 14px;
}

.faq-search__input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-family: var(--font);
}

.faq-search__input::placeholder{
  color: rgba(255,255,255,.70);
}

/* ===== PAGE ===== */
.faq-page{
  background: #f3f4f6;
  padding: 44px 0 64px;
}

.faq-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.faq-sidebar{
  position: sticky;
  top: 100px;
  align-self: start;
}

.faq-sidebar__card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.08);
  overflow: hidden;
}

.faq-sidebar__title{
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--mid-blue);
  text-align: center;
}

.faq-cats{
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-cat{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: transform .12s, border-color .12s, background .12s;
}

.faq-cat:hover{
  transform: translateY(-1px);
  border-color: rgba(245,197,24,.55);
  background: rgba(245,197,24,.10);
}

.faq-cat__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(27,42,74,.25);
  box-shadow: 0 0 0 3px rgba(245,197,24,.20);
  flex-shrink: 0;
}

.faq-cat--active{
  border-color: rgba(245,197,24,.75);
  background: rgba(245,197,24,.14);
}

.faq-cat--active .faq-cat__dot{
  background: var(--dark-blue);
}

/* ===== CONTENT ===== */
.faq-content{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-section__title{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-blue);
}

/* ===== ACCORDION ===== */
.faq-accordion{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.06);
  overflow: hidden;
}

.faq-item__q{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.faq-item__q::-webkit-details-marker{ display:none; }

.faq-item__icon{
  color: var(--yellow);
  font-size: 14px;
  transition: transform .15s;
  flex-shrink: 0;
}

.faq-item[open] .faq-item__icon{
  transform: rotate(45deg);
}

.faq-item__a{
  padding: 0 16px 14px;
  border-top: 1px solid #e5e7eb;
}

.faq-item__a p{
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.75;
}

.faq-mark{
  background: rgba(245,197,24,.35);
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

.faq-section{
  scroll-margin-top: 100px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .faq-layout{
    grid-template-columns: 1fr;
  }
  .faq-sidebar{
    position: relative;
    top: auto;
  }
}

@media (max-width: 520px){
  .faq-hero__title{ font-size: 34px; }
  .faq-section__title{ font-size: 22px; }
}