/* ═══════════════════════════════════════════════════════════
   عدالت گستران — سیستم طراحی سایت حقوقی
   پالت: سرمه‌ای تیره + طلایی | فونت: وزیرمتن | RTL
   ═══════════════════════════════════════════════════════════ */

/* ── فونت وزیرمتن ────────────────────────────────────────── */
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* ── توکن‌های طراحی ──────────────────────────────────────── */
:root {
  --navy-950: #060d1f;
  --navy-900: #0a1630;
  --navy-850: #0d1b3e;
  --navy-800: #112244;
  --navy-750: #152a52;
  --navy-700: #1a3160;
  --navy-600: #24407a;
  --navy-100: #e8edf7;
  --navy-50:  #f2f5fb;

  --gold-300: #e8cd8a;
  --gold-400: #dbb869;
  --gold-500: #c9a24b;
  --gold-600: #ab8534;
  --gold-700: #8a6a26;
  --gold-grad: linear-gradient(135deg, #dbb869 0%, #c9a24b 45%, #b08a35 100%);

  --cream: #f6f1e5;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --line: #e5e9f2;
  --text: #1b2440;
  --text-2: #45507a;
  --muted: #7b86a6;
  --on-navy: #f4f6fc;
  --on-navy-2: #b9c3dd;

  --ok: #1f9d61;
  --ok-bg: #e5f6ec;
  --warn: #c98a1b;
  --warn-bg: #fdf3e0;
  --err: #d44546;
  --err-bg: #fdeaea;
  --info: #2d6cdf;
  --info-bg: #e8f0fd;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --sh-sm: 0 2px 10px rgba(13, 27, 62, .07);
  --sh-md: 0 10px 30px rgba(13, 27, 62, .10);
  --sh-lg: 0 24px 60px rgba(13, 27, 62, .16);
  --sh-gold: 0 10px 26px rgba(201, 162, 75, .35);

  --container: 1200px;
  --header-h: 76px;
  --topbar-h: 42px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── ریست ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.9;
  color: var(--text); background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.55; font-weight: 800; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-500); color: #fff; }
::placeholder { color: #9aa5c0; opacity: 1; }
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: embed; }

.skip-link { position: absolute; right: 16px; top: -60px; z-index: 300; background: var(--gold-500); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

/* فیلد honeypot ضداسپم — کاملاً مخفی و بدون گسترش بوم صفحه (سازگار با RTL و موبایل) */
.hp-field {
  position: absolute !important;
  inset-block-start: 0; inset-inline-start: 0;
  width: 1px !important; height: 1px !important;
  margin: 0 !important; padding: 0 !important;
  border: 0 !important; overflow: hidden !important;
  clip-path: inset(50%); white-space: nowrap;
  opacity: 0; pointer-events: none;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.site-main { min-height: 55vh; }

/* ═══════════════ دکمه‌ها ═══════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.6;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; border: 1.5px solid transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 15px 34px; font-size: 16.5px; }
.btn--gold { background: var(--gold-grad); color: #17223f; box-shadow: var(--sh-gold); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201, 162, 75, .45); color: #17223f; }
.btn--navy { background: var(--navy-850); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--outline { border-color: var(--navy-100); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-600); background: #fffdf6; }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.btn--danger { background: var(--err); color: #fff; }
.btn--danger:hover { background: #b93839; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; color: var(--on-navy-2);
  transition: background .2s, color .2s;
}
.iconbtn:hover { background: rgba(255,255,255,.1); color: var(--gold-400); }

/* ═══════════════ نوار تماس بالا ═══════════════ */
.topbar { background: var(--navy-950); color: var(--on-navy-2); font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--topbar-h); gap: 16px; }
.topbar__contacts { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: var(--on-navy-2); }
.topbar__item svg { color: var(--gold-500); flex-shrink: 0; }
a.topbar__item:hover { color: var(--gold-400); }
.topbar__item--addr { max-width: 380px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar__social a { display: inline-flex; padding: 7px; border-radius: 8px; color: var(--on-navy-2); }
.topbar__social a:hover { color: var(--gold-400); background: rgba(255,255,255,.08); }

/* ═══════════════ هدر ═══════════════ */
.header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(10, 22, 48, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 12px 34px rgba(4, 10, 26, .45); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 50px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); transition: filter .25s, transform .25s var(--ease); }
.brand:hover .brand__logo { filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)) drop-shadow(0 0 10px rgba(201,162,75,.25)); }
.brand--footer .brand__logo { height: 56px; }
.brand__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand__txt b { color: #fff; font-size: 17.5px; font-weight: 800; line-height: 1.45; white-space: nowrap; letter-spacing: -.2px; }
.brand__txt small { color: rgba(255,255,255,.62); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.brand:hover .brand__txt b { color: var(--gold-300, #e5c87e); }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block; padding: 10px 15px; border-radius: 10px;
  color: var(--on-navy-2); font-weight: 500; font-size: 15px; position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 4px; right: 50%; transform: translateX(50%);
  width: 0; height: 2.5px; border-radius: 2px; background: var(--gold-grad); transition: width .25s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 26px; }
.nav__link.is-active { color: #fff; font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { box-shadow: none; }

/* جستجو */
.searchbar { border-top: 1px solid rgba(255,255,255,.08); background: rgba(8, 17, 38, .98); }
.searchbar__in { display: flex; align-items: center; gap: 12px; padding-block: 14px; }
.searchbar__in > svg { color: var(--gold-500); flex-shrink: 0; }
.searchbar input[type="search"] {
  flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 12px; padding: 11px 18px; font-size: 15px;
}
.searchbar input[type="search"]:focus { outline: none; border-color: var(--gold-500); background: rgba(255,255,255,.1); }
.searchbar__close { font-size: 26px; color: var(--on-navy-2); padding: 2px 10px; border-radius: 8px; }
.searchbar__close:hover { color: #fff; background: rgba(255,255,255,.1); }

/* همبرگر */
.nav-toggle { display: none; }
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle .bars i { width: 21px; height: 2.2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

/* منوی موبایل */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 24, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: var(--navy-900); color: #fff; padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .3s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.4); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 8px; }
.drawer__logo { height: 38px; width: auto; display: block; }
.drawer__close { margin-inline-start: auto; font-size: 26px; color: var(--on-navy-2); padding: 0 8px; border-radius: 8px; }
.drawer__close:hover { color: #fff; background: rgba(255,255,255,.1); }
.drawer__list a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--on-navy-2); font-weight: 500; transition: background .2s, color .2s, padding .2s; }
.drawer__list a:hover, .drawer__list a.is-active { background: rgba(201,162,75,.12); color: var(--gold-400); padding-right: 20px; }
.drawer__cta { margin-top: 10px; }

/* ═══════════════ هیرو ═══════════════ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 88% -10%, rgba(201, 162, 75, .13), transparent 60%),
    radial-gradient(800px 420px at -8% 110%, rgba(36, 64, 122, .5), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-850) 55%, var(--navy-800) 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 13vw, 168px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 2; }
.hero__in > * { min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(201,162,75,.12); border: 1px solid rgba(201,162,75,.4);
  color: var(--gold-300); font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero__badge svg { color: var(--gold-400); }
.hero h1 { font-size: clamp(27px, 3.5vw, 44px); font-weight: 900; line-height: 1.6; letter-spacing: -.3px; }
.hero h1 .gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc { margin-top: 18px; color: var(--on-navy-2); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__trust li { display: flex; align-items: center; gap: 9px; color: var(--on-navy-2); font-size: 13.5px; }
.hero__trust svg { color: var(--gold-400); }

.hero__media { position: relative; min-width: 0; }
.hero__media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 40px 90px rgba(3, 8, 22, .6);
  border: 1px solid rgba(255,255,255,.12);
  transform: perspective(1200px) rotateY(-4deg);
}
.hero__media-frame img { width: 100%; aspect-ratio: 16/10.4; object-fit: cover; display: block; }

/* ═══════════════ اسلایدر وکلا در هیرو ═══════════════
   دقیقاً مطابق فایل مرجع کاربر:
   کارت کِرِم + هاله صورتی ملایم + دو قاب لایه‌ای (سرمه‌ای + گرادیان آبی→فیروزه‌ای)
   پرتره وکیل از بالای قاب‌ها بیرون می‌زند — بدون هیچ باکس روی عکس
   مهر کانون پای عکس + اطلاعات وکیل زیر کارت روی سطح کِرِم ═══════════════ */
.hslider { position: relative; padding-bottom: 52px; min-width: 0; max-width: 100%; }
.hslider__viewport {
  position: relative; overflow-x: auto; overflow-y: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(201, 162, 75, .30);
  box-shadow: 0 30px 70px -22px rgba(2, 8, 26, .78), 0 0 0 7px rgba(255, 255, 255, .025);
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(120% 52% at 4% -4%, rgba(240, 178, 172, .52) 0%, rgba(240, 178, 172, 0) 56%),
    linear-gradient(180deg, #f8f1ea 0%, #f4ecE2 100%);
  outline: none;
  cursor: grab;
}
.hslider__viewport::-webkit-scrollbar { display: none; }
.hslider__viewport:focus-visible { box-shadow: 0 30px 70px -22px rgba(2, 8, 26, .75), 0 0 0 3px rgba(201, 162, 75, .55); }
.hslider.is-dragging .hslider__viewport { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.hslider__track { display: flex; }
.hslide {
  position: relative; flex: 0 0 100%;
  scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column;
  min-width: 0;
}

/* صحنه وکیل — قاب‌های لایه‌ای مطابق فایل مرجع */
.hslide__art {
  position: relative;
  aspect-ratio: 590 / 548;
}
.hslide__shape { position: absolute; border-radius: 26px; pointer-events: none; }
.hslide__shape--navy {
  left: 1.5%; top: 20%; width: 80%; height: 58%;
  background: linear-gradient(152deg, #173860 0%, #0b1f38 100%);
  box-shadow: 0 24px 48px -20px rgba(8, 22, 48, .45);
}
.hslide__shape--grad {
  left: 13%; top: 23%; width: 86.5%; height: 71%;
  background: linear-gradient(116deg, #2e7cd6 0%, #1f9bd8 46%, #17c3b2 100%);
  box-shadow: 0 30px 54px -22px rgba(23, 130, 168, .5);
}
.hslide__img {
  position: absolute; z-index: 2; bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%; width: auto; max-width: 92%; object-fit: contain;
  border-radius: 22px 22px 0 0;
  display: block; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 20px 30px rgba(8, 20, 45, .32));
  transition: transform 6s var(--ease);
}
.hslide.is-current .hslide__img { transform: translateX(-50%) scale(1.02); }

/* پنل اطلاعات وکیل — زیر صحنه، روی سطح کِرِم کارت */
.hslide__info {
  flex: 0 0 auto; position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 5px 16px;
  padding: 8px 24px 20px;
}
.hslide__head { grid-column: 1; min-width: 0; }
.hslide__name { font-size: 17.5px; font-weight: 800; color: #10294a; margin: 0; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hslide__role { font-size: 12px; color: #1f83c4; font-weight: 600; margin: 2px 0 0; line-height: 1.7; }
.hslide__meta { grid-column: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.hslide__lic {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4.5px 11px; border-radius: 999px;
  background: rgba(46, 124, 214, .09); border: 1px solid rgba(46, 124, 214, .32);
  color: #2071b8; font-size: 11.5px; line-height: 1.7;
}
.hslide__lic svg { color: #2e7cd6; }
.hslide__lic b { color: #10294a; font-weight: 700; letter-spacing: .4px; }
.hslide__tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.hslide__tag {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; line-height: 1.7;
  background: rgba(16, 41, 74, .055); border: 1px solid rgba(16, 41, 74, .13);
  color: #33517a;
}
.hslide__cta {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: stretch;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 12px; white-space: nowrap;
  background: linear-gradient(116deg, #2e7cd6 0%, #17c3b2 100%); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 12px 26px -10px rgba(31, 155, 216, .55);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .22s;
}
/* درخشش چرخه‌ای برای جلب توجه به دکمه رزرو */
.hslide__cta::after {
  content: ''; position: absolute; top: -4px; bottom: -4px; width: 44%; left: -64%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: ctaShine 4.2s var(--ease) infinite;
}
@keyframes ctaShine { 0%, 58% { left: -64%; } 88%, 100% { left: 132%; } }
@media (prefers-reduced-motion: reduce) { .hslide__cta::after { animation: none; display: none; } }
.hslide__cta:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 32px -10px rgba(23, 195, 178, .6); }
.hslide__cta svg { transition: transform .22s var(--ease); }
.hslide__cta:hover svg { transform: translateX(-3px); }

/* نوار پیشرفت پخش خودکار — روی سطح کِرِم */
.hslider__progress {
  position: absolute; top: 10px; inset-inline: 14px; height: 3px; border-radius: 99px;
  background: rgba(16, 41, 74, .10); overflow: hidden; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.hslider.is-ready .hslider__progress { opacity: 1; }
.hslider__progress i {
  display: block; height: 100%; width: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #17c3b2, #2e7cd6); transform: scaleX(0); transform-origin: right center;
}

/* کنترل‌ها: فلش‌ها، نقطه‌ها، شمارنده */
.hslider__ctrl {
  position: absolute; bottom: 6px; inset-inline: 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.hslider.is-ready .hslider__ctrl { opacity: 1; pointer-events: auto; }
.hslider__arrow {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(17, 31, 63, .65); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .22s var(--ease), color .22s, border-color .22s, transform .22s var(--ease);
}
.hslider__arrow:hover { background: var(--gold-grad); color: #17223f; border-color: transparent; transform: scale(1.07); }
.hslider__arrow:active { transform: scale(.95); }
.hslider__dots { display: flex; align-items: center; gap: 5px; }
.hslider__dot {
  width: 22px; height: 22px; border: 0; padding: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 99px;
}
.hslider__dot::after {
  content: ''; width: 7px; height: 7px; border-radius: 99px;
  background: rgba(255, 255, 255, .32); transition: all .28s var(--ease);
}
.hslider__dot:hover::after { background: rgba(255, 255, 255, .6); }
.hslider__dot.is-active::after { width: 24px; background: var(--gold-grad); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ═══════════════ نوار خدمات روی هیرو ═══════════════ */
.services-strip { margin-top: calc(clamp(96px, 11vw, 140px) * -1); position: relative; z-index: 5; }
.services-strip__card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(229, 233, 242, .8);
}
.services-strip__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.svc-mini {
  display: flex; flex-direction: column; gap: 12px; padding: 18px 14px;
  border-radius: var(--r-md); text-align: center; align-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s;
  border: 1px solid transparent;
}
.svc-mini:hover { background: var(--navy-50); border-color: rgba(201,162,75,.35); transform: translateY(-4px); box-shadow: var(--sh-sm); }
.svc-mini__ic {
  width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(145deg, #fdf6e7, #f6ecd2);
  color: var(--gold-600); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,162,75,.28);
}
.svc-mini b { color: var(--navy-850); font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.svc-mini small { color: var(--muted); font-size: 11.5px; line-height: 1.8; }

/* ═══════════════ نوار آمار ═══════════════ */
.stats { margin-top: clamp(46px, 6vw, 72px); }
.stats__band {
  background:
    radial-gradient(700px 260px at 85% 0%, rgba(201,162,75,.12), transparent 55%),
    linear-gradient(160deg, var(--navy-850), var(--navy-900));
  border-radius: var(--r-lg); color: #fff;
  padding: clamp(26px, 3.4vw, 42px) clamp(18px, 3vw, 44px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.08);
}
.stat { display: flex; align-items: center; gap: 16px; justify-content: center; text-align: right; }
.stat__ic { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; background: rgba(201,162,75,.14); border: 1px solid rgba(201,162,75,.4); color: var(--gold-400); display: flex; align-items: center; justify-content: center; }
.stat__num { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.3; color: var(--gold-400); }
.stat__lbl { font-size: 13px; color: var(--on-navy-2); line-height: 1.7; }

/* ═══════════════ بخش‌ها ═══════════════ */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--tint { background: var(--surface); }
.section--navy {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(201,162,75,.08), transparent 55%),
    linear-gradient(165deg, var(--navy-950), var(--navy-850));
  color: #fff;
}
.section-head { max-width: 660px; margin-bottom: clamp(30px, 4.5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-600); font-size: 13.5px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(145deg, #fdf6e7, #f7edd6); border: 1px solid rgba(201,162,75,.3);
  padding: 7px 18px; border-radius: 999px; margin-bottom: 14px;
}
.section--navy .section-head__kicker { background: rgba(201,162,75,.12); border-color: rgba(201,162,75,.4); color: var(--gold-300); }
.section-head h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 900; color: var(--navy-850); letter-spacing: -.3px; }
/* زیرخط طلایی مدرن زیر عنوان بخش‌ها */
.section-head h2::after {
  content: ''; display: block; width: 68px; height: 3.5px; margin-top: 13px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-500), rgba(201, 162, 75, .12));
}
.section-head--center h2::after { margin-inline: auto; background: linear-gradient(90deg, rgba(201,162,75,.12), var(--gold-500), rgba(201,162,75,.12)); }
.section--navy .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.section--navy .section-head p { color: var(--on-navy-2); }
.section-head__more { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-600); font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.section-head__more:hover { color: var(--gold-700); }

/* ═══════════════ کارت خدمات ═══════════════ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(201,162,75,.45); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__ic {
  width: 62px; height: 62px; border-radius: 17px;
  background: linear-gradient(145deg, #fdf6e7, #f5ebd0);
  border: 1px solid rgba(201,162,75,.3); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: transform .3s var(--ease);
}
.svc-card:hover .svc-card__ic { transform: rotate(-6deg) scale(1.06); }
.svc-card h3 { font-size: 18.5px; color: var(--navy-850); margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--gold-600); font-weight: 700; font-size: 14px; }
.svc-card__more svg { transition: transform .25s; }
.svc-card:hover .svc-card__more svg { transform: translateX(-4px); }

/* ═══════════════ چرا ما ═══════════════ */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.why__media::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 2.5px solid rgba(201,162,75,.5); border-radius: var(--r-xl); z-index: -1;
}
.why__list { display: grid; gap: 18px; margin-top: 26px; }
.why__item { display: flex; gap: 15px; align-items: flex-start; }
.why__item-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; background: var(--navy-50); border: 1px solid var(--line); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.why__item b { display: block; color: var(--navy-850); font-size: 16px; margin-bottom: 3px; }
.why__item p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ═══════════════ تیم ═══════════════ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-align: center; transition: transform .3s var(--ease), box-shadow .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.team-card__media {
  position: relative; overflow: hidden; aspect-ratio: 3/3.4;
  background:
    radial-gradient(120% 60% at 6% -6%, rgba(240, 178, 172, .5) 0%, rgba(240, 178, 172, 0) 55%),
    linear-gradient(180deg, #f8f1ea 0%, #f4ece2 100%);
}
.team-card__media .hslide__shape--navy { left: 4%; top: 25%; width: 84%; height: 50%; border-radius: 20px; }
.team-card__media .hslide__shape--grad { left: 13%; top: 28%; width: 87%; height: 60%; border-radius: 22px; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card__media img.hslide__img {
  position: absolute; z-index: 2; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: auto; height: 95%; max-width: 90%; object-fit: contain;
  border-radius: 20px 20px 0 0;
  filter: drop-shadow(0 16px 24px rgba(8, 20, 45, .28));
}
.team-card:hover .team-card__media img.hslide__img { transform: translateX(-50%) scale(1.03); }
.team-card__body { padding: 20px 18px 24px; }
.team-card__body h3 { font-size: 16.5px; color: var(--navy-850); }
.team-card__role { color: var(--gold-600); font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.team-card__spec { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 13px; }
.team-card__lic {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 11px;
  padding: 5.5px 13px; border-radius: 999px; font-size: 12px; line-height: 1.7;
  background: #fdf6e7; border: 1px solid rgba(201, 162, 75, .38); color: var(--gold-600);
  width: fit-content;
}
.team-card__lic svg { color: var(--gold-500, var(--gold-600)); }
.team-card__lic b { color: var(--navy-850, #1b2c52); font-weight: 700; }
.tag { display: inline-block; background: var(--navy-50); border: 1px solid var(--line); color: var(--text-2); font-size: 11.5px; padding: 4px 12px; border-radius: 999px; }

/* ═══════════════ مقالات ═══════════════ */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.art-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.art-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(201,162,75,.4); }
.art-card__media { position: relative; aspect-ratio: 16/9.6; overflow: hidden; }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.art-card:hover .art-card__media img { transform: scale(1.07); }
.art-card__cat {
  display: inline-flex; align-items: center; width: fit-content;
  color: var(--gold-600); font-size: 11.5px; font-weight: 800; letter-spacing: .2px;
  background: linear-gradient(145deg, #fdf6e7, #f7edd6);
  border: 1px solid rgba(201,162,75,.32);
  padding: 4px 13px; border-radius: 999px; margin-bottom: 11px;
}
.art-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.art-card__meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.art-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.art-card__meta svg { color: var(--gold-500); }
.art-card h3 { font-size: 16.5px; color: var(--navy-850); line-height: 1.8; }
.art-card h3 a:hover { color: var(--gold-600); }
.art-card p { color: var(--muted); font-size: 13.5px; margin-top: 9px; flex: 1; }
.art-card__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--gold-600); font-weight: 700; font-size: 13.5px; }

/* ═══════════════ نظرات موکلین ═══════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 28px; position: relative; transition: border-color .3s, transform .3s var(--ease); }
.testi-card:hover { border-color: rgba(201,162,75,.5); transform: translateY(-4px); }
.testi-card__quote { position: absolute; top: 22px; left: 24px; color: rgba(201,162,75,.35); }
.testi-card__stars { display: flex; gap: 3px; color: var(--gold-400); margin-bottom: 16px; }
.testi-card p { color: var(--on-navy-2); font-size: 14.5px; line-height: 2; }
.testi-card__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.testi-card__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: #17223f; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-card__who b { color: #fff; font-size: 14.5px; display: block; }
.testi-card__who small { color: var(--on-navy-2); font-size: 12px; }

/* ═══════════════ سوالات متداول ═══════════════ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: rgba(201,162,75,.5); box-shadow: var(--sh-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 18px 22px; font-weight: 700; color: var(--navy-850); text-align: right; font-size: 15.5px; }
.faq__q svg { flex-shrink: 0; color: var(--gold-600); transition: transform .3s var(--ease); }
.faq__item[open] .faq__q svg { transform: rotate(180deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; line-height: 2.1; }

/* ═══════════════ بنر CTA ═══════════════ */
.cta-banner { padding: clamp(40px, 6vw, 70px) 0; }
.cta-banner__in {
  background:
    radial-gradient(600px 300px at 92% 10%, rgba(201,162,75,.25), transparent 55%),
    linear-gradient(150deg, var(--navy-850), var(--navy-950));
  border-radius: var(--r-xl); color: #fff;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 30px);
  padding: clamp(28px, 4.5vw, 52px); flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.09); box-shadow: var(--sh-lg);
}
.cta-banner__icon { width: 72px; height: 72px; flex-shrink: 0; border-radius: 20px; background: var(--gold-grad); color: #17223f; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-gold); }
.cta-banner__txt { flex: 1; min-width: 240px; }
.cta-banner__txt h3 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 900; }
.cta-banner__txt p { color: var(--on-navy-2); margin-top: 7px; font-size: 15px; }

/* ═══════════════ فوتر ═══════════════ */
.footer { background: linear-gradient(180deg, var(--navy-950), #050a18); color: var(--on-navy-2); padding-top: clamp(46px, 6vw, 76px); }
.footer__grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.2fr; gap: clamp(26px, 4vw, 46px); padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16.5px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--gold-grad); }
.footer__about .brand { margin-bottom: 16px; }
.footer__desc { font-size: 13.5px; line-height: 2.1; }
.footer__social { display: flex; gap: 9px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--on-navy-2); }
.footer__social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #17223f; transform: translateY(-3px); }
.footer__links { display: grid; gap: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-navy-2); }
.footer__links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); opacity: .6; transition: opacity .2s, transform .2s; }
.footer__links a:hover { color: var(--gold-400); }
.footer__links a:hover::before { opacity: 1; transform: scale(1.3); }
.footer__contact-list { display: grid; gap: 13px; }
.footer__contact-list li { display: flex; gap: 11px; font-size: 13.5px; line-height: 1.9; align-items: flex-start; }
.footer__contact-list svg { color: var(--gold-500); flex-shrink: 0; margin-top: 5px; }
.footer__contact-list a:hover { color: var(--gold-400); }
.newsletter { display: flex; margin-top: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 5px; }
.newsletter input { flex: 1; background: transparent; border: 0; color: #fff; padding: 9px 14px; font-size: 13.5px; min-width: 0; }
.newsletter input:focus { outline: none; }
.newsletter button { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--gold-grad); color: #17223f; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.newsletter button:hover { transform: scale(1.06); }
.newsletter__msg { margin-top: 10px; font-size: 13px; color: var(--gold-300); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.footer__policy { display: flex; gap: 20px; }
.footer__policy a:hover { color: var(--gold-400); }

/* ═══════════════ صفحات داخلی ═══════════════ */
.page-hero {
  background:
    radial-gradient(800px 320px at 88% -20%, rgba(201,162,75,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-850));
  color: #fff; padding: clamp(44px, 6vw, 76px) 0 clamp(52px, 7vw, 88px);
  position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; }
.page-hero__in { position: relative; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 13px; color: var(--on-navy-2); margin-bottom: 14px; }
.breadcrumb a { color: var(--on-navy-2); display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .7; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; }
.page-hero p { color: var(--on-navy-2); margin-top: 10px; max-width: 640px; font-size: 15.5px; }

/* نوار فیلتر خدمات */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--text-2);
  padding: 9px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  transition: all .2s var(--ease); cursor: pointer;
}
.chip:hover { border-color: var(--gold-500); color: var(--gold-600); }
.chip.is-active { background: var(--navy-850); border-color: var(--navy-850); color: #fff; }
.chip svg { width: 17px; height: 17px; }

/* جزئیات خدمت */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.detail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); }
.detail-card .svc-card__ic { margin-bottom: 22px; }
.detail-card h1 { font-size: clamp(22px, 2.8vw, 30px); color: var(--navy-850); margin-bottom: 16px; }
.detail-card .lead { color: var(--text-2); font-size: 16.5px; font-weight: 500; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.detail-card .content { color: var(--text-2); font-size: 15px; line-height: 2.2; }
.detail-card .content p { margin-bottom: 14px; }
.detail-card .content h2, .detail-card .content h3 { color: var(--navy-850); margin: 24px 0 10px; font-size: 19px; }
.detail-card .content ul { padding-right: 20px; margin-bottom: 14px; }
.detail-card .content ul li { position: relative; padding-right: 18px; margin-bottom: 8px; }
.detail-card .content ul li::before { content: ''; position: absolute; right: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 22px; }
.side-card h3 { font-size: 16px; color: var(--navy-850); margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.side-card h3 svg { color: var(--gold-600); }
.side-card__list { display: grid; gap: 11px; }
.side-card__list a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); padding: 9px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.side-card__list a:hover { background: var(--navy-50); color: var(--gold-600); }
.side-card__list a svg { color: var(--gold-600); }
.side-card__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); margin-bottom: 13px; line-height: 1.9; }
.side-card__contact svg { color: var(--gold-600); flex-shrink: 0; margin-top: 4px; }

/* ═══════════════ فرم‌ها ═══════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-850); }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  background: #fbfcfe; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 16px; font-size: 14.5px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(201,162,75,.14);
}
.field input.err, .field select.err, .field textarea.err { border-color: var(--err); }
.field__hint { font-size: 12px; color: var(--muted); }
.field__error { font-size: 12px; color: var(--err); display: none; }
.field.has-error .field__error { display: block; }

/* ═══════════════ رزرو نوبت (ویزارد) ═══════════════ */
.booking-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.booking-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-sm); }
/* گارد ضدسرریز: فرزندان گریدها اجازه بزرگ‌شدن بیش از ستون خود را ندارند (رفع باگ موبایل) */
.booking-layout > *, .detail-layout > *, .article-layout > *,
.why > *, .footer__grid > *, .contact-cards > *, .svc-grid > *, .articles-grid > * { min-width: 0; max-width: 100%; }
.booking-panel { min-width: 0; }
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 34px; overflow-x: auto; max-width: 100%; padding-bottom: 6px; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.step__dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-50); border: 2px solid var(--line); color: var(--muted);
  font-weight: 800; font-size: 14.5px; transition: all .3s var(--ease);
}
.step__lbl { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.step__line { width: clamp(24px, 4.4vw, 64px); height: 2.5px; background: var(--line); margin: 0 10px; flex-shrink: 0; border-radius: 2px; transition: background .3s; }
.step.is-active .step__dot { background: var(--navy-850); border-color: var(--navy-850); color: #fff; box-shadow: 0 0 0 5px rgba(17,34,68,.12); }
.step.is-active .step__lbl { color: var(--navy-850); }
.step.is-done .step__dot { background: var(--gold-grad); border-color: var(--gold-500); color: #17223f; }
.step.is-done .step__lbl { color: var(--gold-600); }
.step.is-done + .step__line, .step__line.is-done { background: var(--gold-500); }
.step__dot svg { display: none; }
.step.is-done .step__dot svg { display: block; }
.step.is-done .step__dot span { display: none; }

.bstep { display: none; animation: stepIn .35s var(--ease); }
.bstep.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bstep__title { font-size: 19px; color: var(--navy-850); margin-bottom: 6px; }
.bstep__sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fbfcfe; border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 18px 15px; cursor: pointer; text-align: center; align-items: center;
  transition: all .22s var(--ease);
}
.pick:hover { border-color: rgba(201,162,75,.55); background: #fffdf5; }
.pick.is-selected { border-color: var(--gold-500); background: linear-gradient(160deg, #fffdf5, #fdf5e0); box-shadow: 0 6px 20px rgba(201,162,75,.18); }
.pick__ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(145deg, #fdf6e7, #f5ebd0); border: 1px solid rgba(201,162,75,.3); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.pick b { font-size: 14px; color: var(--navy-850); line-height: 1.7; }
.pick small { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.pick__tick {
  position: absolute; top: -9px; left: -9px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--gold-grad); color: #17223f;
  display: none; align-items: center; justify-content: center; box-shadow: var(--sh-gold);
}
.pick.is-selected .pick__tick { display: flex; }
.pick--lawyer { flex-direction: row; text-align: right; align-items: center; justify-content: flex-start; padding: 14px; }
.pick--lawyer .pick__ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(201,162,75,.4); }
.pick--lawyer .pick__info { flex: 1; min-width: 0; }
.pick--lawyer .pick__info b { display: block; font-size: 13.5px; }
.pick--lawyer .pick__info small { display: block; }

/* تقویم جلالی */
.calendar { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; max-width: 420px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; background: var(--navy-850); color: #fff; padding: 12px 16px; }
.cal__title { font-weight: 800; font-size: 15px; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cal__nav button:hover:not([disabled]) { background: var(--gold-500); color: #17223f; }
.cal__nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--navy-50); }
.cal__week span { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--text-2); padding: 9px 0; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 10px; background: #fff; }
.cal__day {
  aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600;
  color: var(--text); cursor: pointer; transition: all .18s var(--ease); position: relative;
}
.cal__day:hover:not([disabled]):not(.is-empty) { background: var(--navy-50); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold-500); }
.cal__day.is-selected { background: var(--gold-grad); color: #17223f; font-weight: 800; box-shadow: var(--sh-gold); }
.cal__day.is-friday { color: var(--err); }
.cal__day[disabled] { color: #c3cade; background: #f6f7fb; cursor: not-allowed; }
.cal__day.is-blocked { text-decoration: line-through; }
.cal__day.is-empty { cursor: default; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--line); background: #fbfcfe; font-size: 11.5px; color: var(--muted); }
.cal__legend i { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-left: 6px; vertical-align: -1px; }

.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.slot {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 2px solid var(--line); border-radius: var(--r-sm); padding: 13px 8px;
  cursor: pointer; transition: all .2s var(--ease); background: #fbfcfe; text-align: center;
}
.slot:hover:not([disabled]) { border-color: rgba(201,162,75,.55); background: #fffdf5; }
.slot.is-selected { border-color: var(--gold-500); background: linear-gradient(160deg, #fffdf5, #fdf5e0); }
.slot b { font-size: 15.5px; color: var(--navy-850); }
.slot.is-selected b { color: var(--gold-700); }
.slot small { font-size: 11px; color: var(--muted); }
.slot.is-full { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.slots-empty { padding: 26px; text-align: center; color: var(--muted); background: var(--navy-50); border-radius: var(--r-sm); border: 1px dashed var(--line); font-size: 14px; }

.booking-summary { background: linear-gradient(160deg, var(--navy-850), var(--navy-900)); color: #fff; border-radius: var(--r-lg); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.booking-summary h3 { font-size: 16px; color: #fff; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.booking-summary h3 svg { color: var(--gold-400); }
.sum-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 13.5px; }
.sum-row:last-of-type { border-bottom: 0; }
.sum-row__lbl { color: var(--on-navy-2); display: flex; align-items: center; gap: 8px; }
.sum-row__lbl svg { color: var(--gold-500); width: 17px; height: 17px; }
.sum-row__val { color: #fff; font-weight: 600; text-align: left; }
.booking-summary .btn { margin-top: 20px; }
.booking-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

/* نتیجه رزرو */
.success-card { text-align: center; max-width: 560px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(30px, 5vw, 50px); box-shadow: var(--sh-md); }
.success-card__ic { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.success-card h2 { color: var(--navy-850); font-size: 23px; }
.success-card > p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }
.track-code { display: inline-flex; align-items: center; gap: 12px; background: var(--navy-850); color: #fff; border-radius: 14px; padding: 13px 26px; margin: 24px 0 8px; direction: ltr; font-weight: 900; font-size: 21px; letter-spacing: 1px; }
.track-code small { font-weight: 500; font-size: 12px; color: var(--gold-400); letter-spacing: 0; }
.success-meta { display: grid; gap: 10px; margin-top: 22px; text-align: right; background: var(--navy-50); border-radius: var(--r-md); padding: 18px 22px; }
.success-meta div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.success-meta div span:first-child { color: var(--muted); }
.success-meta div span:last-child { font-weight: 700; color: var(--navy-850); }
.success-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ═══════════════ پیگیری ═══════════════ */
.track-box { max-width: 520px; margin-inline: auto; }
.track-status { display: flex; align-items: center; gap: 10px; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.status-badge--warn { background: var(--warn-bg); color: var(--warn); }
.status-badge--ok { background: var(--ok-bg); color: var(--ok); }
.status-badge--err { background: var(--err-bg); color: var(--err); }
.status-badge--muted { background: #eef1f7; color: var(--muted); }
.status-badge--info { background: var(--info-bg); color: var(--info); }
.timeline { position: relative; padding-right: 26px; }
.timeline::before { content: ''; position: absolute; right: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; right: -26px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--line); }
.timeline__item.is-done .timeline__dot { border-color: var(--ok); }
.timeline__item.is-active .timeline__dot { border-color: var(--gold-500); box-shadow: 0 0 0 5px rgba(201,162,75,.2); }
.timeline__item b { display: block; color: var(--navy-850); font-size: 14px; }
.timeline__item span { color: var(--muted); font-size: 12.5px; }

/* ═══════════════ تماس ═══════════════ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 34px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.contact-card__ic { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(145deg, #fdf6e7, #f5ebd0); border: 1px solid rgba(201,162,75,.3); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.contact-card b { display: block; color: var(--navy-850); font-size: 15.5px; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 13.5px; line-height: 2; display: block; }
.contact-card a:hover { color: var(--gold-600); }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); margin-top: 34px; background: var(--navy-50); min-height: 300px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; gap: 10px; }
.map-box iframe { width: 100%; min-height: 340px; border: 0; display: block; }

/* ═══════════════ صفحه مقاله ═══════════════ */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.article-hero-img { width: 100%; aspect-ratio: 16/7.5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-md); margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { color: var(--gold-500); }
.article-body { color: var(--text-2); font-size: 15.5px; line-height: 2.25; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { color: var(--navy-850); font-size: 21px; margin: 30px 0 12px; }
.article-body h3 { color: var(--navy-850); font-size: 17.5px; margin: 24px 0 10px; }
.article-body ul { padding-right: 20px; margin-bottom: 18px; }
.article-body ul li { position: relative; padding-right: 18px; margin-bottom: 9px; }
.article-body ul li::before { content: ''; position: absolute; right: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.article-share { display: flex; align-items: center; gap: 10px; padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.article-share a { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-50); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.article-share a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }

/* ═══════════════ نوتیفیکیشن ═══════════════ */
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--line); border-right: 4px solid var(--info);
  border-radius: var(--r-sm); padding: 14px 20px; margin-top: 18px;
  box-shadow: var(--sh-md); font-size: 14px; font-weight: 600; color: var(--text);
}
.toast--ok { border-right-color: var(--ok); }
.toast--err { border-right-color: var(--err); }
.toast--warn { border-right-color: var(--warn); }
#toastHost { position: fixed; bottom: 24px; right: 24px; z-index: 400; display: flex; flex-direction: column; gap: 10px; max-width: min(400px, calc(100vw - 48px)); }
#toastHost .toast { margin: 0; animation: toastIn .35s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ═══════════════ دکمه بازگشت بالا ═══════════════ */
.to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 150;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--navy-850); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .3s var(--ease);
  border: 1px solid rgba(255,255,255,.1);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: #17223f; }

/* ═══════════════ انیمیشن ظاهرشدن ═══════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════ واکنش‌گرایی ═══════════════ */
@media (max-width: 1120px) {
  .svc-mini small { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  :root { --header-h: 66px; }
  .topbar__item--addr { display: none; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta span { display: none; }
  .header__cta { padding: 10px 13px; }
  .hero__in { grid-template-columns: 1fr; }
  /* عرض قطعی: جلوگیری از بزرگ‌شدن اسلایدر بر اساس اندازه ذاتی محتوا (رفع بیرون‌زدگی موبایل) */
  .hero__media { width: 100%; max-width: 560px; min-width: 0; margin-inline: auto; }
  .hero { padding-bottom: 150px; }
  .services-strip { margin-top: -110px; }
  .services-strip__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stats__band { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat { justify-content: flex-start; }
  .svc-grid, .articles-grid, .testi-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .why__media { max-width: 560px; margin-inline: auto; }
  .booking-layout, .detail-layout, .article-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar__in { justify-content: center; }
  .topbar__contacts { gap: 16px; justify-content: center; }
  .topbar__item:nth-child(3) { display: none; }
  .topbar__social { display: none; }
  .brand { gap: 9px; }
  .brand__logo { height: 42px; }
  .brand__txt b { font-size: 14.5px; }
  .brand__txt small { display: none; }
  .brand--footer .brand__logo { height: 50px; }
  .hero h1 { font-size: 28px; }
  .hero__actions .btn { width: 100%; }
  .services-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-mini { padding: 14px 10px; }
  .stats__band { grid-template-columns: 1fr 1fr; padding: 22px 14px; }
  .stat { flex-direction: column; text-align: center; gap: 9px; }
  .stat__ic { width: 48px; height: 48px; }
  .svc-grid, .articles-grid, .testi-grid, .contact-cards, .pick-grid, .slots-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner__in { flex-direction: column; text-align: center; }
  .booking-nav { flex-direction: column-reverse; }
  .booking-nav .btn { width: 100%; }
  .hslider { padding-bottom: 44px; }
  .hslide__art { aspect-ratio: 590 / 560; }
  .hslide__img { max-width: 94%; }
  .hslide__info { grid-template-columns: 1fr; padding: 8px 18px 16px; }
  .hslide__name { font-size: 15.5px; }
  .hslide__role { font-size: 11px; }
  .hslide__meta { margin-top: 7px; gap: 6px; }
  .hslide__cta { grid-column: 1; grid-row: auto; width: 100%; padding: 9.5px 12px; font-size: 12.5px; margin-top: 4px; }
  .hslider__arrow { width: 34px; height: 34px; }
  .hslider__progress { top: 8px; inset-inline: 10px; }
  .steps { justify-content: flex-start; }
  .step__lbl { font-size: 11.5px; }
}

/* ═══════════════ چاپ ═══════════════ */
@media print {
  .topbar, .header, .footer, .cta-banner, .to-top, #toastHost, .booking-nav, .filter-bar { display: none !important; }
  body { background: #fff; }
  .booking-panel, .detail-card, .side-card { box-shadow: none; border-color: #ddd; }
}

/* ═══════════════════════════════════════════════════════════
   مهر (لوگوی) کانون وکلا روی عکس وکلا + نوار اخبار موسسه
   ═══════════════════════════════════════════════════════════ */

/* ── مهر روی عکس کارت تیم (پایین عکس) ── */
.team-card__media .lawyer-stamp {
  position: absolute; z-index: 3;
  bottom: 14px; inset-inline-start: 14px;
  width: 68px; height: 68px; object-fit: contain;
  pointer-events: none; user-select: none;
  opacity: .94; transform: rotate(-10deg);
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .45));
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 62%, transparent 70%);
  border-radius: 50%;
  animation: stampIn .55s var(--ease) both;
}

/* ── مهر پای عکس وکیل در اسلایدر هیرو (فقط مهر — بدون هیچ باکس دیگر) ── */
.hslide__art .lawyer-stamp {
  position: absolute; z-index: 3;
  bottom: 5%; inset-inline-start: 7%;
  width: 64px; height: 64px; object-fit: contain;
  pointer-events: none; user-select: none;
  opacity: .95; transform: rotate(-10deg);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .5));
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 60%, transparent 72%);
  border-radius: 50%; padding: 4px;
  animation: stampIn .55s var(--ease) both;
}

@keyframes stampIn {
  from { opacity: 0; transform: rotate(-10deg) scale(1.7); }
  to   { opacity: .95; transform: rotate(-10deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .team-card__media .lawyer-stamp, .hslide__art .lawyer-stamp { animation: none; }
}
@media (max-width: 640px) {
  .team-card__media .lawyer-stamp { width: 54px; height: 54px; bottom: 10px; inset-inline-start: 10px; }
  .hslide__art .lawyer-stamp { width: 48px; height: 48px; bottom: 4%; inset-inline-start: 5%; }
}

/* ── نوار اخبار موسسه در صفحه اصلی ── */
.news-strip {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, #12294e 100%);
  border-radius: 22px; padding: 22px 24px 20px;
  box-shadow: 0 24px 50px -22px rgba(8, 20, 45, .55);
  position: relative; overflow: hidden;
}
.news-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 180px at 12% -10%, rgba(201, 162, 75, .16), transparent 70%);
}
.news-strip__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px; position: relative;
}
.news-strip__title {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; font-weight: 800; font-size: 16.5px;
}
.news-strip__title svg { color: var(--gold-400); }
.news-strip__all {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold-300); font-size: 13px; font-weight: 700;
  border: 1px solid rgba(201, 162, 75, .4); border-radius: 999px;
  padding: 6px 14px; transition: all .25s var(--ease); white-space: nowrap;
}
.news-strip__all:hover { background: rgba(201, 162, 75, .14); color: var(--gold-300); }
.news-strip__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative;
}
.news-strip__item {
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px; padding: 13px 15px;
  color: #e8edf7; transition: all .25s var(--ease); position: relative;
}
.news-strip__item::after {
  content: ''; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px;
  width: 3px; border-radius: 3px; background: var(--gold-500); opacity: .75;
}
.news-strip__item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); border-color: rgba(201, 162, 75, .45); }
.news-strip__date {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--gold-300); font-weight: 600;
}
.news-strip__item-title {
  font-size: 13.5px; font-weight: 700; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-strip__more {
  position: absolute; inset-inline-end: 12px; bottom: 12px;
  color: var(--gold-400); opacity: 0; transition: all .25s var(--ease);
}
.news-strip__item:hover .news-strip__more { opacity: 1; inset-inline-end: 8px; }
@media (max-width: 900px) { .news-strip__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .news-strip { padding: 18px 16px 16px; }
  .news-strip__list { grid-template-columns: 1fr; }
  .news-strip__title { font-size: 15px; }
}

/* ── خبر ویژه صفحه اخبار ── */
.news-featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--sh-md); margin-bottom: 34px;
}
.news-featured__media { display: block; position: relative; min-height: 280px; }
.news-featured__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s var(--ease);
}
.news-featured:hover .news-featured__media img { transform: scale(1.045); }
.news-featured__body { padding: 30px 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.news-featured__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 5px 12px;
}
.news-featured__body h2 { margin: 0; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.7; }
.news-featured__body h2 a { color: var(--navy-850); transition: color .2s; }
.news-featured__body h2 a:hover { color: var(--gold-600); }
.news-featured__body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 2.1; }
@media (max-width: 860px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured__media { min-height: 210px; }
  .news-featured__body { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════
   پولیش نهایی v2 — جزئیات ظاهری و تعاملی
   ═══════════════════════════════════════════════ */

/* اسکرول‌بار سفارشی */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg, #f5f6fa); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #b9c3dd, #8f9bbd); border-radius: 99px; border: 3px solid var(--bg, #f5f6fa); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* فوکوس یکدست و در دسترس */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--gold-500); outline-offset: 3px; border-radius: 6px;
}

/* جزئیات کارت‌ها: هاو نرم‌تر و عمق بیشتر */
.art-card, .team-card, .svc-card, .why-card {
  will-change: transform;
}
.art-card:hover, .svc-card:hover { box-shadow: 0 22px 48px rgba(11,23,48,.13); }

/* لینک‌های فوتر: خط زیر انیمیت‌شده */
.footer__links a { position: relative; transition: color .2s, padding .25s var(--ease); }
.footer__links a::before {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 6px; height: 1.5px;
  width: 0; background: var(--gold-400); border-radius: 2px; transition: width .25s var(--ease);
}
.footer__links a:hover { color: #fff; padding-inline-start: 4px; }
.footer__links a:hover::before { width: 100%; }

/* تصاویر: رندر تمیزتر */
img { image-rendering: -webkit-optimize-contrast; }

/* بنر CTA: درخشش طلایی نرم */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::after {
  content: ''; position: absolute; inset-block: -60%; inset-inline-start: 30%; width: 320px;
  background: radial-gradient(closest-side, rgba(201,162,75,.18), transparent);
  transform: rotate(18deg); pointer-events: none; filter: blur(6px);
}

/* حرکت کاهش‌یافته */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* چاپ */
@media print {
  .header, .topbar, .footer, .cta-banner, .to-top, .drawer, .searchbar { display: none !important; }
  body { background: #fff; }
  .site-main { padding: 0; }
}

/* ═══════════════════════════════════════════════
   v4 — پورتال خبری، چندرسانه‌ای و لایت‌باکس
   ═══════════════════════════════════════════════ */

/* ── نوار خبر فوری (تیکر) ── */
.np-ticker {
  background: var(--navy-900); color: var(--on-navy);
  border-block: 1px solid rgba(201,162,75,.25);
  overflow: hidden;
}
.np-ticker__in { display: flex; align-items: center; gap: 14px; min-height: 46px; }
.np-ticker__label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 12px; font-weight: 800; border-radius: 8px; padding: 6px 12px;
  white-space: nowrap;
}
.np-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.np-ticker__track {
  display: flex; gap: 40px; width: max-content; list-style: none; margin: 0; padding: 0;
  animation: npTicker 44s linear infinite;
}
.np-ticker:hover .np-ticker__track { animation-play-state: paused; }
.np-ticker__track a {
  color: var(--on-navy-2); font-size: 13.2px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; transition: color .2s;
}
.np-ticker__track a::before { content: '●'; font-size: 7px; color: var(--gold-400); }
.np-ticker__track a:hover { color: var(--gold-300); }
@keyframes npTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) { .np-ticker__track { animation: none; } }

/* ── چیدمان پورتال خبری ── */
.np-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.page-hero__date {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  color: var(--gold-300); font-size: 13px; font-weight: 700;
}
.filter-bar__sep { width: 1px; background: var(--line); align-self: stretch; margin-inline: 4px; }

/* خبرهای ثانویه (ردیف دوستونه) */
.np-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.np-sec-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.np-sec-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(201,162,75,.4); }
.np-sec-card__media { display: block; position: relative; min-height: 110px; }
.np-sec-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.np-sec-card:hover .np-sec-card__media img { transform: scale(1.06); }
.np-sec-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.np-sec-card__body h3 { margin: 0; font-size: 14.5px; line-height: 1.75; }
.np-sec-card__body h3 a { color: var(--navy-850); }
.np-sec-card__body h3 a:hover { color: var(--gold-600); }
.np-sec-card__date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: auto; }
.np-sec-card .art-card__cat { align-self: flex-start; margin: 0; }

/* ── سایدبار پورتال خبری ── */
.np-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.np-side__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--sh-sm);
}
.np-side__title {
  display: flex; align-items: center; gap: 9px; margin: 0 0 16px;
  font-size: 15.5px; color: var(--navy-850); padding-bottom: 13px;
  border-bottom: 2px solid var(--gold-500);
}
.np-side__title svg { color: var(--gold-600); }

/* پربازدیدترین (رتبه‌بندی) */
.np-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.np-rank li + li { border-top: 1px dashed var(--line); }
.np-rank__item { display: flex; align-items: center; gap: 12px; padding: 11px 2px; transition: background .2s; }
.np-rank__item:hover { background: var(--navy-50); }
.np-rank__num {
  flex-shrink: 0; width: 27px; height: 27px; border-radius: 8px;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: var(--navy-50); color: var(--navy-700);
  transition: background .25s, color .25s;
}
.np-rank__item:hover .np-rank__num { background: var(--gold-500); color: var(--navy-900); }
.np-rank__item img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.np-rank__txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.np-rank__txt b {
  font-size: 13px; line-height: 1.7; color: var(--navy-850); font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-rank__item:hover .np-rank__txt b { color: var(--gold-600); }
.np-rank__txt small { color: var(--muted); font-size: 11.5px; }

/* موضوعات خبری */
.np-cats { list-style: none; margin: 0; padding: 0; }
.np-cats li + li { border-top: 1px dashed var(--line); }
.np-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px; color: var(--text-2); font-size: 13.5px; font-weight: 600;
  transition: color .2s, padding .2s;
}
.np-cats a:hover { color: var(--gold-600); padding-inline-start: 6px; }
.np-cats a b {
  background: var(--navy-50); color: var(--navy-700); border-radius: 999px;
  font-size: 11.5px; padding: 2px 10px;
}

/* تازه‌ترین مقالات */
.np-mini { list-style: none; margin: 0; padding: 0; }
.np-mini li + li { border-top: 1px dashed var(--line); }
.np-mini a {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 2px;
  color: var(--navy-850); font-size: 13.2px; font-weight: 700; line-height: 1.75;
  transition: color .2s;
}
.np-mini a:hover { color: var(--gold-600); }
.np-mini a small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.np-side__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  color: var(--gold-600); font-size: 13px; font-weight: 700;
}
.np-side__more:hover { gap: 10px; }

/* CTA سایدبار */
.np-side__cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  background: linear-gradient(150deg, var(--navy-850), var(--navy-700));
  color: var(--on-navy); border-radius: var(--r-lg); padding: 22px;
  position: relative; overflow: hidden;
}
.np-side__cta::after {
  content: ''; position: absolute; inset-block-end: -40px; inset-inline-start: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,162,75,.25), transparent);
}
.np-side__cta svg { color: var(--gold-400); }
.np-side__cta b { font-size: 15.5px; }
.np-side__cta p { margin: 0; color: var(--on-navy-2); font-size: 13px; line-height: 2; }
.np-side__cta .btn { position: relative; z-index: 1; }

