/* =========================================================
   بخش ارتباط با هنرمند
   طراحی تیره و سینمایی با جزئیات طلایی و کارت‌های مینیمال
   ========================================================= */

/* زمینه پایانی سایت؛ کنتراست آن با سکشن روشن قبلی، پایان‌بندی ایجاد می‌کند. */
.contact-section {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(78px,9vw,118px) clamp(24px,7vw,100px) 28px;
  color:#F0EEE9;
  background:
    radial-gradient(ellipse at 82% 18%,rgba(197,164,109,.12),transparent 34%),
    radial-gradient(ellipse at 8% 88%,rgba(115,137,151,.09),transparent 36%),
    linear-gradient(135deg,#111518 0%,#171C20 52%,#101315 100%);
}

/* خطوط ظریف معماری در پس‌زمینه؛ تزئینات مزاحم محتوا نیستند. */
.contact-section::before {
  position:absolute;
  z-index:0;
  top:0;
  right:9%;
  width:1px;
  height:100%;
  background:linear-gradient(180deg,transparent,rgba(197,164,109,.18),transparent);
  content:"";
  pointer-events:none;
}
.contact-section::after {
  position:absolute;
  z-index:0;
  right:4vw;
  bottom:8%;
  color:rgba(240,238,233,.025);
  content:"F.";
  font:italic 400 clamp(220px,34vw,470px)/.8 var(--font-editorial);
  pointer-events:none;
}

/* محتوای سکشن روی افکت زمستان قرار می‌گیرد. */
.contact-section__inner {
  position:relative;
  z-index:1;
  width:min(1120px,100%);
  margin:0 auto;
}

/* معرفی بخش و تیتر بزرگ */
.contact-section__heading {
  max-width:760px;
}
.contact-section__eyebrow {
  display:flex;
  align-items:center;
  gap:13px;
  margin:0 0 24px;
  color:#C5A46D;
  font:700 9px/1.6 var(--font-body);
  letter-spacing:.3em;
}
.contact-section__eyebrow::before {
  width:38px;
  height:1px;
  background:#C5A46D;
  content:"";
}
.contact-section__title {
  margin:0;
  color:#F0EEE9;
  font:400 clamp(54px,7vw,88px)/.94 var(--font-editorial);
  letter-spacing:-.065em;
}
.contact-section__title span {
  display:block;
  color:#C5A46D;
  font-style:italic;
}
.contact-section__intro {
  max-width:460px;
  margin:22px 0 0;
  color:rgba(240,238,233,.62);
  font:400 14px/1.9 var(--font-body);
  letter-spacing:.015em;
}

/* شبکه چهار کارت ارتباطی در یک ردیف؛ در نمایشگر کوچک به ستون تبدیل می‌شود. */
.contact-section__channels {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:clamp(38px,5vw,58px);
}

/* هر کارت به‌صورت مستقل و با مرز کم‌رنگ طراحی شده است. */
.contact-channel {
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:154px;
  padding:19px 18px 17px;
  border:1px solid rgba(240,238,233,.13);
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  color:#F0EEE9;
  text-decoration:none;
  transition:
    border-color .35s ease,
    background .35s ease,
    transform .35s ease;
}
.contact-channel:hover,
.contact-channel:focus-visible {
  border-color:rgba(197,164,109,.65);
  background:linear-gradient(145deg,rgba(197,164,109,.11),rgba(255,255,255,.025));
  transform:translateY(-5px);
  outline:none;
}

/* قاب آیکون؛ آیکون‌ها با SVG خطی ساخته شده‌اند و به فونت بیرونی نیاز ندارند. */
.contact-channel__icon {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  margin-bottom:17px;
  border:1px solid rgba(197,164,109,.42);
  border-radius:50%;
  color:#C5A46D;
}
.contact-channel__icon svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.contact-channel__icon:not(.contact-channel__icon--x) svg path:not(:first-child) {
  fill:none;
}
.contact-channel__icon--x svg {
  width:18px;
  height:18px;
}
.contact-channel__icon--x svg path {
  fill:none;
}

/* نوشته‌های داخل کارت */
.contact-channel__copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  margin-top:auto;
}
.contact-channel__label {
  color:rgba(197,164,109,.86);
  font:700 7px/1.5 var(--font-body);
  letter-spacing:.2em;
}
.contact-channel__copy strong {
  color:#F0EEE9;
  font:400 25px/1.1 var(--font-editorial);
}
.contact-channel__handle {
  color:rgba(240,238,233,.48);
  font:400 10px/1.6 var(--font-body);
  letter-spacing:.06em;
  overflow-wrap:anywhere;
}
.contact-channel__arrow {
  position:absolute;
  top:24px;
  right:22px;
  color:rgba(197,164,109,.8);
  font:400 17px/1 var(--font-editorial);
  transition:transform .3s ease,color .3s ease;
}
.contact-channel:hover .contact-channel__arrow {
  color:#E2C28B;
  transform:translate(3px,-3px);
}

