/* ---------------------------------------------------------------
   میهن اد — بخش‌های صفحه‌ی اصلی و صفحات داخلی
   --------------------------------------------------------------- */

/* ================= قهرمان ================= */
.hero {
  position: relative;
  background: var(--grad-hero), #fff;
  padding-block: clamp(var(--sp-10), 5vw, var(--sp-16)) clamp(var(--sp-16), 7vw, var(--sp-24));
  overflow: hidden;
}
/* شکل ارگانیک قرمز گوشه — امضای بصری صفحه */
.hero__blob {
  position: absolute; inset-block-start: -22%; inset-inline-start: -14%;
  width: 640px; height: 640px; z-index: 0; pointer-events: none;
  background: var(--grad-brand); opacity: .07;
  border-radius: 47% 53% 42% 58% / 52% 44% 56% 48%;
  animation: blobMorph 16s ease-in-out infinite;
}
@keyframes blobMorph {
  0%,100% { border-radius: 47% 53% 42% 58% / 52% 44% 56% 48%; }
  50%     { border-radius: 58% 42% 56% 44% / 44% 56% 44% 56%; }
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(var(--sp-8), 4vw, var(--sp-12)); align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--brand-50); color: var(--brand-700);
  padding: 8px 20px; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 600;
  margin-bottom: var(--sp-5);
}

.hero h1 {
  font-size: clamp(1.316rem, 2.304vw, 2.133rem);
  line-height: 1.5; margin-bottom: var(--sp-5); font-weight: 700;
}
/* کلمه‌ی برجسته‌ی قرمز داخل تیتر */
.hero h1 em { color: var(--brand); font-style: normal; }
.hero__emoji { display: inline-block; font-style: normal; }

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--muted); max-width: 540px; line-height: 2;
}

.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-block: var(--sp-8); }

.hero__points {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--sp-5);
}
.hero__points li {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft);
}
.hero__points svg { color: var(--brand); flex-shrink: 0; }

.hero__visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
/* فرم‌های پشت کانواس با CSS ساخته می‌شوند تا مستقل از تصویر و ریسپانسیو باشند. */
.hero__visual::before {
  width: 42%;
  aspect-ratio: 1;
  top: 7%;
  right: 4%;
  border: 1px solid rgba(238, 27, 54, .08);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 225, 228, .88), rgba(255, 241, 242, .42));
}
.hero__visual::after {
  width: 38%;
  height: 32%;
  bottom: 9%;
  left: 2%;
  border: 1px solid rgba(30, 58, 138, .06);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: linear-gradient(135deg, rgba(224, 231, 255, .76), rgba(255, 225, 228, .54));
  transform: rotate(-8deg);
}
.hero__visual-shadow {
  position: absolute;
  z-index: 0;
  width: 58%;
  height: 7%;
  bottom: 3.5%;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, .2) 0%, rgba(15, 23, 42, .1) 42%, rgba(15, 23, 42, 0) 76%);
  filter: blur(10px);
  opacity: .58;
  transform: translateX(-50%) rotate(-7deg) skewX(-10deg) scaleX(.96);
  transform-origin: center;
  pointer-events: none;
}
.hero__visual picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}
.hero__visual img {
  display: block;
  width: 90%;
  height: auto;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__points { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero__visual::before { width: 39%; top: 8%; right: 5%; }
  .hero__visual::after { width: 35%; height: 29%; bottom: 11%; left: 5%; }
  .hero__visual-shadow {
    width: 54%; height: 6%; bottom: 5%;
    filter: blur(8px); opacity: .5;
    transform: translateX(-50%) rotate(-6deg) skewX(-8deg) scaleX(.94);
  }
  .hero__points {
    width: 100%; max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; text-align: start;
  }
  .hero__points li { align-items: flex-start; gap: 6px; font-size: .8rem; line-height: 1.65; }
  .hero__points svg { margin-block-start: 2px; }
  .hero__actions .btn { flex: 1; }
  .hero__blob { width: 380px; height: 380px; }
}

/* ================= نوار پلتفرم‌ها ================= */
.logos-strip { border-block: 1px solid var(--border); background: var(--surface); padding-block: var(--sp-5); }
.logos-strip__inner { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; justify-content: center; }
.logos-strip__label { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.logos-strip__items { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; justify-content: center; }
.logos-strip__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--muted-2);
  transition: color var(--t);
}
.logos-strip__item:hover { color: var(--brand); }

/* ================= کارت خدمات ================= */
.service-card { display: flex; flex-direction: column; }
.service-card__title { font-size: .9rem; margin-bottom: var(--sp-3); }
.service-card__desc { font-size: var(--fs-sm); color: var(--muted); flex: 1; margin-bottom: var(--sp-4); }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--brand);
}
.service-card__link svg { transition: transform var(--t); }
.service-card:hover .service-card__link svg { transform: translateX(-4px); }

