/* ==========================================================================
   ابو‌لفضل میرعمو — لندینگ پیج سینمایی (RTL / فارسی)
   --------------------------------------------------------------------------
   فایل ۱ از ۳: «پایه» — راهنمای سبک، توکن‌های طراحی، فونت، ریست، تایپوگرافی،
                دکمه‌ها، ناوبری، فوتر و دکمه‌های شناور
   فایل‌های همراه: sections.css (بخش‌ها) — animations.css (انیمیشن‌ها)
   --------------------------------------------------------------------------

   ┌─────────────────────────── راهنمای سبک (STYLE GUIDE) ───────────────────┐
   │ پالت رنگ                                                                │
   │   ── پس‌زمینه ──                                                        │
   │   #0A0A0A  مشکی عمیق            (رنگ پایه صفحه)                         │
   │   #0F0E0D  مشکی گرم            (پنل‌ها و کارت‌ها)                       │
   │   #141210  مشکی قهوه‌ای         (گرادیان نور صحنه)                       │
   │   ── طلایی ──                                                          │
   │   #D4AF37  طلایی اصلی          (رنگ برند، تیترها، آیکون‌ها)             │
   │   #C9A227  طلایی تیره          (سایه گرادیان‌ها، هاور)                  │
   │   #E8CB6A  طلایی روشن          (هایلایت، درخشش)                        │
   │   #F0A93B  آمبر گرم            (هاله‌ی نور، افکت اسپات‌لایت)            │
   │   ── متن ──                                                            │
   │   #F5F1E8  کرم نرم             (تیترها)        کنتراست روی مشکی ≈ 15:1 │
   │   #CFC7B8  کرم خاکی            (متن بلند)      کنتراست ≈ 11:1 (AAA)    │
   │   #9A9285  خاکستری گرم         (متن کم‌رنگ)    کنتراست ≈ 5.9:1 (AA)    │
   │   #17130A  قهوه‌ای تیره         (متن روی دکمه طلایی ≈ 8.9:1)           │
   │                                                                         │
   │ فونت‌ها (هر دو از خانواده‌ی Vazirmatn با وزن متغیر ۱۰۰ تا ۹۰۰)          │
   │   تیتر:  Vazirmatn — وزن 800 (ExtraBold)، اندازه‌ی Clamp، فاصله‌ی حروف  │
   │          نزدیک به صفر (خط فارسی نباید Tracking منفی بگیرد)              │
   │   متن:   Vazirmatn — وزن 400، اندازه ۱۶ تا ۱۸px، ارتفاع خط 1.9         │
   │   عدد:   Vazirmatn با ارقام فارسی (font-feature: ss02) یا تبدیل متنی  │
   │   جایگزین: «Estedad» → کافی است @font-face را عوض کنید (پایین توضیح داده│
   │            شده) — بقیه‌ی صفحه بدون تغییر کار می‌کند.                    │
   │                                                                         │
   │ شعاع گوشه‌ها: 12 / 18 / 26 / 999px   |  فاصله‌ی بخش‌ها: Clamp(4.5–9rem) │
   │ عرض محتوا: 1200px                    |  هاله‌ی طلایی: 0 0 60px amber    │
   └─────────────────────────────────────────────────────────────────────────┘
   ========================================================================== */

/* ---------------------------------------------------------------- ۱. فونت */
/* فایل‌های فونت به‌صورت محلی سرو می‌شوند (بدون CDN) و با font-display:swap
   نمایش داده می‌شوند. برای جایگزینی با «Estedad» فقط مسیر فایل‌ها را عوض کنید. */
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22,
    U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49,
    U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F,
    U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
    U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- ۲. توکن‌ها */