/* کارت ایمیل تا زمان ثبت نشانی واقعی، ظاهر یکسان دارد اما لینک جعلی نیست. */
.contact-channel--email {
  cursor:pointer;
}
.contact-channel--email .contact-channel__handle {
  font-size:9px;
  letter-spacing:.025em;
}
.contact-channel--email .contact-channel__arrow {
  font-size:19px;
}

/* امضای پایانی و لینک بازگشت به بالای صفحه */
.contact-section__footer {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-top:clamp(48px,6vw,68px);
  padding-top:24px;
  border-top:1px solid rgba(240,238,233,.16);
}
.contact-section__signature {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:13px;
  row-gap:5px;
}
.contact-section__signature-mark {
  color:#C5A46D;
  font:italic 36px/1 var(--font-editorial);
}
.contact-section__signature-name {
  color:rgba(240,238,233,.82);
  font:700 8px/1.5 var(--font-body);
  letter-spacing:.17em;
}
.contact-section__signature-role {
  flex-basis:100%;
  margin-left:49px;
  color:rgba(240,238,233,.38);
  font:700 7px/1.5 var(--font-body);
  letter-spacing:.19em;
}
.contact-section__back-top {
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:9px 0;
  color:rgba(240,238,233,.55);
  font:700 8px/1.5 var(--font-body);
  letter-spacing:.18em;
  text-decoration:none;
  transition:color .25s ease;
}
.contact-section__back-top span {
  color:#C5A46D;
  font-size:16px;
  transition:transform .25s ease;
}
.contact-section__back-top:hover {
  color:#F0EEE9;
}
.contact-section__back-top:hover span {
  transform:translateY(-3px);
}

/* لایه برف زمستانی؛ پشت کارت‌ها و متن باقی می‌ماند. */
.contact-section > .season-canvas {
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  opacity:.7;
  pointer-events:none;
}

