/* =========================================================================
   FOOTER — صحنه‌ی سینماییِ پایانی
   -------------------------------------------------------------------------
   سه بخش (js/modules/footer.js):
     ۱) ftr-visual  صحنه: کوهستان، پهپاد و تبلتِ نقشه + نوارِ خدمات، شعار، HUD
     ۲) ftr-info    پنلِ سرمه‌ای: برند و شبکه‌ها، سه ستونِ ناوبری، تماس
     ۳) ftr-bottom  نوارِ کپی‌رایت

   تصویرِ پس‌زمینه (assets/img/footer-scene.webp) خودِ صحنه است و با CSS
   بازسازی نمی‌شود. HUD روی قابی به نسبتِ خودِ تصویر (.ftr__stage) می‌نشیند
   تا نقطه‌هایش در هر اندازه‌ای روی همان جزءِ تصویر بمانند.

   چیدمان از ابتدا RTL است (ویژگی‌های منطقیِ inline-start/end)؛ فقط
   مقادیرِ ذاتاً لاتین (تلفن، ایمیل، برچسب‌های HUD) ltr می‌شوند.
   کارایی: بدون backdrop-filter و سایه‌ی سنگین؛ حرکت فقط transform/opacity/
   scale/translate؛ حلقه‌ی HUD بیرون از کادر متوقف است.
   ========================================================================= */

.ftr {
  --ftr-bg: #030a14;
  --visual-h: clamp(260px, 32vw, 420px);   /* کادر سینمایی نمایان و باشکوه هلی‌شات */
  --scene-fade: 140px;                     /* محو تدریجی پس‌زمینه */
  --ftr-link: var(--steel-500);            /* خاکستری-آبی، ۹:۱ روی زمینه */
  --ftr-line: rgba(240, 163, 46, 0.18);

  position: relative;
  isolation: isolate;
  overflow: clip;
  direction: rtl;
  background: var(--ftr-bg);
  color: var(--fg-200);
}

.ftr__wrap {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ftr h2,
.ftr h3 {
  /* تیترهای سایت Estedad (۷۰۰+) هستند؛ این‌جا طبقِ طراحی سبک‌تر و «هوادار» */
  font-family: var(--font-fa);
  letter-spacing: 0;
}

.ftr-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------------------------------------------------------- صحنه */
.ftr__scene {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: -1;
  height: calc(var(--visual-h) + var(--scene-fade));
  overflow: hidden;
  pointer-events: none;
}

/* قابی به نسبتِ تصویر که همیشه صحنه را می‌پوشاند (مثلِ object-fit: cover).
   --fx نقطه‌ای از تصویر است که روی مرکزِ کادر می‌نشیند؛ در موبایل پهپاد. */
.ftr__stage {
  --fx: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  width: max(100%, calc((var(--visual-h) + var(--scene-fade)) * 2.5037));
  aspect-ratio: 1024 / 409;
  transform: translateX(calc(var(--fx) * -1));
  transform-origin: var(--fx) 40%;
}

.ftr__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.03;   /* حاشیه برای پارالاکسِ ماوس، تا لبه‌ی خالی پیدا نشود */
}

/* خوانایی: تیره در بالا (زیرِ نوارِ ناوبری و متن‌ها)، شفاف روی پهپاد و
   افق، و در پایین یکسره به رنگِ پنلِ اطلاعات */
.ftr__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(3, 10, 20, 0.35) 72%,
    rgba(3, 10, 20, 0.85) 88%,
    var(--ftr-bg) 100%
  );
}

/* ------------------------------------------------------------ HUD
   بیشترِ HUD (ALT / SPD / BAT و دایره‌ی نشانه) در خودِ تصویر است؛ این‌جا
   فقط نقطه‌های تپنده روی همان اجزا و یک برچسبِ مختصات. تزیینی است. */
/* هندسه از .ftr__stage می‌آید (همان قابِ تصویر) — این‌جا inset نگذارید */
.ftr-hud {
  pointer-events: none;
}

.ftr-hud__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--accent-300);
  box-shadow: 0 0 8px rgba(255, 209, 131, 0.8);
  opacity: 0.7;
  animation: ftr-pulse 3.4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.ftr-hud__dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 209, 131, 0.55);
  border-radius: 50%;
  animation: ftr-ring 3.4s ease-out infinite;
  animation-delay: var(--delay, 0s);
}

.ftr-hud__tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--ftr-line);
  direction: ltr;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--fg-300);
  opacity: 0.55;
}