/* ── کارت‌های خبری صفحه اصلی (با تصویر) ── */
.news-strip__list--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-strip__card {
  display: flex; flex-direction: column; background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.news-strip__card:hover { transform: translateY(-5px); border-color: rgba(201,162,75,.5); background: rgba(255,255,255,.085); }
.news-strip__thumb { position: relative; display: block; aspect-ratio: 16/9.2; overflow: hidden; }
.news-strip__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); display: block; }
.news-strip__card:hover .news-strip__thumb img { transform: scale(1.06); }
.news-strip__cat {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px;
}
.news-strip__cardbody { display: flex; flex-direction: column; gap: 8px; padding: 16px 17px 18px; flex: 1; }
.news-strip__cardbody .news-strip__date { color: var(--on-navy-2); font-size: 11.5px; }
.news-strip__card .news-strip__item-title {
  color: #fff; font-size: 14.5px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-strip__excerpt {
  color: var(--on-navy-2); font-size: 12.5px; line-height: 1.95;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-strip__morelink {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-400); font-size: 12.5px; font-weight: 700; transition: gap .2s;
}
.news-strip__card:hover .news-strip__morelink { gap: 10px; }

/* ── گالری چندرسانه‌ای ── */
.media-stats-row {
  display: flex; align-items: center; gap: 18px; margin-bottom: 26px;
  color: var(--text-2); font-size: 13.5px; font-weight: 700;
}
.media-stats-row span { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; box-shadow: var(--sh-sm); }
.media-stats-row svg { color: var(--gold-600); }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.media-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.media-card:hover, .media-card:focus-visible { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(201,162,75,.45); }
.media-card__media { position: relative; aspect-ratio: 16/10.4; overflow: hidden; background: var(--navy-50); }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); display: block; }
.media-card:hover .media-card__media img { transform: scale(1.07); }
.media-card__play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,22,48,.72); color: #fff; backdrop-filter: blur(4px);
  border: 2px solid rgba(201,162,75,.75);
  transition: transform .3s var(--ease), background .3s;
  padding-inline-start: 4px;
}
.media-card:hover .media-card__play { transform: scale(1.12); background: rgba(10,22,48,.9); }
.media-card__play svg { fill: currentColor; }
.media-card__dur {
  position: absolute; bottom: 10px; inset-inline-end: 10px;
  background: rgba(6,13,31,.85); color: #fff; font-size: 11.5px; font-weight: 700;
  border-radius: 7px; padding: 3px 9px;
}
.media-card__body { padding: 17px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.media-card__cat {
  align-self: flex-start; background: var(--navy-50); color: var(--navy-700);
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 11px;
}
.media-card__body h3 { margin: 0; font-size: 15px; line-height: 1.75; color: var(--navy-850); }
.media-card__body p { margin: 0; color: var(--muted); font-size: 12.8px; line-height: 1.95; }
.media-card__meta { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.media-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.media-card__meta svg { color: var(--gold-600); }

/* ── لایت‌باکس ── */
.lightbox {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(4, 9, 22, .93); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 76px 40px; animation: lbIn .25s var(--ease);
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { margin: 0; max-width: min(1080px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox__holder { display: grid; place-items: center; min-height: 0; }
.lightbox__holder img {
  max-width: 100%; max-height: calc(100vh - 190px);
  border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.5);
  animation: lbZoom .3s var(--ease);
}
@keyframes lbZoom { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__holder iframe, .lightbox__holder video {
  width: min(920px, calc(100vw - 190px)); height: calc(100vh - 230px);
  max-height: 560px; border: 0; border-radius: 14px; background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.lightbox__caption { color: #e7ecf8; font-size: 14px; text-align: center; display: flex; gap: 12px; align-items: baseline; }
.lightbox__caption b { font-weight: 700; }
.lightbox__caption span { color: #8b96b8; font-size: 12.5px; }
.lightbox__missing { color: #c9d2ea; background: rgba(255,255,255,.06); border-radius: 12px; padding: 26px 34px; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.09);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold-500); color: var(--navy-900); transform: scale(1.07); }
.lightbox__close { top: 18px; inset-inline-start: 18px; }
.lightbox__nav--next { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.07); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.07); }

/* ── ریسپانسیو بخش‌های v4 ── */
@media (max-width: 1080px) {
  .np-layout { grid-template-columns: 1fr 280px; gap: 22px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .np-layout { grid-template-columns: 1fr; }
  .np-side { position: static; }
}
@media (max-width: 860px) {
  .np-secondary { grid-template-columns: 1fr; }
  .news-strip__list--cards { grid-template-columns: 1fr; }
  .lightbox { padding: 62px 14px 22px; }
  .lightbox__nav--next { inset-inline-start: 8px; }
  .lightbox__nav--prev { inset-inline-end: 8px; }
  .lightbox__holder iframe, .lightbox__holder video { width: calc(100vw - 32px); height: calc(100vh - 260px); }
}
@media (max-width: 640px) {
  .media-grid { grid-template-columns: 1fr; }
  .np-ticker__label { padding: 5px 10px; font-size: 11px; }
  .media-card__play { width: 52px; height: 52px; }
}

/* ═══════════════════════════════════════════════════════════
   پالایش موبایل v4.2 — سایز هوشمند، لمس راحت، گرافیک تمیزتر
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* جلوگیری از زوم خودکار iOS هنگام فوکوس ورودی‌ها (فونت <۱۶px باعث زوم می‌شود) */
  input, select, textarea { font-size: 16px; }

  /* نوار بالا: فقط تلفن — تمیزتر و خواناتر */
  .topbar__item:nth-child(2) { display: none; }
  .topbar { font-size: 12.5px; }
  .topbar__contacts { gap: 14px; }

  /* هدر و اکشن‌ها */
  .header__actions { gap: 7px; }
  .iconbtn { width: 40px; height: 40px; }
  .brand__logo { height: 40px; }

  /* بخش‌ها: نفس بیشتر با فاصله‌گذاری هوشمند */
  .section { padding-block: 46px; }
  .page-hero { padding: 40px 0 30px; }
  .page-hero h1 { font-size: 25px; }
  .page-hero p { font-size: 14.5px; }

  /* کارت‌ها و فرم‌ها */
  .field label { font-size: 13px; }
  .field input, .field select, .field textarea { padding: 11px 14px; }
  .btn { padding: 12px 22px; }
  .btn--lg { padding: 14px 26px; font-size: 15.5px; }

  /* اسلایدر وکلا: تناسب بهتر در صفحه کوچک */
  .hslide__art { aspect-ratio: 590 / 560; }
  .hslide__name { font-size: 16px; }
  .hslide__lic { font-size: 11px; padding: 4px 9px; }
  .hslide__cta { padding: 12px 14px; font-size: 13.5px; }

  /* مراحل ویزارد رزرو */
  .step__dot { width: 34px; height: 34px; font-size: 13px; }
  .step__line { width: 18px; margin: 0 7px; }
  .step__lbl { font-size: 10.5px; }

  /* فوتر */
  .footer { padding: 40px 0 0; }
  .footer__grid { gap: 26px; }
  .cta-banner { padding: 26px 18px; }

  /* نوار اخبار موسسه */
  .news-strip { padding: 18px 14px 16px; border-radius: 18px; }
}

/* گوشی‌های بسیار کوچک (≤۳۸۰px) */
@media (max-width: 380px) {
  .container { padding-inline: 15px; }
  .hero h1 { font-size: 24.5px; }
  .hero__actions .btn { width: 100%; }
  .brand__logo { height: 36px; }
  .brand__txt b { font-size: 13px; }
  .header__cta { padding: 9px 11px; }
  .stats__band { grid-template-columns: 1fr; gap: 16px; }
  .services-strip__grid { grid-template-columns: 1fr; }
  .hslide__info { padding: 8px 14px 14px; }
}


/* ═══════════════════════════════════════════════
   درگاه پرداخت — صفحه انتقال + رسید + وضعیت‌ها (v5)
   ═══════════════════════════════════════════════ */
.pay-section { padding-top: 26px; }
.pay-trans, .pay-state {
  max-width: 620px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 44px 38px 34px; text-align: center;
  box-shadow: var(--sh-lg); position: relative; overflow: hidden;
}
.pay-trans::before, .pay-state--ok::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-grad), var(--gold-400));
}
.pay-trans__rings { position: relative; width: 108px; height: 108px; margin: 0 auto 20px; }
.pay-trans__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--navy-100); border-top-color: var(--gold-500);
  animation: paySpin 1.15s linear infinite;
}
.pay-trans__ring--2 { inset: 10px; border-width: 2px; border-top-color: var(--info); animation-duration: 1.6s; animation-direction: reverse; }
.pay-trans__core {
  position: absolute; inset: 22px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  box-shadow: 0 8px 22px rgba(15,30,70,.28);
}
@keyframes paySpin { to { transform: rotate(360deg); } }
.pay-trans__title { font-size: 24px; color: var(--navy-850); margin-bottom: 8px; }
.pay-trans__sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.pay-trans__amount {
  background: var(--navy-50); border: 1px dashed var(--gold-400);
  border-radius: var(--r-md); padding: 14px 20px; margin-bottom: 24px;
}
.pay-trans__amount small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.pay-trans__amount b { font-size: 30px; color: var(--navy-850); letter-spacing: .5px; }
.pay-trans__amount b span { font-size: 14px; font-weight: 600; color: var(--muted); margin-inline-start: 6px; }
.pay-trans__load { margin-bottom: 26px; }
.pay-trans__bar {
  display: block; height: 8px; border-radius: 99px; background: var(--navy-100);
  overflow: hidden; max-width: 360px; margin: 0 auto 10px;
}
.pay-trans__fill {
  display: block; height: 100%; width: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--info), var(--gold-400));
  animation: payFill 3s var(--ease) forwards; transform-origin: right center;
}
@keyframes payFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pay-trans__count { display: block; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.pay-trans__count b { color: var(--navy-850); }
.pay-trans__go.is-leaving { opacity: .6; pointer-events: none; }

.pay-invoice { text-align: right; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 18px; }
.pay-invoice h2 { font-size: 15px; color: var(--navy-850); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pay-invoice__rows div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px;
}
.pay-invoice__rows div:last-child { border-bottom: 0; }
.pay-invoice__rows span { color: var(--muted); flex-shrink: 0; }
.pay-invoice__rows b { color: var(--navy-850); font-weight: 600; text-align: left; }
.pay-invoice__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 2; display: flex; gap: 6px; align-items: flex-start; }
.pay-invoice__note b { color: var(--navy-850); }
.pay-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; padding: 0; list-style: none; }
.pay-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.pay-trust li svg { color: var(--ok); }

