:root {
  --lx-bg: #ffffff;
  --lx-surface: #eef2f8;
  --lx-soft: #e7ecf5;
  --lx-black: #11131a;
  --lx-dark: #171a22;
  --lx-text: #1b2230;
  --lx-muted: #637089;
  --lx-border: rgba(60, 72, 94, 0.16);
  --lx-white: #ffffff;
  --lx-accent: #0a84ff;
  --lx-accent-soft: #dcecff;
  --lx-radius-sm: 14px;
  --lx-radius-md: 22px;
  --lx-radius-lg: 32px;
  --lx-radius-xl: 42px;
  --lx-shadow: 0 22px 60px rgba(20, 31, 56, 0.12);
  --lx-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Vazir, Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
  direction: rtl;
  text-align: right;
  background: var(--lx-bg);
  color: var(--lx-text);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

.lx-container { width: min(100% - 32px, var(--lx-container)); margin-inline: auto; }
.lx-section { padding: 72px 0; }
.lx-soft-bg { background: var(--lx-soft); }
.lx-grid { display: grid; gap: 18px; }
.lx-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lx-blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lx-header {
  position: sticky; top: 12px; z-index: 999;
  margin: 12px auto 0; width: min(100% - 24px, var(--lx-container));
  border-radius: 999px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(14px);
  border: 1px solid var(--lx-border); transition: .3s ease;
}
.lx-header.scrolled { background: rgba(255, 255, 255, .88); box-shadow: var(--lx-shadow); }
.lx-header-inner { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 16px; padding: 10px 16px; }
.lx-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin: 0;
  padding: 0;
}
/* stretch پیش‌فرض باعث می‌شود li به ارتفاع بلندترین آیتم بکشد و فاصلهٔ خالی زیر لینک همچنان هوور را نگه دارد */
.lx-menu > li {
  position: relative;
  padding-bottom: 0;
}
.lx-menu > li.menu-item-has-children {
  padding-bottom: 6px;
}
.lx-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  font-weight: 600;
  color: var(--lx-text);
  border-radius: 10px;
  padding: 0 6px;
  transition: color .18s ease, background .18s ease;
}
.lx-menu > li.menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: var(--lx-muted);
  margin-top: 6px;
  margin-right: 2px;
  opacity: .75;
}
.lx-menu > li:hover > a,
.lx-menu > li:focus-within > a {
  color: #1557b0;
}
.lx-menu,
.lx-menu ul {
  list-style: none;
}

/* زیرمنو — پنل مگا؛ بازشدن با انیمیشن (بدون display:none تا ترنزیشن کار کند) */
.lx-menu .sub-menu {
  position: absolute;
  /* همپوشانی جزئی تا از لینک تا پنل بدون پلٔ پهناور مسیر قطع نشود؛ پل ::after حذف شد */
  top: calc(100% - 10px);
  left: 50%;
  right: auto;
  min-width: 260px;
  max-width: min(78vw, 920px);
  /* در حالت بسته ارتفاع صفر؛ مگای وسط محتوای زیاد دارد و جعبهٔ بلند نامرئی باعث باگ هوور می‌شد */
  max-height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-width: 0;
  border-style: solid;
  border-color: transparent;
  overflow: hidden;
  border-radius: var(--lx-radius-lg);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(20, 31, 56, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  scrollbar-gutter: stable;
  z-index: 1200;

  display: grid;
  gap: 10px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition:
    opacity .22s ease,
    transform .26s cubic-bezier(0.2, 0.9, 0.3, 1),
    visibility .22s,
    max-height .28s cubic-bezier(0.2, 0.85, 0.3, 1);
}
.lx-menu .sub-menu::-webkit-scrollbar {
  width: 8px;
}
.lx-menu .sub-menu::-webkit-scrollbar-thumb {
  background: rgba(60, 72, 94, 0.22);
  border-radius: 999px;
}
.lx-menu .sub-menu::-webkit-scrollbar-track {
  background: transparent;
}

.lx-menu > li:hover > .sub-menu,
.lx-menu > li:focus-within > .sub-menu {
  max-height: min(70vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14px;
  padding-bottom: 16px;
  border-width: 1px;
  border-color: var(--lx-border);
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.lx-menu > li > .sub-menu {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}
/* عنوان ستونی: آیتمی که خودش زیرمنو دارد */
.lx-menu > li > .sub-menu > li:has(> .sub-menu) > a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.35;
  color: var(--lx-text);
  padding: 10px 10px 8px;
  margin: -2px -4px 2px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(235, 242, 251, .65), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(60, 72, 94, 0.1);
  pointer-events: auto;
}
.lx-menu > li > .sub-menu > li:has(> .sub-menu) > a:hover {
  color: #1557b0;
  background: rgba(220, 236, 255, 0.55);
}

.lx-menu > li > .sub-menu > li > a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--lx-radius-sm);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--lx-text);
  transition: background .15s ease, color .15s ease;
}
.lx-menu > li > .sub-menu > li > a:hover {
  background: var(--lx-accent-soft);
  color: #1557b0;
}
/* لینک‌های تخت (بدون ستونٔ تو درتو) مثل مشاوره حقوقی / تنظیم شکایت */
.lx-menu > li > .sub-menu > li:not(:has(> .sub-menu)) > a {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(60, 72, 94, 0.11);
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}
.lx-menu > li > .sub-menu > li:not(:has(> .sub-menu)) > a:hover {
  background: var(--lx-accent-soft);
  border-color: rgba(10, 132, 255, 0.22);
  color: #1557b0;
}
.lx-menu > li > .sub-menu > li {
  position: relative;
  min-width: 0;
}

