/* ==========================================================================
   مرکز توانبخشی کیانُت — استایلِ صفحاتِ داخلی (درباره ما / تماس با ما)
   هم‌خانوادهٔ Calm Flow؛ همهٔ رنگ‌ها/سایه‌ها/حرکت‌ها از توکن‌های styles.css مشتق‌اند.
   این فایل فقط در صفحاتِ داخلی بعد از styles.css لود می‌شود.
   ========================================================================== */

/* ==========================================================================
   ۱) Breadcrumb — مسیرِ کوچکِ بالای هیروی صفحاتِ داخلی (RTL، chevron رو به چپ)
   ========================================================================== */
.kn-crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.kn-crumbs a { color: var(--text); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.kn-crumbs a:hover, .kn-crumbs a:focus-visible { color: var(--accent); }
.kn-crumbs svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.kn-crumbs [aria-current="page"] { color: var(--heading); }

/* ==========================================================================
   ۲) Placeholder تصویر — «جای عکسِ واقعی» (با ابزارِ تصویرساز ساخته و جایگزین می‌شود)
   قابِ خط‌چینِ فیروزه + تینتِ آرام + آیکون و توضیحِ دقیقِ تصویرِ موردنیاز.
   عمداً «تمیز و عمدی» به‌نظر می‌رسد، نه خراب. برای جایگزینی کافی است
   کلِ <div class="ph-media"> با یک <img> جایگزین شود (نسبتِ تصویر حفظ شده).
   ========================================================================== */
.ph-media {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(0,170,183,.10) 0%, rgba(0,170,183,0) 55%),
    var(--accent-tint);
  border: 2px dashed rgba(0,170,183,.45);
  border-radius: inherit;            /* درونِ halo-frame فرمِ قاب را می‌گیرد */
  color: var(--brand-deep);
  min-height: 180px;
}
.ph-media__ic {
  width: 44px; height: 44px;
  color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  opacity: .9;
}
.ph-media__title { font-weight: 700; font-size: 14.5px; color: var(--heading); }   /* تضاد AA روی تینت */
.ph-media__desc {
  font-weight: 400; font-size: 12.5px; line-height: 1.9;
  color: var(--text); max-width: 34ch; margin: 0;
}
.ph-media__meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
  color: var(--c-teal-800);   /* تضاد AA برای متنِ ریز روی چیپِ روشن */
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,170,183,.25);
  border-radius: 999px; padding: 3px 10px;
}
/* نسبت‌های آماده */
.ph-media--square   { aspect-ratio: 1 / 1; }
.ph-media--portrait { aspect-ratio: 3 / 4; }
.ph-media--wide     { aspect-ratio: 16 / 10; }
.ph-media--banner   { aspect-ratio: 21 / 9; min-height: 220px; }
.ph-media--map      { min-height: 380px; border-radius: var(--radius-lg); }
/* درونِ قابِ هاله، خط‌چین به لبهٔ قاب بچسبد */
.halo-frame .ph-media { border-radius: 24px 24px 80px 24px; }
.halo-frame--mirror .ph-media { border-radius: 24px 24px 24px 80px; }

/* ==========================================================================
   ۳) نوارِ آمار — ۴ کارتِ عددِ برند (اعدادِ فارسیِ tabular)
   ========================================================================== */
.stat-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-flow);   /* گوشهٔ جریان در RTL */
  padding: 26px 18px 22px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.stat-card::after {                               /* نوارِ فیروزهٔ لبهٔ پایین (امضای soft-card) */
  content: ""; position: absolute; inset-inline: 18%; inset-block-end: 0; height: 3px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.stat-card:hover::after { opacity: 1; }
.stat-card__num {
  font-weight: 800; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.stat-card__num b { color: var(--accent); font-weight: 800; }   /* علامتِ + / ٪ فیروزه */
.stat-card__label { font-size: 13.5px; font-weight: 600; color: var(--text); }

/* ==========================================================================
   ۴) کارتِ مأموریت/چشم‌انداز — کارتِ ادیتوریالِ آرام با آیکونِ هاله‌دارِ کوچک
   ========================================================================== */
.mv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-left-radius: var(--radius-flow);    /* گوشهٔ جریان */
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.mv-card__halo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 4px #fff, 0 0 0 5px rgba(0,170,183,.5);
  margin-bottom: 18px;
}
.mv-card__halo svg {
  width: 28px; height: 28px; color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.mv-card h3 { color: var(--heading); font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.mv-card p { color: var(--text); font-weight: 300; line-height: 2; margin: 0; }

/* ==========================================================================
   ۵) تایم‌لاینِ «مسیرِ کیانُت» — نسخهٔ روشنِ توالیِ شماره‌دارِ مشاوره
   مدالِ سال (فارسی/tabular) + خطِ اتصالِ عمودیِ فیروزه→محو
   ========================================================================== */
.kn-tl {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; gap: 26px; position: relative;
  max-width: 680px; margin-inline: auto;
}
.kn-tl::before {
  content: ""; position: absolute; pointer-events: none;
  inset-block: 30px; inset-inline-start: 31px; width: 2px;
  background: linear-gradient(rgba(0,170,183,.5), rgba(0,170,183,.05));
}
.kn-tl__item { display: flex; align-items: flex-start; gap: 16px; text-align: right; position: relative; }
.kn-tl__year {
  flex: none; min-width: 64px; height: 36px; padding-inline: 10px;
  border-radius: 999px;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--brand);
  box-shadow: inset 0 0 0 1.5px rgba(0,170,183,.55), 0 0 0 5px #fff;
  color: #fff; font-weight: 700; font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.kn-tl__body { padding-top: 4px; }
.kn-tl__title { display: block; color: var(--heading); font-weight: 700; font-size: 16px; line-height: 1.7; }
.kn-tl__desc { display: block; color: var(--text); font-weight: 300; font-size: 13.5px; line-height: 1.95; margin-top: 2px; }

/* ==========================================================================
   ۶) کارتِ تیم — پرترهٔ درمانگر (placeholder) + نام/نقش + چیپِ سابقه
   ========================================================================== */
.team-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: 32px;                 /* گوشهٔ جریان در RTL */
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.team-card__photo { position: relative; }
.team-card__photo .ph-media { border-radius: 0; border-width: 0 0 2px 0; min-height: 0; }
.team-card__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team-card__body { padding: 18px 18px 20px; text-align: center; }
.team-card__name { color: var(--heading); font-weight: 700; font-size: 16.5px; margin: 0; }
.team-card__role { color: var(--brand-deep); font-weight: 600; font-size: 13px; margin-top: 3px; display: block; }
.team-card__meta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  background: var(--accent-tint);
  border: 1px solid rgba(0,170,183,.22);
  color: var(--brand-deep);
  font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 5px 12px;
}
.team-card__meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   ۷) کارتِ نظرِ خانواده‌ها — نقلِ‌قولِ روشن با گیومهٔ فیروزه
   ========================================================================== */
.kn-review {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-left-radius: var(--radius-flow);
  padding: 26px 24px 22px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.kn-review:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.kn-review__mark {
  width: 30px; height: 30px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  margin-inline-start: auto; opacity: .9;
}
.kn-review p { color: var(--heading); font-weight: 500; font-size: 14.5px; line-height: 2.1; margin: 10px 0 0; }
.kn-review footer {
  margin-top: auto; padding-top: 16px;
  display: flex; align-items: center; gap: 10px;
}
.kn-review__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--brand-deep);
  font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(0,134,145,.25);
}
.kn-review__by { display: flex; flex-direction: column; }
.kn-review__name { color: var(--heading); font-weight: 700; font-size: 13.5px; }
.kn-review__case { color: var(--text); font-weight: 400; font-size: 12px; }