@media (max-width: 1024px) {
  .service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5);
  }
  .service-cards .service-card {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .service-cards { grid-template-columns: 1fr; gap: var(--sp-3); }
  .service-cards .service-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "media title"
      "media description"
      "media link";
    column-gap: var(--sp-4); row-gap: 5px;
    padding: var(--sp-4);
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--r); box-shadow: var(--sh-xs);
  }
  .service-card__media { grid-area: media; align-self: center; }
  .service-card__media img { width: 100%; max-height: 92px; object-fit: contain; }
  .service-card__title { grid-area: title; align-self: end; margin: 0; }
  .service-card__desc { grid-area: description; margin: 0; line-height: 1.75; }
  .service-card__link { grid-area: link; align-self: start; margin-block-start: 3px; }
}

/* ================= ماشین‌حساب ================= */
.calc { box-shadow: var(--sh-lg); border-color: var(--brand-100); }
.calc__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(var(--sp-6), 4vw, var(--sp-10)); }
.calc__currencies { display: grid; gap: 10px; }
.calc__currency { align-items: center; }
.calc__currency-sign {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: var(--surface-2); color: var(--ink);
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
  transition: all var(--t);
}
.radio-card:has(input:checked) .calc__currency-sign { background: var(--brand); color: #fff; }
.calc__quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.calc__quick-btn {
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: #fff;
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
  transition: all var(--t);
}
.calc__quick-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }

.calc__result {
  background: var(--grad-brand); color: #fff;
  border-radius: var(--r-lg); padding: var(--sp-6);
  display: flex; flex-direction: column;
}
/* روی زمینه‌ی قرمز همه‌چیز سفید است — رنگ تیره‌ی ارثی خوانا نیست. */
.calc__result,
.calc__result b,
.calc__result span,
.calc__result strong { color: #fff; }

.calc__result-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-sm); opacity: .92; margin-bottom: var(--sp-3);
}
.calc__total {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: var(--sp-6); flex-wrap: wrap;
}
.calc__total b {
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -.01em;
}
.calc__total span { font-size: var(--fs-base); opacity: .9; font-weight: 600; }

.calc__breakdown { list-style: none; margin: 0; padding: 0; }
.calc__breakdown li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 12px 0; font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,.22); margin: 0;
}
.calc__breakdown li span { opacity: .88; }
.calc__breakdown li b { font-weight: 600; }
.calc__breakdown-rate {
  border-bottom: 0 !important;
  opacity: .78; font-size: var(--fs-xs) !important;
}