/* زیرمجموعه سطح بعد */
.lx-menu > li > .sub-menu > li > .sub-menu {
  position: static;
  display: block;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 6px 0 2px;
  margin: 0;
  margin-top: 2px;
  max-height: none;
  min-width: 0;
  overflow: visible;
}
.lx-menu > li > .sub-menu > li > .sub-menu > li > a {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--lx-muted);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.55;
  padding: 6px 28px 6px 8px;
  border-radius: var(--lx-radius-sm);
  position: relative;
}
.lx-menu > li > .sub-menu > li > .sub-menu > li > a::before {
  content: "←";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .72rem;
  opacity: .28;
}
.lx-menu > li > .sub-menu > li > .sub-menu > li > a:hover {
  color: var(--lx-text);
  background: rgba(10, 132, 255, 0.1);
}

.lx-menu > li:nth-child(1) > .sub-menu,
.lx-menu > li:nth-child(3) > .sub-menu {
  grid-template-columns: repeat(2, minmax(212px, 1fr));
  column-gap: 18px;
  row-gap: 10px;
}
.lx-menu > li:nth-child(1):hover > .sub-menu,
.lx-menu > li:nth-child(1):focus-within > .sub-menu,
.lx-menu > li:nth-child(3):hover > .sub-menu,
.lx-menu > li:nth-child(3):focus-within > .sub-menu {
  padding-inline: 16px;
}
.lx-menu > li:nth-child(1) > .sub-menu {
  width: min(74vw, 760px);
}
.lx-menu > li:nth-child(2) > .sub-menu {
  width: min(82vw, 980px);
  grid-template-columns: repeat(2, minmax(268px, 1fr));
  column-gap: 20px;
}
.lx-menu > li:nth-child(2):hover > .sub-menu,
.lx-menu > li:nth-child(2):focus-within > .sub-menu {
  padding-inline: 16px;
}
.lx-menu > li:nth-child(2) > .sub-menu > li > .sub-menu {
  columns: 2;
  column-gap: 16px;
  padding-top: 4px;
}
.lx-menu > li:nth-child(2) > .sub-menu > li > .sub-menu > li > a {
  break-inside: avoid;
  margin-bottom: 2px;
}
.lx-menu > li:nth-child(3) > .sub-menu {
  width: min(64vw, 580px);
}

@media (prefers-reduced-motion: reduce) {
  .lx-menu .sub-menu {
    transition: none;
    transform: translate(-50%, 0);
  }
  .lx-menu > li > .sub-menu > li > .sub-menu {
    transform: none;
  }
}
.lx-btn {
  border-radius: 999px; padding: 11px 18px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; border: 1px solid transparent;
}
.lx-btn-dark { background: var(--lx-black); color: var(--lx-white); }
.lx-btn-light { background: var(--lx-white); color: var(--lx-black); }
.lx-btn-outline { border-color: rgba(255,255,255,.45); color: var(--lx-white); }
.lx-arrow, .lx-circle-btn { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.2); }
.lx-btn-dark .lx-arrow { background: rgba(10,132,255,.28); }

.lx-mobile-toggle { display: none; background: transparent; border: 0; }
.lx-mobile-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--lx-black); }
.lx-mobile-panel {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: #fff;
  z-index: 1001; transition: .25s; box-shadow: var(--lx-shadow); padding: 24px;
}
.lx-mobile-panel.is-open { right: 0; }
.lx-mobile-menu { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }

/* منوی موبایل — زیرمنوها به صورت آکاردئونی */
.lx-mobile-panel .lx-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lx-mobile-panel .lx-mobile-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--lx-text);
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
}
.lx-mobile-panel .lx-mobile-menu > li.menu-item-has-children > a::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid var(--lx-muted);
  border-block-end: 2px solid var(--lx-muted);
  transform: rotate(45deg);
  margin-inline-start: auto;
  margin-bottom: 2px;
  transition: transform .2s ease;
}
.lx-mobile-panel .lx-mobile-menu > li.menu-item-has-children.lx-mobile-open > a::after {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}
.lx-mobile-panel .lx-mobile-menu .sub-menu {
  display: none;
  padding: 8px 2px 4px;
  margin: 8px 0 4px;
  border-right: 3px solid var(--lx-accent-soft);
  border-radius: 0 12px 12px 0;
  background: rgba(237, 244, 252, .45);
}
.lx-mobile-panel .lx-mobile-menu .menu-item-has-children.lx-mobile-open > .sub-menu {
  display: block;
}
.lx-mobile-panel .lx-mobile-menu .sub-menu a {
  display: flex;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--lx-text);
}
.lx-mobile-panel .lx-mobile-menu .sub-menu a:hover {
  background: rgba(10, 132, 255, 0.1);
}
.lx-mobile-panel .lx-mobile-menu .sub-menu .sub-menu {
  border-right-width: 0;
  padding-right: 12px;
  margin-top: 2px;
  background: transparent;
}
.lx-mobile-panel .lx-mobile-menu .sub-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
}
.lx-mobile-panel .lx-mobile-menu .sub-menu .menu-item-has-children > a::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid var(--lx-muted);
  border-block-end: 2px solid var(--lx-muted);
  transform: rotate(45deg);
  margin-inline-start: auto;
  margin-bottom: 2px;
  transition: transform .2s ease;
}
.lx-mobile-panel .lx-mobile-menu .sub-menu .menu-item-has-children.lx-mobile-open > a::after {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}

