/* ========== متغیرهای رنگ ========== */
/* فونت اصلی سایت */
/* ========== فونت‌ها ========== */

/* B Mitra - فونت اصلی سایت */
@font-face {
  font-family: "B Mitra";
  src: url("../fonts/BMitra.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "B Arash";
  src: url("../fonts/BArash.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "B Mashhad";
  src: url("../fonts/BMashhad.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink-50:  #fff5f9;
  --pink-100: #ffe3ef;
  --pink-300: #f7a8c8;
  --pink-500: #e5528f;
  --pink-600: #d63384;
  --pink-700: #a8225f;
  --black:    #151515;
  --gray:     #6a6a6a;
  --white:    #ffffff;
  --radius:   16px;
  --shadow:   0 10px 30px rgba(214, 51, 132, .15);
  --font: "B Mitra", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.narrow { width: min(780px, 92%); }

/* ========== دکمه‌ها ========== */
.btn {
  display: inline-block;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid var(--pink-600);
  cursor: pointer;
  transition: .25s;
}
.btn-solid  { background: var(--pink-600); color: var(--white); }
.btn-solid:hover  { background: var(--pink-700); border-color: var(--pink-700); }
.btn-outline { background: transparent; color: var(--pink-600); }
.btn-outline:hover { background: var(--pink-600); color: var(--white); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

/* ========== هدر ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pink-100);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-actions { display: flex; gap: .6rem; }

.logo { display: block; width: var(--logo-width); height: var(--logo-height); }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--pink-300);
  border-radius: 12px;
  color: var(--pink-600); font-weight: 700;
}

.menu-btn {
  width: 44px; height: 44px;
  background: var(--pink-50); border: 1px solid var(--pink-100);
  border-radius: 12px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  transition: .25s;
}
.menu-btn:hover { background: var(--pink-100); }
.menu-btn span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; }

/* ========== منوی کشویی ========== */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .5);
}
.overlay[hidden] { display: none; }

.sidebar {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(360px, 88vw); height: 100%;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
  visibility: hidden;
}
.sidebar.open { transform: translateX(0); visibility: visible; }

.sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--black); color: var(--white);
}
.sidebar-title { font-weight: 700; color: var(--pink-300); }
.close-btn {
  background: none; border: 0; color: var(--white);
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.close-btn:hover { color: var(--pink-300); }

.side-menu { padding: .5rem 0; }
.side-menu > li { border-bottom: 1px solid var(--pink-100); }

.side-link, .sub-toggle {
  display: block; width: 100%;
  padding: .9rem 1.2rem;
  background: none; border: 0;
  text-align: right; font-family: inherit; font-size: 1rem;
  color: var(--black); cursor: pointer;
  transition: .2s;
}
.side-link:hover, .sub-toggle:hover { color: var(--pink-600); background: var(--pink-50); }

.sub-toggle { position: relative; padding-left: 2.5rem; font-weight: 600; }
.sub-toggle::after {
  content: "+"; position: absolute; left: 1.2rem; top: 50%;
  transform: translateY(-50%); font-size: 1.3rem; color: var(--pink-600);
}
.sub-toggle[aria-expanded="true"] { color: var(--pink-600); }
.sub-toggle[aria-expanded="true"]::after { content: "−"; }

.submenu { display: none; background: var(--pink-50); padding: .3rem 0; }
.has-sub.open .submenu { display: block; }
.submenu a {
  display: block; padding: .6rem 2rem;
  font-size: .93rem; color: var(--gray); transition: .2s;
}
.submenu a:hover { color: var(--pink-600); padding-right: 2.4rem; }

/* ========== صفحه اصلی ========== */
/* ========== صفحه اصلی ========== */
.hero {
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  text-align: center;
  background: linear-gradient(180deg, var(--pink-50) 0%, var(--white) 100%);
}
.hero--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-kicker {
  color: var(--pink-600);
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.slogan {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--black);
  margin: 0 auto;
  max-width: 900px;
}
.slogan span {
  color: var(--pink-600);
  position: relative;
  display: inline-block;
}
.slogan span::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: 2px;
  height: 10px;
  background: var(--pink-100);
  z-index: -1;
  border-radius: 6px;
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.hero-actions--center { justify-content: center; }

.section { padding: 3.5rem 0; }
.section-title { text-align: center; font-size: 1.7rem; margin-bottom: 2rem; }
.section-title::after {
  content: ""; display: block; width: 60px; height: 4px;
  background: var(--pink-600); border-radius: 4px; margin: .6rem auto 0;
}

/* ========== کارت‌های خدمات ========== */
/* ========== کارت‌های خدمات ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  display: block;
  padding: 1.8rem 1.5rem 1.6rem;
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  color: var(--black);
  text-decoration: none;

  /* حالت اولیه — پنهان و پایین */
  opacity: 0;
  transform: translateY(50px) scale(.9);

  transition:
    opacity .8s cubic-bezier(.2,.8,.2,1),
    transform .8s cubic-bezier(.2,.8,.2,1),
    box-shadow .4s ease,
    border-color .3s ease;
  will-change: opacity, transform;
}

/* حالت نهایی — وقتی اسکریپت کلاس is-in را اضافه کرد */
.card.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* نوار پایین کارت که موقع hover پر می‌شود */
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink-500), var(--pink-700));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}

/* درخشش نور نرم */
.card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: rotate(25deg);
  transition: left .8s ease;
  pointer-events: none;
  z-index: 1;
}

/* hover */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px -14px rgba(214, 51, 132, .35),
    0 0 0 1px var(--pink-300);
  border-color: var(--pink-300);
}
.card:hover::before { transform: scaleX(1); transform-origin: left; }
.card:hover::after  { left: 140%; }

/* عنوان و متن */
.card h3 {
  position: relative;
  color: var(--pink-600);
  margin-bottom: .5rem;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  transition: color .3s ease, transform .35s ease;
  z-index: 1;
}
.card:hover h3 {
  color: var(--pink-700);
  transform: translateX(-4px);
}

.card p {
  color: var(--gray);
  font-size: .93rem;
  line-height: 1.85;
  transition: color .3s ease;
  z-index: 1;
  position: relative;
}
.card:hover p { color: var(--black); }

