/* FAQ page — numbered category groups (brand-cyan accordions) + closing CTA.
   Ported verbatim from the mockup (Kalameh Web FAQ[ EN].html). */

.faq-sec { padding: 72px 0 96px; border-bottom: none; }
/* Each FAQ section/cta is its own landing paragraph; give modest top spacing so
   stacked blocks breathe (the design's single .faq-sec becomes a few blocks). */
.faq-sec--block { padding: 40px 0 0; }
.faq-sec--block:first-child { padding-top: 64px; }
.faq-cta-block { padding: 16px 0 80px; }
.faq-wrap { max-width: 880px; margin: 0 auto; }

.faq-group { scroll-margin-top: 96px; }
.faq-group-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.faq-group-num { font-family: var(--serif); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -1.5px; color: var(--brand); opacity: 0.85; font-feature-settings: 'tnum' 1, 'lnum' 1; }
[dir="rtl"] .faq-group-num { font-family: var(--farsi); font-weight: 700; font-size: 50px; letter-spacing: 0; }
.faq-group-head .eyebrow { color: var(--brand); display: block; margin-bottom: 6px; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
[dir="rtl"] .faq-group-head .eyebrow { letter-spacing: 0.4px; }
.faq-group-head h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.18; letter-spacing: -0.5px; margin: 0; color: var(--ink); }
[dir="rtl"] .faq-group-head h2 { font-family: var(--farsi); font-weight: 600; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-sec .faq-item { padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s, background 0.18s; }
.faq-sec .faq-item:hover { border-color: rgba(75,187,221,0.50); box-shadow: 0 6px 18px rgba(75,187,221,0.10); }
.faq-sec .faq-item[open] { border-color: var(--brand); box-shadow: 0 10px 28px rgba(75,187,221,0.14); background: linear-gradient(180deg, rgba(220,243,248,0.45) 0%, #fff 60%); }
.faq-sec .faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--ink); letter-spacing: -0.2px; line-height: 1.35; }
[dir="rtl"] .faq-sec .faq-item summary { font-family: var(--farsi); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.faq-sec .faq-item summary::-webkit-details-marker, .faq-sec .faq-item summary::marker { display: none; }
.faq-sec .faq-item summary:hover { color: var(--brand); }
.faq-sec .faq-item[open] summary { padding-bottom: 14px; color: var(--brand); }
.faq-sec .faq-item .chev { width: 30px; height: 30px; border-radius: 999px; background: var(--brand-tint, #DCF3F8); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.22s, background 0.18s; flex-shrink: 0; }
.faq-sec .faq-item:hover .chev { background: rgba(75,187,221,0.22); }
.faq-sec .faq-item[open] .chev { background: var(--brand); color: #fff; transform: rotate(180deg); }
.faq-sec .faq-item p { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); margin: 0; padding: 0 22px 22px; max-width: 760px; }
[dir="rtl"] .faq-sec .faq-item p { font-family: var(--farsi); }

/* Jump pills (in the hero) */
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq-jump-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(75,187,221,0.10); border: 1px solid rgba(75,187,221,0.30); color: #2C8DA8; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.faq-jump-pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-1px); }
.faq-jump-pill::after { content: '↓'; display: inline-block; font-size: 12px; opacity: 0.7; }

/* Closing CTA */
.faq-cta { border-radius: 22px; overflow: hidden; color: #fff; position: relative;
  background: radial-gradient(700px 380px at 100% 0%, rgba(255,255,255,0.18), transparent 60%), radial-gradient(600px 320px at 0% 100%, rgba(255,255,255,0.12), transparent 65%), linear-gradient(135deg, #4BBBDD 0%, #2C8DA8 100%); }
.faq-cta-inner { position: relative; z-index: 1; padding: 52px 48px; text-align: center; max-width: 640px; margin: 0 auto; }
.faq-cta .eyebrow { color: rgba(255,255,255,0.85); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
[dir="rtl"] .faq-cta .eyebrow { letter-spacing: 0.4px; }
.faq-cta h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.18; letter-spacing: -0.6px; margin: 12px 0 14px; color: #fff; }
[dir="rtl"] .faq-cta h2 { font-family: var(--farsi); font-weight: 600; }
.faq-cta p { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.92); margin: 0 0 26px; }
.faq-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.10); transition: transform 0.15s, box-shadow 0.15s; }
.faq-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,0,0,0.22), 0 3px 8px rgba(0,0,0,0.12); }
.faq-cta-btn svg { color: var(--brand); }
.faq-cta-actions { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.faq-cta-soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.32); transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.faq-cta-soc:hover { background: #fff; color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.18); }
.faq-cta-soc svg { width: 18px; height: 18px; display: block; }
.faq-cta-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.28); }
@media (max-width: 480px) { .faq-cta-divider { display: none; } }

@media (max-width: 720px) {
  .faq-sec { padding: 48px 0 64px; }
  .faq-sec .faq-item summary { font-size: 15.5px; padding: 16px 18px; }
  .faq-sec .faq-item p { padding: 0 18px 18px; font-size: 14.5px; }
  .faq-cta-inner { padding: 36px 24px; }
  .faq-cta h2 { font-size: 26px; }
}