.lx-hero-card {
  min-height: 68vh; border-radius: var(--lx-radius-xl); padding: clamp(24px, 5vw, 56px);
  color: #fff; display: flex; flex-direction: column; justify-content: end; gap: 12px; background-size: cover;
  position: relative;
}
.lx-hero-card h1 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 3.6rem); line-height: 1.15; max-width: 16ch; }
.lx-hero-chip {
  position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.17);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 14px; font-size: .9rem;
}
.lx-hero-floating {
  margin-top: 18px; max-width: 520px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 8px 10px; display: flex; gap: 8px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
}
.lx-hero-floating input { flex: 1; border: 0; background: transparent; color: #fff; font: inherit; }
.lx-hero-floating input::placeholder { color: rgba(255,255,255,.85); }
.lx-circle-btn { border: 0; color: #fff; }
.lx-hero-form { max-width: 860px; border-radius: var(--lx-radius-md); }
.lx-hero-form input {
  min-height: 46px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: 0 14px; background: rgba(255,255,255,.06);
}
.lx-hero-form .lx-btn { white-space: nowrap; justify-content: center; min-height: 46px; }
.lx-review-badge {
  position: absolute; left: 24px; bottom: 24px; background: rgba(255,255,255,.18); color: #fff;
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--lx-radius-md); padding: 10px 14px; backdrop-filter: blur(10px);
}
.lx-review-badge strong, .lx-review-badge small { display: block; }
.lx-avatar-stack { display: flex; margin-bottom: 8px; }
.lx-avatar-stack span {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  background: linear-gradient(120deg,#fff,#bbb); margin-left: -8px;
}

.lx-section-head h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.4vw, 2.5rem); line-height: 1.3; }
.lx-section-head p { color: var(--lx-muted); margin: 0; }
.lx-section-head.center { text-align: center; max-width: 780px; margin: 0 auto 24px; }
.lx-pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 24px; }
.lx-pill { background: var(--lx-accent-soft); color: #1557b0; padding: 6px 14px; border-radius: 999px; font-size: .9rem; }

.lx-card { background: #fff; border-radius: var(--lx-radius-md); border: 1px solid var(--lx-border); overflow: hidden; }
.lx-card-content { padding: 16px; }
.lx-card-content h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lx-card-content p { margin: 0; color: var(--lx-muted); }
.lx-service-card .lx-card-thumb img { min-height: 220px; width: 100%; }
.lx-team-card { min-width: 290px; position: relative; background: #111; color: #fff; }
.lx-team-card .lx-card-thumb img { min-height: 340px; opacity: .8; }
.lx-card-overlay {
  position: absolute; inset: auto 0 0; padding: 18px;
  background: linear-gradient(180deg,transparent,rgba(0,0,0,.85));
}
.lx-testimonial-card { background: linear-gradient(145deg,#111826,#1a2234); color: #fff; min-width: 320px; padding: 24px; }

.lx-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lx-stat-card { background: var(--lx-surface); border-radius: var(--lx-radius-md); padding: 20px; }
.lx-stat-card strong { display: block; font-size: clamp(1.4rem,2vw,2.2rem); }
.lx-stat-card span { color: var(--lx-muted); }
.lx-intro-mosaic { margin-top: 22px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; }
.lx-mosaic-card { min-height: 280px; display: grid; align-content: end; }
.lx-mosaic-card img { width: 100%; min-height: 170px; }
.lx-mosaic-card.quote { background: #111; color: #fff; padding: 12px; }
.lx-mosaic-card.quote p { margin-top: 0; }
.lx-mosaic-card.profile { background: var(--lx-surface); }

/* سکشن مسیر همکاری: متن مرکز؛ چهار مرحله در یک ردیف RTL؛ ورود مرحله‌ای با کلاس — توسط JS */
.lx-process-section {
  background: transparent;
}

.lx-process {
  padding: clamp(8px, 2vw, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vw, 48px);
}

.lx-process-head {
  text-align: center;
  max-width: min(920px, 100%);
}
.lx-process-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.9vw, 2.55rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--lx-text);
}
.lx-process-intro {
  margin: 0 auto 14px;
  max-width: 46ch;
  color: var(--lx-muted);
  font-size: 1.06rem;
  line-height: 1.82;
}

.lx-process-stat {
  margin: 0;
  font-size: 1.05rem;
  color: var(--lx-muted);
  line-height: 1.65;
}
.lx-process-stat strong {
  display: inline;
  margin-inline-end: 6px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--lx-text);
  letter-spacing: -0.02em;
}

@keyframes lx-process-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ردیف مراحل: در RTL اولین DOM سمت راست؛ پلکانی ۱←۲←۳←۴ */
.lx-process-track {
  list-style: none;
  margin: 0;
  padding: 4px;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: clamp(10px, 2vw, 18px);
}
.lx-process-cell {
  flex: 1 1 0;
  min-width: 0;
}

.lx-process-node {
  position: relative;
  height: 100%;
  padding: clamp(14px, 2.2vw, 20px) clamp(10px, 1.8vw, 16px);
  text-align: center;
  border-radius: var(--lx-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(60, 72, 94, 0.08);
  box-shadow: 0 6px 24px rgba(15, 35, 65, 0.04);
}
html.lx-process-js .lx-process-node {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}
html:not(.lx-process-js) .lx-process-node {
  opacity: 1;
  transform: none;
}

.lx-process.is-in-view .lx-process-cell:nth-child(1) .lx-process-node {
  animation: lx-process-reveal 0.55s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 0ms;
}
.lx-process.is-in-view .lx-process-cell:nth-child(2) .lx-process-node {
  animation: lx-process-reveal 0.55s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 115ms;
}
.lx-process.is-in-view .lx-process-cell:nth-child(3) .lx-process-node {
  animation: lx-process-reveal 0.55s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 230ms;
}
.lx-process.is-in-view .lx-process-cell:nth-child(4) .lx-process-node {
  animation: lx-process-reveal 0.55s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 345ms;
}

@media (prefers-reduced-motion: reduce) {
  html.lx-process-js .lx-process-node {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.lx-process-node__num {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0 auto 12px;
  padding: 0;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  color: #2670b8;
  background: linear-gradient(155deg, rgba(220, 236, 255, 0.92), rgba(232, 241, 252, 0.55));
  border: 1px solid rgba(10, 132, 255, 0.13);
}

.lx-process-node__title {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.42;
  color: var(--lx-text);
}
.lx-process-node__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--lx-muted);
}

.lx-process-cell:not(:first-child) .lx-process-node {
  padding-inline-start: clamp(14px, 2.4vw, 22px);
}
.lx-process-cell:not(:first-child) .lx-process-node::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 38%;
  bottom: 38%;
  inset-inline-start: 0;
  width: 0;
  border-inline-start: 1px dashed rgba(60, 72, 94, 0.18);
}

@media (max-width: 900px) {
  .lx-process-track {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    padding-bottom: 10px;
    gap: 12px;
  }
  .lx-process-cell {
    flex: 0 0 auto;
    min-width: min(168px, 76vw);
    max-width: 220px;
    scroll-snap-align: center;
  }
}

/* سکشن تأثیر وکیل: ستون تأکید + فهرست زمانی (غیر تکراری نسبت به ردیف «چهار قدم») */
.lx-li-section {
  background: transparent;
}

.lx-li-shell {
  padding: clamp(8px, 1.8vw, 16px) 0;
}

.lx-li-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 36px);
  align-items: start;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 880px) {
  .lx-li-body {
    grid-template-columns: minmax(208px, 0.94fr) minmax(0, 1.4fr);
    gap: clamp(24px, 4vw, 40px);
  }
}

@media (max-width: 879px) {
  .lx-li-list {
    order: 1;
  }
  .lx-li-aside {
    order: 2;
  }
}

.lx-li-aside {
  position: relative;
  padding: clamp(18px, 2.8vw, 26px) clamp(18px, 3vw, 26px);
  border-radius: var(--lx-radius-lg);
  border: 1px solid rgba(10, 132, 255, 0.11);
  background:
    linear-gradient(165deg, rgba(10, 132, 255, 0.07) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(248, 250, 254, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 32px rgba(15, 40, 80, 0.05);
}
@media (min-width: 880px) {
  .lx-li-aside {
    position: sticky;
    top: clamp(88px, 14vh, 120px);
  }
}
.lx-li-aside-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(38, 112, 184, 0.85);
}
.lx-li-aside-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
  font-weight: 700;
  color: var(--lx-text);
}

.lx-li-list {
  list-style: none;
  margin: 0;
  padding: clamp(12px, 2vw, 18px) clamp(12px, 2.4vw, 20px);
  border-radius: var(--lx-radius-xl);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(60, 72, 94, 0.068);
}

.lx-li-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 16px clamp(14px, 2.8vw, 22px);
  align-items: start;
  padding: 0 0 clamp(18px, 2.8vw, 22px);
  margin: 0;
}
.lx-li-item:last-child {
  padding-bottom: 0;
}