/* فلش کوچک */
.card .card__arrow {
  position: absolute;
  left: 1.4rem;
  bottom: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink-50);
  color: var(--pink-600);
  display: grid;
  place-items: center;
  font-size: .9rem;
  opacity: 0;
  transform: translateX(12px) rotate(-45deg);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.card:hover .card__arrow {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

/* ---------- موبایل: انیمیشن ورود از چپ/راست به‌جای پایین ---------- */
@media (max-width: 640px) {
  .card {
    transform: translateX(-30px) scale(.96);
    transition:
      opacity .7s cubic-bezier(.2,.8,.2,1),
      transform .7s cubic-bezier(.2,.8,.2,1),
      box-shadow .35s ease,
      border-color .3s ease;
  }
  .card.is-in {
    transform: translateX(0) scale(1);
  }
  .card:nth-child(even) {
    transform: translateX(30px) scale(.96);
  }
  .card:nth-child(even).is-in {
    transform: translateX(0) scale(1);
  }
  .card:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card::after { display: none; }
}
/* ========== صفحه داخلی ========== */
.page-head { background: var(--black); color: var(--white); padding: 2.5rem 0; text-align: center; }
.page-head h1 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
.lead { font-size: 1.1rem; color: var(--gray); margin-bottom: 1.5rem; }
.page-content p { margin-bottom: 1rem; }

/* ========== فوتر ========== */
.site-footer {
  background: var(--pink-700);
  color: var(--white);
  margin-top: 3rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; padding: 3rem 0 2rem;
}
.site-footer h3 { margin-bottom: .8rem; font-size: 1.1rem; }
.footer-links li { margin-bottom: .3rem; }
.footer-links a { opacity: .9; transition: .2s; }
.footer-links a:hover { opacity: 1; color: var(--pink-100); padding-right: .4rem; }

.footer-logo {
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--pink-600); font-weight: 800;
  margin-bottom: 1rem;
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(255, 255, 255, .45); }
  50%      { box-shadow: 0 0 30px 8px rgba(255, 255, 255, .85); }
}

.socials { display: flex; gap: .6rem; margin: .8rem 0; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .15);
  color: var(--white); font-size: .78rem; font-weight: 700;
  transition: .25s;
}
.socials a:hover { background: var(--white); color: var(--pink-700); transform: translateY(-3px); }

.footer-bottom {
  background: var(--black); text-align: center;
  padding: .9rem 0; color: #bbb;
}