/* دکمه‌ی سفید روی زمینه‌ی قرمز */
.calc__cta { background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.calc__cta, .calc__cta span { color: var(--brand-700) !important; }
.calc__cta:hover { background: var(--brand-50); transform: translateY(-2px); }

.calc__note {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: var(--fs-xs); opacity: .85; margin-top: var(--sp-4); line-height: 1.8;
}
@media (max-width: 860px) { .calc__grid { grid-template-columns: 1fr; } }

/* ================= مزیت‌ها ================= */
.feature { padding: var(--sp-2); }
.feature__title { font-size: .8rem; margin-bottom: var(--sp-2); }
.feature__desc { font-size: var(--fs-sm); color: var(--muted); }

/* ================= مراحل ================= */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); position: relative;
}
.steps::before {
  content: ""; position: absolute; inset-block-start: 30px; inset-inline: 12%;
  height: 2px; background: repeating-linear-gradient(to left, var(--border-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; text-align: center; margin: 0; z-index: 1; }
.step__num {
  position: absolute; inset-block-start: -8px; inset-inline-end: calc(50% - 44px);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  border: 3px solid #fff;
}
.step__icon {
  width: 62px; height: 62px; border-radius: 20px; margin: 0 auto var(--sp-4);
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--brand);
  box-shadow: var(--sh-sm);
}
.step__title { font-size: .8rem; margin-bottom: var(--sp-2); }
.step__desc { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ================= نوار آمار ================= */
.stats-band { background: var(--ink); color: #fff; padding-block: var(--sp-12); }
.stat { text-align: center; }
.stat__icon {
  width: 48px; height: 48px; border-radius: 15px; margin: 0 auto var(--sp-3);
  background: rgba(255,255,255,.08); color: #93C5FD;
  display: grid; place-items: center;
}
.stat__value { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; color: #fff; line-height: 1.2; }
.stat__suffix { color: var(--accent); }
.stat__label { font-size: var(--fs-sm); color: #94A3B8; }
@media (max-width: 1024px) {
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-8) var(--sp-5);
  }
}
@media (max-width: 600px) {
  .stats-band { padding-block: var(--sp-8); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-3); }
  .stat__icon { width: 44px; height: 44px; }
}

/* ================= پلن‌ها ================= */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured {
  border-color: var(--brand); box-shadow: var(--sh-lg);
  transform: scale(1.03); z-index: 1;
}
.plan__ribbon {
  position: absolute; inset-block-start: -13px; inset-inline-start: 50%;
  transform: translateX(50%);
  background: var(--accent); color: #fff;
  padding: 5px 18px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
  box-shadow: var(--sh-accent);
}
.plan__name { font-size: 1.1rem; margin-bottom: 6px; }
.plan__tagline { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-5); }
.plan__price {
  padding-block: var(--sp-5); margin-bottom: var(--sp-5);
  border-block: 1px solid var(--border);
}
.plan__price b { display: block; font-size: var(--fs-2xl); font-weight: 700; color: var(--brand); }
.plan--featured .plan__price b { color: var(--accent); }
.plan__price small { font-size: var(--fs-xs); color: var(--muted); }
.plan__features { list-style: none; margin: 0 0 var(--sp-6); padding: 0; flex: 1; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: var(--fs-sm); margin-bottom: 12px; color: var(--ink-soft);
}
.plan__features svg { color: var(--success); margin-top: 4px; flex-shrink: 0; }
@media (max-width: 1024px) { .plan--featured { transform: none; } }

/* ================= نظرات ================= */
.review { position: relative; display: flex; flex-direction: column; }
.review__quote { position: absolute; inset-block-start: var(--sp-5); inset-inline-start: var(--sp-5); color: var(--brand-100); }
.review__stars { display: flex; gap: 3px; color: var(--warning); margin-bottom: var(--sp-4); }
.review__stars svg { fill: currentColor; }
.review__text { font-size: var(--fs-sm); color: var(--ink-soft); flex: 1; margin-bottom: var(--sp-5); line-height: 1.95; }
.review__author { display: flex; align-items: center; gap: 12px; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}
.review__name { display: block; font-size: var(--fs-sm); color: var(--ink); }
.review__role { font-size: var(--fs-xs); color: var(--muted); }

/* ================= کارت نوشته ================= */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__thumb { display: block; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.06); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--muted-2); }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--sp-3);
}
.post-card__title { font-size: .8rem; line-height: 1.7; margin-bottom: var(--sp-2); }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--brand); }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted); flex: 1; margin-bottom: var(--sp-4); }
.post-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-4); border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--muted);
}
.post-card__more { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--brand); }

/* ================= فراخوان نهایی ================= */
.cta-band { padding-block: var(--sp-12); }
.cta-band__inner {
  background: var(--grad-brand); color: #fff;
  border-radius: var(--r-xl); padding: clamp(var(--sp-8), 5vw, var(--sp-16));
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--sp-8);
  align-items: center; position: relative; overflow: hidden;
  box-shadow: var(--sh-brand);
}
.cta-band__inner::before {
  content: ""; position: absolute; inset-block-start: -60%; inset-inline-start: -10%;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,.9); font-size: var(--fs-base); max-width: 560px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__primary { background: #fff; color: var(--brand-700); }
.cta-band__primary:hover { background: var(--brand-50); color: var(--brand-700); transform: translateY(-2px); }
.cta-band__secondary { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band__secondary:hover { background: rgba(255,255,255,.26); color: #fff; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ================= صفحه‌ی خطای ۴۰۴ ================= */
.error-404 { text-align: center; padding-block: var(--sp-24); }
.error-404__code {
  font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: var(--sp-4);
}
.error-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: var(--sp-8); }

/* ================= جعبه‌ی اشتراک‌گذاری و نویسنده ================= */
.entry-header { margin-bottom: var(--sp-6); }
.entry-meta {
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-4);
}
.entry-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.entry-thumb { border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--sp-8); }
.entry-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.entry-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-5); }

/* ================= صفحه‌ی تماس ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-8); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-info__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-info__item b { display: block; color: var(--ink); font-size: var(--fs-sm); margin-bottom: 3px; }
.contact-info__item span { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ================= صفحات خدمات ================= */
/* عرض کامل مثل سربرگ و فوتر؛ محتوا + ستون کناری چسبان، تا حاشیه‌های
   خالی دو طرف که پیش‌تر ایجاد می‌شد از بین برود. */
.service-hero {
  background: var(--grad-hero), var(--surface);
  padding-block: var(--sp-10) var(--sp-12);
  border-bottom: 1px solid var(--border);
}
.service-hero__grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(var(--sp-6), 4vw, var(--sp-10)); align-items: center;
}
.service-hero__content > .badge { margin-bottom: var(--sp-4); }
.service-hero h1 { margin-bottom: var(--sp-4); line-height: 1.4; }
.service-hero__lead { font-size: var(--fs-lg); color: var(--muted); max-width: 640px; line-height: 2; }
.service-hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-7); }