.lx-li-item__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.lx-li-item__dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #3f95e8, #1c5fa8);
  box-shadow:
    0 0 0 3px rgba(10, 132, 255, 0.14),
    0 2px 6px rgba(20, 50, 100, 0.12);
}
.lx-li-item:not(:last-child) .lx-li-item__rail::after {
  content: "";
  flex: 1 1 auto;
  width: 2px;
  min-height: 18px;
  margin-top: 10px;
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(38, 112, 184, 0.35) 0%, rgba(60, 72, 94, 0.12) 100%);
}

.lx-li-item__body {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(60, 72, 94, 0.075);
}
.lx-li-item:last-child .lx-li-item__body {
  border-bottom: 0;
  padding-bottom: 0;
}

.lx-li-item__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.42;
  color: var(--lx-text);
  text-align: start;
}
.lx-li-item__desc {
  margin: 0;
  font-size: 0.935rem;
  line-height: 1.76;
  color: var(--lx-muted);
  text-align: start;
}

@keyframes lx-li-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.lx-li-js .lx-li-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}
.lx-li-shell.is-in-view .lx-li-item:nth-child(1) {
  animation: lx-li-reveal 0.52s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 0ms;
}
.lx-li-shell.is-in-view .lx-li-item:nth-child(2) {
  animation: lx-li-reveal 0.52s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 90ms;
}
.lx-li-shell.is-in-view .lx-li-item:nth-child(3) {
  animation: lx-li-reveal 0.52s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 180ms;
}
.lx-li-shell.is-in-view .lx-li-item:nth-child(4) {
  animation: lx-li-reveal 0.52s cubic-bezier(0.22, 0.92, 0.35, 1) forwards 270ms;
}