/* ========== موبایل ========== */
@media (max-width: 640px) {
  .header-inner { min-height: 64px; }
  .btn { padding: .45rem .9rem; font-size: .85rem; }
  .logo { width: calc(var(--logo-width) * .75); height: calc(var(--logo-height) * .75); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* ========== فونت شعار ========== */
@font-face {
  font-family: "B Morvarid";
  src: url("../fonts/B Morvarid.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.slogan { font-family: "B Morvarid", var(--font); font-weight: 400; }

/* ========== پیام‌ها ========== */
.messages { padding-top: 1rem; }
.alert {
  padding: .8rem 1rem; border-radius: 12px; margin-bottom: .6rem;
  font-size: .95rem; border: 1.5px solid var(--pink-300); background: var(--pink-50);
}
.alert-success { border-color: var(--pink-600); }
.alert-error { background: var(--pink-100); border-color: var(--pink-700); color: var(--pink-700); font-weight: 600; }

/* ========== فرم‌ها و حساب کاربری ========== */
.auth { padding: 3rem 0; background: linear-gradient(180deg, var(--pink-50), var(--white)); }
.auth-intro { text-align: center; margin-bottom: 2rem; }
.auth-intro h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.auth-intro p { color: var(--gray); }
.auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; align-items: start; }
.auth-card {
  background: var(--white); border: 1px solid var(--pink-100);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.auth-card.single { max-width: 460px; margin-inline: auto; }
.auth-card h1, .auth-card h2 { font-size: 1.35rem; margin-bottom: 1.1rem; color: var(--pink-700); }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .92rem; }
.input {
  width: 100%; padding: .7rem .9rem; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--pink-100); border-radius: 12px; background: var(--white);
  transition: .2s;
}
.input:focus { outline: none; border-color: var(--pink-600); box-shadow: 0 0 0 3px var(--pink-100); }
.birth-row { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: .5rem; }
.help { display: block; color: var(--gray); font-size: .82rem; margin: .3rem 0 .8rem; }
.help ul { padding-right: 1.1rem; list-style: disc; }
.error { display: block; color: var(--pink-700); font-size: .85rem; font-weight: 600; margin-top: .3rem; }
.btn-block { width: 100%; text-align: center; }
.resend { margin-top: .7rem; }
.link-row { text-align: center; margin-top: 1rem; font-size: .92rem; }
.link-row a { color: var(--pink-600); text-decoration: underline; }
.side-user { padding: .8rem 1.2rem; background: var(--pink-50); color: var(--pink-700); font-weight: 700; border-bottom: 1px solid var(--pink-100); }
.logout { color: var(--pink-700); font-weight: 700; }
.notice { margin-top: 2rem; padding: 1rem 1.2rem; border: 1.5px dashed var(--pink-300); border-radius: var(--radius); color: var(--gray); text-align: center; }


/* ========== بخش اصلی: شعار متحرک و سر کچل ========== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 2rem;
  text-align: right;
}
.hero-text .hero-actions { justify-content: flex-start; }
.hero-art { width: 100%; max-width: 340px; justify-self: center; }
.head-svg { width: 100%; height: auto; overflow: visible; }

/* شعار */
.s-line { display: block; font-weight: 400; }
.s1 { animation: rise .9s ease-out .2s both; }
.s2 {
  color: var(--pink-600);
  position: relative;
  display: inline-block;
  isolation: isolate;
  animation: rise .9s ease-out 1s both;
}
.s2::after {
  content: "";
  position: absolute; right: 0; left: 0; bottom: 4px;
  height: 12px; background: var(--pink-100);
  border-radius: 6px; z-index: -1;
  transform-origin: right;
  animation: sweep .8s ease-out 1.7s both;
}
.hero-kicker { animation: rise .8s ease-out both; }
.hero-text .hero-actions { animation: rise .8s ease-out 2.4s both; }

/* سر */
.head-svg { animation: popin .8s ease-out both; }
.halo  { fill: var(--pink-50); }
.shirt { fill: var(--black); }
.skin  { fill: var(--pink-100); stroke: var(--black); stroke-width: 3; }
.eye   { fill: var(--black); }
.line  { fill: none; stroke: var(--black); stroke-width: 4; stroke-linecap: round; }

/* موها */
.strand {
  fill: none;
  stroke: var(--black);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
  animation: grow 1.4s ease-out both;
}
.hair-wrap {
  transform-origin: 150px 200px;
  animation: sway 5s ease-in-out 4.2s infinite alternate;
}

@keyframes rise  { from { opacity: 0; transform: translateY(18px); } }
@keyframes sweep { from { transform: scaleX(0); } }
@keyframes popin { from { opacity: 0; transform: scale(.92); } }
@keyframes grow  { from { stroke-dashoffset: 1.1; } }
@keyframes sway  { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-art { order: -1; max-width: 230px; }
}

/* ========== پنل کاربری و مراحل ========== */
[hidden] { display: none !important; }
.panel-wrap { width: min(900px, 92%); margin-inline: auto; }

/* ----- نوار پیشرفت سه‌بعدی ----- */
.stepper {
  position: relative;
  direction: ltr;
  margin: 2rem 0 3rem;
  padding-top: 4px;
  filter: drop-shadow(0 6px 10px rgba(214, 51, 132, .18));
}

.stepper .track {
  position: absolute;
  top: 20px;
  left: 8.333%;
  right: 8.333%;
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe3ef 0%, #f7d0e0 100%);
  overflow: hidden;
  box-shadow:
    inset 0 2px 4px rgba(168, 34, 95, .18),
    inset 0 -1px 0 rgba(255, 255, 255, .5);
}

.stepper .fill {
  display: block;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #e5528f 0%, #d63384 50%, #a8225f 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .35),
    inset 0 -2px 4px rgba(0, 0, 0, .18),
    0 0 14px rgba(214, 51, 132, .45);
  animation: fillin 1.1s cubic-bezier(.2, .8, .2, 1) both;
  position: relative;
  overflow: hidden;
}

.stepper .fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: track-shine 2.6s ease-in-out infinite;
}

@keyframes fillin {
  from { width: 0 !important; }
}
@keyframes track-shine {
  0%   { left: -30%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

/* ----- مراحل ----- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .55rem;
}

.step .dot {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #fff5f9 100%);
  border: 3px solid #ffe3ef;
  color: var(--gray);
  font-weight: 800;
  font-size: 1rem;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow:
    0 4px 8px rgba(214, 51, 132, .12),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  z-index: 2;
}

.step.done .dot {
  background: linear-gradient(180deg, #e5528f 0%, #a8225f 100%);
  border-color: #a8225f;
  color: var(--white);
  box-shadow:
    0 6px 14px rgba(214, 51, 132, .45),
    inset 0 2px 0 rgba(255, 255, 255, .35),
    inset 0 -2px 6px rgba(0, 0, 0, .18);
}
.step.done .dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(214, 51, 132, .3);
  animation: step-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes step-pulse {
  0%   { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.3); opacity: 0; }
}

.step.active .dot {
  background: linear-gradient(180deg, #ffffff 0%, #ffe3ef 100%);
  border-color: #d63384;
  color: #d63384;
  box-shadow:
    0 6px 18px rgba(214, 51, 132, .35),
    0 0 0 6px rgba(214, 51, 132, .15),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: step-bounce 1.8s ease-in-out infinite;
}
@keyframes step-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.step .label {
  direction: rtl;
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.6;
  padding-inline: .2rem;
  transition: color .3s;
}
.step.done .label   { color: var(--pink-700); font-weight: 700; }
.step.active .label { color: var(--black); font-weight: 800; }

@media (max-width: 640px) {
  .step .label { font-size: .68rem; }
  .step .dot   { width: 32px; height: 32px; font-size: .85rem; border-width: 2px; }
  .stepper .track { top: 15px; height: 8px; }
  .step.done .dot::after { display: none; }
}
/* جعبه هر مرحله */
.step-box {
  background: var(--white); border: 1px solid var(--pink-100);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.step-box.center { text-align: center; }
.step-box h2 { color: var(--pink-700); font-size: 1.3rem; margin-bottom: .6rem; }
.step-box.rejected {
  background: var(--pink-50); border-color: var(--pink-700);
  color: var(--pink-700); font-weight: 700; text-align: center;
}
.sub-title { margin: 1.2rem 0 .8rem; color: var(--pink-700); font-size: 1.05rem; }

/* کادر باز شونده */
.dialog {
  border: 0; border-radius: var(--radius); padding: 1.8rem;
  width: min(440px, 92vw); direction: rtl; font-family: inherit;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.dialog::backdrop { background: rgba(0, 0, 0, .55); }
.dialog h2 { color: var(--pink-700); margin-bottom: .4rem; font-size: 1.3rem; }
.dialog .btn-block + .btn-block { margin-top: .6rem; }

/* فرم اطلاعات تکمیلی */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1rem; }
.file-input {
  width: 100%; padding: .6rem; font-family: inherit;
  border: 1.5px dashed var(--pink-300); border-radius: 12px; background: var(--pink-50);
}
.check { display: flex !important; align-items: center; gap: .6rem; font-weight: 600; cursor: pointer; }
.check-input { width: 20px; height: 20px; accent-color: var(--pink-600); }
textarea.input { resize: vertical; }

/* پرداخت */
/* ========== نمایش قیمت ========== */
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin: 1rem 0 1.4rem;
}
.price__num {
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--pink-700);
  letter-spacing: .02em;
  line-height: 1;
  direction: rtl;
  text-shadow: 0 4px 12px rgba(214, 51, 132, .22);
}
.price__unit {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 600;
}
/* ========== کادر توضیحات پرداخت ========== */
.pay-notes {
  position: relative;
  margin: 1.6rem auto 0;
  padding: 1.6rem 1.8rem 1.4rem;
  max-width: 780px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff5f9 0%, #ffe3ef 100%);
  border: 2px solid var(--pink-100);
  border-right: 6px solid var(--pink-600);
  box-shadow:
    0 14px 30px -12px rgba(214, 51, 132, .35),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  text-align: right;
  overflow: hidden;
  isolation: isolate;
  animation: pay-notes-in .7s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes pay-notes-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.pay-notes::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .8), transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: pay-bubble 6s ease-in-out infinite;
}

.pay-notes::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 51, 132, .1), transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: pay-bubble 8s ease-in-out infinite reverse;
}

@keyframes pay-bubble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -10px) scale(1.1); }
}

.pay-notes h3 {
  position: relative;
  margin: 0 0 1rem;
  padding: 0 1rem .7rem 0;
  color: var(--pink-700);
  font-size: 1.15rem;
  font-weight: 800;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
}
.pay-notes h3::before {
  content: "";
  position: absolute;
  right: 0; top: .35rem;
  width: 5px; height: 1.15rem;
  background: var(--pink-600);
  border-radius: 4px;
}
.pay-notes h3::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(to left, var(--pink-600), transparent);
  border-radius: 2px;
}

.pay-notes p {
  position: relative;
  margin: 0;
  color: #3a3a3a;
  font-size: 1rem;
  line-height: 2.15;
  text-align: justify;
  padding: .3rem 1rem .3rem 0;
}
.pay-notes p::before {
  content: "❖";
  position: absolute;
  right: 0;
  top: .6rem;
  color: var(--pink-600);
  font-size: .95rem;
}

@media (max-width: 640px) {
  .pay-notes { padding: 1.2rem 1rem; border-radius: 16px; }
  .pay-notes h3 { font-size: 1.02rem; }
  .pay-notes p { font-size: .93rem; line-height: 2; }
}
@media (max-width: 640px) {
  .step .label { font-size: .64rem; }
  .step .dot { width: 28px; height: 28px; font-size: .85rem; }
  .stepper .track { top: 15px; }
}

/* ========== پنل کارشناس ========== */
.btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; border-color: #333; }