.ftr-hud__tag b {
  font-weight: 500;
  color: var(--accent-300);
}

@keyframes ftr-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.75;
  }
}

@keyframes ftr-ring {
  0% {
    opacity: 0.55;
    transform: scale(0.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

/* بیرون از کادر، HUD نمی‌تپد */
.ftr:not(.is-live) .ftr-hud__dot,
.ftr:not(.is-live) .ftr-hud__dot::after {
  animation-play-state: paused;
}

/* پارالاکسِ ماوس — footer.js فقط --mx/--my را روی همین عناصر می‌نویسد */
[data-ftr-par] {
  translate: calc(var(--mx, 0) * var(--par-x, 0px)) calc(var(--my, 0) * var(--par-y, 0px));
}

.ftr__bg[data-ftr-par] {
  --par-x: -10px;
  --par-y: -6px;
}

.ftr-hud__tag[data-ftr-par] {
  --par-x: -16px;
  --par-y: -9px;
}

/* ------------------------------------------------ ۱) بخشِ تصویری */
.ftr-visual {
  position: relative;
  height: var(--visual-h);
  pointer-events: none;
}

/* ---------------------------------------------- ۲) پنلِ اطلاعات */
.ftr-info {
  position: relative;
  padding-top: clamp(16px, 2vw, 28px);
}

/* پترن شبکه‌ای صنعتی بسیار محو برای القای حس تکنولوژی بدون شلوغی پس‌زمینه */
.ftr-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(240, 163, 46, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center top;
  pointer-events: none;
  z-index: -2;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* خطوطِ ترازِ بسیار کم‌رنگ — شفاف و لطیف بدون تداخل با خوانایی متن */
.ftr-topo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: var(--accent-500);
  opacity: 0.035;
  pointer-events: none;
  --par-x: 8px;
  --par-y: 5px;
}

.ftr-info__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2.35fr) minmax(240px, 1.1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: flex-start;
  padding-bottom: clamp(32px, 3.8vw, 52px);
}

/* برند */
.ftr-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ftr-brand__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-400);
  filter: drop-shadow(0 0 12px rgba(240, 163, 46, 0.2));
}

.ftr-brand__mark svg,
.ftr-brand__mark .ftr__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out);
}

.ftr-brand__mark:hover .ftr__logo {
  transform: scale(1.15);
}

.ftr-brand__mark .mono {
  font-size: 0.6875rem;
  color: var(--fg-400);
  letter-spacing: 0.04em;
}

.ftr-brand__title {
  font-size: clamp(1.35rem, 1.95vw, 1.85rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg-100);
}

.ftr-brand__title span {
  display: block;
  color: var(--accent-300);
}

.ftr-brand__text {
  max-width: 38ch;
  font-size: 0.84rem;
  line-height: 1.95;
  color: var(--fg-300);
  text-wrap: pretty;
}

.ftr-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.ftr-social__label {
  font-size: 0.75rem;
  color: var(--fg-400);
}

.ftr-social {
  display: flex;
  gap: 10px;
}

.ftr-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(240, 163, 46, 0.34);
  border-radius: 50%;
  color: var(--accent-500);
  transition:
    color 280ms var(--ease-out),
    border-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out);
}

.ftr-social svg {
  width: 19px;
  height: 19px;
}

.ftr-social a:hover,
.ftr-social a:focus-visible {
  color: var(--accent-300);
  border-color: var(--accent-400);
  box-shadow: 0 0 14px rgba(240, 163, 46, 0.24);
}

/* ستون‌های ناوبری */
.ftr-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

.ftr-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-400);
}

.ftr-col__title::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 6px rgba(240, 163, 46, 0.7);
}

.ftr-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ftr-col a,
.ftr-col span {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--ftr-link);
  transition:
    color 280ms ease,
    translate 280ms ease;
}

.ftr-col a:hover,
.ftr-col a:focus-visible {
  color: var(--accent-300);
  translate: -3px 0;
}

/* آیتم‌های تمیز و ساختاریافته مشاوران و کارشناسان دپارتمان‌ها */
.ftr-consultant-li {
  list-style: none;
  margin-bottom: 2px;
}

.ftr-consultant-link {
  display: flex !important;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(240, 163, 46, 0.12);
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}

.ftr-consultant-link:hover,
.ftr-consultant-link:focus-visible {
  background: rgba(240, 163, 46, 0.08);
  border-color: rgba(240, 163, 46, 0.38);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  translate: -3px 0;
}

.ftr-consultant-info {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-200);
  line-height: 1.45;
}