.service-hero__facts {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-sm);
}
.service-hero__facts-title { font-size: .8rem; margin-bottom: var(--sp-4); }
.fact-list { margin: 0; display: grid; gap: 2px; }
.fact {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.fact dd { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin: 0; text-align: end; }

.service-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 330px;
  gap: clamp(var(--sp-6), 3vw, var(--sp-10)); align-items: start;
}
.service-content { max-width: 780px; }
.service-aside {
  position: sticky; inset-block-start: calc(var(--header-h) + 20px);
  display: flex; flex-direction: column; gap: var(--sp-5);
}

.service-cta { background: var(--grad-brand); border: 0; color: #fff; }
.service-cta h3 { color: #fff; font-size: .8rem; margin-bottom: var(--sp-2); }
.service-cta p { color: rgba(255,255,255,.92); font-size: var(--fs-sm); margin: 0; }
.service-cta__phone {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: var(--sp-3); color: #fff; font-size: var(--fs-sm); font-weight: 600;
}
.service-cta__phone:hover { color: #fff; opacity: .85; }

.aside-title { font-size: .8rem; margin-bottom: var(--sp-4); }
.aside-checks { list-style: none; margin: 0; padding: 0; }
.aside-checks li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 11px;
}
.aside-checks svg { color: var(--success); margin-top: 4px; flex-shrink: 0; }

.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { margin: 0; }
.aside-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft);
  transition: color var(--t);
}
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--brand); }
.aside-links a > span { flex: 1; }
.aside-links a > svg:first-child { color: var(--brand); }

@media (max-width: 1024px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .service-content { max-width: none; }
}
@media (max-width: 860px) {
  .service-hero__grid { grid-template-columns: 1fr; }
}

/* ================= بلوک‌های اختصاصی صفحات خدمات ================= */
.svc-block { margin-top: var(--sp-12); }
.svc-block__title { font-size: 1.4rem; margin-bottom: var(--sp-3); }
.svc-block__lead { color: var(--muted); font-size: var(--fs-base); margin-bottom: var(--sp-6); }

/* --- جدول مشخصات / تعرفه --- */
.spec-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; font-size: var(--fs-sm); background: #fff;
}
.spec-table th {
  background: var(--surface); text-align: right; font-weight: 700;
  color: var(--ink); padding: 14px 16px; white-space: nowrap;
}
.spec-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.spec-table tbody tr:hover { background: var(--surface); }
.spec-table .is-highlight { background: var(--brand-50); }
.spec-table .is-highlight td { font-weight: 600; color: var(--brand-700); }

/* --- جدول مقایسه دو ستونی --- */
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table .col-good { background: var(--brand-50); }
.compare-table thead .col-good { background: var(--brand); color: #fff; }
.compare-yes { color: var(--success); font-weight: 700; }
.compare-no  { color: var(--muted-2); font-weight: 600; }

/* --- مراحل عمودی --- */
.svc-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.svc-steps::before {
  content: ""; position: absolute; inset-block: 12px;
  inset-inline-start: 17px; width: 2px; background: var(--border);
}
.svc-step { position: relative; padding-inline-start: 54px; padding-bottom: var(--sp-6); margin: 0; }
.svc-step:last-child { padding-bottom: 0; }
.svc-step__num {
  position: absolute; inset-inline-start: 0; inset-block-start: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: var(--fs-sm);
  border: 4px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.svc-step__title { font-size: .8rem; margin-bottom: 5px; color: var(--ink); font-weight: 700; }
.svc-step__desc { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* --- کارت‌های نتیجه / آمار --- */
.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.result-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: var(--sp-5); text-align: center;
}
.result-card__value { font-size: var(--fs-2xl); font-weight: 700; color: var(--brand); line-height: 1.3; }
.result-card__label { font-size: var(--fs-sm); color: var(--muted); margin-top: 4px; }
@media (max-width: 720px) { .result-cards { grid-template-columns: 1fr; } }

/* --- جعبه نکته --- */
.svc-note {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: var(--brand-50); border-inline-start: 4px solid var(--brand);
  border-radius: var(--r-sm); padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.9;
}
.svc-note svg { color: var(--brand); flex-shrink: 0; margin-top: 4px; }
.svc-note strong { color: var(--brand-700); }

/* --- شبکه‌ی ویژگی دو ستونی --- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.svc-tile {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: var(--sp-5);
}
.svc-tile h4 { font-size: .711rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.svc-tile h4 svg { color: var(--brand); }
.svc-tile p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
@media (max-width: 720px) { .svc-grid { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; }
