/* ════════════════════════════════════════════════════════════════════════
   Persian CMS — Page Section Builder styles
   Generic, reusable styling for the modular section blocks (hero, video,
   text, statistics, faq, team, timeline, cta). Per-layout accent colors keep
   each main page visually distinct.
   ════════════════════════════════════════════════════════════════════════ */

.fa-sectioned-main {
  --fa-accent: var(--color-interactive, #1E5AA8);
  --fa-accent-soft: var(--color-interactive-soft, #EAF2FF);
}

/* ── Per-layout accent colors (visual distinction between pages) ────────── */
.fa-accent--brand   { --fa-accent: #1E5AA8; --fa-accent-soft: #EAF2FF; }
.fa-accent--emerald { --fa-accent: #0E9F6E; --fa-accent-soft: #E3F5EE; }
.fa-accent--teal    { --fa-accent: #0D9488; --fa-accent-soft: #ECFDF5; }
.fa-accent--indigo  { --fa-accent: #4F46E5; --fa-accent-soft: #ECEBFB; }
.fa-accent--gold    { --fa-accent: #C9A961; --fa-accent-soft: #F7F0DD; }
.fa-accent--slate   { --fa-accent: #475569; --fa-accent-soft: #EEF1F5; }

/* ── Section shell + background variants ────────────────────────────────── */
.fa-section { padding: clamp(2.5rem, 6vw, 5.5rem) 0; position: relative; }
.fa-section__inner { width: 100%; }
.fa-section--bg-transparent { background: transparent; }
.fa-section--bg-light  { background: var(--color-bg, #fff); }
.fa-section--bg-muted  { background: var(--color-bg-alt, #F5F7FA); }
.fa-section--bg-dark   { background: var(--color-bg-dark, #0B1B33); color: var(--color-text-invert, #fff); }
.fa-section--bg-accent { background: var(--fa-accent); color: #fff; }
.fa-section--cta.fa-section--bg-accent,
.fa-section--cta.fa-section--bg-gradient {
  background: transparent;
  color: inherit;
}
.fa-section--bg-gradient {
  background: linear-gradient(135deg, var(--adonis-navy-900, #0B1B33), var(--fa-accent));
  color: #fff;
}
.fa-section--bg-dark .fa-section__title,
.fa-section--bg-accent .fa-section__title,
.fa-section--bg-gradient .fa-section__title { color: #fff; }
.fa-section--hide-mobile { display: none; }
@media (min-width: 768px) { .fa-section--hide-desktop { display: none; } .fa-section--hide-mobile { display: block; } }

/* ── Shared typography helpers ──────────────────────────────────────────── */
.fa-section__eyebrow, .fa-hero__eyebrow, .fa-cta__eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: var(--fa-accent); background: var(--fa-accent-soft); padding: .3rem .85rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.fa-section--bg-dark .fa-section__eyebrow,
.fa-section--bg-accent .fa-section__eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.fa-section__title { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.25; margin: 0 0 .75rem; color: var(--color-text-heading, #0B1B33); }
.fa-section__subtitle { font-size: 1.05rem; color: var(--color-text-muted, #8A93A6); max-width: 56ch; margin: 0 0 1.5rem; line-height: 1.9; }
.fa-section__actions { margin-top: 1.75rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.fa-btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .98rem;
  padding: .8rem 1.7rem; border-radius: 12px; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; }
.fa-btn--lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.fa-btn--primary { background: var(--fa-accent); color: #fff; box-shadow: 0 8px 24px -8px var(--fa-accent); }
.fa-btn--primary:hover { transform: translateY(-2px); }
.fa-btn--outline { background: transparent; color: var(--fa-accent); border: 2px solid var(--fa-accent); }
.fa-btn--outline:hover { background: var(--fa-accent); color: #fff; }
.fa-btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.55);
}
.fa-btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
button.fa-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.fa-dual-cta,
.fa-cta__actions.fa-dual-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.fa-hero__actions.fa-dual-cta {
  justify-content: flex-start;
}
.fa-section--centered .fa-hero__actions.fa-dual-cta {
  justify-content: center;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.fa-hero { display: grid; gap: 0.75rem; padding: clamp(1.25rem, 3vw, 2rem) 0; align-content: center; }
.fa-hero--has-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.25rem, 3.5vw, 2.5rem);
  color: #fff;
  width: 100%;
  min-height: unset;
  max-height: clamp(160px, 24vw, 240px);
  aspect-ratio: 24 / 6;
  display: flex;
  align-items: center;
}
.fa-hero--has-image .fa-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.fa-hero--has-image::before { content:""; position:absolute; inset:0;
  background-image: var(--fa-hero-image); background-size: cover; background-position: center; z-index:-2; }
.fa-hero--has-image::after { content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(11,27,51,.88), rgba(11,27,51,.45)); z-index:-1; }
.fa-hero__title { font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.2; margin: 0 0 0.35rem; }
.fa-hero__subtitle { font-size: clamp(0.88rem, 1.4vw, 1rem); line-height: 1.6; max-width: 62ch; opacity: .92; margin: 0; }
.fa-hero__actions { margin-top: 0.75rem; display: flex; gap: .55rem; flex-wrap: wrap; }
.fa-hero__actions .fa-btn--lg { padding: 0.72rem 1.5rem; font-size: 0.95rem; }
.fa-section--centered .fa-hero, .fa-section--centered .fa-stats__head, .fa-section--centered .fa-section__title { text-align: center; }
.fa-section--centered .fa-hero__actions { justify-content: center; }

/* ── Text block (split / default) ───────────────────────────────────────── */
.fa-text-block { display: grid; gap: 2.5rem; align-items: center; }
.fa-section--split .fa-text-block { grid-template-columns: 1.1fr .9fr; }
.fa-section--split.fa-section--minimal .fa-text-block { grid-template-columns: 1fr; }
.fa-text-block__media img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px -28px rgba(11,27,51,.45); }
.fa-text-block__body { line-height: 2; font-size: 1.05rem; }
.fa-text-block__body h2, .fa-text-block__body h3 { color: var(--color-text-heading, #0B1B33); margin-top: 1.4em; }
.fa-text-block__body ul, .fa-text-block__body ol { padding-inline-start: 1.4rem; line-height: 2.1; }
.fa-text-block__body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.fa-text-block__body th, .fa-text-block__body td { border: 1px solid var(--color-border, #E2E6ED); padding: .7rem 1rem; text-align: start; }
.fa-text-block__body th { background: var(--fa-accent-soft); }
@media (max-width: 860px) { .fa-section--split .fa-text-block { grid-template-columns: 1fr; } }

/* ── Text Block 2 / 3 — side-by-side (RTL: text right+image left / text left+image right) ── */
.fa-text-block--side-by-side {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
  flex-direction: unset !important;
}

.fa-layout--pm .fa-text-block--side-by-side,
.fa-layout--dn .fa-text-block--side-by-side,
.fa-layout--gv .fa-text-block--side-by-side,
.fa-layout--fip .fa-text-block--side-by-side {
  display: grid !important;
  flex-direction: unset !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  align-items: center !important;
}

.fa-layout--pm .fa-text-block--side-by-side .fa-text-block__main,
.fa-layout--pm .fa-text-block--side-by-side .fa-text-block__media,
.fa-layout--dn .fa-text-block--side-by-side .fa-text-block__main,
.fa-layout--dn .fa-text-block--side-by-side .fa-text-block__media,
.fa-layout--gv .fa-text-block--side-by-side .fa-text-block__main,
.fa-layout--gv .fa-text-block--side-by-side .fa-text-block__media,
.fa-layout--fip .fa-text-block--side-by-side .fa-text-block__main,
.fa-layout--fip .fa-text-block--side-by-side .fa-text-block__media {
  order: unset !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.fa-layout--pm .fa-text-block--side-by-side .fa-text-block__media img,
.fa-layout--dn .fa-text-block--side-by-side .fa-text-block__media img,
.fa-layout--gv .fa-text-block--side-by-side .fa-text-block__media img,
.fa-layout--fip .fa-text-block--side-by-side .fa-text-block__media img {
  aspect-ratio: 4 / 3 !important;
  max-height: clamp(260px, 36vw, 520px) !important;
  object-fit: cover !important;
}

.fa-text-block--side-by-side .fa-text-block__main,
.fa-text-block--side-by-side .fa-text-block__media {
  order: unset;
  width: auto;
  max-width: none;
  margin: 0;
}

.fa-text-block--split-left .fa-text-block__media {
  grid-column: 1;
  grid-row: 1;
}

.fa-text-block--split-left .fa-text-block__main {
  grid-column: 2;
  grid-row: 1;
}

.fa-text-block--align-start {
  align-items: start !important;
}

.fa-layout--pm .fa-text-block--align-start,
.fa-layout--dn .fa-text-block--align-start,
.fa-layout--gv .fa-text-block--align-start,
.fa-layout--fip .fa-text-block--align-start {
  align-items: start !important;
}

.fa-text-block--split-left.fa-text-block--align-start .fa-text-block__main {
  align-self: start;
}

.fa-text-block--split-left.fa-text-block--align-start .fa-text-block__media {
  align-self: start;
}

.fa-text-block--side-by-side .fa-text-block__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: clamp(260px, 36vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 24px 60px -28px rgba(11, 27, 51, 0.4);
}

.fa-text-block--scroll-reveal:not(.is-revealed) .fa-text-block__main,
.fa-text-block--scroll-reveal:not(.is-revealed) .fa-text-block__media {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.fa-text-block--scroll-reveal:not(.is-revealed) .fa-text-block__main {
  transform: translateX(-32px);
}

.fa-text-block--scroll-reveal:not(.is-revealed) .fa-text-block__media {
  transform: translateX(48px) scale(0.96);
}

.fa-text-block--scroll-reveal.is-revealed .fa-text-block__main,
.fa-text-block--scroll-reveal.is-revealed .fa-text-block__media {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .fa-text-block--side-by-side {
    grid-template-columns: 1fr;
  }

  .fa-text-block--split-left .fa-text-block__media,
  .fa-text-block--split-left .fa-text-block__main {
    grid-column: auto;
    grid-row: auto;
  }

  .fa-text-block--split-right .fa-text-block__main,
  .fa-text-block--split-left .fa-text-block__main {
    order: 1;
  }

  .fa-text-block--split-right .fa-text-block__media,
  .fa-text-block--split-left .fa-text-block__media {
    order: 2;
  }

  .fa-text-block--side-by-side .fa-text-block__media img {
    max-height: 280px;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fa-text-block--scroll-reveal:not(.is-revealed) .fa-text-block__main,
  .fa-text-block--scroll-reveal:not(.is-revealed) .fa-text-block__media {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.fa-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.fa-gallery__item { margin: 0; border-radius: 14px; overflow: hidden; background: var(--color-bg, #fff); border: 1px solid var(--color-border, #E2E6ED); }
.fa-gallery__item img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fa-gallery__caption { padding: 0.65rem 0.85rem; font-size: 0.88rem; color: var(--color-text-muted, #64748b); }

/* ── Statistics ─────────────────────────────────────────────────────────── */
.fa-stats__head { text-align: center; margin-bottom: 2.5rem; }
.fa-stats__head .fa-section__subtitle { margin-inline: auto; }
.fa-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; }
.fa-stat { text-align: center; padding: 2rem 1.25rem; border-radius: 18px; background: var(--color-bg, #fff);
  border: 1px solid var(--color-border, #E2E6ED); box-shadow: 0 10px 30px -22px rgba(11,27,51,.4); }
.fa-section--bg-dark .fa-stat, .fa-section--bg-gradient .fa-stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.fa-stat__icon { font-size: 1.6rem; color: var(--fa-accent); margin-bottom: .6rem; }
.fa-stat__value { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; color: var(--fa-accent); line-height: 1; }
.fa-section--bg-dark .fa-stat__value, .fa-section--bg-accent .fa-stat__value, .fa-section--bg-gradient .fa-stat__value { color: #fff; }
.fa-stat__suffix { font-size: .7em; }
.fa-stat__label { margin-top: .6rem; color: var(--color-text-muted, #8A93A6); font-weight: 600; }
.fa-section--bg-dark .fa-stat__label { color: rgba(255,255,255,.75); }

/* ── FAQ (accordion) ────────────────────────────────────────────────────── */
.fa-faq__head { text-align: center; margin-bottom: 2rem; }
.fa-faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: .85rem; }
.fa-faq__item { border: 1px solid var(--color-border, #E2E6ED); border-radius: 14px; background: var(--color-bg, #fff); overflow: hidden; }
.fa-faq__q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer;
  padding: 1.1rem 1.35rem; font-weight: 700; list-style: none; color: var(--color-text-heading, #0B1B33); }
.fa-faq__q::-webkit-details-marker { display: none; }
.fa-faq__chevron { transition: transform .25s; color: var(--fa-accent); }
.fa-faq__item[open] .fa-faq__chevron { transform: rotate(180deg); }
.fa-faq__a { padding: 0 1.35rem 1.2rem; line-height: 2; color: var(--color-text-muted, #5b6472); }

/* ── Team ───────────────────────────────────────────────────────────────── */
.fa-team__head { text-align: center; margin-bottom: 2.5rem; }
.fa-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.fa-team__card { text-align: center; padding: 2rem 1.25rem; border-radius: 20px; background: var(--color-bg, #fff);
  border: 1px solid var(--color-border, #E2E6ED); box-shadow: 0 14px 40px -26px rgba(11,27,51,.4); position: relative; }
.fa-team__avatar { width: 104px; height: 104px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden;
  background: var(--fa-accent-soft); display: grid; place-items: center; }
.fa-team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.fa-team__avatar-fallback { font-size: 2.4rem; font-weight: 800; color: var(--fa-accent); }
.fa-team__name { font-size: 1.15rem; font-weight: 800; margin: 0; color: var(--color-text-heading, #0B1B33); }
.fa-team__role { color: var(--fa-accent); font-weight: 600; margin: .25rem 0 .75rem; }
.fa-team__bio { color: var(--color-text-muted, #8A93A6); font-size: .95rem; line-height: 1.8; }
.fa-team__social { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-top: 1rem;
  border-radius: 50%; background: var(--fa-accent-soft); color: var(--fa-accent); text-decoration: none; }

/* ── Timeline ───────────────────────────────────────────────────────────── */
.fa-timeline__head { text-align: center; margin-bottom: 2.5rem; }
.fa-timeline__list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.fa-timeline__list::before { content:""; position:absolute; inset-inline-start: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--color-border, #E2E6ED); }
.fa-timeline__item { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; padding-bottom: 2rem; position: relative; }
.fa-timeline__item:last-child { padding-bottom: 0; }
.fa-timeline__marker { width: 48px; height: 48px; border-radius: 50%; background: var(--fa-accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; z-index: 1; box-shadow: 0 0 0 5px var(--fa-accent-soft); }
.fa-timeline__step { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--fa-accent); margin-bottom: .25rem; }
.fa-timeline__title { font-size: 1.15rem; font-weight: 800; margin: 0 0 .4rem; color: var(--color-text-heading, #0B1B33); }
.fa-timeline__desc { color: var(--color-text-muted, #8A93A6); line-height: 1.9; margin: 0; }

/* ── Video ──────────────────────────────────────────────────────────────── */
.fa-video-block { text-align: center; }
.fa-video-block__frame { position: relative; max-width: 960px; margin: 1.5rem auto 0; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 28px 70px -30px rgba(11,27,51,.6); }
.fa-video-block__embed, .fa-video-block__poster { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.fa-video-block__caption { margin-top: 1.25rem; color: var(--color-text-muted, #8A93A6); }

/* ── CTA ────────────────────────────────────────────────────────────────── */
.fa-section--cta,
.fa-section--cta-inline {
  padding-block: clamp(1.25rem, 3vw, 2rem);
}
.fa-section--cta-inline + .fa-section--text,
.fa-section--cta-inline + .fa-section--text_2,
.fa-section--cta-inline + .fa-section--text_3,
.fa-section--cta-inline + .fa-section--text_image,
.fa-section--text + .fa-section--cta-inline,
.fa-section--text_2 + .fa-section--cta-inline,
.fa-section--text_3 + .fa-section--cta-inline,
.fa-section--text_image + .fa-section--cta-inline {
  margin-top: 0;
}
.fa-cta__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
  margin-inline: auto;
  padding: clamp(0.9rem, 2vw, 1.25rem) clamp(1.15rem, 3vw, 2rem);
  border-radius: 14px;
  background: linear-gradient(
    128deg,
    #020817 0%,
    #071527 24%,
    #0c2347 52%,
    #143a66 78%,
    #1a4f82 100%
  );
  color: #fff;
  box-shadow:
    0 18px 42px -26px rgba(2, 8, 23, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.fa-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 140% at 0% 0%, rgba(30, 90, 168, 0.28), transparent 58%),
    radial-gradient(ellipse 70% 110% at 100% 100%, rgba(7, 21, 39, 0.45), transparent 62%);
  pointer-events: none;
}
.fa-cta__inner > * {
  position: relative;
  z-index: 1;
}
.fa-cta__title {
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  font-weight: 900;
  margin: 0 0 0.4rem;
  color: #fff;
  line-height: 1.3;
}
.fa-cta__subtitle {
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  opacity: 0.9;
  line-height: 1.65;
  margin: 0 0 0.85rem;
}
.fa-cta__eyebrow { margin-bottom: 0.45rem; }
.fa-cta__actions { margin-top: 0; }
@media (min-width: 860px) {
  .fa-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: 0.3rem;
    align-items: center;
    text-align: start;
  }
  .fa-cta__eyebrow {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }
  .fa-cta__title {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }
  .fa-cta__subtitle,
  .fa-cta__body {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    max-width: 62ch;
  }
  .fa-cta__actions {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: end;
  }
  .fa-cta__actions.fa-dual-cta {
    justify-content: flex-end;
  }
}
@media (max-width: 859px) {
  .fa-cta__inner {
    display: block;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }
  .fa-cta__title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }
  .fa-cta__subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }
  .fa-cta__actions.fa-dual-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 0.65rem;
    gap: 0.55rem;
  }
  .fa-cta .fa-btn,
  .fa-cta .fa-btn--lg {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
  }
}
.fa-cta .fa-btn--primary { background: #fff; color: var(--adonis-navy-900, #0B1B33); box-shadow: none; }
.fa-cta .fa-btn--primary:hover { background: var(--adonis-gold, #C9A961); color: #fff; }
.fa-cta .fa-btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.35);
}
.fa-cta .fa-btn--whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
}

/* ── Empty fallback ─────────────────────────────────────────────────────── */
.fa-section--empty { text-align: center; padding: 4rem 0; }

/* ── Page header banner (PersianPage) ──────────────────────────────────── */
.fa-page-hero {
    position: relative;
    min-height: clamp(260px, 38vw, 420px);
    display: flex;
    align-items: center;
    /* padding-top must include fixed header height (--fa-header-h from home.css) */
    padding-top: calc(var(--fa-header-h, 88px) + clamp(2rem, 5vw, 3.5rem));
    padding-bottom: clamp(2.75rem, 6vw, 4rem);
    color: #ffffff;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #071527 0%, #0B1F3A 55%, #102B4C 100%);
}
.fa-page-hero--has-bg {
    background: #071527;
}
.fa-page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    z-index: 0;
}
.fa-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(7, 21, 39, calc(var(--fa-page-hero-overlay, 70) / 100 * 0.55)) 0%,
            rgba(7, 21, 39, calc(var(--fa-page-hero-overlay, 70) / 100 * 0.88)) 100%
        ),
        radial-gradient(900px 420px at 80% 0%, rgba(201, 164, 76, 0.14), transparent 70%);
}
.fa-page-hero:not(.fa-page-hero--has-bg) .fa-page-hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(7, 21, 39, 0.35) 0%,
        rgba(7, 21, 39, 0.55) 100%
    );
}
.fa-page-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin-inline: auto;
}
.fa-page-hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #f5e6ba;
    background: rgba(201, 164, 76, 0.18);
    border: 1px solid rgba(201, 164, 76, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.fa-page-hero__title {
    margin: 0 0 0.85rem;
    font-family: "Vazirmatn", "Estedad", sans-serif;
    font-size: clamp(1.85rem, 4.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.fa-page-hero__subtitle {
    margin: 0 auto;
    max-width: 680px;
    font-size: clamp(1rem, 2.1vw, 1.22rem);
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.88);
}
.adonis-fa-new-main.fa-sectioned-main > .fa-page-hero:first-child {
    margin-top: 0;
}
.fa-page-hero + .fa-page-article {
    padding-top: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 760px) {
    .fa-page-hero {
        min-height: clamp(220px, 52vw, 320px);
        padding-top: calc(var(--fa-header-h, 88px) + clamp(1.5rem, 4vw, 2.25rem));
    }
    .fa-page-hero__inner { text-align: center; }
}

/* ── Dedicated FAQ page (layout=faq) ─────────────────────────────────────── */
.fa-layout--faq .fa-sectioned-main {
    background: #f3f5f7;
}
.fa-faq-page-hero {
    position: relative;
    min-height: clamp(280px, 42vw, 460px);
    display: flex;
    align-items: center;
    padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
    color: #ffffff;
    overflow: hidden;
}
.fa-faq-page-hero--has-bg {
    background: #071527;
}
.fa-faq-page-hero--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--fa-faq-hero-bg);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.fa-faq-page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 21, 39, 0.55) 0%, rgba(7, 21, 39, 0.82) 100%),
        radial-gradient(900px 420px at 80% 0%, rgba(201, 164, 76, 0.18), transparent 70%);
}
.fa-faq-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
}
.fa-faq-page-hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #f5e6ba;
    background: rgba(201, 164, 76, 0.18);
    border: 1px solid rgba(201, 164, 76, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.fa-faq-page-hero__title {
    margin: 0 0 0.85rem;
    font-family: "Vazirmatn", "Estedad", sans-serif;
    font-size: clamp(1.85rem, 4.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.fa-faq-page-hero__subtitle {
    margin: 0;
    font-size: clamp(1rem, 2.1vw, 1.22rem);
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.9);
}
.fa-faq-page-hero__intro {
    margin-top: 1.15rem;
    font-size: 1rem;
    line-height: 2.05;
    color: rgba(255, 255, 255, 0.82);
}
.fa-faq-page-hero__intro p { margin: 0; }
.fa-faq-page-hero__actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.fa-faq-page-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.55rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    color: #0B1F3A;
    background: linear-gradient(135deg, #f5e6ba 0%, #d4b057 100%);
    border: 1px solid rgba(201, 164, 76, 0.65);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fa-faq-page-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}
.fa-faq-page-list {
    margin-top: -1.25rem;
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .fa-faq-page-hero {
        min-height: 0;
        padding: calc(var(--fa-header-h) + 2rem) 0 2.5rem;
    }
    .fa-faq-page-hero__inner { text-align: center; }
    .fa-faq-page-list { margin-top: 0; }

    .fa-sectioned-main {
        overflow-x: clip;
    }

    .fa-section {
        padding: clamp(2rem, 7vw, 3.5rem) 0;
    }

    .fa-section .adonis-fa-new-container,
    .fa-section__inner {
        padding-inline: 1rem;
    }

    .fa-hero {
        padding-inline: 1rem;
    }

    .fa-hero--has-image {
        padding: 1.25rem 1rem;
        border-radius: 0;
        max-height: clamp(180px, 42vw, 240px);
        aspect-ratio: 16 / 7;
    }

    .fa-hero__title {
        font-size: clamp(1.55rem, 7vw, 2.2rem);
    }

    .fa-hero__subtitle {
        font-size: 1rem;
        line-height: 1.9;
    }

    .fa-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fa-hero__actions .fa-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .fa-text-block__body {
        font-size: 0.98rem;
        line-height: 1.95;
    }

    .fa-text-block__body img,
    .fa-text-block__body iframe,
    .fa-text-block__body video {
        max-width: 100%;
        height: auto;
    }

    .fa-text-block__body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fa-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .fa-stat {
        padding: 1.25rem 0.85rem;
    }

    .fa-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .fa-timeline__list::before {
        inset-inline-start: 18px;
    }

    .fa-timeline__item {
        grid-template-columns: 36px 1fr;
        gap: 0.85rem;
    }

    .fa-timeline__marker {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .fa-faq__q {
        padding: 0.95rem 1rem;
        font-size: 0.95rem;
    }

    .fa-btn {
        min-height: 44px;
    }

    .fa-section__actions .fa-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .fa-stats__grid,
    .fa-team__grid {
        grid-template-columns: 1fr;
    }

    .fa-section__title {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
    }

    .fa-section__subtitle {
        font-size: 0.95rem;
    }
}