@media (prefers-reduced-motion: reduce) {
  html.lx-li-js .lx-li-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.lx-accordion-item { border-bottom: 1px solid var(--lx-border); }
.lx-accordion-toggle {
  width: 100%; text-align: right; border: 0; background: transparent; padding: 16px 0; font: inherit; font-weight: 700; cursor: pointer;
}
.lx-accordion-content { display: none; color: var(--lx-muted); padding-bottom: 12px; }
.lx-accordion-item.is-open .lx-accordion-content { display: block; }

/* اسلایدر تیم و نظرات: دکمه‌ها کنار اسکرول، بدون هم‌پوشانی با کارت */
.lx-slider-wrap {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2.5vw, 18px);
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}
.lx-slider-wrap .lx-slider {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  padding-block: 8px;
  padding-inline: 2px;
  scrollbar-width: thin;
}
.lx-slider-wrap .lx-slider::-webkit-scrollbar {
  height: 6px;
}
.lx-slider-wrap .lx-slider::-webkit-scrollbar-thumb {
  background: rgba(60, 72, 94, 0.25);
  border-radius: 999px;
}

.lx-slider-btn {
  position: static;
  transform: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lx-border);
  border-radius: 50%;
  background: var(--lx-bg);
  box-shadow: 0 10px 28px rgba(20, 31, 56, 0.1);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--lx-text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease,
    background-color 0.15s ease;
}
.lx-slider-btn:hover {
  background: var(--lx-surface);
  box-shadow: 0 14px 34px rgba(20, 31, 56, 0.14);
}
.lx-slider-btn:active {
  transform: scale(0.96);
}
.lx-slider-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--lx-bg),
    0 0 0 6px rgba(10, 132, 255, 0.4),
    0 10px 28px rgba(20, 31, 56, 0.12);
}

.lx-section.lx-soft-bg .lx-slider-wrap {
  padding-inline: 2px;
}

.lx-testimonials-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.lx-testimonials-block > div:first-child {
  min-width: 0;
}
.lx-testimonials-block > div:first-child h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.5vw, 2.35rem);
  line-height: 1.28;
}
.lx-testimonials-block > div:first-child p {
  margin: 0;
  color: var(--lx-muted);
  font-size: 0.97rem;
  line-height: 1.76;
  max-width: 40ch;
}
.lx-testimonials-block .lx-slider-wrap {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lx-slider-wrap .lx-slider {
    scroll-behavior: auto;
  }
  .lx-slider-btn:active {
    transform: none;
  }
}

/* بلاگ صفحه اصلی — پس‌زمینه سفید و جداکننده از سکشن نرم بالایی؛ چینش سه‌ستونه RTL */
.lx-home-blog-section {
  background: var(--lx-bg);
  border-top: 1px solid var(--lx-border);
}
.lx-home-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(268px, 0.94fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}
.lx-home-blog-featured {
  position: relative;
  align-self: stretch;
  min-height: min(400px, 56vh);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 31, 56, 0.1), 0 0 0 1px rgba(60, 72, 94, 0.06);
}
.lx-home-blog-featured__link {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  text-decoration: none;
  border-radius: inherit;
}
.lx-home-blog-featured__link:focus-visible {
  outline: 3px solid rgba(220, 236, 255, 0.95);
  outline-offset: 3px;
}
.lx-home-blog-featured__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  transition: transform 0.35s cubic-bezier(0.2, 0.85, 0.3, 1);
}
.lx-home-blog-featured__link:hover .lx-home-blog-featured__media {
  transform: scale(1.03);
}
.lx-home-blog-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 19, 26, 0.18) 0%, transparent 42%, rgba(17, 19, 26, 0.88) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.lx-home-blog-featured__pill {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--lx-text);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.lx-home-blog-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lx-black);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}
.lx-home-blog-featured__content {
  position: absolute;
  inset-inline: 22px;
  bottom: clamp(18px, 4vw, 26px);
  z-index: 2;
  display: grid;
  gap: clamp(8px, 1.8vw, 12px);
  max-width: 100%;
}
.lx-home-blog-featured__title {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.82rem);
  font-weight: 800;
  line-height: 1.34;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.lx-home-blog-featured__excerpt {
  display: block;
  font-size: 0.92rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  max-width: 44ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.lx-home-blog-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vw, 28px);
  padding-block: clamp(8px, 2vw, 16px);
  min-height: 0;
}
.lx-home-blog-intro__heading {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--lx-text);
  letter-spacing: -0.015em;
}
.lx-home-blog-intro__lead {
  margin: 0;
  color: var(--lx-muted);
  font-size: 0.95rem;
  line-height: 1.78;
  max-width: 38ch;
}