:root {
  /* رنگ */
  --ink: #0a0a0a;
  --ink-2: #0f0e0d;
  --ink-3: #141210;
  --panel: #121110;
  --panel-2: #17150f;

  --gold: #d4af37;
  --gold-deep: #c9a227;
  --gold-light: #e8cb6a;
  --amber: #f0a93b;

  --cream: #f5f1e8;
  --cream-dim: #cfc7b8;
  --muted: #9a9285;
  --on-gold: #17130a;

  --line: rgba(212, 175, 55, 0.14);
  --line-soft: rgba(245, 241, 232, 0.08);
  --line-strong: rgba(212, 175, 55, 0.36);

  --grad-gold: linear-gradient(135deg, #e8cb6a 0%, #d4af37 45%, #c9a227 100%);
  --grad-panel: linear-gradient(165deg, rgba(30, 26, 18, 0.9) 0%, rgba(15, 14, 13, 0.92) 55%, rgba(10, 10, 10, 0.96) 100%);
  --grad-stage: radial-gradient(120% 90% at 50% -10%, rgba(240, 169, 59, 0.2) 0%, rgba(212, 175, 55, 0.07) 34%, rgba(10, 10, 10, 0) 68%);

  /* نور و سایه */
  --glow-soft: 0 0 60px rgba(240, 169, 59, 0.22);
  --glow-gold: 0 14px 42px -14px rgba(212, 175, 55, 0.6);
  --shadow-card: 0 26px 60px -34px rgba(0, 0, 0, 0.95);
  --shadow-lift: 0 34px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 175, 55, 0.22);

  /* اندازه */
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4.25rem, 8.5vw, 8.5rem);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* تایپوگرافی */
  --font: "Vazirmatn", "Vazirmatn Variable", "Estedad", "Segoe UI", Tahoma, system-ui, sans-serif;
  --fs-body: clamp(1rem, 0.55vw + 0.9rem, 1.125rem);
  --lh-body: 1.9;
  --fs-h1: clamp(2.3rem, 9.4vw, 5.6rem);
  --fs-h2: clamp(1.65rem, 4.2vw, 2.85rem);
  --fs-h3: clamp(1.1rem, 1.1vw + 0.9rem, 1.35rem);
  --fs-sm: 0.95rem;
  --fs-xs: 0.82rem;

  /* حرکت */
  --ease-out: cubic-bezier(0.2, 0.72, 0.28, 1);
  --ease-soft: cubic-bezier(0.4, 0.14, 0.16, 1);
  --dur: 0.65s;

  --nav-h: 74px;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- ۳. ریست */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  /* گرادیان‌های نور روی ریشه‌ی صفحه می‌نشینند تا بومِ «صورت فلکی نُت‌ها»
     (که با z-index منفی زیر محتوا قرار دارد) پشت آن‌ها پنهان نشود. */
  background-color: var(--ink);
  background-image:
    radial-gradient(130% 70% at 50% -12%, rgba(240, 169, 59, 0.14) 0%, rgba(212, 175, 55, 0.04) 36%, transparent 66%),
    radial-gradient(90% 60% at 88% 14%, rgba(212, 175, 55, 0.07) 0%, transparent 60%),
    radial-gradient(80% 60% at 6% 88%, rgba(212, 175, 55, 0.06) 0%, transparent 62%);
  background-attachment: fixed, fixed, fixed;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--cream-dim);
  background: transparent;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* بافت نویز ملایم روی کل صفحه (بدون بلاک‌کردن کلیک) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.28s var(--ease-out);
}
a:hover {
  color: var(--gold-light);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(212, 175, 55, 0.32);
  color: var(--cream);
}

/* اسکرول‌بار هماهنگ با تم */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.45) transparent;
}
*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
*::-webkit-scrollbar-track {
  background: #0d0d0c;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #8d7318);
  border-radius: 9px;
}

/* پرش به محتوا (دسترس‌پذیری) */
.skip-link {
  position: fixed;
  inset-inline-start: 50%;
  top: -80px;
  z-index: 999;
  transform: translateX(-50%);
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--grad-gold);
  color: var(--on-gold);
  font-weight: 700;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus {
  top: 0;
  color: var(--on-gold);
}

/* ---------------------------------------------------------------- ۴. تایپوگرافی */
.display {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.004em;
  color: var(--cream);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.002em;
  color: var(--cream);
}

.card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.6;
  color: var(--cream);
}

.lead {
  font-size: clamp(1.02rem, 0.5vw + 0.95rem, 1.22rem);
  line-height: 2;
  color: var(--cream-dim);
}

.text-gold {
  color: var(--gold);
}

.gold-text {
  background: linear-gradient(120deg, #f4e2a4 0%, #d4af37 42%, #c9a227 74%, #e8cb6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

/* اعداد و ارقام — همیشه فارسی */
.num,
[data-num] {
  font-feature-settings: "ss02" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------- ۵. چیدمان */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--alt {
  background: linear-gradient(180deg, rgba(20, 18, 16, 0) 0%, rgba(20, 18, 16, 0.55) 22%, rgba(10, 10, 10, 0.2) 100%);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}

.section-head--start {
  margin-inline: 0;
  text-align: start;
}

/* «اِبرو» — برچسب کوچک بالای تیترها */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.34rem 0.95rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.eyebrow .icon {
  --icon-size: 16px;
  color: var(--gold);
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

/* ---------------------------------------------------------------- ۶. آیکون */
.icon {
  --icon-size: 22px;
  width: var(--icon-size);
  height: var(--icon-size);
  flex: none;
  color: currentColor;
  fill: none;
  overflow: visible;
}
.icon--lg {
  --icon-size: 30px;
}
.icon--sm {
  --icon-size: 17px;
}
.icon--xl {
  --icon-size: 42px;
}

/* ---------------------------------------------------------------- ۷. دکمه‌ها */
.btn {
  --btn-pad-y: 0.92rem;
  --btn-pad-x: 1.75rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.06rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.btn .icon {
  --icon-size: 19px;
}

.btn--gold {
  background-image: var(--grad-gold);
  background-color: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--glow-gold);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  color: var(--on-gold);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -14px rgba(212, 175, 55, 0.75);
}
/* درخشش عبوری روی دکمه‌ی طلایی */
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-soft);
}
.btn--gold:hover::after {
  transform: translateX(120%);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(212, 175, 55, 0.05);
  color: var(--cream);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-3px);
}

.btn--lg {
  --btn-pad-y: 1.15rem;
  --btn-pad-x: 2.35rem;
  font-size: clamp(1.02rem, 0.5vw + 0.95rem, 1.2rem);
}

.btn--sm {
  --btn-pad-y: 0.6rem;
  --btn-pad-x: 1.1rem;
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn--block .icon:last-child {
  margin-inline-start: auto;
}

/* پیوند «بیشتر بدانید» */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold);
}
.link-more .icon {
  --icon-size: 18px;
  transition: transform 0.35s var(--ease-out);
}
.link-more:hover .icon {
  transform: translateX(-4px);
}