/* ── رسید موفق ── */
.pay-state--ok { border-color: var(--ok-200, #bfe8cf); }
.pay-state__ic {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0;
}
.pay-state--ok .pay-state__ic { background: linear-gradient(135deg, var(--ok), var(--info)); box-shadow: 0 10px 26px rgba(30,160,100,.32); }
.pay-state--fail .pay-state__ic { background: linear-gradient(135deg, var(--err), #e06a5a); box-shadow: 0 10px 26px rgba(220,80,70,.28); color: #fff; }
.pay-state--exp .pay-state__ic { background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); box-shadow: 0 10px 26px rgba(15,30,70,.25); color: #fff; }
.pay-tick { width: 40px; height: 22px; border-right: 5px solid #fff; border-bottom: 5px solid #fff; transform: rotate(45deg) translate(-3px, -5px); animation: payTick .5s .25s var(--ease) backwards; }
@keyframes payTick { from { opacity: 0; transform: rotate(45deg) translate(-8px, -10px) scale(.7); } }
.pay-state h1 { font-size: 23px; color: var(--navy-850); margin-bottom: 10px; }
.pay-state > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; line-height: 2; }
.pay-state .track-code { margin-bottom: 22px; }
.pay-note-ok {
  background: var(--ok-50, #eefaf3); border: 1px solid var(--ok-200, #bfe8cf);
  color: var(--navy-850); border-radius: var(--r-md); padding: 13px 16px;
  font-size: 13px; line-height: 2; display: flex; gap: 8px; align-items: flex-start;
  margin-bottom: 22px; text-align: right;
}
.pay-note-ok svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.pay-retry { margin-bottom: 22px; }

@media (max-width: 640px) {
  .pay-trans, .pay-state { padding: 30px 18px 24px; border-radius: var(--r-md); }
  .pay-trans__amount b { font-size: 25px; }
  .pay-invoice__rows div { flex-direction: column; gap: 2px; }
  .pay-invoice__rows b { text-align: right; }
}

/* ── حق مشاوره در خلاصه نوبت + اطلاع‌رسانی پرداخت در فرم (v5) ── */
.sum-fee { margin-top: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 14px 16px; }
.sum-fee__row span { font-size: 12.5px; color: var(--on-navy-2); }
.sum-fee__amount { font-size: 24px; font-weight: 800; color: var(--gold-300, var(--gold-400)); margin: 4px 0 8px; }
.sum-fee__amount small { font-size: 12px; font-weight: 600; color: var(--on-navy-2); margin-inline-start: 4px; }
.sum-fee__note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--on-navy-2); line-height: 1.9; }
.sum-fee__note svg { color: var(--gold-400); flex-shrink: 0; }
.pay-notice {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--navy-50); border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold-500);
  border-radius: var(--r-md); padding: 14px 16px;
}
.pay-notice__ic {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}
.pay-notice b { display: block; font-size: 14px; color: var(--navy-850); margin-bottom: 5px; }
.pay-notice small { font-size: 12px; color: var(--muted); line-height: 2; display: block; }

/* ── رسید پرداخت در پیگیری نوبت (v5) ── */
.pay-receipt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin-top: 20px; }
.pay-receipt--ok { border-color: var(--ok-200, #bfe8cf); background: var(--ok-50, #f2fbf6); }
.pay-receipt--warn { border-color: #f3ddb0; background: #fdf9ef; }
.pay-receipt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pay-receipt__head b { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-850); font-size: 14.5px; }
.pay-receipt__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.pay-receipt__rows div:last-child { border-bottom: 0; }
.pay-receipt__rows span { color: var(--muted); }
.pay-receipt__rows b { color: var(--navy-850); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   رزرو وقت مشاوره — سبک پلتفرم‌های رزرو (نسخه ۷) bk-*
   ═══════════════════════════════════════════════════════════ */
.bk-hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%); color:#fff; padding: 46px 0 38px; position:relative; overflow:hidden; }
.bk-hero::after { content:''; position:absolute; inset:auto -80px -120px auto; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(212,175,55,.14), transparent 65%); }
.bk-hero .breadcrumb a { color:#cfd8e6; }
.bk-hero .breadcrumb span { color:#fff; }
.bk-hero h1 { color:#fff; font-size: clamp(23px, 3.2vw, 36px); margin: 10px 0 8px; }
.bk-hero p { color:#c7d2e0; max-width: 640px; font-size: 14.5px; line-height: 2; }
.bk-hero .breadcrumb { margin-bottom: 4px; }

.bk-section { padding: 30px 0 70px; background: #f5f7fb; }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }

/* نشانگر مراحل افقی */
.bk-steps { display:flex; align-items:center; gap:0; list-style:none; padding: 4px 18px; margin: 0 0 20px; background: var(--surface); border:1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 10px rgba(15,32,58,.05); }
.bk-step { flex:1; display:flex; align-items:center; gap:10px; padding: 13px 6px; position:relative; color: var(--muted); }
.bk-step + .bk-step::before { content:''; position:absolute; right: calc(-50% + 34px); top: 50%; width: calc(100% - 68px); height:2px; background: var(--line); border-radius:2px; }
.bk-step__dot { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#eef1f6; border:2px solid var(--line); font-weight:700; font-size:14px; color: var(--muted); transition: all .25s; flex-shrink:0; }
.bk-step__lbl { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.bk-step.is-active { color: var(--navy-850); }
.bk-step.is-active .bk-step__dot { background: var(--gold-grad); border-color: transparent; color:#1c2436; box-shadow: 0 4px 12px rgba(212,175,55,.35); }
.bk-step.is-done { color: var(--navy-700); }
.bk-step.is-done .bk-step__dot { background: var(--navy-800); border-color: var(--navy-800); color:#fff; }

/* پن‌های مرحله */
.bk-pane { display:none; background: var(--surface); border:1px solid var(--line); border-radius: 18px; padding: 26px 26px 20px; box-shadow: 0 2px 12px rgba(15,32,58,.05); }
.bk-pane.is-active { display:block; animation: bkFade .3s ease; }
@keyframes bkFade { from { opacity:0; transform: translateY(8px);} to { opacity:1; transform:none; } }
.bk-pane__head { margin-bottom: 20px; }
.bk-pane__head h2 { font-size: 18.5px; color: var(--navy-850); margin-bottom: 6px; }
.bk-pane__head p { color: var(--muted); font-size: 13.5px; line-height: 2; }
.bk-pane__nav { display:flex; justify-content: space-between; align-items:center; gap:12px; margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line); }
.bk-form-error { background:#fdf1f1; border:1px solid #f2d4d4; color:#a63a3a; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }

/* کارت‌های وکیل (افقی) */
.bk-lawyers { display:grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 12px; }
.bk-lawyer { display:flex; align-items:center; gap: 12px; text-align:right; background:#fbfcfe; border:1.5px solid var(--line); border-radius: 14px; padding: 14px 14px; cursor:pointer; transition: all .2s; position:relative; font-family:inherit; }
.bk-lawyer:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,32,58,.08); }
.bk-lawyer.is-picked { border-color: var(--gold-500); background: #fffdf5; box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.bk-lawyer__tick { position:absolute; top:10px; left:10px; width:20px; height:20px; border-radius:50%; background: var(--gold-grad); color:#1c2436; display:none; place-items:center; }
.bk-lawyer.is-picked .bk-lawyer__tick { display:grid; }
.bk-lawyer__ava { width:56px; height:56px; border-radius: 50%; overflow:hidden; flex-shrink:0; background: #eef1f6; display:grid; place-items:center; color: var(--navy-600); }
.bk-lawyer__ava img { width:100%; height:100%; object-fit:cover; }
.bk-lawyer__ava--any { background: var(--navy-grad, linear-gradient(135deg, var(--navy-800), var(--navy-600))); color: var(--gold-500); }
.bk-lawyer__info { min-width:0; display:flex; flex-direction:column; gap:3px; }
.bk-lawyer__info b { font-size: 14.5px; color: var(--navy-850); }
.bk-lawyer__info small { font-size: 12px; color: var(--muted); line-height: 1.8; }
.bk-lawyer__tags { display:flex; gap:5px; flex-wrap:wrap; }
.bk-lawyer__tags i { font-style:normal; font-size: 10.5px; background:#eef1f6; color: var(--navy-700); padding: 2px 8px; border-radius: 20px; }
.bk-lawyer__note { font-size: 11.5px; color: var(--ok-600, #2e8b57); display:inline-flex; align-items:center; gap:4px; }

/* نوار روز افقی */
.bk-days { position:relative; margin-bottom: 22px; }
.bk-days__scroll { display:flex; gap:9px; overflow-x:auto; padding: 6px 2px 10px; scroll-behavior:smooth; scrollbar-width: thin; }
.bk-days__scroll::-webkit-scrollbar { height: 6px; }
.bk-days__scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.bk-day { min-width: 86px; flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:3px; background:#fbfcfe; border:1.5px solid var(--line); border-radius: 13px; padding: 12px 8px 10px; cursor:pointer; transition: all .2s; font-family:inherit; }
.bk-day:hover:not(.is-off) { border-color: var(--gold-500); transform: translateY(-2px); }
.bk-day.is-picked { border-color: var(--gold-500); background:#fffdf5; box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.bk-day.is-off { opacity:.45; cursor:not-allowed; background:#f6f7fb; }
.bk-day__w { font-size: 11.5px; color: var(--muted); font-weight:600; }
.bk-day__num { font-size: 21px; font-weight: 800; color: var(--navy-850); line-height:1.2; }
.bk-day__m { font-size: 11.5px; color: var(--muted); }
.bk-day__free { font-size: 10.5px; background: #e8f6ee; color: #217a4b; padding: 2px 9px; border-radius: 20px; margin-top:3px; font-weight:600; }
.bk-day.is-off .bk-day__free { background:#f1f2f6; color: var(--muted); }
.bk-day[data-status="full"] .bk-day__free { background:#fdf3e0; color:#a06a12; }
.bk-days__nav { position:absolute; top: 50%; transform: translateY(-50%); z-index:2; width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:#fff; box-shadow: 0 3px 10px rgba(15,32,58,.12); display:grid; place-items:center; cursor:pointer; color: var(--navy-800); }
.bk-days__nav--next { right: -8px; }
.bk-days__nav--prev { left: -8px; }

/* اسلات‌ها */
.bk-slots__empty, .bk-slots__loading { display:flex; align-items:center; gap:10px; justify-content:center; background:#fbfcfe; border:1.5px dashed var(--line); border-radius: 13px; padding: 26px 16px; color: var(--muted); font-size: 13.5px; }
.bk-slotgroup { margin-bottom: 18px; }
.bk-slotgroup:last-child { margin-bottom: 0; }
.bk-slotgroup__title { display:flex; align-items:center; gap:7px; font-size: 13.5px; color: var(--navy-850); margin-bottom: 11px; }
.bk-slotgroup__grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 9px; }
.bk-slot { display:flex; flex-direction:column; align-items:center; gap:1px; background:#fbfcfe; border:1.5px solid var(--line); border-radius: 12px; padding: 10px 6px 8px; cursor:pointer; transition: all .18s; font-family:inherit; }
.bk-slot b { font-size: 15.5px; color: var(--navy-850); font-weight:700; }
.bk-slot small { font-size: 11px; color: var(--muted); }
.bk-slot i { font-style:normal; font-size: 10.5px; color:#217a4b; background:#e8f6ee; border-radius:20px; padding:1px 8px; margin-top:4px; }
.bk-slot:hover:not(.is-full) { border-color: var(--gold-500); transform: translateY(-2px); }
.bk-slot.is-picked { border-color: var(--gold-500); background:#fffdf5; box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.bk-slot.is-picked i { background: var(--gold-grad); color:#1c2436; }
.bk-slot.is-full { opacity:.45; cursor:not-allowed; }
.bk-slot.is-full i { background:#f1f2f6; color: var(--muted); }

/* فرم مرحله ۳ */
.bk-form { display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.bk-form .field--full { grid-column: 1 / -1; }

/* سایدبار خلاصه چسبان */
.bk-side { background: linear-gradient(165deg, var(--navy-900), var(--navy-750, var(--navy-700))); color:#fff; border-radius: 18px; padding: 22px 20px; position: sticky; top: 90px; box-shadow: 0 10px 30px rgba(15,32,58,.25); }
.bk-side h3 { display:flex; align-items:center; gap:8px; font-size: 15.5px; margin-bottom: 16px; color:#fff; }
.sum-row { display:flex; justify-content:space-between; align-items:center; gap:10px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 13px; }
.sum-row__lbl { display:inline-flex; align-items:center; gap:6px; color:#aab8ca; flex-shrink:0; }
.sum-row__val { color:#fff; font-weight:600; text-align:left; }
.sum-fee { background: rgba(212,175,55,.12); border:1px solid rgba(212,175,55,.3); border-radius: 12px; padding: 13px 14px; margin-top: 14px; }
.sum-fee__row { font-size: 12.5px; color:#e8d9a0; }
.sum-fee__amount { font-size: 22px; font-weight: 800; color: var(--gold-500); margin: 4px 0 6px; }
.sum-fee__amount small { font-size: 12px; font-weight: 500; color:#cbb877; }
.sum-fee__note { font-size: 11px; color:#c2cedd; display:flex; align-items:center; gap:5px; }
.bk-side__hint { display:flex; gap:8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.14); font-size: 11.5px; line-height: 2; color:#aab8ca; }
.bk-side__hint svg { flex-shrink:0; margin-top:2px; }

/* اسپینر */
.bk-spinner { width:18px; height:18px; border:2.5px solid rgba(212,175,55,.25); border-top-color: var(--gold-500); border-radius:50%; display:inline-block; animation: bkSpin .7s linear infinite; }
.bk-spinner--onbtn { border-color: rgba(28,36,54,.2); border-top-color:#1c2436; width:14px; height:14px; }
@keyframes bkSpin { to { transform: rotate(360deg); } }

/* ریسپانسیو رزرو */
@media (max-width: 1060px) {
  .bk-layout { grid-template-columns: 1fr; }
  .bk-side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .bk-steps { padding: 4px 10px; }
  .bk-step__lbl { font-size: 11.5px; }
  .bk-pane { padding: 18px 14px 14px; }
  .bk-form { grid-template-columns: 1fr; }
  .bk-lawyers { grid-template-columns: 1fr; }
  .bk-slotgroup__grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .bk-days__nav { display:none; }
  .bk-pane__nav { flex-wrap: wrap; }
  .bk-pane__nav .btn { flex:1; justify-content:center; }
}
@media (max-width: 400px) {
  .bk-step__lbl { display:none; }
  .bk-step.is-active .bk-step__lbl { display:inline; }
}

/* ── خبر فوری و نشان‌های خبری (نسخه ۷) ── */
.np-ticker__flash {
  font-style: normal; background: var(--gold-grad); color: #1c2436; font-size: 10.5px; font-weight: 800;
  border-radius: 20px; padding: 2px 9px; margin-left: 8px; vertical-align: 1px;
}
.np-card__breaking {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #d9534f, #b52e2a); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 20px;
  box-shadow: 0 3px 10px rgba(181,46,42,.4);
}
.np-breaking-banner {
  display: flex; align-items: center; gap: 8px;
  background: #fdf1f1; border: 1px solid #f2d4d4; color: #a63a3a;
  border-radius: 11px; padding: 11px 16px; font-size: 13px; margin-bottom: 16px;
}