.lx-home-blog-all {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  align-self: flex-start;
  min-height: 50px;
  min-width: min(100%, 300px);
  padding: 12px 12px 12px 20px;
  border-radius: 999px;
  background: var(--lx-black);
  color: var(--lx-white);
  font-weight: 700;
  font-size: 0.91rem;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 12px 34px rgba(17, 19, 26, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.15s ease;
}
.lx-home-blog-all:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--lx-bg),
    0 0 0 6px rgba(10, 132, 255, 0.45),
    0 12px 34px rgba(17, 19, 26, 0.2);
}
.lx-home-blog-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(17, 19, 26, 0.22);
}
.lx-home-blog-all:active {
  transform: translateY(0);
}
.lx-home-blog-all__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--lx-black);
  font-size: 0.9rem;
  line-height: 1;
}

.lx-home-blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}
.lx-home-blog-row-wrap {
  margin: 0;
}
.lx-home-blog-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 40px;
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  min-height: 88px;
  padding: 14px;
  box-sizing: border-box;
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-md);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease,
    background-color 0.15s ease;
}
.lx-home-blog-row:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--lx-bg),
    0 0 0 5px rgba(10, 132, 255, 0.4);
}
.lx-home-blog-row:hover {
  border-color: rgba(10, 132, 255, 0.22);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 31, 56, 0.08);
  transform: translateY(-1px);
}
.lx-home-blog-row:active {
  transform: translateY(0);
}
.lx-home-blog-row__thumb {
  width: 88px;
  height: 72px;
  border-radius: var(--lx-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--lx-bg);
}
.lx-home-blog-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lx-home-blog-row__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.lx-home-blog-row__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}
.lx-home-blog-row__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.81rem;
  color: var(--lx-muted);
  line-height: 1.52;
}
.lx-home-blog-row__go {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  align-self: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lx-muted);
  background: rgba(220, 236, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .lx-home-blog-featured__media,
  .lx-home-blog-featured__link:hover .lx-home-blog-featured__media {
    transition: none;
    transform: none;
  }
  .lx-home-blog-all:hover,
  .lx-home-blog-row:hover {
    transform: none;
  }
}

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.lx-final-cta {
  border-radius: var(--lx-radius-xl); background: linear-gradient(145deg,#f1f5fb,#e7eef8); color: var(--lx-text); text-align: center;
  padding: clamp(24px, 6vw, 74px);
  background-image: radial-gradient(circle at 10% 70%, rgba(10,132,255,.12), transparent 35%), radial-gradient(circle at 90% 20%, rgba(255,255,255,.6), transparent 35%);
}
.lx-final-cta h2 { color: var(--lx-text); }
.lx-final-cta .lx-btn-light { background: var(--lx-black); color: #fff; }

/* CTA تمام‌عرض با متن + فرم مانند هیرو (فرم ستون دوم؛ در RTL دیداً سمت چپ) */
.lx-final-cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.92fr);
  gap: clamp(24px, 4.5vw, 48px);
  align-items: center;
  text-align: start;
}
.lx-final-cta-split h2 {
  margin: 0 0 clamp(14px, 2.2vw, 20px);
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 1.35;
  font-weight: 800;
}
.lx-final-cta-lead {
  margin: 0;
  color: var(--lx-muted);
  font-size: 1.04rem;
  line-height: 1.82;
  max-width: 48ch;
}