.ex-wrap { width: min(960px, 94%); margin-inline: auto; }
.ex-header { background: var(--black); }
.ex-bar { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.ex-brand { color: var(--pink-300); font-weight: 800; font-size: 1.15rem; }
.ex-header .btn-outline { color: var(--white); border-color: var(--pink-300); padding: .4rem 1rem; }
.ex-header .btn-outline:hover { background: var(--pink-600); border-color: var(--pink-600); }
.ex-main { padding: 1.5rem 0 3rem; }
.ex-title { font-size: 1.5rem; margin-bottom: 1rem; }
.ex-back { display: inline-block; margin-bottom: 1rem; color: var(--pink-600); font-weight: 600; }

.ex-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.ex-stat {
  background: var(--pink-50); border: 1px solid var(--pink-100); border-radius: var(--radius);
  padding: .9rem; text-align: center; display: flex; flex-direction: column; gap: .2rem;
}
.ex-stat strong { font-size: 1.9rem; color: var(--pink-600); line-height: 1.2; }
.ex-stat span { font-size: .85rem; color: var(--gray); }

.ex-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.ex-tabs a { padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--pink-100); font-weight: 600; }
.ex-tabs a.on { background: var(--pink-600); border-color: var(--pink-600); color: var(--white); }

.ex-list { display: flex; flex-direction: column; gap: .6rem; }
.ex-row {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--pink-100); border-radius: var(--radius);
  padding: 1rem 1.2rem; transition: .2s;
}
.ex-row:hover { border-color: var(--pink-600); box-shadow: var(--shadow); }
.ex-who { display: flex; flex-direction: column; }
.ex-who small, .ex-date { color: var(--gray); }
.ex-task { font-weight: 700; }
.ex-task.hot { color: var(--pink-600); }
.ex-task.off { color: var(--gray); }
.ex-empty { padding: 2.5rem; text-align: center; color: var(--gray); border: 2px dashed var(--pink-100); border-radius: var(--radius); }

.ex-card {
  background: var(--white); border: 1px solid var(--pink-100); border-radius: var(--radius);
  padding: 1.4rem; margin-bottom: 1rem; box-shadow: var(--shadow);
}
.ex-card h2 { color: var(--pink-700); font-size: 1.15rem; margin-bottom: .8rem; }
.ex-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.ex-dl dt { color: var(--gray); font-size: .82rem; }
.ex-dl dd { font-weight: 700; }

.ex-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; margin-top: 1rem; }
.ex-photos figure { text-align: center; }
.ex-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--pink-100); }
.ex-photos figcaption { margin-top: .3rem; font-size: .85rem; color: var(--gray); }

.ex-action { padding: 1rem 0; border-top: 1px solid var(--pink-100); }
.ex-action:first-of-type { border-top: 0; }
.ex-action label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .92rem; }
.ex-action .input { margin-bottom: .8rem; }
.ex-history li { padding: .6rem 0; border-bottom: 1px solid var(--pink-100); }
.ex-history small { color: var(--gray); margin-right: .5rem; }
.ex-summary {
  margin: .8rem 0; padding: 1rem; border-radius: 12px; font-weight: 700;
  background: var(--pink-50); border: 1.5px solid var(--pink-300);
}

@media (max-width: 640px) {
  .ex-row { grid-template-columns: 1fr; gap: .3rem; }
}

.track-code {
  display: inline-block;
  padding: .1rem .8rem;
  margin-inline: .3rem;
  background: var(--pink-50);
  border: 1.5px solid var(--pink-600);
  border-radius: 10px;
  color: var(--pink-700);
  font-weight: 800;
  letter-spacing: .08em;
}

/* ========== جستجوی کارشناس ========== */
.ex-search { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.ex-search .input { flex: 1 1 220px; min-width: 0; }
.ex-search .btn { white-space: nowrap; }

.dd { position: relative; }
.dd-btn { display: flex; align-items: center; gap: .5rem; height: 100%; }
.dd-btn::after { content: "▾"; transition: transform .25s; }
.dd-btn[aria-expanded="true"]::after { transform: rotate(180deg); }

.dd-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 20;
  min-width: 100%;
  background: var(--white); border: 1.5px solid var(--pink-300);
  border-radius: 14px; box-shadow: var(--shadow); padding: .3rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu button {
  display: block; width: 100%; text-align: right; white-space: nowrap;
  padding: .65rem 1rem; background: none; border: 0; border-radius: 10px;
  font-family: inherit; font-size: .95rem; cursor: pointer; transition: .2s;
}
.dd-menu button:hover, .dd-menu button.on { background: var(--pink-50); color: var(--pink-600); }
.dd-menu button.on { font-weight: 700; }

.ex-result-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.ex-result-head h2 { font-size: 1.15rem; color: var(--pink-700); }
.ex-result-head a { color: var(--pink-600); font-weight: 600; text-decoration: underline; }

/* ========== بارگذاری مدارک ========== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.quota { margin: 1rem 0 1.2rem; }
.quota-bar { height: 12px; background: var(--pink-100); border-radius: 999px; overflow: hidden; }
.quota-bar span { display: block; height: 100%; background: var(--pink-600); border-radius: 999px; transition: width .3s; }
.quota-bar span.over { background: var(--black); }
.quota-text { margin-top: .4rem; font-size: .88rem; color: var(--gray); }

.drop {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center;
  padding: 2rem 1rem; margin-bottom: .8rem; cursor: pointer; transition: .2s;
  border: 2px dashed var(--pink-300); border-radius: var(--radius); background: var(--pink-50);
}
.drop:hover, .drop.over { border-color: var(--pink-600); background: var(--pink-100); }
.drop span { color: var(--gray); font-size: .85rem; }

.picked { margin: 0 0 .8rem; font-size: .88rem; max-height: 180px; overflow: auto; }
.picked li { padding: .25rem 0; border-bottom: 1px solid var(--pink-100); word-break: break-all; }

.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; margin-top: 1rem; }
.file-card {
  display: flex; flex-direction: column; gap: .5rem; padding: .6rem;
  background: var(--white); border: 1px solid var(--pink-100); border-radius: 14px;
}
.file-card a { display: block; }
.file-card img, .pdf-icon { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pdf-icon {
  display: flex !important; align-items: center; justify-content: center;
  background: var(--black); color: var(--pink-300); font-weight: 800; letter-spacing: .1em;
}
.file-meta { display: flex; flex-direction: column; min-width: 0; }
.file-meta .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .88rem; }
.file-meta small { color: var(--gray); }
.btn-sm { padding: .3rem .8rem; font-size: .82rem; width: 100%; }
.ex-photos a { display: block; }

/* ========== منوی بالای صفحه ========== */
.site-header .container { width: min(1280px, 96%); }
.header-right { flex: 1; min-width: 0; }
.main-nav { margin-inline-start: .8rem; }
.main-nav ul { display: flex; align-items: center; gap: .1rem; }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem .95rem;
  background: none; border: 0; border-radius: 10px;
  font-family: "B Mashhad", "B Mitra", Tahoma, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-link:hover,
.nav-dd.open .nav-dd-btn { color: var(--pink-600); background: var(--pink-50); }
.nav-link[aria-current="page"] { color: var(--pink-600); font-weight: 700; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; right: .8rem; left: .8rem; bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--pink-600);
}

