/* =========================================================
   الأسئلة الشائعة — تبني على home.css (hm-) وتضيف fq-
========================================================= */
.fq-hero { padding: 72px 0 130px; text-align: center; }
.fq-hero .hm-hero__desc { margin-inline: auto; max-width: 680px; }
.fq-hero .hm-hero__title { font-size: clamp(2rem, 4.6vw, 3.2rem); }

/* البحث والتصنيفات */
.fq-tools { position: relative; z-index: 2; margin-top: -78px; padding-block: 0; }
.fq-tools__box { max-width: 880px; margin-inline: auto; background: #fff; border: 1px solid #E6E0D5; border-radius: 22px; box-shadow: 0 30px 60px rgba(10, 79, 86, .14); padding: 22px; }
.fq-search { position: relative; }
.fq-search svg { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); color: #6E7A7E; pointer-events: none; }
.fq-search input { width: 100%; height: 56px; border: 1.5px solid #E6E0D5; border-radius: 16px; padding-inline: 52px 18px; font: inherit; font-size: 1.02rem; background: #F7F5F1; color: #1E2A30; }
.fq-search input:focus { outline: none; border-color: #1A939E; background: #fff; box-shadow: 0 0 0 4px rgba(26, 147, 158, .12); }
.fq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fq-chip { border: 1px solid #E6E0D5; background: #fff; color: #3A4549; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; transition: all .2s ease; }
.fq-chip:hover { border-color: #4FB8C0; color: #116D76; }
.fq-chip.is-on { background: #116D76; border-color: #116D76; color: #fff; }
.fq-chip:focus-visible { outline: 3px solid #D7C14D; outline-offset: 2px; }

/* القائمة */
.fq-list { max-width: 880px; margin-inline: auto; }
.fq-group + .fq-group { margin-top: 38px; }
.fq-group[hidden] { display: none; }
.fq-group__title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.12rem; font-weight: 800; color: #1E2A30; }
.fq-group__title .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FAF5DC; color: #8F7B0D; flex: none; }
.fq-group__title::after { content: ""; flex: 1; height: 1px; background: #E6E0D5; }

.fq-item { background: #fff; border: 1px solid #E6E0D5; border-radius: 18px; transition: border-color .2s ease, box-shadow .2s ease; }
.fq-item + .fq-item { margin-top: 10px; }
.fq-item[hidden] { display: none; }
.fq-item[open] { border-color: rgba(26, 147, 158, .45); box-shadow: 0 14px 32px rgba(10, 79, 86, .08); }
.fq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 800; font-size: 1.04rem; color: #1E2A30; line-height: 1.7; border-radius: 18px; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary:hover { color: #116D76; }
.fq-item summary:focus-visible { outline: 3px solid #D7C14D; outline-offset: 2px; }
.fq-plus { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #E8F4F5; transition: background .2s ease, transform .3s ease; }
.fq-plus::before, .fq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px; background: #116D76; transform: translate(-50%, -50%); transition: transform .3s ease, background .2s ease; }
.fq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fq-item[open] .fq-plus { background: #116D76; transform: rotate(180deg); }
.fq-item[open] .fq-plus::before { background: #fff; }
.fq-item[open] .fq-plus::after { background: #fff; transform: translate(-50%, -50%) rotate(0deg); }
.fq-ans { padding: 0 22px 20px; color: #4A5559; line-height: 2; font-size: 1rem; }
.fq-ans p + p { margin-top: 8px; }
.fq-ans a { color: #116D76; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fq-ans a:hover { color: #8F7B0D; }
.fq-ans ul { margin: 6px 0 0; padding-inline-start: 20px; }
.fq-ans mark { background: #FAF5DC; color: inherit; border-radius: 4px; padding: 0 2px; }
.fq-empty { text-align: center; padding: 40px 20px; color: #6E7A7E; }
.fq-empty b { display: block; color: #1E2A30; font-size: 1.1rem; margin-bottom: 6px; }
.fq-empty[hidden] { display: none; }

/* التواصل */
.fq-contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 620px; margin: 26px auto 0; position: relative; }
@media (max-width: 560px) { .fq-contact { grid-template-columns: 1fr; } }
.fq-contact a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid #E6E0D5; background: #F7F5F1; color: #1E2A30; font-weight: 800; text-align: start; }
.fq-contact a:hover { border-color: #4FB8C0; background: #fff; }
.fq-contact .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #E8F4F5; color: #116D76; flex: none; }
.fq-contact small { display: block; color: #6E7A7E; font-weight: 600; font-size: .82rem; }
.fq-contact--one { grid-template-columns: 1fr; max-width: 380px; }