/* فرم نرم سکشن دعوت: کارت شیشه‌ای + فیلدهای عمودی */
.lx-cta-soft-panel {
  justify-self: stretch;
  position: relative;
  border-radius: var(--lx-radius-xl);
  padding: clamp(22px, 3.8vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(246, 250, 255, 0.78) 45%,
      rgba(237, 244, 253, 0.85) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 2px rgba(30, 50, 90, 0.04),
    0 22px 56px rgba(15, 40, 80, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.lx-cta-soft-panel::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -45% auto auto -20%;
  width: clamp(220px, 55%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.12) 0%, transparent 68%);
}
.lx-cta-soft-panel::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: auto -30% -40% auto;
  width: clamp(200px, 50%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 160, 220, 0.14) 0%, transparent 70%);
}
.lx-cta-soft-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0b4a8f;
  background: linear-gradient(180deg, rgba(220, 236, 255, 0.95), rgba(200, 224, 255, 0.65));
  border: 1px solid rgba(10, 132, 255, 0.16);
  box-shadow: 0 4px 14px rgba(10, 64, 120, 0.08);
}
.lx-cta-soft-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  margin: 0;
}
.lx-cta-soft-input {
  width: 100%;
  margin: 0;
  padding: 15px 18px;
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--lx-text);
  border-radius: var(--lx-radius-md);
  border: 1px solid rgba(99, 112, 137, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.75),
    0 1px 3px rgba(20, 40, 70, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.22s ease,
    background-color 0.2s ease,
    transform 0.18s ease;
}
.lx-cta-soft-input::placeholder {
  color: rgba(99, 112, 137, 0.5);
}
.lx-cta-soft-input:hover {
  border-color: rgba(10, 132, 255, 0.22);
  background: rgba(255, 255, 255, 0.94);
}
.lx-cta-soft-input:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.42);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(10, 132, 255, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    0 8px 28px rgba(10, 64, 120, 0.07);
}
.lx-cta-soft-input:focus-visible {
  outline: none;
}
.lx-cta-soft-input--tel {
  direction: ltr;
  text-align: right;
}
.lx-cta-soft-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 16px 22px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.015em;
  background: linear-gradient(165deg, #2a3548 0%, #151924 52%, #0e1118 100%);
  box-shadow:
    0 10px 28px rgba(14, 20, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    filter 0.2s ease;
}
.lx-cta-soft-submit:hover {
  filter: brightness(1.06);
  box-shadow:
    0 14px 36px rgba(14, 20, 34, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.lx-cta-soft-submit:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .lx-cta-soft-input,
  .lx-cta-soft-submit {
    transition: none;
  }
  .lx-cta-soft-submit:active {
    transform: none;
  }
}

@media (max-width: 900px) {
  .lx-final-cta-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lx-final-cta-lead {
    max-width: none;
    margin-inline: auto;
  }
  .lx-cta-soft-panel {
    max-width: 420px;
    margin-inline: auto;
  }
  .lx-cta-soft-badge {
    margin-inline: auto;
    margin-bottom: 16px;
  }
}
.lx-footer-strip { border-top: 1px solid var(--lx-border); border-bottom: 1px solid var(--lx-border); padding: 14px 0; }
.lx-footer-strip .lx-container { display: flex; justify-content: space-between; }
.lx-footer-grid { padding: 34px 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; }
.lx-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--lx-muted); }
.lx-copy { text-align: center; border-top: 1px solid var(--lx-border); padding: 12px; color: var(--lx-muted); }

.lx-service-hero, .lx-rounded { border-radius: var(--lx-radius-lg); overflow: hidden; }
.lx-service-hero { color: #fff; padding: 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: end; gap: 10px; background-size: cover; }
.lx-breadcrumb { font-size: .87rem; opacity: .9; }
.lx-service-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; align-items: start; }
.lx-sticky-card { position: sticky; top: 100px; background: var(--lx-surface); border-radius: var(--lx-radius-md); padding: 18px; }
.lx-article { max-width: 820px; }
.lx-center { text-align: center; padding: 30px; }
.lx-single-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.lx-single-content {
  flex: 1 1 auto;
  min-width: 0;
}
.lx-single-head h1 {
  margin: 0 0 12px;
  line-height: 1.35;
}
.lx-single-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--lx-muted);
  margin-bottom: 16px;
}
.lx-article-content {
  font-size: 1.05rem;
  margin-top: 18px;
}
.lx-single-sidebar {
  width: 320px;
  flex: 0 0 320px;
  position: sticky;
  top: 100px;
}
.lx-sidebar-card {
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-md);
  padding: 18px;
  margin-bottom: 14px;
}
.lx-sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.lx-author-box {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lx-border);
}
.lx-author-avatar img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: var(--lx-shadow);
}
.lx-author-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.lx-sidebar-card--article-meta {
  padding-top: 14px;
}
.lx-author-name {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lx-text);
  line-height: 1.35;
  background: none !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lx-author-specialty {
  display: block;
  margin-top: 4px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--lx-muted);
  line-height: 1.45;
}
.lx-sidebar-card .lx-author-name {
  text-decoration: none;
}
.lx-post-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--lx-border);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.lx-stars {
  color: #ffb400;
  letter-spacing: 1px;
}
.lx-post-rating strong {
  color: var(--lx-text);
}
.lx-post-rating small {
  color: var(--lx-muted);
}
.lx-post-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lx-sidebar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lx-sidebar-card li {
  margin-bottom: 10px;
  color: var(--lx-muted);
}
.lx-sidebar-card li a {
  display: block;
  color: var(--lx-text);
  padding: 6px 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.lx-sidebar-card li a:hover {
  color: var(--lx-accent);
}

/* باکس «نیاز حقوقی شما» — لیست لینک‌های مرتب */
.lx-sidebar-card--priority {
  padding-top: 16px;
}
.lx-sidebar-card--priority .lx-priority-title {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--lx-border);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--lx-text);
  text-align: right;
}
.lx-sidebar-card--priority .lx-priority-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-sidebar-card--priority .lx-priority-item {
  margin: 0 !important;
  padding: 0;
}
.lx-sidebar-card--priority .lx-priority-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--lx-border);
  color: var(--lx-text);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.58;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
  text-align: right;
}
.lx-sidebar-card--priority .lx-priority-link__text {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.lx-sidebar-card--priority .lx-priority-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.lx-sidebar-card--priority .lx-priority-link__icon .lx-arrow {
  width: 26px;
  height: 26px;
  font-size: .75rem;
  background: var(--lx-accent-soft);
  color: #1557b0;
}
.lx-sidebar-card--priority .lx-priority-link:hover {
  border-color: rgba(10, 132, 255, 0.45);
  background: var(--lx-accent-soft);
  color: #1557b0;
  box-shadow: 0 4px 14px rgba(20, 31, 56, 0.08);
}
.lx-sidebar-card--priority .lx-priority-link:hover .lx-arrow {
  background: #1557b0;
  color: #fff;
}
.lx-sidebar-card--priority .lx-priority-item--empty span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--lx-border);
  color: var(--lx-muted);
  font-size: .85rem;
  line-height: 1.55;
  text-align: center;
}