/* فلش بدون خط کف */
.chev {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s ease;
}
.nav-dd.open .chev { transform: rotate(180deg); }

/* کادر کشویی: نرم، از بالا به پایین */
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 240px; padding: .5rem;
  background: var(--white);
  border: 1px solid var(--pink-100); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(214, 51, 132, .18);
  opacity: 0; visibility: hidden;
  clip-path: inset(0 -40px 100% -40px);
  transition: clip-path .35s ease, opacity .25s ease, visibility 0s linear .35s;
}
.nav-dd.open .nav-dd-menu {
  opacity: 1; visibility: visible;
  clip-path: inset(-10px -40px -40px -40px);
  transition: clip-path .35s ease, opacity .25s ease, visibility 0s;
}
.nav-dd-menu a {
  display: block; padding: .6rem 1rem; border-radius: 10px;
  font-size: .93rem; color: var(--gray); transition: .2s;
}
.nav-dd-menu a:hover { background: var(--pink-50); color: var(--pink-600); padding-right: 1.3rem; }
.nav-dd-menu a[aria-current="page"] { color: var(--pink-600); font-weight: 700; }

@media (max-width: 991px) {
  .main-nav { display: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .header-actions { display: none; }
}

/* ---- اصلاح کادر کشویی بالا ---- */
.nav-dd-menu {
  clip-path: none !important;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s;
}
.nav-dd.open .nav-dd-menu {
  opacity: 1; visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .3s ease, visibility 0s;
}

/* ---- کادر کشویی خدمات: عمودی و مستطیلی ---- */
.main-nav .nav-dd-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .15rem;
  min-width: 260px;
  padding: .6rem;
}
.main-nav .nav-dd-menu li { width: 100%; }
.main-nav .nav-dd-menu a {
  display: block;
  white-space: nowrap;
  padding: .7rem 1.1rem;
  text-align: right;
}



/* ---------- لینک‌های موقتاً غیرفعال ---------- */
.side-soon {
  display: block;
  padding: .9rem 1.2rem;
  color: var(--gray);
  opacity: .55;
  cursor: not-allowed;
}
.side-soon::after {
  content: " (به‌زودی)";
  font-size: .78rem;
  color: var(--pink-600);
  font-weight: 700;
}
.footer-soon {
  opacity: .6;
  cursor: not-allowed;
  color: #fff;
}

/* ========== افکت‌های دکمه — کاشت مروارید آرا ========== */

/* ۱. Shine Sweep — بازتاب نور روی دکمه */
.btn-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: rotate(30deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.btn-shine:hover::after {
  left: 130%;
}

/* ۲. Soft Float — شناور با سایه */
.btn-float {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.25s, color 0.25s;
}
.btn-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(214, 51, 132, 0.25);
}

/* ۳. Attention Pulse — پالس برای دکمه‌ی اصلی */
.btn-pulse {
  animation: btn-pulse-ring 2s infinite;
}
@keyframes btn-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(214, 51, 132, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(214, 51, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 51, 132, 0); }
}

/* ۴. تغییر فونت منوی بالا و منوی کشویی به B Mashhad */
.nav-link,
.nav-dd-btn,
.side-link,
.sub-toggle,
.submenu a {
  font-family: "B Mashhad", "B Mitra", Tahoma, sans-serif;
}
.btn,
.header-actions .btn,
.hero-actions .btn {
  font-family: "B Morvarid", "B Mitra", Tahoma, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
}

/* ۵. متن‌های داخل کارت‌های خدمات */
.card h3 {
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
}

/* ========== شبکه‌های اجتماعی ========== */
.socials .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition: .25s;
  padding: 0;
}
.socials .social-btn:hover {
  background: var(--white);
  color: var(--pink-700);
  transform: translateY(-3px);
}

/* ========== مودال شبکه‌های اجتماعی (طراحی پاورپوینت) ========== */
.soc-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  font-family: "B Mitra", Tahoma, sans-serif;
  direction: rtl;
}
.soc-modal[hidden] { display: none; }

.soc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .3s ease;
}
.soc-modal.is-open .soc-modal__backdrop { opacity: 1; }

/* ----- کارت اصلی: بنفش با گوشه‌های خیلی گرد ----- */
.soc-card {
  position: relative;
  width: min(360px, 100%);
  background: #7a2188;
  border-radius: 40px;
  padding: 1.2rem 1.1rem 1.1rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
  transform: translateY(24px) scale(.94);
  opacity: 0;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.soc-modal.is-open .soc-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ----- دکمه بستن (ضربدر سفید کوچک گوشه) ----- */
.soc-card__close {
  position: absolute;
  top: .8rem;
  left: .8rem;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
  z-index: 5;
}
.soc-card__close:hover { background: rgba(255, 255, 255, .32); transform: rotate(90deg); }

/* ----- هدر بنفش (تیتر سفید وسط‌چین) ----- */
.soc-card__head {
  padding: .4rem 0 .9rem;
  text-align: center;
}
.soc-card__title {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  letter-spacing: .01em;
}

/* ----- بدنه: کادر داخلی رنگی با گوشه‌های گرد ----- */
.soc-card__body {
  padding: 0;
  margin: 0 0 .9rem;
}

.soc-card__inner {
  position: relative;
  border-radius: 24px;
  padding: 1rem 1.1rem 1rem 4.6rem;   /* سمت چپ جا برای آیکون */
  min-height: 130px;
  background: #00B871;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
}

/* آیکون بزرگ در سمت چپ کادر */
.soc-card__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}
.soc-card__icon svg { display: block; }

/* متن‌ها: آیدی و شماره */
.soc-card__text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  text-align: right;
}
.soc-card__line {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: "B Mitra", Tahoma, sans-serif;
  line-height: 1.6;
}
.soc-card__line span {
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  margin-right: .2rem;
}

/* پیل سفید ساعت */
.soc-card__pill {
  align-self: flex-end;     /* سمت راست */
  margin: .55rem .2rem 0 0;
  padding: .3rem 1rem;
  background: #fff;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  color: #0a6b3a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  white-space: nowrap;
  direction: rtl;
}

/* ----- فوتر: دکمه‌ی سفید با افکت Shine Sweep ----- */
.soc-card__foot {
  padding: .3rem .2rem .1rem;
}

.soc-card__btn {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid transparent;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow:
    0 6px 18px -6px rgba(0, 0, 0, .18),
    inset 0 0 0 1px rgba(0, 0, 0, .04);
  transition:
    transform .3s cubic-bezier(.2, .8, .2, 1),
    box-shadow .3s ease,
    color .25s ease,
    background-color .25s ease;
}

