/* ===== Estrha FAQ (RTL) ===== */
.estrha-faq-wrap{
  --blue:#1269FF;
  --blue-600:#1b63ff;
  --pink-700:#ED78A5;
  --text:#1f2640;
  --muted:#6b7394;
  --chip-shadow:0 10px 30px rgba(0,0,0,.08);
  --card-shadow:0 18px 60px rgba(0,0,0,.10);
  --radius:18px;
  font-family:"MadaniArabic","Cairo","Tajawal","Noto Kufi Arabic",system-ui,-apple-system,"Segoe UI","Roboto",sans-serif;
  padding: clamp(34px,6vw,64px) 0;
  direction: rtl;
}
.estrha-faq-wrap *{ box-sizing:border-box }
.t-container{ width:min(1100px, 100% - 48px); margin-inline:auto; }

/* heading */
.faq-head{ text-align:center; margin-bottom: clamp(18px,4.2vw,32px); opacity:0; transform:translateY(14px); }
.faq-title{ margin:0 0 10px; color:var(--blue); font-weight:400; font-size: clamp(22px,3.2vw,34px); }
.faq-sub{ margin:0 auto; color:var(--muted); max-width:70ch; line-height:1.9 }

/* grid list (single column like design) */
.faq-list{ display:flex; flex-direction:column; gap:14px; }

/* card */
.card{
  background:#fff; border-radius:var(--radius);
  box-shadow:var(--card-shadow);
  overflow:hidden;
}

/* toggle */
.faq-toggle{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:18px 22px; background:#fff; border:0; cursor:pointer; text-align:right;
  font-weight:400; color:#2a3358; font-size: clamp(16px,1.6vw,18px);

}
.faq-item.open .faq-toggle{
  background: var(--blue);
  color:#fff;
}
.faq-toggle .icon{ display:inline-grid; place-items:center; width:36px; height:36px; border-radius:10px; background:#f4f7ff; }
.faq-item.open .faq-toggle .icon{ background: rgba(255,255,255,.18); }

.faq-toggle svg{ width:18px; height:18px; stroke:#3b4b86; stroke-width:2; fill:none }
.faq-item.open .faq-toggle .plus{ display:none }
.faq-item:not(.open) .faq-toggle .close{ display:none }
.faq-item.open .faq-toggle svg{ stroke:#fff }

/* answer */
.faq-answer{ height:0; overflow:hidden; }
.faq-item.open .faq-answer{ /* height controlled by JS */ }

.answer-inner{ padding: 12px 22px 18px; color:#4a557a; line-height:2; }

/* reveal soft */
.reveal{ opacity:0; transform: translateY(12px) scale(.985); }
.reveal.in{ opacity:1; transform:none; transition: opacity 900ms ease, transform 900ms cubic-bezier(.19,.9,.22,1); }

/* Desktop spacing look */
@media (min-width: 992px){
  .faq-list{ gap:16px; }
  .faq-toggle{ padding:22px 26px; }
  .answer-inner{ padding: 18px 26px 22px; }
}

/* mobile layout like screenshot width */
@media (max-width: 420px){
  .t-container{ width:min(360px, 100% - 24px); }
}

.estrha-faq-wrap .faq-toggle{
  font-family:"MadaniArabic","Cairo","Tajawal","Noto Kufi Arabic",system-ui,-apple-system,"Segoe UI","Roboto",sans-serif !important;
  font-weight:400 !important;           /* SemiBold */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* حركة فتح/إغلاق بانسيابية وبطء مناسب */
.estrha-faq-wrap .faq-answer{
  height: 0;
  overflow: hidden;
  transition: height 800ms cubic-bezier(.19,.9,.22,1);
  will-change: height;
}

/* تأثير لطيف على المحتوى الداخلي أثناء الفتح */
.estrha-faq-wrap .answer-inner{
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 520ms cubic-bezier(.19,.9,.22,1),
    transform 520ms cubic-bezier(.19,.9,.22,1);
}

.estrha-faq-wrap .faq-item.open .answer-inner{
  opacity: 1;
  transform: none;
}