.ftr-consultant-num {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--accent-300);
  letter-spacing: 0.04em;
}

.ftr-consultant-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  opacity: 0.8;
}

/* تماس */
.ftr-contact {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.ftr-contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ftr-contact__v--main {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-300) !important;
  letter-spacing: 0.03em;
}

.ftr-contact__sub-label {
  font-size: 0.6875rem;
  color: var(--fg-400);
  width: 100%;
}

.ftr-contact__chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(240, 163, 46, 0.07);
  border: 1px solid rgba(240, 163, 46, 0.2);
  color: var(--accent-400);
  transition: all 0.2s ease;
  direction: ltr;
  text-decoration: none;
}

.ftr-contact__chip:hover,
.ftr-contact__chip:focus-visible {
  background: rgba(240, 163, 46, 0.16);
  border-color: var(--accent-300);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(240, 163, 46, 0.25);
}

.ftr-contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ftr-contact__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(240, 163, 46, 0.28);
  border-radius: 50%;
  color: var(--accent-500);
}

.ftr-contact__icon svg {
  width: 16px;
  height: 16px;
}

.ftr-contact__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ftr-contact__k {
  font-size: 0.72rem;
  color: var(--accent-400);
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.ftr-contact__v {
  align-self: flex-start;   /* ltr: هم‌اندازه‌ی خودش، در ابتدای سطر (راست) */
  font-size: var(--fs-sm);
  color: var(--fg-100);
  line-height: 1.6;
  transition: color 280ms ease;
}

.ftr-contact__address {
  max-width: 28ch;
  line-height: 1.8;
  color: var(--fg-200);
  text-wrap: pretty;
}

a.ftr-contact__v:hover {
  color: var(--accent-300);
}

.ftr-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 22px;
  border: 1px solid rgba(240, 163, 46, 0.55);
  border-radius: 30px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent-300);
  transition:
    background-color 300ms var(--ease-out),
    border-color 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out),
    color 300ms var(--ease-out);
}

/* درخشش عبوری (Sweep) */
.ftr-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(240, 163, 46, 0.25), transparent);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.ftr-cta svg {
  width: 16px;
  height: 16px;
  transition: translate 300ms var(--ease-out);
}

.ftr-cta:hover,
.ftr-cta:focus-visible {
  background-color: rgba(240, 163, 46, 0.12);
  border-color: var(--accent-400);
  box-shadow: 0 0 18px rgba(240, 163, 46, 0.22);
  color: #ffffff;
}

.ftr-cta:hover::before {
  left: 200%;
  transition: left 700ms ease-in-out;
}

.ftr-cta:hover svg,
.ftr-cta:focus-visible svg {
  translate: -4px 0;
}

/* ---------------------------------------------------- ۳) کپی‌رایت */
.ftr-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-block: 22px clamp(96px, 12vh, 120px);
}

.ftr-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: var(--gutter);
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(240, 163, 46, 0.32) 30%, rgba(163, 163, 155, 0.16) 70%, transparent);
}

.ftr-bottom__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--fg-400);
  line-height: 1.7;
  margin: 0;
}

/* ---- استایل اختصاصی، تایپوگرافی ویژه و انیمیشن شرکت فرتاک */
.ftr-copy {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-family: var(--font-fa);
  font-size: 0.84rem;
  color: var(--fg-400);
  line-height: 1.8;
  position: relative;
  transition: color 0.3s ease;
}

.ftr-copy:hover {
  color: var(--fg-200);
}

.ftr-copy__text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ftr-fartak-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0a32e 0%, #ffe49e 35%, #ff7738 70%, #f0a32e 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: fartakShimmer 5s linear infinite;
  border: 1px solid rgba(240, 163, 46, 0.35);
  background-color: rgba(240, 163, 46, 0.08);
  box-shadow: 0 0 14px rgba(240, 163, 46, 0.12), inset 0 0 8px rgba(240, 163, 46, 0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.ftr-copy:hover .ftr-fartak-brand,
.ftr-fartak-brand:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(240, 163, 46, 0.7);
  background-color: rgba(240, 163, 46, 0.16);
  box-shadow: 0 4px 20px rgba(240, 163, 46, 0.35), inset 0 0 12px rgba(240, 163, 46, 0.14);
}

.ftr-fartak-brand:active {
  transform: translateY(0) scale(0.98);
}

.ftr-fartak-brand:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 3px;
}