.lx-comments-wrap {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--lx-border);
}
.lx-comments-wrap .comment-respond {
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-md);
  padding: 12px;
}
.lx-comments-wrap .comment-form {
  display: grid;
  gap: 8px;
}
.lx-comments-wrap .comment-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: .92rem;
}
.lx-comments-wrap .comment-form input,
.lx-comments-wrap .comment-form textarea {
  width: 100%;
  border: 1px solid var(--lx-border);
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
  font: inherit;
  color: var(--lx-text);
}
.lx-comments-wrap .comment-form textarea {
  min-height: 100px;
  resize: vertical;
}
.lx-comments-wrap .form-submit {
  margin: 0;
}
.lx-comment-submit,
.lx-comments-wrap .form-submit .submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--lx-black);
  color: #fff;
  padding: 9px 15px;
  font-size: .92rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
.lx-comment-submit:hover,
.lx-comments-wrap .form-submit .submit:hover {
  opacity: .92;
  transform: translateY(-1px);
}

/* Compact override to keep comment box minimal */
.lx-single-content .lx-comments-wrap .comment-respond {
  width: 100% !important;
  max-width: 100% !important;
  background: #fff !important;
  border-radius: 14px !important;
  padding: 8px !important;
  box-shadow: none !important;
}
.lx-single-content .lx-comments-wrap .comment-reply-title {
  display: none !important;
}
.lx-single-content .lx-comments-wrap .comment-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 6px;
}
.lx-single-content .lx-comments-wrap .comment-form p {
  margin: 0 0 8px !important;
}
.lx-single-content .lx-comments-wrap .comment-form .comment-form-author,
.lx-single-content .lx-comments-wrap .comment-form .comment-form-phone {
  grid-column: span 1;
}
.lx-single-content .lx-comments-wrap .comment-form .comment-form-comment,
.lx-single-content .lx-comments-wrap .comment-form .form-submit {
  grid-column: 1 / -1;
}
.lx-single-content .lx-comments-wrap .comment-form input,
.lx-single-content .lx-comments-wrap .comment-form textarea {
  font-size: .92rem !important;
  padding: 7px 10px !important;
}
.lx-single-content .lx-comments-wrap .comment-form textarea {
  min-height: 78px !important;
}
.lx-single-content .lx-comments-wrap .form-submit .submit {
  padding: 7px 13px !important;
}
@media (max-width: 640px) {
  .lx-single-content .lx-comments-wrap .comment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .lx-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lx-nav { display: none; }
  .lx-mobile-toggle { display: inline-block; }
  .lx-header-inner { grid-template-columns: 1fr auto; }
  .lx-header-cta .lx-btn { display: none; }
  .lx-testimonials-block, .lx-service-layout, .lx-footer-grid { grid-template-columns: 1fr; }
  .lx-process-section .lx-process-intro {
    max-width: 44ch;
    margin-inline: auto;
  }
  .lx-testimonials-block > div:first-child {
    text-align: center;
  }
  .lx-testimonials-block > div:first-child p {
    margin-inline: auto;
  }
  .lx-intro-mosaic { grid-template-columns: 1fr; }
  .lx-single-layout { flex-direction: column; }
  .lx-single-sidebar { width: 100%; flex-basis: auto; position: static; }
  .lx-home-blog-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 26px;
  }
  .lx-home-blog-intro {
    order: 1;
    text-align: center;
    align-items: center;
    padding-inline: 4px;
  }
  .lx-home-blog-intro__heading {
    margin-bottom: 12px;
  }
  .lx-home-blog-intro__lead {
    max-width: 44ch;
    margin-inline: auto;
  }
  .lx-home-blog-all {
    align-self: center;
    width: 100%;
    max-width: 380px;
  }
  .lx-home-blog-featured {
    order: 2;
    min-height: min(62vw, 400px);
  }
  .lx-home-blog-featured__excerpt {
    max-width: none;
  }
  .lx-home-blog-list {
    order: 3;
  }
}
@media (max-width: 768px) {
  .lx-section { padding: 48px 0; }
  .lx-services-grid, .lx-blog-grid, .lx-stats-grid { grid-template-columns: 1fr; }
  .lx-home-blog-row {
    grid-template-columns: 72px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }
  .lx-home-blog-row__thumb {
    width: 72px;
    height: 64px;
  }
  .lx-hero-card { min-height: 58vh; border-radius: var(--lx-radius-lg); }
  .lx-hero-floating { border-radius: var(--lx-radius-md); }
  .lx-hero-form { display: grid; }
  .lx-review-badge { position: static; margin-top: 8px; width: fit-content; }
}
