/* ═══════════════════════════════════════════════════════
   AviationHub — Header & Footer  (ported from front__ff.jsx)
   TOP_H = 60px   MAIN_H = 64px
═══════════════════════════════════════════════════════ */

.avhub, .avhub *, .avhub *::before, .avhub *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
.avhub {
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  direction: ltr; /* هدر طراحی LTR دارد؛ حتی در حالت فارسی/RTL به‌هم نمی‌ریزد */
  /* ── پالت آبی برند (Blue Scale) ── */
  --c-link:    #1A6ABF;  /* Action / لینک */
  --c-accent:  #6FB4F2;  /* آبی روشن — آندرلاین روی زمینه‌ی navy (کنتراست بالا) */
  --c-button:  #1A4A7A;  /* Mid */
  --c-header:  #0F3460;  /* Header / Dark */
  --c-deepest: #071E3D;  /* Footer / Deepest */
  /* ── تایپوگرافی ── */
  --c-h:       #0F3460;
  --c-muted:   #4A6B8A;
  --c-hint:    #7A9BBE;  /* placeholder / label */
  --c-ondark:  #A8C6E0;  /* nav / footer links روی زمینه‌ی تیره */

  --wht:#fff;
  --slv:var(--c-ondark);
  --mid:var(--c-muted);

  /* خط/کادر لبه‌دار با ته‌رنگ آبی روشن */
  --avhub-line: rgba(168,198,224,.18);

  /* تینت شیشه‌ای نوارها — navy، همیشه آبی‌سرمه‌ای دیده می‌شود.
     برای شفاف‌تر شدن آلفا را کم کنید (مثلاً .58) */
  --avhub-tint: rgba(15,52,96,.72);
}
.avhub [hidden] { display: none !important; }
.avhub a { text-decoration: none; }
.avhub button { font-family: inherit; }

/* فاصله‌ی محتوای صفحه از هدر fixed */
/* صفحات معمولی: فاصله از هدر fixed */
body.avhub-has-header { padding-top: 124px !important; }
@media (max-width: 1060px) {
  body.avhub-has-header { padding-top: 60px !important; }
}
/* در صفحه‌ی اصلی، هیرو از بالای مطلق شروع شود و زیر هدر شیشه‌ای برود
   (هدر نیمه‌شفاف است، پس ویدیو از پشتش دیده می‌شود و فاصله‌ی سفید حذف می‌شود) */
body.avhub-home.avhub-has-header { padding-top: 0 !important; }
body.avhub-home .avhub-hero { padding-top: 124px; }
@media (max-width: 1060px) {
  body.avhub-home .avhub-hero { padding-top: 60px; }
}

/* ════════════════════════════════
   مخفی‌سازی هدر/فوتر قدیمی قالب Hello Elementor
   (بلوک «آکادمی تخصصی هوانوردی» با لوگوی بزرگ)
   سلکتورها از Inspect گرفته شده‌اند.
════════════════════════════════ */
#site-header,
header#site-header,
.site-header.dynamic-header,
#site-footer,
footer#site-footer,
.site-footer {
  display: none !important;
}

/* ════════════════════════════════
   HEADER SHELL
════════════════════════════════ */
.avhub .sh { position: fixed; top: 0; left: 0; right: 0; z-index: 99950; }

/* ════════════════════════════════
   BLACK TOP BAR
════════════════════════════════ */
.avhub .tb {
  background: var(--avhub-tint);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  height: 60px;
  overflow: hidden;
  transition: background .6s;
}

/* LEFT — language / mobile menu */
.avhub .tb-left {
  display: flex; align-items: center; gap: 4px;
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1),
              filter .65s;
}
.avhub .tb-left.hidden {
  opacity: 0;
  transform: translateX(-10px) translateY(4px);
  filter: blur(6px);
  pointer-events: none;
}
.avhub .tb-lang {
  background: none; border: none; cursor: pointer; padding: 3px 6px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em; color: var(--slv); line-height: 1.4;
  display: inline-block;
}
.avhub .tb-lang .txt { position: relative; display: inline-block; transition: color .3s; }
.avhub .tb-lang .txt::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.avhub .tb-lang:hover .txt { color: var(--wht); }
.avhub .tb-lang:hover .txt::after { transform: scaleX(1); }
.avhub .tb-lang.active .txt { color: var(--wht); font-weight: 600; }
.avhub .tb-lang.active .txt::after { transform: scaleX(1); }