/* افکت Shine Sweep — درخشش نور از چپ به راست */
.soc-card__btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, .85),
    transparent
  );
  transform: rotate(25deg);
  transition: left .7s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  z-index: 2;
}
.soc-card__btn:hover::after {
  left: 140%;
}

.soc-card__btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px -8px rgba(0, 0, 0, .28),
    0 0 0 3px currentColor inset;
}
.soc-card__btn:active {
  transform: translateY(0) scale(.98);
}

/* ==========================================
   فرم مشاوره تخصصی
   ========================================== */
.consult {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(50% 60% at 10% 0%, #ffe3ef, transparent 60%),
    radial-gradient(60% 70% at 95% 100%, #fff5f9, transparent 60%),
    var(--white);
  position: relative;
  overflow: hidden;
}

.consult__wrap {
  position: relative;
  width: min(720px, 94%);
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.3rem, 4vw, 2.4rem);
  background: var(--white);
  border: 2px solid var(--pink-100);
  border-radius: 32px;
  box-shadow:
    0 30px 70px -20px rgba(214, 51, 132, .28),
    0 0 0 1px rgba(214, 51, 132, .05);
  overflow: hidden;
  isolation: isolate;
}

/* حباب‌های تزئینی داخل کارت */
.consult__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.consult__bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe3ef, #fff5f9);
  opacity: .75;
  animation: consult-float 8s ease-in-out infinite;
}
.consult__bubble--1 { width: 160px; height: 160px; top: -50px; right: -40px; animation-delay: 0s; }
.consult__bubble--2 { width: 110px; height: 110px; bottom: -30px; left: -30px; animation-delay: 2s; }
.consult__bubble--3 { width: 70px; height: 70px; top: 40%; right: -20px; animation-delay: 4s; }

@keyframes consult-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-14px) scale(1.04); }
}

/* سربرگ */
.consult__head { text-align: center; margin-bottom: 1.8rem; }
.consult__kicker {
  display: inline-block;
  padding: .3rem .95rem;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--pink-700);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.consult__title {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 800;
  color: var(--black);
  margin: 0 0 .6rem;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
}
.consult__title strong { color: var(--pink-600); }
.consult__lead {
  font-size: 1rem;
  color: var(--gray);
  line-height: 2;
  margin: 0;
}

/* فرم */
.consult__form { display: flex; flex-direction: column; gap: 1.1rem; }

.consult__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.consult__field--full { grid-column: 1 / -1; }
@media (max-width: 620px) {
  .consult__grid { grid-template-columns: 1fr; }
}

.consult__field { display: flex; flex-direction: column; gap: .35rem; }
.consult__field label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
}
.consult__field input,
.consult__field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.6px solid var(--pink-100);
  border-radius: 14px;
  background: var(--white);
  color: var(--black);
  font-family: "B Mitra", Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.consult__field input::placeholder,
.consult__field textarea::placeholder { color: #b8b8b8; }
.consult__field input:hover,
.consult__field textarea:hover { border-color: var(--pink-300); }
.consult__field input:focus,
.consult__field textarea:focus {
  outline: none;
  border-color: var(--pink-600);
  box-shadow: 0 0 0 4px var(--pink-100);
  background: #fffdfd;
}
.consult__field textarea { resize: vertical; min-height: 90px; }

.consult__field.is-error input,
.consult__field.is-error textarea {
  border-color: var(--pink-700);
  box-shadow: 0 0 0 3px rgba(168, 34, 95, .12);
  animation: consult-shake .35s;
}
.consult__field.is-ok input,
.consult__field.is-ok textarea {
  border-color: #1f9d55;
  box-shadow: 0 0 0 3px #d6f3e1;
}

@keyframes consult-shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

.consult__error {
  color: var(--pink-700);
  font-size: .85rem;
  font-weight: 600;
  min-height: 1.1rem;
}

/* دکمه‌ی ارسال */
.consult__submit {
  position: relative;
  align-self: center;
  margin-top: .6rem;
  padding: 1rem 2.6rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--pink-500) 0%, var(--pink-700) 100%);
  background-size: 180% 100%;
  color: var(--white);
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 28px -10px rgba(214, 51, 132, .55);
  transition:
    background-position .4s ease,
    transform .25s cubic-bezier(.2, .8, .2, 1),
    box-shadow .3s ease;
}
.consult__submit:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(214, 51, 132, .7);
}
.consult__submit:active { transform: translateY(0) scale(.98); }
.consult__submit[aria-busy="true"] .consult__submit-text { opacity: 0; }
.consult__submit-spin {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px; height: 22px;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
}
.consult__submit[aria-busy="true"] .consult__submit-spin {
  opacity: 1;
  animation: consult-spin .8s linear infinite;
}
@keyframes consult-spin { to { transform: rotate(360deg); } }

/* پیام محرمانگی */
.consult__privacy {
  text-align: center;
  color: var(--gray);
  font-size: .85rem;
  margin: .3rem 0 0;
}

/* پیام موفق/خطای سراسری */
.consult__live {
  text-align: center;
  font-weight: 700;
  font-size: .98rem;
}
.consult__live:not(:empty) {
  margin-top: .6rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  animation: consult-fade .4s ease both;
}
.consult__live.is-success {
  background: #effaf3;
  color: #1f7a44;
  border: 1.5px solid #b7dfc4;
}
.consult__live.is-error {
  background: var(--pink-100);
  color: var(--pink-700);
  border: 1.5px solid var(--pink-300);
}
@keyframes consult-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* موبایل */
@media (max-width: 480px) {
  .consult__wrap { border-radius: 22px; padding: 1.4rem 1rem; }
  .consult__submit { padding: .85rem 2rem; font-size: 1rem; width: 100%; }
}

/* فرم مشاوره در صفحه‌ی داخلی */
.consult--page {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: transparent;
}
.consult--page .consult__wrap {
  background: var(--white);
}

/* ==========================================
   بخش دانستنی‌ها — صدف سه‌بعدی + چرا کاشت مروارید آرا
   ========================================== */
.facts {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background:
    radial-gradient(60% 70% at 90% 50%, #ffe3ef, transparent 65%),
    radial-gradient(50% 60% at 10% 50%, #fff5f9, transparent 65%);
  position: relative;
  overflow: hidden;
}

.facts__stage {
  width: min(1240px, 94%);
  margin-inline: auto;
}

/* ----- چیدمان دو ستونی ----- */
.facts__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

/* ==========================================
   ستون راست: صدف
   ========================================== */
.facts__anchor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 640px;
  width: 100%;
}

.facts__pearl {
  position: relative;
  display: block;
  width: 260px;
  height: 240px;
  margin-inline: auto;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 22px 30px rgba(214, 51, 132, .25));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
  z-index: 3;
}
.facts__pearl:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 30px 40px rgba(214, 51, 132, .35));
}
.facts__pearl:focus-visible {
  outline: 3px solid var(--pink-600);
  outline-offset: 8px;
  border-radius: 20px;
}