.ftr-fartak-icon {
  stroke: #f0a32e;
  flex-shrink: 0;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.ftr-fartak-brand:hover .ftr-fartak-icon {
  transform: translate(-1px, -1px);
  stroke: var(--accent-bright);
}

@keyframes fartakShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 220% center;
  }
}

/* ---- موشن تپش قلب قرمز (Heartbeat Animation) */
.ftr-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: 4px;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  animation: ftrHeartbeat 1.6s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  transform-origin: center center;
}

.ftr-heart::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 95, 0.45) 0%, transparent 70%);
  opacity: 0;
  animation: ftrHeartAura 1.6s ease-out infinite;
  pointer-events: none;
}

.ftr-heart__svg {
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 42, 95, 0.85)) drop-shadow(0 0 14px rgba(255, 42, 95, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.ftr-copy:hover .ftr-heart,
.ftr-heart:hover {
  animation: ftrHeartbeatFast 0.85s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.ftr-copy:hover .ftr-heart::before,
.ftr-heart:hover::before {
  animation: ftrHeartAuraFast 0.85s ease-out infinite;
}

@keyframes ftrHeartbeat {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 42, 95, 0.5));
  }
  14% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px rgba(255, 42, 95, 0.95)) drop-shadow(0 0 20px rgba(255, 42, 95, 0.6));
  }
  28% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 5px rgba(255, 42, 95, 0.6));
  }
  42% {
    transform: scale(1.38);
    filter: drop-shadow(0 0 12px rgba(255, 42, 95, 1)) drop-shadow(0 0 24px rgba(255, 42, 95, 0.7));
  }
  70% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 42, 95, 0.5));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 42, 95, 0.5));
  }
}

@keyframes ftrHeartbeatFast {
  0% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.4);
    filter: drop-shadow(0 0 12px rgba(255, 42, 95, 1)) drop-shadow(0 0 24px rgba(255, 42, 95, 0.8));
  }
  30% {
    transform: scale(1.12);
  }
  45% {
    transform: scale(1.46);
    filter: drop-shadow(0 0 14px rgba(255, 42, 95, 1)) drop-shadow(0 0 28px rgba(255, 42, 95, 0.9));
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ftrHeartAura {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  42% {
    transform: scale(1.7);
    opacity: 0;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes ftrHeartAuraFast {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  45% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.ftr-bottom .ftr__logo-small {
  width: 18px;
  height: 18px;
  color: var(--accent-500);
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.ftr-bottom p:hover .ftr__logo-small {
  transform: scale(1.2);
}

/* ---------------------------------------------------------- ورود
   فقط وقتی JS واقعاً ظاهرشان می‌کند پنهان‌اند (is-armed) */
.ftr.is-armed .ftr__stage {
  scale: 1.05;
  transition: scale 1400ms var(--ease-out);
}

.ftr.is-armed.is-in .ftr__stage {
  scale: 1;
}

.ftr.is-armed [data-rise] {
  opacity: 0;
  transform: translate3d(0, 15px, 0);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d0, 0ms));
}

.ftr.is-armed .is-in [data-rise],
.ftr.is-armed .is-in[data-rise] {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------- واکنش‌گرا */
@media (max-width: 1100px) {
  /* برند و تماس در ردیفِ نخست، ناوبری سه‌ستونه زیرشان */
  .ftr-info__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ftr-nav {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 720px) {
  .ftr {
    --visual-h: auto;
    --scene-fade: 120px;
  }

  /* پهپاد در مرکزِ کادرِ باریک */
  .ftr__stage {
    --fx: 74%;
  }

  .ftr-info__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ftr-nav {
    order: 0;
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .ftr-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  .ftr-bottom__legal {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ftr-nav {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .ftr-brand__title {
    font-size: clamp(1.3rem, 6vw, 1.55rem);
  }

  .ftr-brand__text {
    font-size: var(--fs-xs);
    line-height: 1.9;
  }

  .ftr-bottom {
    padding-block: 18px clamp(100px, 14vh, 130px);
    gap: 14px;
  }

  .ftr-copy__text {
    justify-content: center;
    text-align: center;
    line-height: 2.2;
  }

  .ftr-fartak-brand {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

/* ------------------------------------------------------- کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
  .ftr.is-armed .ftr__stage,
  .ftr.is-armed [data-rise] {
    opacity: 1;
    transform: none;
    scale: 1;
    transition: none;
  }

  .ftr-hud__dot,
  .ftr-hud__dot::after {
    animation: none;
  }

  [data-ftr-par] {
    translate: none;
  }
}