.avhub .tb-menu {
  display: none;
  align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 3px 6px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em; color: var(--slv); line-height: 1.4;
}
.avhub .tb-menu svg { width: 15px; height: 15px; }
.avhub .tb-menu .txt { position: relative; display: inline-block; transition: color .3s; }
.avhub .tb-menu .txt::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.avhub .tb-menu:hover { color: var(--wht); }
.avhub .tb-menu:hover .txt { color: var(--wht); }
.avhub .tb-menu:hover .txt::after { transform: scaleX(1); }

/* CENTER — logo */
.avhub .tb-center {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--wht); transition: opacity .4s;
}
.avhub .tb-center:hover { opacity: .8; }

/* RIGHT — search */
.avhub .tb-right {
  display: flex; align-items: center; justify-content: flex-end;
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1),
              filter .65s;
}
.avhub .tb-right.hidden {
  opacity: 0;
  transform: translateX(10px) translateY(4px);
  filter: blur(6px);
  pointer-events: none;
}
.avhub .tb-search {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  color: var(--slv);
  font-size: 10.5px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 0; transition: color .3s;
}
.avhub .tb-search:hover { color: var(--wht); }

/* ════════════════════════════════
   MAIN NAV BAR
════════════════════════════════ */
.avhub .mb {
  background: var(--avhub-tint);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  display: flex; align-items: stretch;
  position: relative; padding: 0; overflow: hidden;
  transition:
    height .65s cubic-bezier(.4,0,.2,1),
    opacity .55s cubic-bezier(.4,0,.2,1),
    transform .65s cubic-bezier(.4,0,.2,1),
    filter .65s cubic-bezier(.4,0,.2,1),
    box-shadow .55s;
}
.avhub .mb.visible {
  height: 64px; opacity: 1; transform: translateY(0); filter: blur(0);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 32px rgba(0,0,0,.3);
}
.avhub .mb.hidden {
  height: 0; opacity: 0; transform: translateY(-32px);
  filter: blur(10px); pointer-events: none; box-shadow: none;
}

.avhub .nl {
  display: flex; align-items: stretch; list-style: none;
  height: 64px; gap: 0; width: 100%;
}
.avhub .nl li { flex: 1; display: flex; align-items: stretch; }
.avhub .nl li .nav-btn {
  background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 300;
  letter-spacing: .04em; color: rgba(255,255,255,.75);
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  position: relative; user-select: none;
}
.avhub .nl li .nav-btn .txt { position: relative; display: inline-block; transition: color .3s; }
.avhub .nl li .nav-btn .txt::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.avhub .nl li .nav-btn:hover .txt { color: var(--wht); }
.avhub .nl li .nav-btn:hover .txt::after,
.avhub .nl li .nav-btn.act .txt::after { transform: scaleX(1); }
.avhub .nl li .nav-btn.act .txt { color: var(--wht); font-weight: 400; }

