/**
 * FAQ page — Ajman · isolated (Golden Master parity · uae-lawyer faq-page.css)
 * Gold #c9a84c · Navy #0b1f33 · local Tajawal / Inter only.
 */
body[data-page="frequently-asked-questions"] .site-main {
  font-family: "Tajawal", system-ui, sans-serif;
  background: #fff;
  color: #1a1a1a;
  max-width: 100%;
  overflow-x: hidden;
}
html[lang="en"] body[data-page="frequently-asked-questions"] .site-main {
  font-family: "Inter", system-ui, sans-serif;
}

.faq-page {
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.faq-wrap {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  padding: 24px 0;
  box-sizing: border-box;
}

.faq-hero {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1f33;
  overflow: hidden;
  border-bottom: 3px solid #c9a84c;
}
.faq-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}
.faq-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 21, 34, 0.55) 0%, rgba(7, 21, 34, 0.78) 100%),
    linear-gradient(90deg, rgba(201, 168, 76, 0.32) 0%, rgba(201, 168, 76, 0.1) 55%, rgba(7, 21, 34, 0.4) 100%);
}
.faq-hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.faq-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}
.faq-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.faq-crumb a:hover { color: #c9a84c; }
.faq-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  max-width: 20em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
html[lang="ar"] .faq-hero h1 {
  width: 100%;
  max-width: none;
  text-align: center;
}
.faq-hero__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 18px;
  background: #c9a84c;
  border-radius: 2px;
}
.faq-hero__lede {
  margin: 0 0 20px;
  max-width: 42em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.8;
}

.faq-body {
  background: #f2f0e8;
  padding: 8px 0 40px;
}
.faq-group {
  margin: 0 0 32px;
}
.faq-group:last-of-type { margin-bottom: 8px; }
.faq-group__title {
  margin: 0 0 16px;
  color: #c9a84c;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.4;
}

.faq-acc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.faq-acc__item {
  background: #fff;
  border: 1px solid #e8e2d4;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.faq-acc__item[open] {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.16);
}
.faq-acc__summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 18px 48px 18px 20px;
  list-style: none;
  cursor: pointer;
  color: #0b1f33;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
  position: relative;
}
html[dir="rtl"] .faq-acc__summary {
  padding: 18px 20px 18px 48px;
}
.faq-acc__summary::-webkit-details-marker { display: none; }
.faq-acc__summary::marker { content: ""; }
.faq-acc__summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 18px;
  top: 16px;
  width: 22px;
  height: 22px;
  color: #c9a84c;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}
.faq-acc__item[open] .faq-acc__summary::after { content: "–"; }
.faq-acc__mark {
  flex: 0 0 auto;
  line-height: 1.55;
}
.faq-acc__q { min-width: 0; }
.faq-acc__answer {
  padding: 0 20px 18px;
  border-top: 1px solid #ece6da;
}
.faq-acc__answer p {
  margin: 14px 0 0;
  color: #333;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.8;
}
.faq-acc__answer a {
  color: #c9a84c;
  font-weight: 700;
  text-decoration: none;
}
.faq-acc__answer a:hover { color: #a98b45; }

.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 8px;
  background: #c9a84c;
  color: #0b1f33 !important;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.faq-btn:hover {
  background: #d8b46a;
  box-shadow: 0 6px 14px rgba(201, 168, 76, 0.35);
}
.faq-btn:active { transform: translateY(1px); }
.faq-btn--hero { margin-top: 4px; }

.faq-cta {
  margin-top: 12px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 14px;
  border-top: 3px solid #c9a84c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.faq-cta p {
  margin: 0 0 16px;
  color: #0b1f33;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.faq-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .faq-wrap {
    width: 100%;
    padding: 16px;
  }
  .faq-hero { min-height: 260px; }
  .faq-hero .faq-wrap,
  .faq-hero__inner {
    width: 100%;
    max-width: 100%;
    padding: 28px 20px 24px;
    box-sizing: border-box;
  }
  .faq-hero h1,
  .faq-hero__lede {
    max-width: 100%;
  }
  .faq-hero h1 { font-size: 1.32rem; }
  .faq-hero__lede { font-size: 0.98rem; }
  .faq-body { padding-bottom: 32px; }
  .faq-acc { gap: 16px; }
  .faq-group { margin-bottom: 24px; }
  .faq-acc__summary {
    font-size: 1rem;
    padding: 16px 44px 16px 16px;
  }
  html[dir="rtl"] .faq-acc__summary {
    padding: 16px 16px 16px 44px;
  }
  .faq-btn,
  .faq-btn--hero {
    width: 90%;
    margin-inline: auto;
  }
}
