/* ===== فوتر v2: چیدمان دو‌ستونه (جمله‌ی اصلی | کارت ارتباط)، گرادیان برند، شبکه‌ی نقطه‌ای ثابت. بدون انیمیشن و بدون backdrop-filter (سبک) ===== */
:root:root footer#contact.nf{background:#000;justify-content:center}
:root:root footer#contact.nf::before{content:"";position:absolute;inset-inline:0;top:0;height:1px;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(68,176,255,.55) 30%,rgba(139,68,255,.55) 60%,rgba(255,102,68,.4) 82%,transparent)}
:root:root footer#contact.nf .nf-glow{background:
  radial-gradient(46% 55% at 88% 14%,rgba(139,68,255,.20),transparent 70%),
  radial-gradient(42% 50% at 8% 24%,rgba(68,176,255,.15),transparent 70%),
  radial-gradient(50% 40% at 50% 108%,rgba(68,255,251,.09),transparent 70%)}
:root:root footer#contact.nf .nf-grid{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.085) 1px,transparent 1.3px);background-size:28px 28px;
  -webkit-mask-image:radial-gradient(80% 70% at 50% 30%,#000 10%,transparent 78%);mask-image:radial-gradient(80% 70% at 50% 30%,#000 10%,transparent 78%)}
:root:root footer#contact.nf .nf-wrap{gap:clamp(1.2rem,3.6vh,2.4rem)}

/* بالا: جمله‌ی اصلی + کارت ارتباط */
:root:root footer#contact.nf .nf-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);gap:clamp(1.4rem,4vw,4rem);align-items:center}
:root:root footer#contact.nf .nf-kicker{display:inline-flex;align-items:center;gap:.2rem;padding:.3rem .8rem;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:rgba(255,255,255,.7)}
:root:root footer#contact.nf .nf-statement{max-width:none;font-size:clamp(1.2rem,calc(.7rem + 1.55vw),2.25rem);line-height:1.55}
:root:root footer#contact.nf .nf-statement span{display:block}
:root:root footer#contact.nf .nf-statement em{display:block;margin-top:.15em;font-style:normal;
  background:linear-gradient(90deg,#44fffb 0%,#44b0ff 45%,#8b44ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
:root:root footer#contact.nf .nf-actions{display:flex;flex-wrap:wrap;gap:.7rem}
:root:root footer#contact.nf .nf-cta2{display:inline-flex;align-items:center;height:48px;padding:0 1.4rem;border-radius:999px;color:#fff;font-weight:700;font-size:.92rem;
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04);transition:border-color .25s ease,background .25s ease,transform .25s ease}
:root:root footer#contact.nf .nf-cta2:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.09);transform:translateY(-2px)}

/* کارت ارتباط (شبیه پنجره‌ی ادیتور) */
:root:root footer#contact.nf .nf-card{position:relative;border-radius:1.2rem;overflow:hidden;direction:ltr;text-align:left;
  background:linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 60px -30px rgba(139,68,255,.45),inset 0 1px 0 rgba(255,255,255,.08)}
:root:root footer#contact.nf .nf-card-bar{display:flex;align-items:center;gap:.8rem;padding:.7rem 1rem;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.28)}
:root:root footer#contact.nf .nf-dots{display:inline-flex;gap:.38rem}
:root:root footer#contact.nf .nf-dots i{width:.62rem;height:.62rem;border-radius:50%;background:rgba(255,255,255,.2)}
:root:root footer#contact.nf .nf-dots i:nth-child(1){background:#ff5f57}:root:root footer#contact.nf .nf-dots i:nth-child(2){background:#febc2e}:root:root footer#contact.nf .nf-dots i:nth-child(3){background:#28c840}
:root:root footer#contact.nf .nf-card-file{font-size:.74rem;color:rgba(255,255,255,.5)}
:root:root footer#contact.nf .nf-card-body{padding:1rem 1.1rem 1.15rem;direction:rtl;text-align:right}
:root:root footer#contact.nf .nf-card .nf-h{margin-bottom:.5rem;color:rgba(255,255,255,.5)}
:root:root footer#contact.nf .nf-card .nf-link{width:100%;min-height:42px;padding:.15rem .7rem;margin-inline:-.2rem;border-radius:.7rem;color:rgba(255,255,255,.85);font-size:.92rem;transition:background .2s ease,color .2s ease}
:root:root footer#contact.nf .nf-card .nf-link:hover{background:rgba(255,255,255,.07);color:#fff;transform:none}
:root:root footer#contact.nf .nf-card .nf-link svg{color:#44b0ff}
:root:root footer#contact.nf .nf-card .nf-social{margin-top:.8rem}

/* وسط: برند + دو ستون لینک */
:root:root footer#contact.nf .nf-cols{grid-template-columns:1.4fr 1fr 1fr;border-top:0;padding-top:clamp(.4rem,1.6vh,1rem);position:relative}
:root:root footer#contact.nf .nf-cols::before{content:"";position:absolute;inset-inline:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent)}
:root:root footer#contact.nf .nf-cols{padding-top:clamp(1.1rem,3vh,1.8rem)}
:root:root footer#contact.nf .nf-h{position:relative;padding-bottom:.55rem;margin-bottom:.55rem}
:root:root footer#contact.nf .nf-cols .nf-h::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:1.6rem;height:2px;border-radius:2px;background:linear-gradient(90deg,#44b0ff,#8b44ff)}
:root:root footer#contact.nf .nf-bar{border-top:0;position:relative;padding-top:clamp(.8rem,2vh,1.1rem)}
:root:root footer#contact.nf .nf-bar::before{content:"";position:absolute;inset-inline:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent)}
:root:root footer#contact.nf .nf-word{background:linear-gradient(180deg,rgba(139,68,255,.16) 0%,rgba(68,176,255,.05) 55%,rgba(255,255,255,0) 85%);-webkit-background-clip:text;background-clip:text}

:root:root footer#contact.nf .nf-nav a{min-height:30px;font-size:.88rem}
:root:root footer#contact.nf .nf-verify{letter-spacing:0;font-family:inherit}
:root:root footer#contact.nf .nf-bar{row-gap:.5rem}
:root:root footer#contact.nf .nf-sign{letter-spacing:0;font-family:inherit}
:root:root footer#contact.nf .nf-wrap{gap:clamp(1rem,2.8vh,2rem)}
@media (min-width:1024px) and (max-height:820px){
  :root:root footer#contact.nf .nf-card .nf-link{min-height:36px}
  :root:root footer#contact.nf .nf-nav a{min-height:26px}
}
:root:root footer#contact.nf .nf-nav[aria-label="دسترسی سریع"]{display:grid;grid-template-columns:repeat(2,max-content);column-gap:clamp(1.2rem,3vw,2.6rem)}
@media (max-width:1023.98px){
  :root:root footer#contact.nf .nf-top{grid-template-columns:1fr}
  :root:root footer#contact.nf .nf-cols{grid-template-columns:1fr 1fr}
  :root:root footer#contact.nf .nf-brandcol{grid-column:1/-1}
}
@media (max-width:767.98px){
  :root:root footer#contact.nf .nf-statement{font-size:clamp(1.25rem,5.6vw,1.7rem)}
  :root:root footer#contact.nf .nf-cta,:root:root footer#contact.nf .nf-cta2{flex:1 1 9rem;justify-content:center}
}