/* چرخش فلش کوچک منو */
.avhub .chev {
  display: block;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.avhub .nav-btn.act .chev,
.avhub .dr-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* ════════════════════════════════
   BACKDROP
════════════════════════════════ */
.avhub .mg-backdrop {
  position: fixed; inset: 0;
  background: rgba(3,12,26,.45);
  z-index: 99940;
  animation: avhubBdIn .55s ease both;
}
@keyframes avhubBdIn { from { opacity: 0; } to { opacity: 1; } }

/* ════════════════════════════════
   SEARCH OVERLAY
════════════════════════════════ */
.avhub .se-overlay {
  position: fixed; inset: 0;
  z-index: 99949;
  background: rgba(7,30,61,.62);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 104px;
  animation: avhubSeFade .32s ease both;
}
@keyframes avhubSeFade { from { opacity: 0; } to { opacity: 1; } }
.avhub .se-content {
  display: flex; flex-direction: column; align-items: center; gap: 34px;
  width: 100%; max-width: 540px; padding: 0 24px;
  animation: avhubSeRise .38s cubic-bezier(.4,0,.2,1) both;
}
@keyframes avhubSeRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.avhub .se-form {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 12px;
  color: var(--slv);
}
.avhub .se-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: inherit; color: #fff;
  font-size: 21px; font-weight: 300; letter-spacing: -.01em;
  padding: 4px 0;
}
.avhub .se-input::placeholder { color: rgba(255,255,255,.35); }
.avhub .se-clear {
  background: none; border: none; cursor: pointer;
  color: var(--slv); display: flex; align-items: center;
  padding: 6px; border-radius: 50%;
  transition: background .18s, color .18s; flex-shrink: 0;
}
.avhub .se-clear:hover { background: rgba(255,255,255,.1); color: #fff; }
.avhub .se-close-text {
  position: absolute; left: 0; right: 0; bottom: 56px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--slv);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px; transition: color .18s; margin: 0 auto;
}
.avhub .se-close-text:hover { color: #fff; }
@media (max-width: 768px) {
  .avhub .se-overlay { padding-top: 88px; }
  .avhub .se-input { font-size: 17px; }
  .avhub .se-close-text { bottom: 40px; }
}

/* ════════════════════════════════
   MEGA MENU
════════════════════════════════ */
.avhub .mg {
  position: fixed; left: 24px; right: 24px;
  max-width: 1240px; margin: 0 auto;   /* کارت وسط‌چین، از لبه‌ها فاصله */
  background: var(--avhub-tint);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--avhub-line);      /* ← کادر لبه‌دار */
  border-radius: 16px;                       /* ← گوشه‌های گرد */
  box-shadow: 0 32px 80px rgba(0,0,0,.42);
  z-index: 99945;
  animation: avhubMgIn .55s cubic-bezier(.4,0,.2,1) both;
  overflow: hidden;
}
@keyframes avhubMgIn {
  from { opacity: 0; transform: translateY(-12px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);     filter: blur(0); }
}
.avhub .mg-in {
  display: grid; grid-template-columns: 300px 1fr;
  max-width: 1400px; margin: 0 auto; min-height: 320px;
}
.avhub .mg-feat {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 36px; color: var(--wht);
  position: relative; overflow: hidden; cursor: pointer;
  transition: filter .2s;
}
.avhub .mg-feat:hover { filter: brightness(1.08); }
.avhub .mg-feat.has-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* اورلی تیره‌تر روی عکس تا متن سفید خوانا بماند */
.avhub .mg-feat.has-img::before {
  background: linear-gradient(160deg, rgba(7,20,40,.35) 0%, rgba(7,20,40,.55) 55%, rgba(7,20,40,.88) 100%);
}
.avhub .mg-feat::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(150deg, transparent 30%, rgba(0,0,0,.5) 100%);
}
.avhub .mg-eye {
  font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 10px; position: relative; z-index: 1;
}
.avhub .mg-title {
  font-size: 28px; font-weight: 300; line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 14px; position: relative; z-index: 1;
}
.avhub .mg-sub {
  font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 20px;
  position: relative; z-index: 1; line-height: 1.5;
}
.avhub .mg-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.65); position: relative; z-index: 1;
  transition: color .14s, gap .2s;
}
.avhub .mg-feat:hover .mg-link { color: var(--wht); gap: 12px; }
.avhub .mg-cols {
  display: grid; padding: 40px 48px; gap: 0 40px;
  border-left: 1px solid rgba(255,255,255,.14); align-content: start;
}
.avhub .mg-col-h {
  font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.avhub .mg-col ul { list-style: none; margin-bottom: 4px; }
.avhub .mg-simple {
  padding: 40px 48px;
  border-left: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center;
}
.avhub .mg-simple ul { list-style: none; width: 100%; max-width: 280px; }
.avhub .mg-simple .mg-lnk { font-size: 16px; padding: 14px 0; }
.avhub .mg-lnk {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.78); letter-spacing: .01em;
  transition: color .13s, padding-left .15s;
}
.avhub .mg-lnk svg {
  opacity: 0; transition: opacity .14s, transform .18s;
  transform: translateX(-4px); flex-shrink: 0;
}
.avhub .mg-lnk:hover { color: var(--wht); padding-left: 4px; }
.avhub .mg-lnk:hover svg { opacity: 1; transform: translateX(0); }
.avhub .mg-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: background .14s, color .14s; z-index: 2;
}
.avhub .mg-close:hover { background: rgba(255,255,255,.1); color: var(--wht); }
.avhub .mg-foot {
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 1400px; margin: 0 auto;
  padding: 14px 48px 14px 348px;
  display: flex; align-items: center; gap: 32px;
}
.avhub .mg-foot a {
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); transition: color .14s;
}
.avhub .mg-foot a:hover { color: var(--wht); }