.pearl-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.shell-top {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.facts__pearl.is-open .shell-top {
  transform: rotateX(75deg) translateY(-6px);
  transform-origin: 50% 100%;
}

.pearl {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.facts__pearl.is-open .pearl {
  transform: translateY(-14px) scale(1.1);
  animation: pearl-glow 2.4s ease-in-out infinite;
}
@keyframes pearl-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 255, 255, .8)); }
  50%      { filter: drop-shadow(0 0 22px rgba(255, 255, 255, 1)); }
}

.pearl-aura {
  opacity: .55;
  transition: opacity 1s ease;
}
.facts__pearl.is-open .pearl-aura {
  opacity: 1;
  animation: pearl-aura-pulse 3s ease-in-out infinite;
}
@keyframes pearl-aura-pulse {
  0%, 100% { transform: scale(1); transform-origin: 130px 118px; }
  50%      { transform: scale(1.1); transform-origin: 130px 118px; }
}

.facts__pearl-hint {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  padding: .35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
  color: #fff;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(214, 51, 132, .55);
  animation: hint-bounce 2.4s ease-in-out infinite;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
@keyframes hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}
.facts__pearl.is-open .facts__pearl-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

/* ----- کادر دانستنی ----- */
.facts__box {
  position: absolute;
  bottom: 200px;
  left: 50%;
  width: min(500px, 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 260px) scale(.85);
  transition:
    transform 1s cubic-bezier(.2, .8, .2, 1),
    opacity .6s ease;
}
.facts__box[hidden] { display: none; }
.facts__box.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.facts__box-inner {
  position: relative;
  padding: 1.6rem clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f9 60%, #ffe3ef 100%);
  border: 2px solid var(--pink-100);
  border-radius: 24px;
  box-shadow:
    0 26px 60px -22px rgba(214, 51, 132, .4),
    0 0 0 1px rgba(214, 51, 132, .05),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  overflow: hidden;
  isolation: isolate;
}
.facts__box-inner::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .9), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.facts__box-inner::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 51, 132, .12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.facts__title {
  position: relative;
  margin: 0 0 .9rem;
  padding: 0 1rem .65rem 0;
  color: var(--pink-700);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
}
.facts__title::before {
  content: "";
  position: absolute;
  right: 0; top: .3rem;
  width: 6px; height: 1.25rem;
  background: var(--pink-600);
  border-radius: 4px;
}
.facts__title::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(to left, var(--pink-600), transparent);
  border-radius: 2px;
}

.facts__text {
  margin: 0 0 1.1rem;
  color: #2f2f2f;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 2.15;
  text-align: justify;
  min-height: 4rem;
  animation: fact-fade .55s cubic-bezier(.2, .8, .2, 1);
}
@keyframes fact-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.facts__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.facts__nav {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--pink-300);
  background: var(--white);
  color: var(--pink-700);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .25s ease;
}
.facts__nav:hover {
  background: var(--pink-600);
  color: var(--white);
  border-color: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(214, 51, 132, .55);
}
.facts__nav:active { transform: translateY(0) scale(.96); }

.facts__counter {
  color: var(--pink-700);
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .06em;
  direction: ltr;
}

/* ==========================================
   پنل «چرا کاشت مروارید آرا»
   ========================================== */
.why-panel {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 1.8rem);
  background: linear-gradient(160deg, #BE3A9E 0%, #A12A83 100%);
  border-radius: 28px;
  box-shadow:
    0 26px 60px -20px rgba(190, 58, 158, .45),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  overflow: hidden;
  isolation: isolate;
}

/* حباب تزئینی */
.why-panel::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.why-panel__title {
  margin: 0 0 1.4rem;
  padding-bottom: .9rem;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  text-align: center;
  letter-spacing: .01em;
  position: relative;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.why-panel__title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, .55), transparent);
  border-radius: 2px;
}

.why-panel__list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-panel__list li {
  position: relative;
  padding: 1rem 1.4rem;
  background: linear-gradient(160deg, #EBC939 0%, #D9B630 100%);
  color: #1a1a1a;
  border-radius: 14px;
  font-family: "B Arash", "B Mitra", Tahoma, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.7;
  box-shadow:
    0 8px 18px -8px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(0, 0, 0, .08);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
  overflow: hidden;
  isolation: isolate;
}

/* درخشش نور روی هر آیتم */
.why-panel__list li::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .8s ease;
  pointer-events: none;
  z-index: -1;
}
.why-panel__list li:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 14px 28px -10px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -1px 0 rgba(0, 0, 0, .08);
}
.why-panel__list li:hover::before {
  left: 120%;
}

/* ==========================================
   موبایل و تبلت
   ========================================== */
@media (max-width: 900px) {
  .facts__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .facts__anchor {
    min-height: auto;
    order: 1;
  }
  .why-panel {
    order: 2;
  }
}