/* ==========================================================================
   ۸) چیپِ اعتمادِ روشن — مجوزها/افتخارات روی سطحِ سفید
   ========================================================================== */
.kn-cred {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 10px 18px;
  color: var(--heading); font-weight: 600; font-size: 13.5px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.kn-cred:hover { border-color: rgba(0,170,183,.45); box-shadow: var(--shadow-card); }
.kn-cred svg { width: 19px; height: 19px; flex: none; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   ۹) نوارِ CTAی سرمه‌ای — هم‌خانوادهٔ پنلِ مشاوره (هاله + کمان + مونوگرامِ ghost)
   ========================================================================== */
.kn-cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(158deg, #0F2E40 0%, #0F2E40 40%, #123c49 100%);
  border-radius: 26px;
  border-top-left-radius: var(--radius-flow);
  padding: clamp(30px, 4.5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.kn-cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(0,170,183,.32) 0%, transparent 46%),
    radial-gradient(120% 120% at 0% 100%, rgba(0,170,183,.16) 0%, transparent 46%);
}
.kn-cta-band__ghost-k {
  position: absolute; pointer-events: none; z-index: -1;
  inset-block-start: -10px; inset-inline-end: 18px;
  width: 190px; height: 190px; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .25;
}
.kn-cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(22px, 3.4vw, 30px); margin: 6px 0 0; }
.kn-cta-band p { color: rgba(255,255,255,.78); font-weight: 300; line-height: 2; max-width: 46rem; margin: 12px auto 0; }
/* دکمهٔ ghost روی سطحِ تیره */
.btn-ghost--dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost--dark:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   ۱۰) کارتِ کانالِ تماس — صفحهٔ تماس با ما (آیکونِ هاله‌ای + مقادیرِ لینک‌دار)
   ========================================================================== */
.cc-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: 32px;
  padding: 30px 20px 24px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.cc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.cc-card__halo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 5px #fff, 0 0 0 6px rgba(0,170,183,.5);
  margin-bottom: 16px;
}
.cc-card__halo svg {
  width: 32px; height: 32px; color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.cc-card__title { color: var(--heading); font-weight: 700; font-size: 16px; margin: 0; }
.cc-card__sub { color: var(--text); font-weight: 300; font-size: 12.5px; margin-top: 3px; }
.cc-card__links { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.cc-card__links a, .cc-card__links span {
  color: var(--brand-deep); font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.cc-card__links a:hover, .cc-card__links a:focus-visible { color: var(--accent); }

/* ==========================================================================
   ۱۱) فیلدهای تکمیلیِ فرمِ تماس — select و textarea هم‌خانوادهٔ kn-input
   ========================================================================== */
/* textarea: همان خطِ زیرین، ارتفاعِ چندخطی */
.kn-input--area { min-height: 110px; resize: vertical; line-height: 1.9; padding-top: 26px; }
/* select: لیبل همیشه بالاست (floating برای select قابل‌اتکا نیست) */
.kn-field--select .kn-label {
  transform: translateY(-18px) scale(.82);
  color: rgba(255,255,255,.6);
}
.kn-select {
  width: 100%; min-height: 48px; padding: 20px 4px 8px;
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.22);
  color: #fff; font: inherit; outline: none;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.kn-select:focus ~ .kn-underline { transform: scaleX(1); }
.kn-select option { color: var(--heading); background: #fff; }
/* پیکانِ کوچکِ فیروزه برای select (در RTL، انتهای فیلد = لبهٔ چپ) */
.kn-field--select { position: relative; }
.kn-field--select::after {
  content: ""; position: absolute; pointer-events: none;
  inset-inline-end: 6px; inset-block-start: 26px;
  width: 9px; height: 9px;
  border-inline-start: 1.8px solid var(--accent);   /* در RTL = مرزِ راست */
  border-block-end: 1.8px solid var(--accent);
  transform: rotate(45deg);                          /* راست+پایین → پیکانِ رو به پایین */
}

/* ==========================================================================
   ۱۲) لیستِ اطلاعاتِ تماس درونِ پنلِ سرمه‌ای (آیکون + برچسب + مقدار)
   ========================================================================== */
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 13px; }
.contact-list__ic {
  flex: none; width: 42px; height: 42px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,170,183,.16);
  box-shadow: inset 0 0 0 1px rgba(0,170,183,.35);
  color: var(--c-teal-200);
}
.contact-list__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list__label { display: block; color: rgba(255,255,255,.6); font-size: 12.5px; font-weight: 400; }
.contact-list__value { display: block; color: #fff; font-weight: 700; font-size: 15.5px; line-height: 1.8; }
.contact-list__value a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.contact-list__value a:hover, .contact-list__value a:focus-visible { color: var(--c-teal-200); }

/* ==========================================================================
   ۱۳) پنلِ نقشه و آدرس — قابِ نرم با placeholder نقشه
   ========================================================================== */
.map-panel {
  display: grid; gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  border-top-right-radius: var(--radius-flow);
  padding: 16px;
}
@media (min-width: 1024px) {
  .map-panel { grid-template-columns: .9fr 1.4fr; align-items: stretch; }
}
.map-panel__info {
  display: flex; flex-direction: column; justify-content: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px);
}
.map-panel__info h3 { color: var(--heading); font-weight: 700; font-size: 19px; margin: 0 0 6px; }
.map-panel__addr { color: var(--text); font-weight: 400; line-height: 2.1; margin: 0; }
.map-panel__rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.map-panel__rows li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 13.5px; line-height: 1.9; }
.map-panel__rows svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-panel__rows b { color: var(--heading); font-weight: 600; }
.map-panel__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; }
.map-panel__frame .ph-media { border-radius: var(--radius-lg); flex: 1; }