/* ---------------------------------------------------------------- ۸. کارت */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--grad-panel);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.card::before {
  /* هاله‌ی طلایی که با هاور روشن می‌شود */
  content: "";
  position: absolute;
  inset-inline: -20%;
  top: -60%;
  height: 130%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(240, 169, 59, 0.16) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
  pointer-events: none;
}
.card:hover,
.card:focus-within {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}
.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

/* ---------------------------------------------------------------- ۹. ناوبری */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease-out), backdrop-filter 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.site-nav.is-scrolled {
  background-color: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.95);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

/* لوگو */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.brand:hover {
  color: var(--cream);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 30%, rgba(240, 169, 59, 0.26), rgba(10, 10, 10, 0.72) 72%);
  color: var(--gold);
  box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.18);
  overflow: hidden;
}
.brand__mark .icon {
  --icon-size: 24px;
}
/* تصویر لوگو (نشانه‌ی «میرعمو»). با اجرای tools/make-logo.py خودکار عوض می‌شود. */
.brand__mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand__mark img {
  transform: scale(1.08) rotate(-4deg);
}
.brand:hover .brand__mark {
  border-color: var(--gold);
  box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.28), 0 0 22px -6px rgba(240, 169, 59, 0.55);
}
.brand__text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* فهرست پیوندها */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1.4rem);
}
.nav-links a {
  position: relative;
  padding: 0.5rem 0.35rem;
  color: var(--cream-dim);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0.35rem;
  bottom: 0.15rem;
  height: 1.5px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--gold-light);
}
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* دکمه‌ی همبرگری */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.06);
  color: var(--cream);
}
.nav-toggle .icon {
  --icon-size: 24px;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="false"] .icon-close {
  display: none;
}

/* منوی موبایل */
@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }
  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: var(--nav-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.4rem;
    background: rgba(9, 9, 8, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px #000;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.02rem;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links .btn {
    margin-top: 1rem;
  }
}

@media (min-width: 901px) {
  .nav-links .btn {
    display: none; /* روی دسکتاپ دکمه‌ی تماس در بخش اقدام‌هاست */
  }
}

/* ---------------------------------------------------------------- ۱۰. فوتر */
.site-footer {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.35) 0%, #070706 100%);
}
.site-footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}
.site-footer h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.site-footer p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-top: 0.9rem;
  max-width: 42ch;
}
.footer-links {
  display: grid;
  gap: 0.65rem;
  font-size: var(--fs-sm);
}
.footer-links a {
  color: var(--cream-dim);
}
.footer-links a:hover {
  color: var(--gold-light);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.socials a:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  box-shadow: var(--glow-gold);
}
.socials .icon {
  --icon-size: 21px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* ---------------------------------------------------------------- ۱۱. دکمه‌های شناور */
/* تماس فوری (فقط موبایل) */
.call-fab {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--r-pill);
  background-image: var(--grad-gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 16px 40px -12px rgba(212, 175, 55, 0.7);
}
.call-fab:hover {
  color: var(--on-gold);
  transform: translateY(-3px);
}
.call-fab::before,
.call-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(212, 175, 55, 0.75);
  animation: pulseRing 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
.call-fab::after {
  animation-delay: 1.3s;
}
@media (max-width: 860px) {
  .call-fab {
    display: inline-flex;
  }
  body {
    padding-bottom: 0;
  }
  .back-to-top {
    bottom: 4.75rem;
  }
}

/* بازگشت به بالا */
.back-to-top {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 69;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(18, 17, 16, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s,
    border-color 0.3s var(--ease-out);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ---------------------------------------------------------------- ۱۲. کمکی */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