/* تبلت و لپ‌تاپ‌های باریک */
@media (max-width:1000px) {
  .contact-section__channels {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .contact-channel {
    min-height:145px;
  }
}

/* موبایل */
@media (max-width:600px) {
  .contact-section {
    padding:88px 22px 26px;
  }
  .contact-section__eyebrow {
    margin-bottom:26px;
    font-size:8px;
  }
  .contact-section__title {
    font-size:clamp(58px,13vw,82px);
  }
  .contact-section__intro {
    margin-top:24px;
    font-size:13px;
  }
  .contact-section__channels {
    grid-template-columns:1fr;
    gap:10px;
    margin-top:34px;
  }
  .contact-channel {
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 18px;
    align-items:center;
    min-height:88px;
    padding:13px 15px;
    column-gap:13px;
  }
  .contact-channel__icon {
    width:42px;
    height:42px;
    margin:0;
    grid-row:1;
  }
  .contact-channel__copy {
    margin:0;
  }
  .contact-channel__copy strong {
    font-size:23px;
  }
  .contact-channel__arrow {
    position:static;
    justify-self:end;
    grid-column:3;
    grid-row:1;
  }
  .contact-section__footer {
    align-items:flex-start;
    flex-direction:column;
    margin-top:46px;
    gap:22px;
  }
  .contact-section__back-top {
    align-self:flex-end;
  }
}

/* احترام به تنظیم کاهش حرکت سیستم‌عامل */
@media (prefers-reduced-motion:reduce) {
  .contact-channel,
  .contact-channel__arrow,
  .contact-section__back-top,
  .contact-section__back-top span {
    transition:none;
  }
  .contact-channel:hover { transform:none; }
}


/* =========================================================
   فوتر سینمایی؛ عکس کوهستان به‌عنوان پس‌زمینه و بارش برف
   ========================================================= */

/* خود فوتر یک قاب تمام‌عرض است؛ عکس دیگر به‌صورت یک کارت جدا دیده نمی‌شود. */
.site-copyright {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  flex-direction:column;
  min-height:clamp(330px,38vw,490px);
  padding:0 clamp(24px,7vw,100px);
  overflow:hidden;
  border:0;
  background:#0D151B;
  color:rgba(239,245,247,.76);
  font:700 8px/1.7 var(--font-body);
  letter-spacing:.14em;
}

/* تصویر کوهستان تمام سطح فوتر را می‌پوشاند؛ برش آن با object-fit کنترل می‌شود. */
.site-copyright__background {
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 54%;
}

/* سایه چندمرحله‌ای برای خوانایی نوشته‌ها و ایجاد عمق سینمایی. */
.site-copyright__shade {
  position:absolute;
  z-index:1;
  inset:0;
  background:
    linear-gradient(180deg,rgba(7,13,18,.18) 0%,rgba(7,13,18,.12) 34%,rgba(7,13,18,.72) 72%,rgba(7,13,18,.96) 100%),
    linear-gradient(90deg,rgba(7,13,18,.48),transparent 72%);
  pointer-events:none;
}

/* لایه برف متحرک دقیقاً روی عکس و زیر متن قرار می‌گیرد. */
.site-copyright__snow {
  position:absolute;
  z-index:2;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  pointer-events:none;
}

/* محتوای فوتر روی عکس قرار می‌گیرد و در پایین قاب نظم می‌یابد. */
.site-copyright__content {
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:inherit;
  padding-top:90px;
}

/* عنوان عکس در بخش میانی پایین؛ کوچک، خلوت و هماهنگ با هویت بصری سایت. */
.site-copyright__landscape-title {
  align-self:flex-start;
  margin:0 0 clamp(64px,9vw,112px);
  color:#F0F3F4;
  text-shadow:0 2px 18px rgba(0,0,0,.45);
}
.site-copyright__eyebrow {
  display:block;
  margin-bottom:13px;
  color:rgba(202,220,228,.78);
  font-size:7px;
  letter-spacing:.28em;
}
.site-copyright__landscape-title p {
  margin:0;
  font:400 clamp(18px,2.5vw,30px)/1.2 var(--font-editorial);
  letter-spacing:.055em;
}
.site-copyright__landscape-title i {
  padding:0 7px;
  color:#B8CDD5;
  font-style:normal;
}

/* ردیف حقوق نشر در پایین تصویر؛ با یک خط باریک از عنوان عکس جدا می‌شود. */
.site-copyright__legal {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:19px 0 22px;
  border-top:1px solid rgba(220,234,239,.28);
  color:rgba(239,245,247,.62);
  font-size:8px;
  letter-spacing:.14em;
}
.site-copyright__legal p { margin:0; }
.site-copyright__legal p:first-child span { color:#D2E0E5; }

/* چیدمان فوتر در موبایل؛ متن‌ها بدون فشردگی زیر هم قرار می‌گیرند. */
@media (max-width:700px) {
  .site-copyright {
    min-height:360px;
    padding:0 21px;
  }
  .site-copyright__background { object-position:center center; }
  .site-copyright__content { padding-top:70px; }
  .site-copyright__landscape-title { margin-bottom:72px; }
  .site-copyright__landscape-title p { font-size:21px; }
  .site-copyright__legal {
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
    padding:15px 0 18px;
    font-size:7px;
    letter-spacing:.1em;
  }
}

/* احترام به تنظیم کاهش حرکت سیستم‌عامل */
@media (prefers-reduced-motion:reduce) {
  .site-copyright__snow { display:none; }
}


/* =========================================================
   دکمه شناور بازگشت به بالای صفحه
   ========================================================= */

/* در ابتدای صفحه پنهان است؛ جاوااسکریپت پس از کمی اسکرول آن را نمایان می‌کند. */
.floating-back-to-top {
  position:fixed;
  z-index:10000;
  right:clamp(18px,3vw,38px);
  bottom:clamp(18px,3vw,34px);
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid rgba(197,164,109,.62);
  border-radius:50%;
  background:rgba(12,15,17,.82);
  color:#D8BC8B;
  box-shadow:0 8px 28px rgba(0,0,0,.28);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  text-decoration:none;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .3s ease,visibility .3s ease,transform .3s ease,background .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease;
}

/* فقط وقتی کاربر از ابتدای صفحه فاصله گرفت، دکمه قابل مشاهده و کلیک می‌شود. */
.floating-back-to-top.is-visible {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

/* فلش خطی و ساده، هماهنگ با جزئیات طلایی سایت */
.floating-back-to-top svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .3s ease;
}
.floating-back-to-top:hover,
.floating-back-to-top:focus-visible {
  border-color:#D8BC8B;
  background:rgba(197,164,109,.18);
  color:#F0D8AE;
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,.36);
  outline:2px solid rgba(216,188,139,.28);
  outline-offset:4px;
}
.floating-back-to-top:hover svg {
  transform:translateY(-2px);
}
.floating-back-to-top:active {
  transform:translateY(-1px);
}

/* در موبایل کمی کوچک‌تر می‌شود تا مزاحم محتوا نباشد. */
@media (max-width:600px) {
  .floating-back-to-top {
    right:16px;
    bottom:16px;
    width:44px;
    height:44px;
  }
}

/* در صورت فعال بودن کاهش حرکت، انیمیشن‌ها حذف می‌شوند. */
@media (prefers-reduced-motion:reduce) {
  .floating-back-to-top,
  .floating-back-to-top svg {
    transition:none;
  }
}


/* تراز دوطرفه توضیح کوتاه بخش ارتباط */
.contact-section__intro {
  text-align:justify;
  text-justify:inter-word;
}