/* ==========================================================================
   ۱۴) آکاردئونِ پرسش‌های پرتکرار — details/summary خالص (بدونِ JS)
   ========================================================================== */
.kn-faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  align-self: start;            /* در گرید، هر آیتم مستقل باز شود */
}
.kn-faq[open] { border-color: rgba(0,170,183,.4); box-shadow: var(--shadow-card); }
.kn-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px;
  cursor: pointer; list-style: none;
  color: var(--heading); font-weight: 700; font-size: 15px; line-height: 1.7;
  transition: color var(--dur-fast) var(--ease-out);
}
.kn-faq__q::-webkit-details-marker { display: none; }
.kn-faq__q:hover { color: var(--brand-deep); }
.kn-faq__chev {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--brand-deep);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.kn-faq__chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kn-faq[open] .kn-faq__chev { transform: rotate(180deg); background: var(--accent); color: #fff; }
.kn-faq__a {
  padding: 0 20px 20px;
  color: var(--text); font-weight: 300; font-size: 14px; line-height: 2.05;
}
.kn-faq__a a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.kn-faq__a a:hover { color: var(--accent); }

/* ==========================================================================
   ۱۵-الف) کامپوننت‌های صفحاتِ خدمات (کاردرمانی در منزل / بزرگسالان)
   ========================================================================== */

/* — لنگرهای درون‌صفحه زیرِ هدرِ چسبان نروند (هدر ~۷۲px + فاصلهٔ تنفس) — */
html { scroll-padding-block-start: 96px; }

/* — modifier چندخطی برای عنوان‌های بلندِ سکشن: nowrapِ قفل‌شدهٔ .section-title را
     باز می‌کند تا در موبایل دوخطی شود؛ تزئین‌های موجی در حالتِ باریک مخفی می‌شوند — */
.section-title--wrap { white-space: normal; line-height: 1.7; }
@media (max-width: 767px) {
  .section-title--wrap::before,
  .section-title--wrap::after { display: none; }
}

/* — placeholder ویدیو: نسبتِ ۱۶:۹ + دکمهٔ پلیِ برند (کانونِ بصری) — */
.ph-media--video { aspect-ratio: 16 / 9; }
.ph-media__play {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 134, 145, .75), 0 0 0 6px rgba(255,255,255,.65);
}
.ph-media__play svg {
  width: 22px; height: 22px; fill: currentColor; stroke: none;
  margin-inline-end: -3px;   /* مثلثِ پلی همیشه رو به راست (قراردادِ جهانیِ مدیا) — تنظیمِ اپتیکی */
}
/* دکمهٔ پلی شناور روی کاورِ ویدیو (تصویرِ پوستر درونِ halo-frame) */
.ph-media__play--overlay {
  position: absolute; inset: 0; margin: auto;
  z-index: 1; pointer-events: none;
}

/* — چیپ‌های لنگرِ درون‌صفحه (لیست هزینه / نظرات / سوالات / پرسش‌وپاسخ) — */
.kn-anchors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.kn-anchor {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid rgba(0, 170, 183, .28);
  color: var(--c-teal-800); font-weight: 700; font-size: 13.5px;   /* ≥4.5:1 روی تینت */
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.kn-anchor svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kn-anchor:hover, .kn-anchor:focus-visible {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,170,183,.7);
}