/* ════════════════════════════════
   MOBILE
════════════════════════════════ */
@media (max-width: 1060px) {
  .avhub .nl { display: none !important; }
  /* سوییچ زبان در نوار بالا نمایش داده شود (نه داخل منو) */
  .avhub .tb-lang { display: inline-block !important; }
  .avhub .tb-menu { display: flex !important; }
  .avhub .tb-menu .txt { display: none; }   /* فقط آیکون همبرگر، برای جا باز کردن */
  .avhub .tb-left { gap: 10px; }
  /* دکمه‌ی منو اول، بعد سوییچ زبان */
  .avhub .tb-menu { order: -1; margin-right: 4px; }
  .avhub .tb-lang { padding: 3px 4px; font-size: 11px; }
  /* داخل منوی کشویی دیگر لازم نیست */
  .avhub .dr-langs { display: none !important; }
  .avhub .mb.visible, .avhub .mb.hidden {
    padding: 0 20px; height: 0 !important; opacity: 0 !important; box-shadow: none !important;
  }
  .avhub .tb { padding: 0 16px; }
  .avhub .mg { display: none !important; }
  .avhub .mg-backdrop { display: none !important; }
}
.avhub .dr-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 99959; animation: avhubBdIn .3s ease both;
}
.avhub .dr {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: min(86vw, 360px);
  background: rgba(11,38,74,.82);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-right: 1px solid var(--avhub-line);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 0 60px rgba(0,0,0,.35);
  z-index: 99960;
  overflow-y: auto; padding-top: 60px;
  animation: avhubDrIn .32s cubic-bezier(.4,0,.2,1) both;
}
@keyframes avhubDrIn {
  from { opacity: 0; transform: translateX(-100%); }
  to   { opacity: 1; transform: translateX(0); }
}
.avhub .dr-ic {
  padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; align-items: center; gap: 4px;
}
.avhub .dr-ic .ib-grp { display: flex; gap: 4px; }
.avhub .ib {
  background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: background .15s, color .15s;
}
.avhub .ib:hover { background: rgba(255,255,255,.1); color: var(--wht); }
.avhub .ib svg { width: 17px; height: 17px; }
.avhub .dr-row { border-bottom: 1px solid rgba(255,255,255,.14); }
.avhub .dr-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,.85);
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; text-align: left; letter-spacing: .01em;
  transition: color .15s;
}
.avhub .dr-btn:hover { color: var(--wht); }
.avhub .dr-sub-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1);
}
.avhub .dr-sub-wrap.open { grid-template-rows: 1fr; }
.avhub .dr-sub {
  overflow: hidden; min-height: 0;
  background: rgba(255,255,255,.04);
  padding: 0 20px;
  transition: padding .45s cubic-bezier(.4,0,.2,1);
}
.avhub .dr-sub-wrap.open .dr-sub { padding: 0 20px 16px; }
.avhub .dr-sub > div {
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease .05s, transform .35s cubic-bezier(.4,0,.2,1) .05s;
}
.avhub .dr-sub-wrap.open .dr-sub > div { opacity: 1; transform: translateY(0); }
.avhub .dr-sh {
  font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin: 14px 0 7px;
}
.avhub .dr-lnk {
  display: block; font-size: 13px; color: rgba(255,255,255,.7);
  padding: 5px 0; transition: color .12s;
}
.avhub .dr-lnk:hover { color: var(--wht); }
.avhub .dr-langs {
  display: flex; justify-content: center; gap: 24px; padding: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.avhub .dr-lang {
  background: none; border: none; cursor: pointer; padding: 2px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.55); position: relative;
  display: inline-block;
}
.avhub .dr-lang::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.avhub .dr-lang.active { color: var(--wht); font-weight: 600; }
.avhub .dr-lang.active::after { transform: scaleX(1); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.avhub.ft { background: linear-gradient(180deg,#0b264a 0%,var(--c-deepest) 100%); color: #fff; }
.avhub .ft-main {
  display: grid;
  grid-template-columns: auto minmax(280px, 440px) auto;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 40px 32px;
  border-bottom: 1px solid rgba(168,198,224,.14);
}
.avhub .ft-brand { justify-self: start; }
.avhub .ft-founders { justify-self: end; }
@media (max-width: 900px) {
  .avhub .ft-main { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 32px 24px; justify-items: center; }
  .avhub .ft-brand, .avhub .ft-founders { justify-self: center; }
}
.avhub .ft-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.avhub .ft-brand-txt {
  font-size: 15px; font-weight: 300; letter-spacing: .14em;
  text-transform: uppercase; color: #fff;
}
.avhub .ft-brand-tag {
  font-size: 12.5px; color: var(--c-hint); font-style: italic;
  line-height: 1.6; margin-bottom: 24px;
}
.avhub .ft-social { display: flex; gap: 8px; flex-wrap: wrap; }
.avhub .ft-soc-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-header); border: 1px solid var(--avhub-line); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ondark); transition: background .18s, color .18s;
}
.avhub .ft-soc-btn:hover { background: var(--c-link); color: #fff; }
.avhub .ft-brand-motto {
  font-size: 13.5px; font-weight: 300; line-height: 1.7;
  color: var(--c-ondark);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}
.avhub .ft-founders {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: flex-end; text-align: right;
}
.avhub .ft-founders h4 {
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-hint); margin-bottom: 18px;
}
.avhub .ft-founder-emails {
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.avhub .ft-founder-email {
  font-size: 13px; color: var(--c-ondark);
  letter-spacing: .01em; transition: color .16s;
  word-break: break-all;
}
.avhub .ft-founder-email:hover { color: #fff; }
@media (max-width: 900px) {
  .avhub .ft-founder-emails { align-items: center; }
}
.avhub .ft-sig-placeholder {
  width: 220px; display: flex; align-items: center; justify-content: center;
  padding: 6px 0;
}
.avhub .ft-sig-img { max-width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .avhub .ft-founders { align-items: center; text-align: center; }
}
.avhub .ft-bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* نماد دقیقاً وسط، مستقل از عرض دو طرف */
  align-items: center;
  gap: 16px;
  max-width: 1080px; margin: 0 auto;
  padding: 20px 40px;
}
.avhub .ft-bot > *:first-child { justify-self: start; }
.avhub .ft-bot .ft-enamad     { justify-self: center; }
.avhub .ft-bot > *:last-child  { justify-self: end; }
@media (max-width: 768px) {
  .avhub .ft-bot {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 20px 24px;
    gap: 18px;
  }
  .avhub .ft-bot > *:first-child,
  .avhub .ft-bot > *:last-child { justify-self: center; }
}
.avhub .ft-bot-l { display: flex; flex-direction: column; gap: 10px; }
.avhub .ft-copy { font-size: 11px; color: var(--c-hint); letter-spacing: .02em; }
.avhub .btt {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  color: var(--c-ondark); transition: color .18s; flex-shrink: 0;
}
.avhub .btt:hover { color: var(--c-link); }

/* ─ فوتر موبایل: همه‌چیز وسط‌چین ─ */
@media (max-width: 900px) {
  .avhub .ft-brand { text-align: center; }
  .avhub .ft-brand-logo { justify-content: center; }
  .avhub .ft-social { justify-content: center; }
  .avhub .ft-bot-l { align-items: center; }
}

/* ════════════════════════════════
   رفع زمینه‌ی مشکی هنگام لمس در موبایل (tap highlight)
   + حالت focus تمیز (بدون از دست دادن دسترسی‌پذیری)
════════════════════════════════ */
.avhub, .avhub *,
.avhub-hero, .avhub-hero *,
.avhub-features, .avhub-features *,
.avhub-exam, .avhub-exam * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* دکمه‌ها و لینک‌ها هنگام لمس/کلیک زمینه نگیرند */
.avhub button:focus,
.avhub button:active,
.avhub a:focus,
.avhub a:active,
.avhub-exam button:focus,
.avhub-exam button:active,
.avhub-hero a:focus,
.avhub-hero a:active {
  background-color: transparent;
  outline: none;
}

/* استثناها: دکمه‌هایی که عمداً زمینه دارند، زمینه‌شان حفظ شود */
.avhub .ft-soc-btn:focus,
.avhub .ft-soc-btn:active { background: var(--c-header); }
.avhub .ft-soc-btn:hover  { background: var(--c-link); }
.avhub-hero .avhub-h-btn-p:focus,
.avhub-hero .avhub-h-btn-p:active { background: #1A6ABF; }
.avhub-exam .avhub-btn-exam:focus,
.avhub-exam .avhub-btn-exam:active { background: #1A6ABF; }
.avhub-exam .avhub-btn-video-ic { background: #1A6ABF !important; }

/* فوکوس کیبورد (فقط برای کاربران کیبورد، نه لمس) */
.avhub button:focus-visible,
.avhub a:focus-visible,
.avhub-exam button:focus-visible,
.avhub-hero a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ════════════════════════════════
   رفع قطعی زمینه‌ی مشکی هنگام لمس (نسخه‌ی قوی با !important)
   قالب مادر روی button:focus زمینه می‌گذارد؛ اینجا خنثی می‌شود.
════════════════════════════════ */
html, body,
.avhub, .avhub *, .avhub *::before, .avhub *::after,
.avhub-hero, .avhub-hero *,
.avhub-features, .avhub-features *,
.avhub-exam, .avhub-exam * {
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

/* دکمه‌های منوی موبایل و هدر: هیچ زمینه‌ای هنگام لمس/فوکوس */
.avhub .dr-btn,
.avhub .dr-btn:hover,
.avhub .dr-btn:focus,
.avhub .dr-btn:active,
.avhub .dr-btn:focus-within,
.avhub .dr-lnk:focus,
.avhub .dr-lnk:active,
.avhub .tb-search,
.avhub .tb-search:focus,
.avhub .tb-search:active,
.avhub .tb-menu,
.avhub .tb-menu:focus,
.avhub .tb-menu:active,
.avhub .tb-lang:focus,
.avhub .tb-lang:active,
.avhub .nav-btn:focus,
.avhub .nav-btn:active,
.avhub .btt,
.avhub .btt:focus,
.avhub .btt:active,
.avhub .ib:focus,
.avhub .ib:active,
.avhub .mg-close:focus,
.avhub .mg-close:active,
.avhub .se-clear:focus,
.avhub .se-clear:active,
.avhub .se-close-text:focus,
.avhub .se-close-text:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* هاورهای عمدی که باید بمانند */
.avhub .ib:hover { background: rgba(255,255,255,.1) !important; }
.avhub .mg-close:hover { background: rgba(255,255,255,.1) !important; }
.avhub .se-clear:hover { background: rgba(255,255,255,.1) !important; }

/* ─ نماد اعتماد الکترونیکی در فوتر ─ */
.avhub .ft-enamad {
  display: flex; align-items: center; justify-content: center;
  background: transparent;      /* اگر تصویر نیامد، کادر سفید خالی دیده نشود */
  border-radius: 10px;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}
/* بدون کادر سفید — نماد با زمینه‌ی فوتر یکی می‌شود */
.avhub .ft-enamad a {
  display: inline-block; line-height: 0;
  background: transparent; padding: 0; border-radius: 0;
}
.avhub .ft-enamad img,
.avhub .ft-enamad .enamad-img {
  display: block !important;
  width: auto !important;
  max-width: 100px !important;
  height: auto !important;
  border-radius: 0;
  opacity: 1 !important;
  /* اگر خود تصویر پس‌زمینه‌ی سفید داشته باشد، این آن را با
     زمینه‌ی سرمه‌ای ترکیب می‌کند تا کادر سفید دیده نشود */
  mix-blend-mode: luminosity;
  filter: brightness(1.9) contrast(1.15);
}
@media (max-width: 768px) {
  .avhub .ft-enamad { order: -1; }        /* نماد بالای کپی‌رایت در موبایل */
  .avhub .ft-enamad img { max-width: 88px; }
}

/* ─ محافظت دکمه‌های سرچ اورلی از استایل سراسری قالب ─ */
.avhub .se-overlay button,
.avhub .se-close-text,
.avhub .se-clear,
.avhub .se-close-text:hover,
.avhub .se-close-text:focus,
.avhub .se-close-text:active,
.avhub .se-close-text:focus-visible,
.avhub .se-clear:focus,
.avhub .se-clear:active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  color: var(--c-ondark) !important;
  font-family: inherit !important;
}
.avhub .se-close-text:hover { color: #fff !important; }
.avhub .se-clear:hover { background: rgba(255,255,255,.1) !important; color: #fff !important; }
/* فیلد سرچ هم زمینه نگیرد */
.avhub .se-overlay input:focus,
.avhub .se-overlay input:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
/* اگر تصویر نماد لود نشد، کادر سفید خالی جلب توجه نکند */
