.faq-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 20px;
  text-align: center;
}
.faq-hero .hero__eyebrow { text-align: center; }
.faq-hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--text);
}
.faq-hero__sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto;
}

.faq-section {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:has(.faq-item__question.open) { border-color: var(--accent); }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  text-align: right;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-item__question.open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item__answer-wrap.open { grid-template-rows: 1fr; }

.faq-item__answer { overflow: hidden; }
.faq-item__answer p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__answer-wrap, .faq-item__icon { transition: none; }
}

/* ============ Mobile Refinements (320-430px) ============ */

/* --- FAQ hero --- */
@media (max-width: 480px) {
  .faq-hero { padding: 40px 16px 16px; }
  .faq-hero__title { font-size: clamp(24px, 6vw, 28px); }
  .faq-hero__sub { font-size: 14px; max-width: 100%; }
}

/* --- FAQ items: touch targets, text scaling --- */
@media (max-width: 480px) {
  .faq-list { gap: 8px; }
  .faq-item__question { min-height: 48px; font-size: 14px; padding: 16px 16px; gap: 12px; }
  .faq-item__icon { width: 20px; height: 20px; flex-shrink: 0; }
  .faq-item__answer p { font-size: 13px; line-height: 1.75; padding: 0 16px 16px; }
}

/* --- RTL specific for mobile --- */
@media (max-width: 480px) {
  [dir="rtl"] .faq-hero { direction: rtl; text-align: right; }
  [dir="rtl"] .faq-item__question { text-align: right; }
  [dir="rtl"] .faq-item__answer p { text-align: right; }
}

/* --- Hover guards for touch devices --- */
@media (hover: none) and (pointer: coarse) {
  .faq-item__question:hover {
    background: none;
  }
  .faq-item__question.open {
    border-color: var(--accent);
  }
}