/* Pumpport Theme — faq.css
   SSS sayfasına özgü stiller.
   Bağımlılık: hakkimizda.css (page-hero, sec-cta-banner, reveal, sec-inner, sec-title, sec-eyebrow)
   ─────────────────────────────────────────────────────────────────────────────── */

/* ── FAQ Section ── */
.sec-faq { padding: 80px 0; background: #fff; }
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Sidebar ── */
.faq-sidebar { position: sticky; top: 110px; }
.faq-sidebar-label {
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray-lt);
  margin-bottom: 14px;
}
.faq-cat-list { display: flex; flex-direction: column; gap: 4px; }
.faq-cat-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--gray-mid);
  background: none; border: none; cursor: pointer; text-align: left;
  transition: background .15s, color .15s;
  position: relative; width: 100%;
}
.faq-cat-btn::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--red);
  border-radius: 0 3px 3px 0;
  transition: height .2s cubic-bezier(0,.82,.34,1);
}
.faq-cat-btn:hover { background: #f7f7f7; color: var(--gray); }
.faq-cat-btn.active { background: var(--red-soft); color: var(--red); font-weight: 600; }
.faq-cat-btn.active::before { height: 24px; }
.faq-cat-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: #f2f2f2; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-lt); transition: background .15s, color .15s;
}
.faq-cat-btn.active .faq-cat-icon { background: rgba(189,44,38,.12); color: var(--red); }
.faq-cat-count {
  margin-left: auto; font-size: 11px; font-weight: 600;
  background: #f0f0f0; color: var(--gray-lt);
  padding: 2px 8px; border-radius: 20px;
  transition: background .15s, color .15s;
}
.faq-cat-btn.active .faq-cat-count { background: rgba(189,44,38,.14); color: var(--red); }

.faq-sidebar-cta {
  margin-top: 32px; background: var(--dark);
  border-radius: 14px; padding: 24px 22px;
}
.faq-sidebar-cta-label {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 10px;
}
.faq-sidebar-cta-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 17px; color: #fff; margin-bottom: 10px;
}
.faq-sidebar-cta-text {
  font-size: 12.5px; color: rgba(255,255,255,.4);
  line-height: 1.7; margin-bottom: 18px;
}
.faq-sidebar-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; background: var(--red); color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 13px;
  padding: 10px 18px; border-radius: 7px;
  transition: background .2s; text-decoration: none;
}
.faq-sidebar-cta-btn:hover { background: var(--red-dark, #9e2420); }

/* ── Main Content ── */
.faq-section { display: none; }
.faq-section.active { display: block; }
.faq-section-header { margin-bottom: 32px; }
.faq-section-header .sec-eyebrow { margin-bottom: 6px; }
.faq-section-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--gray); letter-spacing: -.01em; line-height: 1.1;
}

/* ── Accordion ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  background: none; border: none; cursor: pointer; width: 100%;
  text-align: left; color: var(--gray);
}
.faq-q-text {
  font-size: 15px; font-weight: 500; line-height: 1.55;
  transition: color .15s;
}
.faq-q:hover .faq-q-text { color: var(--red); }
.faq-item.open .faq-q-text { color: var(--red); font-weight: 600; }
.faq-q-icon {
  flex-shrink: 0; margin-top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #f2f2f2; display: flex; align-items: center; justify-content: center;
  color: var(--gray-lt); transition: background .2s, color .2s, transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-q-icon { background: var(--red); color: #fff; transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .36s cubic-bezier(.4,0,.2,1), opacity .28s ease;
  opacity: 0;
}
.faq-item.open .faq-a { opacity: 1; }
.faq-a-inner {
  padding: 0 0 22px;
  font-size: 14.5px; color: var(--gray-mid); line-height: 1.85;
}
.faq-a-inner strong { color: var(--gray); font-weight: 600; }
.faq-a-inner ul {
  margin-top: 10px; padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.faq-a-inner ul li {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14px; color: var(--gray-mid);
}
.faq-a-inner ul li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red);
}
.faq-a-inner .spec-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.spec-chip {
  background: #f5f5f5; border: 1px solid var(--border);
  border-radius: 5px; padding: 4px 12px;
  font-size: 12.5px; font-weight: 500; color: var(--gray);
}
.spec-chip strong { color: var(--red); }
.faq-a-inner .highlight-note {
  margin-top: 12px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 10px 16px;
  font-size: 13.5px; color: var(--gray);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-sidebar { position: static; }
  .faq-cat-list { flex-direction: row; flex-wrap: wrap; }
  .faq-cat-btn { flex: 1; min-width: 140px; }
}
@media (max-width: 600px) {
  .sec-faq { padding: 48px 0; }
  .faq-cat-btn { font-size: 12.5px; padding: 9px 12px; }
  .faq-cat-icon { display: none; }
  .faq-cat-count { display: none; }
  .faq-q-text { font-size: 14px; }
}