/* — کارتِ لینکِ عکس‌دار (انواعِ خدمات): عکس بالا + عنوان و چِورونِ هدایت — */
.link-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: 32px;            /* گوشهٔ جریان در RTL */
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.link-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.link-card:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.link-card__photo .ph-media { border-radius: 0; border-width: 0 0 2px 0; min-height: 0; aspect-ratio: 4 / 3; }
.link-card__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.link-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 15px; }
.link-card__title { color: var(--heading); font-weight: 700; font-size: 15.5px; line-height: 1.6; margin: 0; }
.link-card__go {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  opacity: .35; transform: translateX(5px);  /* RTL: روی hover سرِ جایش می‌لغزد */
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.link-card:hover .link-card__go { opacity: 1; transform: translateX(0); }

/* — جدولِ تعرفه‌ها: کانتینرِ نرمِ هم‌خانوادهٔ soft-card + هدرِ سرمه‌ای — */
.price-wrap {
  overflow-x: auto;                           /* موبایل: اسکرولِ افقیِ امنِ خودِ جدول */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-flow);
  box-shadow: var(--shadow-card);
}
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; text-align: right; }
.price-table thead th {
  background: linear-gradient(158deg, #0F2E40 0%, #123c49 100%);
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 15px 20px; white-space: nowrap;
}
.price-table tbody td { padding: 14px 20px; font-size: 14px; color: var(--heading); border-top: 1px solid var(--border); line-height: 1.8; }
/* سرآیندِ ردیف (نامِ خدمت) — هم‌استایلِ td تا تغییرِ بصری نکند، فقط معناییِ a11y */
.price-table tbody th { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--heading); border-top: 1px solid var(--border); line-height: 1.8; text-align: right; }
.price-table tbody tr:nth-child(even) { background: rgba(0, 170, 183, .045); }
.price-table tbody tr { transition: background var(--dur-fast) var(--ease-soft); }
.price-table tbody tr:hover { background: rgba(0, 170, 183, .09); }
.price-table .price-val { font-weight: 700; color: var(--c-teal-800); white-space: nowrap; }   /* ≥4.5:1 */
.price-table .price-sub { color: var(--text); font-weight: 300; font-size: 12.5px; display: block; }
.price-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; color: var(--text); font-size: 12.5px; font-weight: 400;
}
.price-note svg { width: 16px; height: 16px; flex: none; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* — کارتِ ویدیوی نظرِ مشتری: ویدیو بالا + هویتِ گوینده پایین — */
.video-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-left-radius: 32px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.video-card .ph-media { border-radius: 0; border-width: 0 0 2px 0; min-height: 0; }
.video-card__body { display: flex; align-items: center; gap: 10px; padding: 13px 16px 15px; }

/* — نوارِ شناورِ «دسترسی سریع» (همهٔ صفحات): پیلِ شیشه‌ایِ کوچکِ ته‌صفحه که پس از
     اسکرول ظاهر می‌شود و میانِ دو FAB می‌نشیند؛ چیپِ بخشِ فعال با اسکرول‌اسپای روشن می‌شود — */
.kn-quicknav {
  position: fixed; z-index: 44;                     /* زیرِ FABها (۴۵) و مودال */
  inset-inline: 0; margin-inline: auto;
  inset-block-end: clamp(16px, 3.2vw, 26px);
  width: max-content;
  max-width: calc(100vw - 168px);                   /* فضای دو FAB گوشه‌ها + حاشیهٔ امن */
  display: flex; align-items: center; gap: 3px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 40px -16px rgba(15, 46, 64, .4), inset 0 1px 0 rgba(255,255,255,.6);
  overflow-x: auto; scrollbar-width: none;          /* موبایل: چیپ‌ها داخلِ پیل اسکرول می‌شوند */
  opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.kn-quicknav::-webkit-scrollbar { display: none; }
.kn-quicknav.is-shown { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
/* چیپ‌ها عیناً هم‌خانوادهٔ .kn-anchor (تینت + آیکون + لبهٔ فیروزه) در اندازهٔ فشرده */
.kn-quicknav__link {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid rgba(0, 170, 183, .28);
  font-size: 12.5px; font-weight: 700; line-height: 1;
  color: var(--c-teal-800);
  text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.kn-quicknav__link svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kn-quicknav__link:hover, .kn-quicknav__link:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.kn-quicknav__link.is-active {
  background: var(--grad-cta); color: #fff; border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(0, 134, 145, .8);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .kn-quicknav { background: #E9FCFD; }
}
@media (prefers-reduced-motion: reduce) {
  .kn-quicknav { transition: none; transform: none; }
}

/* — نوارِ خدماتِ تکمیلی: کارت‌های غنی روی بسترِ یاسی (هم‌خانوادهٔ بِنتوی صفحهٔ اصلی) — */
.svc-band {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 26px;
  border-top-right-radius: var(--radius-flow);
  padding: clamp(14px, 2.2vw, 26px);
}
.ot-card--rich {
  padding: 20px 18px 16px;
  background:
    radial-gradient(95% 70% at 100% 0%, rgba(0, 170, 183, .08) 0%, rgba(0, 170, 183, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 10px 24px -18px rgba(15, 46, 64, .25);
  border-top-right-radius: 30px;
}
.ot-card--rich .ot-pad { width: 56px; height: 56px; border-radius: 18px; }
.ot-card--rich .ot-pad svg { width: 32px; height: 32px; }
/* چِورونِ هدایت در حبابِ حلقه‌دار؛ روی hoverِ کارت پُر می‌شود */
.ot-card--rich .ot-go {
  width: 36px; height: 36px; padding: 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(0, 170, 183, .35);
  opacity: .65; transform: translateX(4px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.ot-card--rich:hover .ot-go {
  opacity: 1; transform: none;
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 16px -8px rgba(0, 170, 183, .7);
}
.ot-card--rich .ot-card__txt h3 { font-size: 16.5px; }
.ot-card--rich .ot-card__txt p { font-size: 13px; line-height: 1.95; margin-top: 4px; }
/* خطِ پایانیِ کارت: مزیت/تمرکزِ همان خدمت با جداکنندهٔ خط‌چینِ ظریف */
.ot-card__tag {
  width: 100%;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed rgba(15, 46, 64, .12);
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-teal-800); font-size: 12px; font-weight: 600;
}
.ot-card__tag svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* — لیستِ پرسش‌وپاسخ‌های آماده: کارتِ سوالِ کاربر (آواتار + متا) و حبابِ پاسخِ کیانُت — */
.qa-list { display: grid; gap: 12px; align-content: start; }
.qa-list__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.qa-list__title { display: inline-flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 700; font-size: 15.5px; }
.qa-list__title svg { width: 19px; height: 19px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qa-count {
  display: inline-flex; align-items: center;
  background: var(--accent-tint); border: 1px solid rgba(0,170,183,.25);
  color: var(--c-teal-800); font-weight: 700; font-size: 11.5px;
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.qa-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-top-right-radius: 26px;                    /* گوشهٔ جریان در RTL */
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.qa-item[open] { border-color: rgba(0, 170, 183, .4); box-shadow: var(--shadow-card); }
.qa-item__q {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 16px;
  cursor: pointer; list-style: none;
}
.qa-item__q::-webkit-details-marker { display: none; }
.qa-item__avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--c-teal-800);
  font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(0, 134, 145, .25);
}
.qa-item__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.qa-item__title { color: var(--heading); font-weight: 700; font-size: 14px; line-height: 1.8; transition: color var(--dur-fast) var(--ease-out); }
.qa-item__q:hover .qa-item__title { color: var(--brand-deep); }
.qa-item__meta { color: var(--text); font-size: 11.5px; font-weight: 400; }
.qa-item__meta b { color: var(--c-teal-800); font-weight: 700; }
.qa-item__q .kn-faq__chev { margin-top: 4px; }
.qa-item[open] .kn-faq__chev { transform: rotate(180deg); background: var(--accent); color: #fff; }
.qa-item__a { padding: 0 16px 16px; }
/* حبابِ پاسخ — تینتِ فیروزه با لبهٔ تأکیدِ سمتِ شروع (امضای خطِ کیانُت) */
.qa-answer {
  background: rgba(0, 170, 183, .07);
  border-inline-start: 3px solid var(--accent);
  border-radius: 12px;
  border-start-start-radius: 4px;
  padding: 13px 15px;
}
.qa-answer__head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.qa-answer__badge {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 3px #fff, 0 0 0 4px rgba(0,170,183,.45);
}
.qa-answer__badge img { width: 17px; height: 17px; object-fit: contain; }
.qa-answer__by { display: flex; flex-direction: column; line-height: 1.5; }
.qa-answer__by b { color: var(--brand-deep); font-weight: 700; font-size: 12.5px; }
.qa-answer__by span { color: var(--text); font-size: 11px; font-weight: 400; }
.qa-answer p { color: var(--heading); font-weight: 400; font-size: 13.5px; line-height: 2.05; margin: 0; }

/* فرمِ سوال در چیدمانِ دوستونی: کارتِ سفیدِ هم‌قدِ لیست */
.qa-form--card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  border-top-left-radius: 32px;
  padding: clamp(18px, 2.4vw, 26px);
  margin: 0; max-width: none;
}

/* — مقیاس‌پذیریِ لیستِ پرسش‌ها (آرشیو به‌مرور بزرگ می‌شود) —
     جست‌وجوی زنده + نمایشِ تدریجی + لینکِ آرشیوِ کامل */
.qa-search { position: relative; }
.qa-search svg {
  position: absolute; inset-inline-start: 13px; inset-block-start: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px; pointer-events: none;
  color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.qa-search input { padding-inline-start: 40px; }
.qa-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 46px;
  border: 1.5px dashed rgba(0, 170, 183, .4);
  border-radius: 14px;
  background: rgba(255, 255, 255, .65);
  color: var(--c-teal-800); font: inherit; font-weight: 700; font-size: 13.5px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.qa-more:hover, .qa-more:focus-visible { background: #fff; border-color: var(--accent); }
.qa-more svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.qa-archive {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-teal-800); font-weight: 700; font-size: 13px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.qa-archive:hover, .qa-archive:focus-visible { color: var(--accent); }
.qa-archive svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qa-empty {
  text-align: center; color: var(--text); font-size: 13px; line-height: 1.9;
  padding: 16px 14px;
  background: rgba(255, 255, 255, .65);
  border: 1.5px dashed var(--border-strong);
  border-radius: 14px;
}

/* — پنلِ «پرسش و پاسخ»: فرمِ سوال روی سطحِ یاسیِ روشن با فیلدهای لیبل‌دار — */
.qa-panel {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 26px;
  border-top-left-radius: var(--radius-flow);
  padding: clamp(22px, 3vw, 38px);
}
.qa-form { display: grid; gap: 16px; margin-top: 22px; max-width: 720px; margin-inline: auto; }
/* پیامِ خطای فرمِ سوال روی پنلِ یاسیِ روشن: تضادِ AA (پیش‌فرضِ kn-error کافی نیست) */
.qa-panel .kn-error { color: var(--c-teal-800); }
.qa-form label { display: block; color: var(--heading); font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.qa-form textarea.field { min-height: 130px; resize: vertical; line-height: 1.95; padding-top: 12px; }
.qa-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.qa-hint {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text); font-size: 12.5px; margin-top: 10px;
}
.qa-hint svg { width: 16px; height: 16px; flex: none; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   ۱۵) پنلِ شبکه‌های اجتماعی روی سطحِ روشن (بازاستفادهٔ social-grid مودال)
   ========================================================================== */
.kn-social-panel {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 26px;
  border-top-left-radius: var(--radius-flow);
  padding: clamp(22px, 3vw, 36px);
}
.kn-social-panel .social-grid { margin-top: 20px; }
@media (min-width: 768px)  { .kn-social-panel .social-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .kn-social-panel .social-grid { grid-template-columns: repeat(4, 1fr); } }
.kn-social-panel .social-tile { border-color: rgba(15,46,64,.08); background: #fff; }

/* ==========================================================================
   ۱۶) آرشیو مجلهٔ سلامتی (blog.html) — کارتِ ویژه + فیلتر/جست‌وجو + گریدِ مقالات
   ========================================================================== */

/* — کارتِ مطلبِ ویژه: افقی (تصویر + محتوا)، هم‌خانوادهٔ blog-card — */
.blog-feature {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-flow);     /* گوشهٔ جریان در RTL */
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
@media (min-width: 1024px) { .blog-feature { grid-template-columns: 1.15fr 1fr; } }
.blog-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 170, 183, .35);
}
.blog-feature__media { position: relative; overflow: hidden; }
.blog-feature__img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
@media (min-width: 1024px) { .blog-feature__img { aspect-ratio: auto; min-height: 340px; } }
.blog-feature:hover .blog-feature__img { transform: scale(1.04); }
/* بَجِ «جدیدترین مطلب» روی تصویر */
.blog-feature__badge {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-cta); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0, 134, 145, .6);
}
.blog-feature__badge svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.blog-feature__body {
  display: flex; flex-direction: column; justify-content: center;
  gap: 12px; padding: clamp(22px, 3vw, 42px);
}
.blog-feature__title {
  margin: 0;
  color: var(--heading); font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.7;
}
.blog-feature__title a {
  color: inherit; text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.blog-feature__title a:hover, .blog-feature__title a:focus-visible { color: var(--c-teal-700); }
.blog-feature__excerpt {
  margin: 0; color: var(--text);
  font-size: 14.5px; line-height: 2;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* — تولبارِ آرشیو: جست‌وجو + چیپ‌های فیلتر — */
.blog-toolbar { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 26px; }
.blog-search { position: relative; width: 100%; max-width: 430px; }
.blog-search svg {
  position: absolute; inset-inline-start: 13px; inset-block-start: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px; pointer-events: none;
  color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.blog-search input { width: 100%; padding-inline-start: 40px; }
.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* چیپِ فیلتر — هم‌خانوادهٔ .kn-anchor در نسخهٔ button؛ حالتِ فعال از kn-quicknav */
.blog-filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid rgba(0, 170, 183, .28);
  color: var(--c-teal-800); font: inherit; font-weight: 700; font-size: 13px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.blog-filter:hover, .blog-filter:focus-visible {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 170, 183, .7);
}
.blog-filter.is-active {
  background: var(--grad-cta); color: #fff; border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(0, 134, 145, .8);
}

/* — گریدِ مقالات: بازاستفادهٔ کاملِ .blog-card خارج از اسلایدر — */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-grid .blog-card { flex: none; }
/* قانونِ حیاتی: display:flexِ کارت قانونِ [hidden] مرورگر را بی‌اثر می‌کند */
.blog-grid .blog-card[hidden] { display: none; }
.blog-empty { grid-column: 1 / -1; }

/* — دکمهٔ «نمایش مطالب بیشتر»: پیلِ خط‌چینِ هم‌خانوادهٔ qa-more — */
.blog-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 30px;
  border: 1.5px dashed rgba(0, 170, 183, .4);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  color: var(--c-teal-800); font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.blog-more:hover, .blog-more:focus-visible { background: #fff; border-color: var(--accent); }
/* display:inline-flexِ دکمه قانونِ [hidden] مرورگر را خنثی می‌کند (همان دامِ blog-card) */
.blog-more[hidden] { display: none; }
.blog-more svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   ۱۷) صفحهٔ مطلبِ مجله (blog-single.html) — هیروی پست + بدنهٔ مقاله + دیدگاه‌ها
   ========================================================================== */

/* — هیروی پست: سنتر؛ breadcrumb + دسته + متا + تصویرِ شاخص — */
.post-hero { text-align: center; max-width: 880px; margin-inline: auto; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 22px; margin-top: 18px;
}
.post-meta__item {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text); font-size: 13px; font-weight: 600;
}
.post-meta__item svg { width: 16px; height: 16px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-meta__author {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--heading); font-weight: 700; font-size: 13.5px;
}
.post-meta__avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--brand-deep);
  font-weight: 700; font-size: 14px;
  box-shadow: 0 0 0 1px rgba(0, 134, 145, .25);
}

/* تصویرِ شاخص — قابِ عریضِ جریان (نه halo-frame؛ تریتمنتِ مقاله‌ای) */
.post-figure {
  position: relative;
  margin: 30px auto 0; max-width: 960px;
  border-radius: 26px; border-top-right-radius: var(--radius-flow);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.post-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1024px) { .post-figure img { aspect-ratio: 21 / 9; } }
.post-figure__cap {
  position: absolute; inset-inline-start: 14px; inset-block-end: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .92); color: var(--c-navy-900);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  box-shadow: 0 4px 12px -4px rgba(15, 46, 64, .35);
}
.post-figure__cap svg { width: 14px; height: 14px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* — ستونِ مقاله: اندازهٔ سطرِ راحت برای فارسی — */
.post-layout { max-width: 800px; margin-inline: auto; }

/* — فهرستِ مطالب (TOC): باکسِ بازشو + شمارهٔ فارسی + اسکرول‌اسپای — */
.post-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-right-radius: 26px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-top: 8px;
}
.post-toc[open] { border-color: rgba(0, 170, 183, .4); }
.post-toc[open] .kn-faq__chev { transform: rotate(180deg); background: var(--accent); color: #fff; }
.post-toc__head {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px;
  cursor: pointer; list-style: none;
  color: var(--heading); font-weight: 700; font-size: 15px;
}
.post-toc__head::-webkit-details-marker { display: none; }
.post-toc__head .kn-faq__chev { margin-inline-start: auto; }
.post-toc__title-ic {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--brand-deep);
}
.post-toc__title-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-toc__list {
  list-style: none; counter-reset: toc;
  margin: 0; padding: 2px 18px 18px;
  display: grid; gap: 2px;
}
@media (min-width: 640px) { .post-toc__list { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.post-toc__link {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0;
  color: var(--heading); font-size: 13.5px; font-weight: 600; line-height: 1.8;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.post-toc__link::before {
  counter-increment: toc; content: counter(toc, persian);
  flex: none; width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--accent-tint); color: var(--c-teal-800);
  font-size: 11px; font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.post-toc__link:hover, .post-toc__link:focus-visible { color: var(--accent); }
.post-toc__link.is-active { color: var(--accent); }
.post-toc__link.is-active::before { background: var(--accent); color: #fff; }

/* — بدنهٔ مقاله: تایپوگرافیِ کاملِ فارسی — */
.post-body { margin-top: 34px; color: var(--text); font-size: 15.5px; font-weight: 400; line-height: 2.15; }
.post-body p { margin: 0 0 18px; }
.post-body strong, .post-body b { color: var(--heading); font-weight: 700; }
.post-body a {
  color: var(--brand-deep); font-weight: 600; text-decoration: none;
  border-bottom: 1px dashed rgba(0, 134, 145, .45);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.post-body a:hover, .post-body a:focus-visible { color: var(--accent); border-color: var(--accent); }
/* h2 با لبهٔ تأکیدِ گرادیانی (امضای خطِ کیانُت) */
.post-body h2 {
  position: relative;
  color: var(--heading); font-size: clamp(19px, 2.6vw, 23px); font-weight: 700; line-height: 1.7;
  margin: 42px 0 16px; padding-inline-start: 16px;
}
.post-body h2::before {
  content: "";
  position: absolute; inset-inline-start: 0; inset-block-start: .35em;
  width: 4px; height: 1.15em; border-radius: 4px;
  background: var(--grad-flow);
}
.post-body > h2:first-child { margin-top: 0; }
.post-body h3 {
  display: flex; align-items: center; gap: 9px;
  color: var(--heading); font-size: 17px; font-weight: 700;
  margin: 30px 0 10px;
}
.post-body h3::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 999px;
  background: var(--grad-flow);
}
.post-body ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.post-body ul li { position: relative; padding-inline-start: 21px; }
.post-body ul li::before {
  content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: .78em;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--grad-flow);
}
.post-body ol { list-style: persian; margin: 0 0 18px; padding-inline-start: 24px; display: grid; gap: 9px; }
.post-body ol li::marker { color: var(--c-teal-700); font-weight: 700; }
.post-body blockquote {
  margin: 26px 0; padding: 18px 20px;
  background: rgba(0, 170, 183, .07);
  border-inline-start: 3px solid var(--accent);
  border-radius: 12px; border-start-start-radius: 4px;
  color: var(--heading); font-weight: 500; font-size: 14.5px; line-height: 2.1;
}
.post-body blockquote p { margin: 0; }
.post-body blockquote cite { display: block; margin-top: 8px; color: var(--text); font-size: 12.5px; font-weight: 400; font-style: normal; }
.post-body figure { margin: 26px 0; }
.post-body figure img {
  display: block; width: 100%;
  border-radius: var(--radius-lg); border-top-right-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.post-body figcaption { margin-top: 10px; text-align: center; color: var(--text); font-size: 12.5px; }
.post-body .price-wrap { margin: 26px 0; }

/* باکسِ نکته (info) و هشدار (warn — سرمه‌ایِ درون‌پالت، بدونِ قرمزِ خارج از پالت) */
.post-note {
  display: flex; gap: 13px; align-items: flex-start;
  margin: 26px 0; padding: 16px 18px;
  border-radius: 16px; border-top-right-radius: 26px;
  background: var(--accent-tint);
  border: 1px solid rgba(0, 170, 183, .28);
}
.post-note__ic {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--accent);
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 3px #fff, 0 0 0 4px rgba(0, 170, 183, .45);
}
.post-note__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-note__title { display: block; color: var(--heading); font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.post-note__body p { margin: 0; color: var(--c-teal-950); font-size: 13.5px; line-height: 2.05; }
.post-note--warn { background: rgba(15, 46, 64, .05); border-color: var(--border-strong); }
.post-note--warn .post-note__ic { color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 0 0 3px #fff, 0 0 0 4px rgba(15, 46, 64, .3); }
.post-note--warn .post-note__body p { color: var(--heading); }

/* — جداکننده + اشتراک‌گذاری + برچسب‌ها — */
.post-divider { border: 0; border-top: 1px dashed var(--border-strong); margin: 34px 0 24px; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-share__label, .post-tags__label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--heading); font-weight: 700; font-size: 14px;
}
.post-share__label svg, .post-tags__label svg { width: 18px; height: 18px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* دکمهٔ اشتراک — رسپیِ blog-nav__btn */
.post-share__btn {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--surface); color: var(--heading);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  cursor: pointer; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-instant) var(--ease-out);
}
.post-share__btn svg { width: 19px; height: 19px; }
.post-share__btn:hover, .post-share__btn:focus-visible, .post-share__btn.is-copied {
  background: var(--accent); border-color: transparent; color: #fff;
}
.post-share__btn:hover { transform: translateY(-2px); }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
/* نسخهٔ فشردهٔ چیپِ لنگر برای دسته/برچسب‌ها */
.kn-anchor--sm { min-height: 36px; padding: 7px 14px; font-size: 12.5px; }

/* — باکسِ نویسنده — */
.post-author {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-left-radius: var(--radius-flow);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--shadow-card);
  margin-top: 34px;
}
@media (max-width: 480px) { .post-author { flex-direction: column; align-items: center; text-align: center; } }
.post-author__avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--brand-deep);
  font-weight: 800; font-size: 26px;
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 5px #fff, 0 0 0 6px rgba(0, 170, 183, .5);
}
.post-author__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.post-author__eyebrow { color: var(--text); font-size: 12px; font-weight: 600; }
.post-author__name { color: var(--heading); font-weight: 700; font-size: 16.5px; margin: 2px 0 0; }
.post-author__role { display: block; color: var(--brand-deep); font-weight: 600; font-size: 13px; margin-top: 2px; }
.post-author__bio { color: var(--text); font-weight: 300; font-size: 13.5px; line-height: 2.05; margin: 10px 0 0; }

/* — ناوبریِ مطلبِ قبلی/بعدی: دو کارتِ آینه‌ای با گوشهٔ جریانِ معکوس — */
.post-nav { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.post-nav__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(0, 170, 183, .35); }
.post-nav__card--prev { border-top-right-radius: 32px; }
.post-nav__card--next { border-top-left-radius: 32px; align-items: flex-end; text-align: left; }
.post-nav__label {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--c-teal-800); font-size: 12.5px; font-weight: 700;
}
.post-nav__label svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-nav__title {
  color: var(--heading); font-size: 14.5px; font-weight: 700; line-height: 1.9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* — دیدگاه‌ها: کارتِ دیدگاه + پاسخِ تو در تو + پاسخِ رسمیِ کیانُت — */
.comment-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.comment {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px; border-top-right-radius: 26px;
  padding: 16px 18px;
}
.comment__head { display: flex; align-items: center; gap: 11px; }
.comment__by { display: flex; flex-direction: column; line-height: 1.6; }
.comment__name { color: var(--heading); font-weight: 700; font-size: 13.5px; }
.comment__date { color: var(--text); font-size: 11.5px; }
.comment__badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin-inline-start: auto;
  background: var(--accent-tint); border: 1px solid rgba(0, 170, 183, .25);
  color: var(--c-teal-800); font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.comment__badge svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.comment__text { color: var(--text); font-size: 13.5px; line-height: 2.05; margin: 10px 0 0; }
.comment__reply {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  color: var(--c-teal-800); font-weight: 700; font-size: 12.5px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.comment__reply:hover, .comment__reply:focus-visible { color: var(--accent); }
.comment__reply svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* پاسخ‌های تو در تو با خطِ اتصالِ گرادیانی (امضای تایم‌لاین) */
.comment__children {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; gap: 12px;
  margin-inline-start: clamp(18px, 5vw, 44px);
  position: relative;
}
.comment__children::before {
  content: "";
  position: absolute; inset-block: 6px; inset-inline-start: -14px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(rgba(0, 170, 183, .45), rgba(0, 170, 183, .06));
}
/* پاسخِ رسمیِ کیانُت — تینت + لبهٔ تأکیدِ سمتِ شروع (امضای qa-answer) */
.comment--official {
  background: rgba(0, 170, 183, .06);
  border-color: rgba(0, 170, 183, .25);
  border-inline-start: 3px solid var(--accent);
  border-start-start-radius: 4px;
}

/* ==========================================================================
   Dark mode — پوششِ صفحاتِ داخلی (هم‌الگوی بلوکِ دارکِ styles.css)
   متن‌ها توکنی‌اند و خودشان روشن می‌شوند؛ این‌جا فقط سطوحِ سفیدِ هاردکد و
   جوهرهای تیرهٔ ثابت (teal-800 / brand-deep) روی کارتِ تیره اصلاح می‌شوند.
   چیپ‌های تینتِ روشن (kn-anchor / blog-filter / qa-count و…) عمداً روشن
   می‌مانند: متنِ teal-800 روی آن‌ها خواناست و لهجهٔ برند را حفظ می‌کند.
   ========================================================================== */

/* ── کارت‌های سفیدِ هاردکد → سطحِ کارتِ تیرهٔ توکن ─────────────────────────── */
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .mv-card,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .kn-review,
html[data-theme="dark"] .kn-cred,
html[data-theme="dark"] .cc-card,
html[data-theme="dark"] .map-panel__info,
html[data-theme="dark"] .kn-faq,
html[data-theme="dark"] .qa-item,
html[data-theme="dark"] .qa-form--card,
html[data-theme="dark"] .post-toc,
html[data-theme="dark"] .post-author,
html[data-theme="dark"] .post-nav__card,
html[data-theme="dark"] .comment,
html[data-theme="dark"] .price-wrap,
html[data-theme="dark"] .link-card,
html[data-theme="dark"] .video-card { background: var(--card); }

/* ── Placeholder تصویر: تینتِ تیرهٔ فیروزه به‌جای تینتِ روشن ───────────────── */
html[data-theme="dark"] .ph-media {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(0, 170, 183, .14) 0%, rgba(0, 170, 183, 0) 55%),
    rgba(0, 170, 183, 0.08);
  border-color: rgba(0, 170, 183, 0.4);
  color: var(--c-teal-200);
}
html[data-theme="dark"] .ph-media__meta {
  background: rgba(14, 37, 49, 0.75);
  border-color: rgba(0, 170, 183, 0.35);
  color: var(--c-teal-200);
}

/* ── مدالِ سالِ تایم‌لاین: سرمه‌ایِ پایدار + حلقهٔ هم‌رنگِ پس‌زمینهٔ تیره ──────── */
html[data-theme="dark"] .kn-tl__year {
  background: var(--brand-surface);
  box-shadow: inset 0 0 0 1.5px rgba(0, 170, 183, .55), 0 0 0 5px #0a1922;
}

/* ── دکمه‌ها/باکس‌های خط‌چینِ نیمه‌سفید ─────────────────────────────────────── */
html[data-theme="dark"] .qa-more,
html[data-theme="dark"] .blog-more,
html[data-theme="dark"] .qa-empty { background: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .qa-more:hover,
html[data-theme="dark"] .qa-more:focus-visible,
html[data-theme="dark"] .blog-more:hover,
html[data-theme="dark"] .blog-more:focus-visible { background: rgba(255, 255, 255, 0.10); }

/* ── کاشی‌های شبکه‌ها روی پنلِ داخلی (هم‌الگوی مودالِ دارک) ─────────────────── */
html[data-theme="dark"] .kn-social-panel .social-tile {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .10);
}

/* ── جوهرِ تیرهٔ ثابت روی کارت/سطحِ تیره → فیروزهٔ روشن ────────────────────── */
html[data-theme="dark"] .price-table .price-val,
html[data-theme="dark"] .ot-card__tag,
html[data-theme="dark"] .qa-item__meta b,
html[data-theme="dark"] .qa-archive,
html[data-theme="dark"] .post-nav__label,
html[data-theme="dark"] .comment__reply,
html[data-theme="dark"] .qa-more,
html[data-theme="dark"] .blog-more,
html[data-theme="dark"] .qa-panel .kn-error { color: var(--c-teal-200); }
html[data-theme="dark"] .ot-card__tag { border-top-color: rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .team-card__role,
html[data-theme="dark"] .cc-card__links a,
html[data-theme="dark"] .cc-card__links span,
html[data-theme="dark"] .post-author__role,
html[data-theme="dark"] .qa-answer__by b,
html[data-theme="dark"] .post-body a { color: var(--c-teal-300); }
html[data-theme="dark"] .kn-faq__q:hover,
html[data-theme="dark"] .qa-item__q:hover .qa-item__title,
html[data-theme="dark"] .blog-feature__title a:hover,
html[data-theme="dark"] .blog-feature__title a:focus-visible { color: var(--c-teal-200); }

/* ── باکسِ نکته/هشدارِ مقاله: تینتِ روشن → تینتِ تیره + متنِ توکنی ──────────── */
html[data-theme="dark"] .post-note { background: rgba(0, 170, 183, 0.10); }
html[data-theme="dark"] .post-note__body p { color: var(--text); }
html[data-theme="dark"] .post-note--warn { background: rgba(255, 255, 255, 0.04); }

/* ── کپشنِ روی تصویرِ شاخص (هم‌الگوی blog-card__tag در دارک) ───────────────── */
html[data-theme="dark"] .post-figure__cap {
  background: rgba(14, 37, 49, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--heading);
}

/* ── گزینه‌های selectِ بومی (پس‌زمینهٔ سفیدِ پیش‌فرض + متنِ روشنِ توکنی) ──────── */
html[data-theme="dark"] .kn-select option { background: #122a35; color: #eaf6f8; }