@media (max-width: 720px) {
  .facts__pearl {
    width: 200px;
    height: 190px;
  }
  .facts__box {
    position: static;
    order: -1;
    width: 100%;
    transform: translateY(40px) scale(.95);
    margin-bottom: 1rem;
    left: auto;
    bottom: auto;
  }
  .facts__box.is-visible {
    transform: translateY(0) scale(1);
  }
  .facts__box-inner { padding: 1.4rem 1.2rem; border-radius: 18px; }
  .facts__title { font-size: 1.1rem; }
  .facts__text { font-size: .95rem; line-height: 2; min-height: 3rem; }

  .why-panel {
    padding: 1.4rem 1.1rem;
    border-radius: 20px;
  }
  .why-panel__list li {
    padding: .85rem 1.1rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shell-top, .pearl, .facts__pearl-hint, .facts__box {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================
   نوار پیشرفت اسکرول — صورتی درخشان
   ========================================== */
/* ==========================================
   نوار پیشرفت اسکرول — چسبیده به پایین هدر
   ========================================== */
.site-header {
  position: sticky;   /* از قبل هست، فقط مطمئن شو */
}

.scroll-progress {
  position: absolute;
  bottom: -3px;       /* دقیقاً روی لبه‌ی پایین هدر */
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(214, 51, 132, .08);
  overflow: hidden;
  pointer-events: none;
  direction: ltr;
  z-index: 5;
}

.scroll-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    #e5528f 0%,
    #d63384 25%,
    #f7a8c8 50%,
    #d63384 75%,
    #a8225f 100%
  );
  background-size: 200% 100%;
  border-radius: 0 999px 999px 0;
  box-shadow:
    0 0 6px rgba(214, 51, 132, .8),
    0 0 14px rgba(214, 51, 132, .55),
    0 0 22px rgba(214, 51, 132, .35);
  animation: scroll-progress-shine 3s linear infinite;
  transition: transform .12s linear;
  will-change: transform;
}

@keyframes scroll-progress-shine {
  0%   { background-position: 0% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 640px) {
  .scroll-progress { height: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__fill {
    animation: none;
    transition: none;
  }
}

/* ===== مروارید آرا: چیدمان اصلاح‌شده پلیر و دانستنی‌ها ===== */
.facts--showcase { padding: clamp(2.2rem,5vw,4rem) 0; overflow: visible; }
.facts--showcase .facts__layout { display:grid; grid-template-columns:minmax(280px,.88fr) minmax(0,1.12fr); gap:clamp(1.25rem,3vw,2.5rem); align-items:center; }
.facts--showcase .facts__media-column { min-width:0; display:flex; flex-direction:column; gap:1.25rem; }
.facts--showcase .guide-card { width:100%; min-width:0; padding:clamp(1rem,2.2vw,1.6rem); border:1px solid rgba(214,51,132,.2); border-radius:26px; background:linear-gradient(145deg,#fff 0%,#fff6fa 100%); box-shadow:0 18px 48px rgba(132,24,79,.13); animation:showcase-rise .75s cubic-bezier(.2,.8,.2,1) both; }
.facts--showcase .guide-card__head { text-align:center; margin-bottom:1rem; }
.facts--showcase .guide-card__eyebrow { color:#d63384; font-size:.82rem; font-weight:700; }
.facts--showcase .guide-card__head h2 { margin:.35rem 0; color:#781747; font-size:clamp(1.2rem,2.3vw,1.65rem); }
.facts--showcase .guide-card__head p,.facts--showcase .guide-card__note { margin:.35rem 0 0; color:#826174; font-size:.88rem; line-height:1.9; text-align:center; }
.facts--showcase .guide-player { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; isolation:isolate; border-radius:18px; background:linear-gradient(135deg,#4b1736,#a52d70 55%,#e88ab7); box-shadow:0 12px 30px rgba(105,20,65,.2); }
.facts--showcase .guide-player__video { display:block; width:100%; height:100%; object-fit:contain; background:#210d19; }
.facts--showcase .guide-player__placeholder { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.65rem; padding:1rem; text-align:center; color:#fff; background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.2),transparent 38%),linear-gradient(135deg,#511638,#a52d70 60%,#d94e94); pointer-events:none; }
.facts--showcase .guide-player__placeholder[hidden] { display:none; }
.facts--showcase .guide-player__placeholder-icon { width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(255,255,255,.16);font-size:1.35rem;padding-left:3px; }
.facts--showcase .guide-player__placeholder small { max-width:34rem; line-height:1.8; opacity:.85; }
.facts--showcase .guide-player__controls { position:absolute; z-index:3; inset:auto 0 0; min-height:54px; display:flex; align-items:center; gap:.55rem; padding:.55rem .75rem; color:white; background:linear-gradient(transparent,rgba(25,7,18,.88)); }
.facts--showcase .guide-control { flex:0 0 34px; width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;background:rgba(255,255,255,.13);cursor:pointer;transition:background .2s,transform .2s; }
.facts--showcase .guide-control:hover { background:#d63384;transform:scale(1.06); }
.facts--showcase .guide-control svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.facts--showcase .guide-control--play svg { fill:currentColor;stroke:none;width:20px;height:20px; }
.facts--showcase .guide-control .icon-pause,.facts--showcase .guide-control .icon-volume { display:none; }
.facts--showcase .guide-player.is-playing .guide-control--play .icon-play { display:none; }
.facts--showcase .guide-player.is-playing .guide-control--play .icon-pause { display:block; }
.facts--showcase .guide-player:not(.is-muted) .guide-control .icon-muted { display:none; }
.facts--showcase .guide-player:not(.is-muted) .guide-control .icon-volume { display:block; }
.facts--showcase .guide-player__time { min-width:34px;color:#fff;font-size:.72rem;font-variant-numeric:tabular-nums;direction:ltr;text-align:center; }
.facts--showcase .guide-player__seek { flex:1;min-width:35px;accent-color:#f38ab9;cursor:pointer; }
.facts--showcase .guide-player__volume { width:65px;max-width:13vw;accent-color:#f38ab9;cursor:pointer; }
.facts--showcase .facts__box--static { position:relative; inset:auto; width:100%; opacity:1; transform:none; pointer-events:auto; animation:showcase-rise .85s .12s cubic-bezier(.2,.8,.2,1) both; }
.facts--showcase .facts__box-inner { padding:1.35rem clamp(1rem,2.5vw,1.7rem); }
.facts--showcase .facts__text { min-height:4.2rem; }
.facts--showcase .facts__text.is-changing { animation:fact-fade .5s ease both; }
.facts--showcase .facts__footer { justify-content:flex-end; }
.facts--showcase .facts__auto-label { margin-left:auto;color:#a34a78;font-size:.8rem; }
.facts--showcase .why-panel { width:100%; animation:showcase-rise .8s .08s cubic-bezier(.2,.8,.2,1) both; }
@keyframes showcase-rise { from {opacity:0;transform:translateY(22px)} to {opacity:1;transform:translateY(0)} }
@media(max-width:900px) { .facts--showcase .facts__layout { grid-template-columns:1fr; } .facts--showcase .why-panel { order:2; } .facts--showcase .facts__media-column { order:1; } }
@media(max-width:520px) { .facts--showcase .guide-card { padding:.9rem; border-radius:20px; } .facts--showcase .guide-player { border-radius:14px; } .facts--showcase .guide-player__controls { gap:.3rem;padding:.35rem .45rem;min-height:46px; } .facts--showcase .guide-control { width:30px;height:30px;flex-basis:30px; } .facts--showcase .guide-player__volume { width:42px; } .facts--showcase .guide-player__time { min-width:27px;font-size:.65rem; } }
@media(prefers-reduced-motion:reduce) { .facts--showcase .guide-card,.facts--showcase .facts__box--static,.facts--showcase .why-panel { animation:none!important; } }


/* ===== مروارید آرا | اصلاح قطعی فونت منوی هدر و منوی کناری ===== */
@font-face {
  font-family: "VazirUI";
  src: url("../fonts/Vazir.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* منوی اصلی بالای صفحه */
.site-header .main-nav .nav-link,
.site-header .main-nav .nav-dd-menu a,
.site-header .main-nav .nav-dd-btn,
/* منوی کشویی کناری و زیرمنوهای آن */
.sidebar .sidebar-title,
.sidebar .side-link,
.sidebar .sub-toggle,
.sidebar .submenu a {
  font-family: "VazirUI", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
  font-synthesis: weight;
}

.site-header .main-nav .nav-link {
  font-size: 15px !important;
  font-weight: 700 !important;
}
.site-header .main-nav .nav-dd-menu a {
  font-size: 14px !important;
  font-weight: 400 !important;
}
.sidebar .sidebar-title {
  font-size: 14px !important;
  font-weight: 700 !important;
}
.sidebar .side-link,
.sidebar .sub-toggle,
.sidebar .submenu a {
  font-size: 14px !important;
  font-weight: 400 !important;
}

