/* صفحه اول پلاسما (plusmaco.ir) و سه صفحه حقوقی
   مرجع ظاهر: docs/plasma-home-1405-07/reference/Main.dc.html ؛ مشخصات: docs/plasma-home-1405-07/docs/spec-plusma-home.md
   بدون منبع بیرونی ؛ قلم خود میزبان ؛ تم با data-theme روی html (js/plasma-init.js) */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2?v=4e3fa217d3") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── تم ─────────────────────────────────────────────── */
:root,
:root[data-theme="light"] {
  /* «only light»: حالت تیره خودکار مرورگرهای گوشی (کروم اندروید ، سامسونگ ، شیائومی) تم روشن را تیره نکند ؛
     «light» تنها کافی نیست (آزموده با WebContentsForceDark). تم تیره خودش color-scheme: dark دارد. */
  color-scheme: only light;
  --bg: #F2F5F9;
  --card: #FFFFFF;
  --glass: rgba(255, 255, 255, .78);
  --line: rgba(11, 56, 140, .12);
  --text: #0B1E3F;
  --muted: #4D5B70;
  --wash: rgba(14, 165, 183, .16);
  --grid: rgba(11, 56, 140, .09);
  --grid2: rgba(11, 56, 140, .035);
  --chip-bg: #FFFFFF;
  --ty-poster: #FFFBF1;
  --py-poster: #FCF7EF;
  --feat-bg: rgba(255, 255, 255, .75);
  --soft: #EEF3F9;
  --accent: #0EA5B7;
  --accent-text: #0A7482;
  --brand: #0B388C;
  --gold-text: #8F6115;
  --bronze-text: #7A5F3B;
  --link: #0B388C;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08142B;
  --card: #0E1F3D;
  --glass: rgba(14, 31, 61, .72);
  --line: rgba(220, 230, 245, .13);
  --text: #EEF2F8;
  --muted: #A8B6CC;
  --wash: rgba(14, 165, 183, .18);
  --grid: rgba(95, 211, 224, .14);
  --grid2: rgba(125, 211, 252, .09);
  --chip-bg: #F7F4EE;
  --ty-poster: #121A2E;
  --py-poster: #16161F;
  --feat-bg: rgba(255, 255, 255, .05);
  --soft: rgba(255, 255, 255, .05);
  --accent-text: #5FD3E0;
  --gold-text: #E2B65A;
  --bronze-text: #CDB08A;
  --link: #8FC8FF;
}
/* تصویرها و لوگوهای وابسته به تم */
:root[data-theme="dark"] .th-light,
:root:not([data-theme="dark"]) .th-dark { display: none !important; }

/* ─── پایه ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid2) 1px, transparent 1px), linear-gradient(90deg, var(--grid2) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--text);
  line-height: 1.85;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
picture { display: contents; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; top: -60px; right: 16px; z-index: 100;
  padding: 10px 18px; border-radius: 12px; background: var(--brand); color: #FFFFFF; font-weight: 800;
}
.skip:focus { top: 12px; color: #FFFFFF; }
.ltr { direction: ltr; unicode-bidi: isolate; }
section[id], [id="tasmim"], [id="peymankar"], [id="tasmim-legal"], [id="assistants"], [id="qanunyar"], [id="gharardadyar"] { scroll-margin-top: 100px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 20px; }
/* clip و نه hidden: hidden ظرف پیمایش می سازد و سربرگ چسبان را از کار می اندازد */
.page { overflow-x: clip; }

.g2, .g3, .g4, .g5 { display: grid; }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.eyebrow { font-size: 14px; font-weight: 800; color: var(--accent-text); letter-spacing: 1px; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto; }
.sec-head h2, .h2 { margin: 6px 0 14px; font-size: clamp(30px, 5vw, 48px); font-weight: 900; line-height: 1.3; }
.sec-head p { font-size: 17px; color: var(--muted); }

/* دکمه ها */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 28px; border-radius: 16px; font-weight: 800; font-size: 16px;
}
.btn-primary { background: var(--brand); color: #FFFFFF; }
.btn-primary:hover { color: #FFFFFF; }
.btn-ghost { background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.lift { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(11, 56, 140, .35); }
.pulse { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 56, 140, .45); }
  70% { box-shadow: 0 0 0 16px rgba(11, 56, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 56, 140, 0); }
}
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; line-height: 1.7; white-space: nowrap; }
.badge-live { color: #0B6A4A; background: #DDF5EA; }
.badge-soon { color: #0B5F70; background: #DDF6FA; }
.badge-soon-b { color: #5A4330; background: #F1E6D6; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-20 { width: 20px; height: 20px; }

/* رنگ اختصاصی شرکت ها */
.k-qc { --c: #E11D2E; } .k-eng { --c: #E11D2E; } .k-tec { --c: #0EA5E9; } .k-fin { --c: #0D9488; }
.k-bus { --c: #6F2D8D; } .k-cli { --c: #A3B03F; } .k-aca { --c: #F7931E; } .k-tri { --c: #D61F69; }
.k-bra { --c: #F4A38A; } .k-shp { --c: #10B981; }

/* ─── سربرگ ───────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 20; padding: 14px 20px 0; }
.head-bar {
  max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding: 10px 14px 10px 22px; border-radius: 20px; background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -20px rgba(11, 56, 140, .4);
}
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.navlinks { display: flex; flex-wrap: nowrap; justify-content: center; gap: 2px 20px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.navlinks a { color: var(--muted); padding: 10px 0; }
.navlinks a:hover { color: var(--accent-text); }
.navlinks .nav-cta { display: none; }
/* منوی کشویی محصولات */
.navdd { position: relative; display: flex; align-items: center; }
.navdd-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; color: var(--muted); padding: 10px 0; cursor: pointer; }
.navdd-btn:hover, .navdd.open .navdd-btn { color: var(--accent-text); }
.navdd-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.ic-dd { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s; }
.navdd.open .ic-dd { transform: rotate(180deg); }
.ddpanel {
  display: none; position: absolute; top: calc(100% + 12px); right: 50%; transform: translateX(50%); width: 380px; padding: 10px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 30, 63, .55); z-index: 30; flex-direction: column; gap: 2px; white-space: normal;
}
.navdd.open .ddpanel { display: flex; }
.ddpanel a { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--text); }
.ddpanel a:hover, .ddpanel a:focus-visible { background: var(--bg); color: var(--text); }
.ddpanel a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.ddpanel picture { display: flex; }
.ddpanel img { height: 20px; width: auto; max-width: 124px; object-fit: contain; object-position: right center; }
.dd-logo { display: flex; justify-self: start; }
.dd-name { font-weight: 900; font-size: 15px; color: #287E88; }
:root[data-theme="dark"] .dd-name { color: #6FD3DC; }
/* لوگوهایی که نسخه تیره ندارند در تم تیره روی پلاک روشن می نشینند */
.dd-plate { display: flex; justify-self: start; }
:root[data-theme="dark"] .dd-plate { padding: 4px 8px; border-radius: 9px; background: rgba(255, 255, 255, .94); }
:root[data-theme="dark"] .dd-plate img { height: 17px; max-width: 108px; }
.dds { font-size: 13px; color: var(--muted); line-height: 1.5; font-weight: 500; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.burger { display: none; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }
:root[data-theme="dark"] .theme-btn .ic-moon,
:root:not([data-theme="dark"]) .theme-btn .ic-sun { display: none; }
.head-cta { background: var(--brand); color: #FFFFFF; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 14px; white-space: nowrap; }
.head-cta:hover { color: #FFFFFF; }

/* ─── بخش اول ─────────────────────────────────────────── */
.hero { position: relative; margin-top: -78px; padding: 132px 20px 64px; }
.bp {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 78%);
}
.hero-wash { position: absolute; inset: 0; background: radial-gradient(900px 480px at 50% 0%, var(--wash), transparent 65%); pointer-events: none; }
.hero-in { position: relative; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-logo { width: 260px; max-width: 70%; height: auto; }
.slogan-fa { font-size: 20px; font-weight: 800; color: var(--muted); }
.slogan-fa .accent { color: var(--accent-text); }
.word { display: inline-block; animation: wordIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.word.w2 { animation-delay: .25s; } .word.w3 { animation-delay: .5s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.slogan { font-size: 54px; line-height: 1.35; font-weight: 900; letter-spacing: -.5px; }
.hero-sub { font-size: 20px; font-weight: 700; max-width: 760px; }
.hero-text { font-size: 17px; color: var(--muted); max-width: 820px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.window { position: relative; width: 100%; margin-top: 26px; padding: 22px; }
.corner { position: absolute; width: 54px; height: 54px; border: 0 solid var(--accent); }
.corner.c1 { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 14px; }
.corner.c2 { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 14px; }
.corner.c3 { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 14px; }
.corner.c4 { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 14px; }
.hud-label { position: absolute; top: -4px; font-size: 11px; letter-spacing: 3px; color: var(--accent-text); font-family: ui-monospace, Consolas, monospace; line-height: 1.2; }
.hud-label.r { right: 70px; } .hud-label.l { left: 70px; }

.arch {
  position: relative; width: 100%; height: 540px; overflow: hidden; isolation: isolate;
  border-radius: 600px 600px 28px 28px / 320px 320px 28px 28px;
  box-shadow: 0 40px 80px -40px rgba(11, 56, 140, .6), 0 0 0 1px rgba(14, 165, 183, .35);
  background: #0B1E3F;
}
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide { opacity: 0; animation: heroFade 28s infinite; }
.slide.s1 { opacity: 1; }
.slide.s2 { animation-delay: 7s; } .slide.s3 { animation-delay: 14s; } .slide.s4 { animation-delay: 21s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.12); } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; transform: scale(1); } }
.slide.s1 { animation-name: heroFadeFirst; }
@keyframes heroFadeFirst { 0% { opacity: 1; transform: scale(1.06); } 25% { opacity: 1; } 29% { opacity: 0; } 96% { opacity: 0; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1.06); } }
.still { animation: kb 30s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.arch-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 27, 69, .55), rgba(7, 27, 69, 0) 55%); }
.scan { position: absolute; left: 0; right: 0; height: 140px; top: -140px; background: linear-gradient(to bottom, transparent, rgba(95, 211, 224, .30), transparent); animation: scan 6.5s linear infinite; pointer-events: none; }
@keyframes scan { to { top: 100%; } }
.arch-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.dash { stroke-dasharray: 5 7; animation: dash 2.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -48; } }
.hnode { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hnode.n1 { top: 62%; left: 78%; } .hnode.n2 { top: 40%; left: 50%; } .hnode.n3 { top: 62%; left: 22%; }
.node { width: 14px; height: 14px; border-radius: 50%; background: #5FD3E0; border: 3px solid #FFFFFF; animation: nodeP 2.4s ease-out infinite; }
.hnode.n2 .node { animation-delay: .8s; } .hnode.n3 .node { animation-delay: 1.6s; }
@keyframes nodeP { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 224, .75); } 100% { box-shadow: 0 0 0 20px rgba(95, 211, 224, 0); } }
.hnode-t { padding: 6px 14px; border-radius: 999px; background: rgba(7, 27, 69, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; font-size: 14px; font-weight: 800; border: 1px solid rgba(95, 211, 224, .45); white-space: nowrap; line-height: 1.6; }

.hero-bar {
  position: relative; z-index: 2; max-width: 860px; margin: -44px auto 0; gap: 0; border-radius: 22px; background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(11, 56, 140, .55); overflow: hidden;
}
.hero-bar a { padding: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text); font-weight: 900; }
.hero-bar a + a { border-inline-start: 1px solid var(--line); }
.hero-bar img { height: 22px; width: auto; }
.pixgrid { position: absolute; bottom: 30px; display: grid; grid-template-columns: repeat(3, 8px); gap: 4px; }
.pixgrid.r { right: -6px; } .pixgrid.l { left: -6px; }
.pix { width: 8px; height: 8px; background: var(--brand); animation: blink 3s ease-in-out infinite; }
.pix.t { background: var(--accent); }
.pix.d1 { animation-delay: .5s; } .pix.d2 { animation-delay: 1s; } .pix.d3 { animation-delay: 1.5s; } .pix.d4 { animation-delay: 2s; }
@keyframes blink { 0%, 100% { opacity: .18; } 50% { opacity: 1; } }
:root[data-theme="dark"] .pix:not(.t) { background: #5B8BE0; }

/* نوار شعار */
.marquee-band { border-block: 1px solid var(--line); background: var(--card); padding: 18px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 48px; font-size: 22px; font-weight: 800; color: var(--muted); white-space: nowrap; animation: marq 40s linear infinite; }
.marquee > div { display: flex; gap: 48px; }
.marquee .sq1 { color: var(--accent); } .marquee .sq2 { color: #D4B483; } .marquee .sq3 { color: var(--brand); }
:root[data-theme="dark"] .marquee .sq3 { color: #5B8BE0; }
@keyframes marq { to { transform: translateX(50%); } }

/* ─── فلسفه و داستان ──────────────────────────────────── */
.story { padding-top: 56px; padding-bottom: 16px; }
.story-card { position: relative; border-radius: 32px; overflow: hidden; background: var(--card); border: 1px solid var(--line); padding: 36px 36px 30px; box-shadow: 0 30px 60px -50px rgba(11, 56, 140, .5); }
.topline { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, #0EA5B7, #0B388C, #7C3AED); }
.story-card > .eyebrow { text-align: center; }
.eq { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 10px; }
.eq-box { padding: 14px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: center; min-width: 150px; }
.eq-box b { display: block; font-size: 36px; font-weight: 900; line-height: 1.3; }
.eq-box span { font-size: 13px; color: var(--muted); }
.eq-op { display: flex; align-items: center; font-size: 38px; font-weight: 900; color: var(--accent); }
.plus { display: inline-block; animation: plusSpin 6s ease-in-out infinite; }
@keyframes plusSpin { 0%, 70% { transform: rotate(0) scale(1); } 85% { transform: rotate(180deg) scale(1.25); } 100% { transform: rotate(180deg) scale(1); } }
.plasma-tile { background: linear-gradient(135deg, rgba(14, 165, 183, .55), rgba(124, 58, 237, .55)); border: 1px solid rgba(127, 230, 240, .6); box-shadow: 0 0 40px rgba(14, 165, 183, .35), inset 0 0 30px rgba(255, 255, 255, .08); }
.eq-box.plasma-tile { min-width: 180px; color: #FFFFFF; }
.eq-box.plasma-tile span { color: #FFFFFF; }
:root:not([data-theme="dark"]) .eq-box.plasma-tile { background: linear-gradient(135deg, #0B7F8D, #6A3FC4); }
.story-grid { gap: 28px; margin-top: 26px; align-items: center; }
.story-grid > p { font-size: 16px; color: var(--muted); text-align: center; }
.states { display: flex; justify-content: center; align-items: center; gap: 6px; }
.state { width: 84px; text-align: center; }
.state-box { height: 64px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 5px; }
.state-t { font-size: 12px; margin-top: 4px; color: var(--muted); }
.state-t.on { color: var(--accent-text); font-weight: 900; }
.state-arrow { color: var(--accent); opacity: .6; }
.state-arrow.on { opacity: 1; }
.solid { width: 22px; height: 22px; background: #9FB2D3; border-radius: 4px; }
.wobble { width: 24px; height: 24px; background: #9FB2D3; border-radius: 50% 50% 50% 8px; animation: wob 4s ease-in-out infinite; }
@keyframes wob { 0%, 100% { border-radius: 50% 50% 50% 8px; } 50% { border-radius: 40% 60% 45% 55%; } }
.gas { width: 7px; height: 7px; background: #9FB2D3; border-radius: 50%; animation: gasF 2.4s ease-in-out infinite; }
.gas:nth-child(2) { animation-delay: .6s; } .gas:nth-child(3) { animation-delay: 1.2s; }
@keyframes gasF { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-10px); opacity: 1; } }
.glow-dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, #FFFFFF, #7FE6F0 45%, #A78BFA); }
.glow { animation: glow 2.8s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 18px 2px rgba(14, 165, 183, .45); } 50% { box-shadow: 0 0 0 8px rgba(14, 165, 183, .12), 0 0 38px 10px rgba(14, 165, 183, .7); } }
.states-note { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.thread { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line); }
.thread-line { position: relative; max-width: 760px; margin: 0 auto; height: 44px; display: flex; align-items: center; }
.thread-rail { position: absolute; right: 0; left: 0; top: 50%; height: 2px; background: var(--line); overflow: hidden; }
.threadlight { position: absolute; top: 0; width: 180px; height: 2px; background: linear-gradient(90deg, transparent, #0EA5B7, transparent); animation: thread 4s linear infinite; }
@keyframes thread { from { right: -180px; } to { right: 100%; } }
.beads { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: center; }
.bead { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--card), 0 6px 14px -6px var(--c); animation: bob 3.2s ease-in-out infinite; }
.bead:nth-child(2) { animation-delay: .32s; } .bead:nth-child(3) { animation-delay: .64s; } .bead:nth-child(4) { animation-delay: .96s; }
.bead:nth-child(5) { animation-delay: 1.28s; } .bead:nth-child(6) { animation-delay: 1.6s; } .bead:nth-child(7) { animation-delay: 1.92s; }
.bead:nth-child(8) { animation-delay: 2.24s; } .bead:nth-child(9) { animation-delay: 2.56s; } .bead:nth-child(10) { animation-delay: 2.88s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.thread p { margin-top: 8px; font-size: 15px; font-weight: 800; text-align: center; }

/* ─── افق و فراخوان (قاب تصویر) ───────────────────────── */
.frame-sec { padding: 24px 20px; }
.img-frame { position: relative; max-width: 1280px; margin: 0 auto; border-radius: 40px; overflow: hidden; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.img-frame > img, .img-frame picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-frame .shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 27, 69, .82), rgba(7, 27, 69, .55) 70%); }
.img-frame .frame-in { position: relative; max-width: 780px; padding: 56px 32px; text-align: center; color: #FFFFFF; }
.frame-in .kicker { font-size: 14px; font-weight: 800; color: #E3C590; letter-spacing: 1px; }
.frame-in h2 { margin: 6px 0 16px; font-size: clamp(32px, 5vw, 48px); font-weight: 900; line-height: 1.3; }
.frame-in p { font-size: 18px; opacity: .92; }
.cta-sec { padding: 64px 20px 32px; }
.cta-sec .img-frame { min-height: 400px; }
.cta-sec .shade { background: radial-gradient(ellipse at center, rgba(6, 18, 46, .85), rgba(6, 18, 46, .5) 75%); }
.cta-sec .frame-in { max-width: 720px; padding: 48px 32px; }
.cta-sec h2 { margin: 0 0 10px; font-size: clamp(30px, 4.4vw, 42px); line-height: 1.35; }
.cta-sec p { margin: 0 0 24px; font-size: 17px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-white { background: #FFFFFF; color: #0B388C; }
.btn-white:hover { color: #0B388C; }
.btn-outline-w { border: 1px solid rgba(255, 255, 255, .6); color: #FFFFFF; font-weight: 700; }
.btn-outline-w:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }

/* ─── اکوسیستم ────────────────────────────────────────── */
.eco { padding-top: 88px; padding-bottom: 32px; }
/* شبکه در هر عرضی کامل دیده می شود: plasma.js نسبت کوچک شدن را در --orbit-s می گذارد (عرض در دسترس تقسیم بر ۸۳۰). */
.orbit { display: flex; justify-content: center; margin-top: 24px; height: calc(700px * var(--orbit-s, 1)); overflow: hidden; }
.orbit-in { position: relative; flex: none; width: 720px; height: 680px; transform: scale(var(--orbit-s, 1)); transform-origin: top center; }
.halo { position: absolute; inset: 90px 110px; border-radius: 50%; border: 2px dashed var(--line); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-svg line { stroke: var(--c); }
.orbit-svg .base { stroke-opacity: .35; stroke-width: 1.5; }
.eco-flow { stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 300; animation: ecoF 3.6s linear infinite; }
@keyframes ecoF { from { stroke-dashoffset: 314; } to { stroke-dashoffset: 0; } }
.eco-chord { fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 7; opacity: .75; animation: ecoC 2.4s linear infinite; }
@keyframes ecoC { to { stroke-dashoffset: -44; } }
.d1 { animation-delay: .32s; } .d2 { animation-delay: .64s; } .d3 { animation-delay: .96s; } .d4 { animation-delay: 1.28s; }
.d5 { animation-delay: 1.6s; } .d6 { animation-delay: 1.92s; } .d7 { animation-delay: 2.24s; } .d8 { animation-delay: 2.56s; } .d9 { animation-delay: 2.88s; }
.orbit-core {
  position: absolute; top: 50%; left: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 56, 140, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.orbit-core img { width: 160px; height: auto; }
.orbit-core span { font-size: 13px; font-weight: 800; color: var(--muted); }
.eco-node { position: absolute; width: 0; height: 0; }
.eco-node > div {
  position: absolute; width: 170px; left: -85px; top: -38px; padding: 8px 10px; border-radius: 18px;
  background: var(--chip-bg); border: 1px solid var(--line); border-bottom: 3px solid var(--c);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: transform .3s;
}
.eco-node:hover > div { transform: translateY(-4px) scale(1.04); }
.eco-node img { max-width: 100%; height: 20px; width: auto; object-fit: contain; }
.eco-node span { font-size: 13px; font-weight: 900; color: #0B1E3F; line-height: 1.6; }
.en0 { left: 360px; top: 50px; } .en1 { left: 550.9px; top: 105.4px; } .en2 { left: 668.9px; top: 250.4px; }
.en3 { left: 668.9px; top: 429.6px; } .en4 { left: 550.9px; top: 574.6px; } .en5 { left: 360px; top: 630px; }
.en6 { left: 169.1px; top: 574.6px; } .en7 { left: 51.1px; top: 429.6px; } .en8 { left: 51.1px; top: 250.4px; }
.en9 { left: 169.1px; top: 105.4px; }
/* عرض کم (نسبت زیر ۰٫۷): اندازه ها پیش از کوچک شدن بزرگ تر می شوند تا پس از آن خوانا بمانند */
.orbit.is-sm .eco-node > div { width: 200px; left: -100px; top: -46px; padding: 6px 5px; }
.orbit.is-sm .eco-node img { width: 190px; height: auto; }
.orbit.is-sm .eco-node span { font-size: 22px; line-height: 1.3; }
.orbit.is-sm .orbit-core span { font-size: 22px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.legend > span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.legend i.dashed { background: repeating-linear-gradient(90deg, #A58B57 0 6px, transparent 6px 10px); }
.pillars { gap: 12px; margin-top: 8px; }
.pillars > div { padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 800; text-align: center; }
.cos { gap: 14px; margin-top: 48px; }
.co { position: relative; padding: 26px 18px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.co-bar { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--c); transform: scaleX(.18); transform-origin: center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.co:hover .co-bar { transform: scaleX(1); }
.co-logo { height: 34px; display: flex; align-items: center; justify-content: center; width: 100%; }
.co-logo img { height: 26px; width: auto; max-width: 100%; }
.co h3 { font-size: 17px; font-weight: 900; line-height: 1.6; }
.co p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.domains { margin-top: 56px; text-align: center; }
.domains > h3 { font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.domains .g5 { gap: 14px; }
.domain { padding: 22px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.domain .num { font-size: 13px; font-weight: 900; color: var(--accent-text); }
.domain h4 { margin: 0; font-size: 20px; font-weight: 900; }
.domain p { font-size: 14px; color: var(--muted); }

/* ─── محصولات ─────────────────────────────────────────── */
.products { padding-top: 88px; padding-bottom: 32px; }
.products .sec-head { margin-bottom: 36px; }
.posters { gap: 28px; align-items: stretch; grid-auto-rows: 1fr; }
/* ─── دستیاران هوشمند: ردیف تمام عرض زیر دو پوستر ─── */
.assts { margin-top: 56px; }
.assts .sec-head { margin-bottom: 26px; }
.assts-h { margin: 6px 0 0; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; line-height: 1.4; }
.asst-grid { gap: 28px; align-items: stretch; }
.asst {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 170px; border-radius: 34px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 40px 70px -48px rgba(11, 30, 63, .55);
}
.asst.ty { background: var(--ty-poster); --tone: var(--gold-text); --tone-dot: #A8741A; }
.asst.py { background: var(--py-poster); --tone: var(--bronze-text); --tone-dot: #8B6F47; }
.asst-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 28px; text-align: right; }
.asst-art {
  order: 2; position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(242, 163, 58, .16), rgba(242, 163, 58, .04));
  border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.asst-girih { position: absolute; inset: 0; color: #C46A0C; opacity: .16; }
.asst-tile {
  position: relative; width: 112px; height: 112px; border-radius: 28px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line);
  box-shadow: 0 22px 40px -22px rgba(196, 106, 12, .6); display: flex; align-items: center; justify-content: center; animation: bob 6s ease-in-out infinite;
}
.asst-tile img { width: 78px; height: auto; }
.asst-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asst-logo { padding: 10px 16px; border-radius: 16px; }
.asst-logo img { height: 26px; width: auto; }
.asst-status { padding: 7px 14px; font-size: 13px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; flex: none; }
.asst-logo { min-width: 0; }
.asst-logo img { max-width: 100%; object-fit: contain; }
.asst .prod-name { margin: 0; font-size: 32px; }
.asst .prod-rule { width: 110px; height: 4px; margin: 6px 0 10px; background: linear-gradient(270deg, #F2A33A, transparent); }
.asst .prod-tag { font-size: 16px; }
.asst .pdesc { margin: 0; max-width: none; min-height: 0; display: block; font-size: 15px; line-height: 1.9; }
.asst-feats { align-self: flex-start; justify-content: flex-start; gap: 8px 14px; padding: 10px 20px; border-radius: 24px; }
.asst-feats > span { gap: 7px; font-size: 14px; }
.asst-feats .ic { width: 18px; height: 18px; }
.asst-feats i { width: 4px; height: 4px; }
.asst-feats .badge { font-size: 11px; padding: 1px 8px; }
.asst-cta { align-self: flex-start; margin-top: auto; font-size: 16px; padding: 8px 10px 8px 26px; }
.asst-cta .pcta-ic { width: 38px; height: 38px; background: linear-gradient(135deg, #F8C77A, #E8892A); color: #2A1400; }
.prod { position: relative; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: 0 40px 70px -48px rgba(11, 30, 63, .55); }
.prod.ty { background: var(--ty-poster); --poster: var(--ty-poster); --tone: var(--gold-text); --tone-dot: #A8741A; }
.prod.py { background: var(--py-poster); --poster: var(--py-poster); --tone: var(--bronze-text); --tone-dot: #8B6F47; }
.prod-media { position: relative; height: 320px; overflow: hidden; }
.prod-media img.pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.prod:hover .pimg { transform: scale(1.08); }
.prod-media .fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--poster) 4%, rgba(255, 255, 255, 0) 62%); }
.prod-top { position: absolute; top: 20px; right: 20px; left: 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.prod-logo { padding: 12px 18px; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); }
.prod-logo img { height: 34px; width: auto; }
.prod-status { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-weight: 900; font-size: 14px; color: #0B1E3F; line-height: 1.5; }
.prod-status.live { color: #0B6A4A; }
.prod-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #E3A72F; }
.prod-status.live .dot { background: #10B981; animation: nodeP 2.4s ease-out infinite; }
.prod-body { position: relative; margin-top: -70px; padding: 0 28px 30px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; text-align: center; flex: 1; }
.prod-name { font-size: clamp(36px, 4vw, 46px); font-weight: 900; line-height: 1.25; }
.prod-rule { width: 140px; height: 5px; margin: 6px auto 12px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--tone-dot), transparent); }
.prod-tag { font-size: 18px; font-weight: 800; line-height: 1.6; color: var(--tone); }
.pdesc { margin: 0 auto; max-width: 520px; font-size: 15px; color: var(--muted); min-height: 3.7em; display: flex; align-items: center; justify-content: center; }
.feats { align-self: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding: 12px 26px; border-radius: 999px; background: var(--feat-bg); border: 1px solid var(--line); }
.feats > span { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.feats .ic { color: var(--tone); width: 20px; height: 20px; }
.feats i { width: 6px; height: 6px; border-radius: 50%; background: var(--tone-dot); opacity: .6; }
.mcards { gap: 12px; margin-top: 4px; }
.mcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-align: right; box-shadow: 0 12px 26px -22px rgba(11, 30, 63, .55); min-height: 150px; }
.mcard:hover { color: var(--text); border-color: rgba(184, 134, 11, .4); }
.mcard.wide { grid-column: 1 / -1; }
.mc-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.mc-ic.t1 { background: #FBF0DA; color: #A8741A; } .mc-ic.t2 { background: #E3ECFB; color: #2B5BB5; }
.mc-ic.t3 { background: #DDF3EA; color: #14805E; } .mc-ic.t4 { background: #ECE6FA; color: #6D4BC4; }
.mc-ic.t5 { background: #FBE4E6; color: #C2414B; } .mc-ic.t6 { background: #FCEFD3; color: #B7791F; }
.mc-t { display: block; font-size: 17px; font-weight: 900; line-height: 1.5; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-s { display: block; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-go { position: absolute; top: 18px; left: 16px; color: var(--muted); opacity: .7; }
.pcta { align-self: center; margin-top: 6px; display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 30px; border-radius: 999px; background: #0B1E45; color: #FFFFFF; font-weight: 900; font-size: 17px; box-shadow: 0 18px 34px -18px rgba(11, 30, 69, .8); }
.pcta:hover { color: #FFFFFF; }
:root[data-theme="dark"] .pcta { background: #1A3366; }
.pcta > span:first-child { padding-right: 18px; }
.pcta-ic { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #F3D48A, #D4A017); color: #2A1E00; display: flex; align-items: center; justify-content: center; }
.py .pcta-ic { background: linear-gradient(135deg, #F3D48A, #C9A36A); }
.legal-box { margin-top: 4px; border: 1px dashed rgba(184, 134, 11, .55); border-radius: 18px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.legal-box > span { font-size: 14px; font-weight: 900; }
.legal-box a { font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--text); }

/* ─── مدار هوشمند ─────────────────────────────────────── */
.madar { position: relative; padding: 72px 20px 64px; }
.mz-box { position: relative; max-width: 1280px; margin: 0 auto; border-radius: 40px; background: #F7F8F5; color: #142B3B; border: 1px solid rgba(165, 139, 87, .35); box-shadow: 0 40px 80px -60px rgba(20, 43, 59, .6); overflow: hidden; }
.mz-box .topline { background: linear-gradient(90deg, #17665A, #287E88, #A58B57); }
.mz-pad { position: relative; padding: 48px 40px 40px; }
.mz-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.mz-col { display: flex; flex-direction: column; gap: 10px; }
.mz-col + .mz-col { gap: 14px; }
.mz-kicker { font-size: 14px; font-weight: 800; color: #17665A; }
.mz-titlerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mz-title { font-size: 22px; font-weight: 900; color: #1F6D76; }
.mz-soon { font-size: 12px; font-weight: 800; color: #6E5629; border: 1px solid rgba(165, 139, 87, .6); padding: 2px 12px; border-radius: 999px; }
.mz-h2 { font-size: 42px; font-weight: 900; line-height: 1.4; color: #142B3B; }
.mz-lead { font-size: 18px; line-height: 1.9; color: #51616B; }
.mz-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* «مشاهده مدار» دکمه اصلی ؛ «درخواست معرفی مدار» دکمه دوم */
.mz-tour {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 26px 6px 8px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #17665A, #287E88); color: #FFFFFF; font-family: inherit; font-weight: 900; font-size: 17px; cursor: pointer;
  box-shadow: 0 18px 36px -16px rgba(23, 102, 90, .85);
}
.mz-play { position: relative; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #F3D48A, #A58B57); color: #142B3B; display: flex; align-items: center; justify-content: center; flex: none; }
.mz-play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(243, 212, 138, .8); animation: tourRing 2.2s ease-out infinite; }
@keyframes tourRing { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.mz-tour.on .mz-play::after { animation: none; opacity: 0; }
.ic-fill { fill: currentColor; stroke: none; }
.mz-play .ic { width: 20px; height: 20px; }
.mz-play .ic-pause, .mz-tour.on .ic-play { display: none; }
.mz-tour.on .ic-pause { display: block; width: 18px; height: 18px; }
.mz-tour-tx { text-align: right; line-height: 1.5; }
.mz-tour-l { display: block; }
.mz-tour-s { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.mz-req { display: flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid #17665A; color: #17665A; font-weight: 900; font-size: 16px; }
.mz-req:hover { color: #17665A; }
.mz-note { display: flex; align-items: center; gap: 10px; }
.mz-note i { width: 10px; height: 10px; border-radius: 50%; background: #287E88; box-shadow: 0 0 0 4px rgba(40, 126, 136, .15); flex: none; }
.mz-note span { font-size: 15px; font-weight: 700; }
.mz-in { animation: mzIn .4s ease-out both; }
@keyframes mzIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.mz-frame { position: relative; margin-top: 30px; border-radius: 26px; overflow: hidden; background: #E9E4D8; border: 1px solid rgba(165, 139, 87, .35); }
.mz-inner { position: relative; width: 100%; aspect-ratio: 1983 / 793; overflow: hidden; container-type: inline-size; }
.mz-group { position: absolute; inset: 0; transform: translate(var(--mx, 0px), var(--my, 0px)) scale(1.012); transition: transform .3s ease-out; }
.mz-group > picture img, .mz-group > img { position: absolute; inset: 0; width: 100%; height: 100%; }

.mz-dash { position: absolute; padding: 10px 12px; border-radius: 6px; background: linear-gradient(170deg, #1B3446, #142B3B); color: #DDE8E4; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .24s, outline-color .24s; outline: 2px solid transparent; overflow: hidden; }
.mz-dash.dg-0 { left: 29.349%; top: 29.634%; width: 13.263%; height: 21.690%; }
.mz-dash.dg-1 { left: 42.864%; top: 29.634%; width: 13.364%; height: 21.690%; }
.mz-dash.dg-2 { left: 56.480%; top: 29.634%; width: 11.952%; height: 21.690%; }
.mz-dash-t { display: flex; justify-content: space-between; align-items: center; gap: 6px; white-space: nowrap; font-size: clamp(8px, .95cqw, 13px); font-weight: 900; color: #FFFFFF; line-height: 1.5; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mz-dash-t > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.mz-dash-title.long { font-size: .8em; letter-spacing: -.2px; }
.mz-live { display: flex; align-items: center; gap: 4px; font-size: clamp(7px, .65cqw, 10px); font-weight: 800; color: #7FD8C8; }
.mz-live i { width: 7px; height: 7px; border-radius: 50%; background: #4FB3A3; animation: hubP 1.6s ease-out infinite; }
.mz-rows { display: flex; flex-direction: column; gap: 6px; }
.mz-row { display: flex; align-items: center; gap: 6px; font-size: clamp(7px, .78cqw, 11px); color: #A9BDB7; line-height: 1.5; transition: color .2s; }
.mz-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-row i { flex: none; width: 22%; display: block; height: 5px; border-radius: 5px; background: rgba(169, 189, 183, .18); overflow: hidden; }
.mz-row b { display: block; height: 100%; width: var(--w, 50%); border-radius: 5px; background: rgba(169, 189, 183, .45); transition: background .25s, width .5s; animation: barIn .7s ease-out both; }
@keyframes barIn { from { width: 0; } }
.mz-row em { font-style: normal; flex: none; min-width: 22%; text-align: left; font-weight: 900; color: #DDE8E4; }
.mz-row.on { color: #FFFFFF; font-weight: 800; }
.mz-row.on b { background: #4FB3A3; }
.mz-row.on em { color: #7FD8C8; }
.w30 { --w: 30%; } .w35 { --w: 35%; } .w40 { --w: 40%; } .w45 { --w: 45%; } .w48 { --w: 48%; } .w50 { --w: 50%; }
.w55 { --w: 55%; } .w60 { --w: 60%; } .w65 { --w: 65%; } .w70 { --w: 70%; } .w72 { --w: 72%; }
.mz-spark { width: 100%; height: 14%; min-height: 12px; }
.mz-spark path { fill: none; stroke: #4FB3A3; stroke-width: 2; vector-effect: non-scaling-stroke; }
.spk { stroke-dasharray: 200; stroke-dashoffset: 200; animation: spk .9s ease-out forwards; }
@keyframes spk { to { stroke-dashoffset: 0; } }
.dg-in { animation: dgA .4s ease-out both; }
@keyframes dgA { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mz-dash-f { margin-top: auto; font-size: clamp(7px, .62cqw, 10px); color: #8FA59D; }
.mz-dash.on { outline-color: #4FB3A3; box-shadow: 0 0 0 4px rgba(79, 179, 163, .25), 0 0 28px rgba(79, 179, 163, .5); }

.mz-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mz-svg path { fill: none; transition: stroke-opacity .25s, stroke-width .25s; }
.mz-base { stroke: #FFFFFF; stroke-width: 2.5; stroke-opacity: .75; stroke-dasharray: 3 7; animation: flowD 3s linear infinite; }
.mz-act { stroke: #17665A; stroke-width: 0; stroke-opacity: 0; stroke-linecap: round; stroke-linejoin: round; }
.mz-act.on { stroke-width: 6; stroke-opacity: .95; stroke-dasharray: 14 12; animation: flowD .9s linear infinite; }
.mz-dpath { stroke: #287E88; stroke-width: 5; stroke-opacity: 0; stroke-dasharray: 10 10; animation: flowD 1s linear infinite; }
.mz-dpath.on { stroke-opacity: .9; }
.mz-marker { fill: #287E88; stroke: #FFFFFF; stroke-width: 3; }
.mz-marker.m2 { fill: #17665A; }
@keyframes flowD { to { stroke-dashoffset: -24; } }

.mz-hub { position: absolute; left: 49.7%; top: 69.6%; min-width: 13.2%; height: 7.6%; padding: 0 .8em; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: #FBF8F1; border: 1.5px solid #4FB3A3; color: #142B3B; font-weight: 800; font-size: clamp(10px, 1.15cqw, 16px); box-shadow: 0 0 0 6px rgba(79, 179, 163, .14), 0 10px 22px -12px rgba(20, 43, 59, .5); white-space: nowrap; }
.mz-hub-dot { width: 10px; height: 10px; border-radius: 50%; background: #17665A; animation: hubP 2.4s ease-out infinite; flex: none; }
@keyframes hubP { 0% { box-shadow: 0 0 0 0 rgba(23, 102, 90, .5); } 100% { box-shadow: 0 0 0 12px rgba(23, 102, 90, 0); } }

/* کپسول های واحد روی صحنه: دو ستون هفت تایی */
.mz-pill {
  position: absolute; display: flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: .9em;
  background: rgba(251, 248, 241, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .75); color: #142B3B; font-size: clamp(9px, .98cqw, 14px); font-weight: 800; line-height: 1.45;
  white-space: nowrap; cursor: pointer; z-index: 3; box-shadow: 0 8px 18px -12px rgba(20, 43, 59, .55);
  transition: box-shadow .2s, background .2s, color .2s, border-color .2s, opacity .2s;
}
.mz-pill.L { left: 18.759%; transform: translate(-100%, -50%); }
.mz-pill.R { left: 81.241%; transform: translate(0, -50%); }
.mz-pill.y1 { top: 31.526%; } .mz-pill.y2 { top: 40.984%; } .mz-pill.y3 { top: 50.441%; } .mz-pill.y4 { top: 59.899%; }
.mz-pill.y5 { top: 69.357%; } .mz-pill.y6 { top: 78.815%; } .mz-pill.y7 { top: 88.272%; }
.mz-pic { display: flex; color: #17665A; }
.mz-pic .ic { width: 1.25em; height: 1.25em; }
.mz-pdot { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #FFFFFF; border: 2px solid #4FB3A3; animation: hubP 2.4s ease-out infinite; }
.mz-pill.L .mz-pdot { left: auto; right: -5px; }
.mz-pill.R .mz-pdot { right: auto; left: -5px; }
.mz-pill.on { background: #17665A; color: #FFFFFF; border-color: #17665A; box-shadow: 0 0 0 5px rgba(23, 102, 90, .2), 0 14px 26px -12px rgba(20, 43, 59, .7); z-index: 4; }
.mz-pill.on .mz-pic { color: #FFFFFF; }
.mz-pill.on .mz-pdot { background: #4FB3A3; border-color: #FFFFFF; }
.mz-pill.dim { opacity: .72; }
.mz-pill.pinned, .mz-chip.pinned { box-shadow: 0 0 0 4px rgba(165, 139, 87, .65), 0 14px 26px -12px rgba(20, 43, 59, .7); }
.mz-pill:focus-visible, .mz-chip:focus-visible, .mz-tour:focus-visible { outline: 3px solid #287E88; outline-offset: 3px; }

.mz-under { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 18px; align-items: start; }
.mz-picker { display: none; grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 8px; }
.mz-chip { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 8px; border-radius: 14px; background: #FFFFFF; border: 1px solid rgba(20, 43, 59, .12); color: #142B3B; font-size: 13px; font-weight: 800; cursor: pointer; line-height: 1.5; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.mz-chip .ic { width: 18px; height: 18px; color: #17665A; }
.mz-chip.on { background: #17665A; border-color: #17665A; color: #FFFFFF; }
.mz-chip.on .ic { color: #FFFFFF; }
.mz-card { min-height: 170px; padding: 16px; border-radius: 20px; background: #FFFFFF; border: 1px solid rgba(20, 43, 59, .08); box-shadow: 0 20px 40px -34px rgba(20, 43, 59, .6); }
.mz-card-in { display: flex; flex-direction: column; gap: 12px; }
.mz-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mz-card-id { display: flex; align-items: center; gap: 10px; }
.mz-card-ic { width: 42px; height: 42px; border-radius: 12px; background: #E3F0EC; color: #17665A; display: flex; align-items: center; justify-content: center; flex: none; }
.mz-card-ic .ic { width: 20px; height: 20px; }
.mz-card-t { font-size: 17px; font-weight: 900; }
.mz-card-s { font-size: 13px; color: #51616B; }
.mz-badge { font-size: 12px; font-weight: 800; color: #6E5629; border: 1px solid rgba(165, 139, 87, .55); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.mz-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mz-metric { padding: 12px; border-radius: 12px; background: #F4F6F2; border: 1px solid rgba(20, 43, 59, .06); }
.mz-metric b { display: block; font-size: 20px; font-weight: 900; color: #17665A; line-height: 1.4; }
.mz-metric span { display: block; font-size: 13px; color: #51616B; line-height: 1.6; }
.mz-side { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .6); border: 1px dashed rgba(20, 43, 59, .18); }
.mz-side[hidden] { display: none; }
.mz-step-h { display: flex; justify-content: space-between; font-size: 13px; color: #51616B; }
.mz-step-t { font-size: 17px; font-weight: 900; }
.mz-dots { display: flex; gap: 6px; }
.mz-dots i { flex: 1; height: 4px; border-radius: 4px; background: rgba(20, 43, 59, .12); }
.mz-dots i.on { background: #17665A; }
.mzc { animation: mzCard .22s ease-out both; }
@keyframes mzCard { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mz-paused *, .mz-paused *::before, .mz-paused *::after { animation-play-state: paused !important; }
.mz-paused .mz-group { transform: none; }

/* ─── چرخه ارزش ───────────────────────────────────────── */
.chain { padding-top: 88px; padding-bottom: 32px; }
.chain .sec-head { max-width: 760px; }
.cycle-wrap { display: flex; justify-content: center; margin-top: 16px; }
.cycle-in { position: relative; width: 580px; height: 580px; }
.cycle-in .halo { inset: 80px; }
.travel { position: absolute; inset: 80px; animation: spin 14s linear infinite; }
.travel span { position: absolute; top: -8px; left: 50%; margin-left: -8px; width: 16px; height: 16px; border-radius: 50%; background: #0EA5B7; box-shadow: 0 0 18px 4px rgba(14, 165, 183, .6); }
.cycle-core { position: absolute; top: 50%; left: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; background: #071B45; color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cycle-core b { font-size: 22px; font-weight: 900; }
.cycle-core span { font-size: 12px; opacity: .8; }
.cy { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.cy0 { transform: rotate(-90deg) translateX(210px) rotate(90deg); }
.cy1 { transform: rotate(-30deg) translateX(210px) rotate(30deg); }
.cy2 { transform: rotate(30deg) translateX(210px) rotate(-30deg); }
.cy3 { transform: rotate(90deg) translateX(210px) rotate(-90deg); }
.cy4 { transform: rotate(150deg) translateX(210px) rotate(-150deg); }
.cy5 { transform: rotate(210deg) translateX(210px) rotate(-210deg); }
.cy-card { position: absolute; width: 150px; left: -75px; top: -38px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(11, 56, 140, .45); text-align: center; }
.cy-name { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 900; }
.cy-name i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.cy-sub { font-size: 12px; color: var(--muted); }
.cycle-list { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.cycle-list > div { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.cycle-list .cy-sub { font-size: 13px; }
.k-c1 { --c: #F7931E; } .k-c2 { --c: #A3B03F; } .k-c3 { --c: #0D9488; } .k-c4 { --c: #0EA5E9; } .k-c5 { --c: #D61F69; } .k-c6 { --c: #10B981; }

/* ─── ارزش ها ─────────────────────────────────────────── */
.values { padding-top: 80px; padding-bottom: 32px; }
.values .sec-head { margin-bottom: 36px; }
.values .sec-head h2 { margin: 0; }
.values .sec-head p { margin-top: 6px; font-size: 16px; }
.vals { gap: 16px; }
.val { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.vnum { font-size: 56px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #0EA5B7; transition: color .4s; }
.val:hover .vnum { color: #0EA5B7; }
.val h3 { font-size: 21px; font-weight: 900; margin-top: 10px; }
.val p { font-size: 15px; color: var(--muted); }

/* ─── تماس ────────────────────────────────────────────── */
.contact { padding-top: 72px; padding-bottom: 88px; }
.contact .sec-head { margin-bottom: 32px; }
.contact .sec-head h2 { margin: 6px 0; font-size: clamp(30px, 4.4vw, 42px); }
.contact .sec-head p { font-size: 16px; }
.contact-grid { gap: 16px; }
.contact-card { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); text-align: center; }
.contact-card .k { font-size: 13px; color: var(--muted); }
.contact-card .v { font-size: 22px; font-weight: 800; color: var(--text); }
.contact-card .v.mail { font-size: 20px; }
.contact-card .addr { font-size: 15px; font-weight: 700; }
.contact-card .post { font-size: 13px; color: var(--muted); }

/* ─── پانویس ──────────────────────────────────────────── */
.site-foot { background: #071B45; color: #DCE6F5; }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 44px 20px 28px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.foot-logo { height: 56px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; font-size: 14px; }
.foot-nav a { color: #DCE6F5; padding: 10px 0; }
.foot-nav a:hover, .foot-legal a:hover { color: #7FE6F0; }
.foot-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.group-link { color: #FFFFFF; font-weight: 700; padding: 11px 18px; border: 1px solid rgba(220, 230, 245, .35); border-radius: 12px; }
.group-link:hover { color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.enamad-seal { min-width: 96px; min-height: 96px; border-radius: 14px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 4px; }
.enamad-seal img { max-width: 120px; height: auto; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; font-size: 13px; }
.foot-legal a { color: #C3D0E4; padding: 8px 0; }
.copy { font-size: 13px; color: #9FB0CB; border-top: 1px solid rgba(220, 230, 245, .12); padding-top: 18px; width: 100%; }

/* ─── صفحه های حقوقی (تعرفه ، قوانین ، بازگشت وجه) ─────── */
.legal { padding-top: 40px; padding-bottom: 72px; }
.legal-card { position: relative; max-width: 920px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 44px 48px 40px; overflow: hidden; box-shadow: 0 30px 60px -50px rgba(11, 56, 140, .5); }
.legal-card h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; line-height: 1.4; }
.legal-updated { margin-top: 4px; font-size: 14px; color: var(--muted); }
.legal-card h1 + p:not(.legal-updated), .legal-updated + h2, .legal-card h1 + h2 { margin-top: 18px; }
.legal-card h2 { margin: 32px 0 10px; font-size: 21px; font-weight: 900; line-height: 1.6; }
.legal-card p, .legal-card li { font-size: 16px; line-height: 2.05; }
.legal-card p + p { margin-top: 10px; }
.legal-card ul { margin: 0; padding: 0 22px 0 0; }
.legal-card ul ul { margin-top: 4px; }
.legal-card li + li { margin-top: 6px; }
.legal-card li::marker { color: var(--accent); }
.legal-card a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal-card strong { font-weight: 900; }
.table-wrap { margin: 14px 0 12px; }
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.9; }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
.legal-table thead th { background: var(--soft); font-size: 14px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.legal-table tbody th { font-weight: 800; }
.legal-table .num { font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.legal-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (max-width: 640px) {
  .legal { padding-top: 24px; padding-bottom: 48px; }
  .legal-card { padding: 30px 18px 26px; border-radius: 22px; }
  .legal-card h2 { font-size: 19px; margin-top: 26px; }
  .legal-card p, .legal-card li { font-size: 15px; }
  /* جدول ها در گوشی: هر سطر یک کارت ، با برچسب ستون کنار هر مقدار */
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table { border: 0; border-radius: 0; overflow: visible; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr { border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px; background: var(--card); }
  .legal-table tr + tr { margin-top: 10px; }
  .legal-table tbody th { padding: 10px 0 6px; border-bottom: 1px dashed var(--line); font-size: 16px; }
  .legal-table td { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; }
  .legal-table td::before { content: attr(data-label); flex: none; max-width: 42%; color: var(--muted); font-size: 13px; font-weight: 700; }
  .legal-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .legal-table tr > *:last-child, .legal-table tbody tr:last-child > *:last-child { border-bottom: 0; }
  .legal-table td:not(.num) { text-align: left; }
}

/* ─── کارایی: بخش های پایین تر تا نزدیک شدن به دید رندر و متحرک نمی شوند ─── */
.marquee-band, .story, #horizon, .eco, .products, .madar, .chain, .values, .cta-sec, .contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.marquee-band { contain-intrinsic-size: auto 70px; }
/* برآورد ارتفاع محتوای هر بخش (بدون حاشیه درونی) نزدیک به اندازه واقعی ، تا پرش به لنگرهای منو درست زیر سربرگ بنشیند */
.story { contain-intrinsic-size: auto 487px; } #horizon { contain-intrinsic-size: auto 420px; } .eco { contain-intrinsic-size: auto 1691px; } .madar { contain-intrinsic-size: auto 990px; } .products { contain-intrinsic-size: auto 2075px; } .chain { contain-intrinsic-size: auto 767px; } .values { contain-intrinsic-size: auto 587px; } .cta-sec { contain-intrinsic-size: auto 400px; } .contact { contain-intrinsic-size: auto 312px; }
@media (max-width: 1100px) {
  .eco { contain-intrinsic-size: auto 2493px; } .madar { contain-intrinsic-size: auto 1251px; } .products { contain-intrinsic-size: auto 2248px; } .values { contain-intrinsic-size: auto 614px; }
}
@media (max-width: 880px) {
  .story { contain-intrinsic-size: auto 574px; } .eco { contain-intrinsic-size: auto 2417px; } .madar { contain-intrinsic-size: auto 1235px; } .products { contain-intrinsic-size: auto 3729px; } .chain { contain-intrinsic-size: auto 450px; } .values { contain-intrinsic-size: auto 1345px; } .contact { contain-intrinsic-size: auto 539px; }
}
@media (max-width: 560px) {
  .story { contain-intrinsic-size: auto 797px; } .eco { contain-intrinsic-size: auto 2380px; } .madar { contain-intrinsic-size: auto 1768px; } .products { contain-intrinsic-size: auto 4863px; } .chain { contain-intrinsic-size: auto 470px; } .values { contain-intrinsic-size: auto 1441px; } .cta-sec { contain-intrinsic-size: auto 423px; } .contact { contain-intrinsic-size: auto 558px; }
}

/* ─── نمایش پیمایشی ───────────────────────────────────── */
@supports (animation-timeline: view()) {
  .reveal { animation: rev linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes rev { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
  .para { animation: para linear both; animation-timeline: view(); }
  @keyframes para { from { transform: translateY(-10%) scale(1.18); } to { transform: translateY(10%) scale(1.18); } }
}
@supports not (animation-timeline: view()) {
  .js .reveal { opacity: 0; transform: translateY(48px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* توقف حرکت های پیوسته بیرون از دید یا در زبانه پنهان (js/plasma.js) */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* ─── ریسپانسیو ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .burger { display: flex; }
  .navlinks { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 12px 6px; border-top: 1px solid var(--line); min-height: 44px; }
  .navdd { flex-direction: column; align-items: stretch; }
  .navdd-btn { padding: 12px 6px; border-top: 1px solid var(--line); min-height: 44px; justify-content: space-between; }
  .ddpanel { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 6px; background: transparent; }
  .ddpanel a { border-top: 0; padding: 10px 12px; min-height: 44px; }
  .mz-under { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .g5, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .mz-head { grid-template-columns: minmax(0, 1fr); }
  .mz-h2 { font-size: 36px; }
  .mz-picker { display: grid; }
  .mz-hub { font-size: 12px; }
  /* زیر ۱۰۲۴: نام واحدها در ردیف دکمه های زیر صحنه است ؛ کپسول های صحنه فقط آیکون (با نام دسترس پذیر) */
  .mz-pill { padding: .35em; font-size: clamp(8px, 1.2cqw, 13px); }
  .mz-pill .mz-pname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mz-pic .ic { width: 1.4em; height: 1.4em; }
}
@media (max-width: 880px) {
  .cycle-wrap { display: none; }
  .cycle-list { display: grid; }
  .g3, .g2 { grid-template-columns: minmax(0, 1fr); }
  .slogan { font-size: 32px; }
  .eq-op { font-size: 32px; }
  .arch { height: 380px; }
  .posters { grid-auto-rows: auto; }
  .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mz-pad { padding: 28px 16px 20px; }
  .mz-h2 { font-size: 28px; }
  .mz-inner { aspect-ratio: auto; height: 300px; }
  .mz-group { left: -62%; right: -62%; transform: none !important; }
  .mz-dash { padding: 6px 7px; gap: 3px; }
  .mz-dash-f { display: none; }
  .mz-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
  .mz-chip { font-size: 12px; padding: 6px; }
  .mz-chip.wide { grid-column: 1 / -1; }
  .mz-metrics { grid-template-columns: minmax(0, 1fr); }
  .mz-pill, .mz-svg .mz-base { display: none; }
  .mcards { grid-template-columns: minmax(0, 1fr); }
  .mcard { min-height: 0; }
  .co { padding: 22px 12px 18px; }
  .story-card { padding: 28px 18px 24px; }
  .prod-body { padding: 0 18px 24px; }
  .feats { padding: 10px 16px; }
  .img-frame { border-radius: 28px; }
  .img-frame .frame-in, .cta-sec .frame-in { padding: 44px 20px; }
}
@media (max-width: 560px) {
  .hud-label, .pixgrid { display: none; }
  .head-cta { display: none; }
  .navlinks .nav-cta { display: flex; color: var(--brand); font-weight: 800; }
  :root[data-theme="dark"] .navlinks .nav-cta { color: #8FC8FF; }
  .brand img { height: 38px; }
  .site-head { padding: 10px 12px 0; }
  .head-bar { padding: 8px 10px 8px 14px; }
  .hero { padding: 120px 16px 48px; }
  .slogan { font-size: 28px; }
  .slogan-fa { font-size: 17px; }
  .hero-sub { font-size: 17px; }
  .hero-text { font-size: 15px; }
  .window { padding: 14px; }
  .arch { height: 300px; }
  .hnode-t { font-size: 12px; padding: 4px 10px; }
  .hero-bar { margin-top: -30px; }
  .hero-bar a { padding: 12px; }
  .hero-bar a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .wrap { padding-inline: 16px; }
  .eq-box { min-width: 0; flex: 1 1 110px; }
  .eq-box b { font-size: 28px; }
  .eq-box.plasma-tile { min-width: 0; flex-basis: 100%; }
  .states { gap: 2px; }
  .state { width: 66px; }
  .domain h4 { font-size: 18px; }
  .marquee { font-size: 18px; }
  .prod-media { height: 240px; }
  .prod-logo { padding: 8px 12px; }
  .prod-logo img { height: 28px; }
  .legal-box a { padding: 7px 10px; }
  .pcta { font-size: 16px; padding-left: 20px; }
  .madar { padding: 48px 12px 40px; }
  .mz-box { border-radius: 28px; }
  .contact-card .v { font-size: 20px; }
  .vnum { font-size: 46px; }
}

/* ─── کاهش حرکت ───────────────────────────────────────── */
@media (max-width: 880px) {
  .asst-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ddpanel a { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .ddpanel img { max-width: 96px; }
  .asst { grid-template-columns: minmax(0, 1fr); }
  .asst-art { height: 120px; border-right: 0; border-bottom: 1px solid var(--line); order: -1; }
  .asst-tile { width: 84px; height: 84px; }
  .asst-tile img { width: 58px; }
  .asst-body { padding: 22px 18px 24px; }
  .asst .prod-name { font-size: 28px; }
  .mz-tour, .mz-req { width: 100%; justify-content: center; }
  .mz-tour { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slide { opacity: 0; } .slide.s1 { opacity: 1; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .mz-group { transform: none !important; }
}

/* ─── کمپین تخفیف عمومی (js/promo.js ؛ مشخصات تخفیف شروع ارائه ، بندهای ج و د) ───
   رنگ ها از هویت پلاسما: سرمه ای #10293F و نارنجی #F28A1E. همه این عنصرها را اسکریپت می سازد ؛ بدون کمپین هیچ کدام در صفحه نیست. */
.promo-bar { background: #F28A1E; color: #FFFFFF; }
.promo-bar-in { max-width: 1280px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; position: relative; padding-inline-end: 52px; }
.promo-bar-text { font-size: 15px; font-weight: 800; line-height: 1.7; text-align: center; }
.promo-bar-get { flex: none; padding: 4px 16px; border-radius: 999px; background: #10293F; color: #FFFFFF; font-size: 13.5px; font-weight: 800; line-height: 1.9; text-decoration: none; }
.promo-bar-get:hover, .promo-bar-get:focus-visible { background: #0A1B2B; }
.promo-bar-close { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(16, 41, 63, .18); color: #FFFFFF; font-size: 22px; line-height: 1; cursor: pointer; }
.promo-bar-close:hover, .promo-bar-close:focus-visible { background: rgba(16, 41, 63, .4); }
.promo-bar.is-ended { background: #10293F; }
.promo-bar.is-ended .promo-bar-text { font-weight: 700; }
.promo-bar.is-ended .promo-bar-close { background: rgba(255, 255, 255, .16); }

.promo-badge { position: absolute; top: 84px; inset-inline-end: 18px; z-index: 3; width: 104px; height: 104px; border-radius: 50%; background: #F28A1E; color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 12px 26px -10px rgba(16, 41, 63, .7); border: 3px solid #FFFFFF; transform: rotate(-8deg); }
.promo-badge strong { font-size: 30px; font-weight: 900; line-height: 1.15; }
.promo-badge span { font-size: 11.5px; font-weight: 800; line-height: 1.5; max-width: 80px; }

.promo-card { margin: 22px 0 6px; display: flex; align-items: center; gap: 22px; padding: 22px 24px; border-radius: 22px; border: 2px solid #F28A1E; background: #FFF6EA; scroll-margin-top: 110px; }
.promo-card-num { flex: none; font-size: clamp(54px, 9vw, 84px); font-weight: 900; line-height: 1; color: #F28A1E; }
.promo-card-body { min-width: 0; flex: 1; }
.legal-card .promo-card-title { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.6; color: #10293F; }
.promo-card-text { margin-top: 4px; font-size: 15.5px; line-height: 1.9; color: #10293F; }
.promo-card-row { margin-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.promo-code { padding: 8px 18px; border-radius: 12px; border: 2px dashed #10293F; background: #FFFFFF; color: #10293F; font-family: inherit; font-size: 20px; font-weight: 900; letter-spacing: 2px; line-height: 1.5; }
.promo-copy { padding: 9px 18px; border-radius: 12px; border: 0; background: #10293F; color: #FFFFFF; font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; min-width: 84px; }
.promo-copy:hover, .promo-copy:focus-visible { background: #0A1B2B; }
.promo-copy.is-done { background: #0B6A4A; }
.promo-start { margin-inline-start: auto; }
.promo-card-left { margin-top: 12px; font-size: 14.5px; font-weight: 800; color: #B45309; }
.promo-card.is-ended { border: 1px dashed var(--line); background: transparent; padding: 16px 20px; opacity: .78; }
.promo-card-ended { font-size: 15px; line-height: 1.9; color: var(--muted); }
.promo-copy-area { position: fixed; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; }

:root[data-theme="dark"] .promo-card { background: #1A2B45; border-color: #F28A1E; }
:root[data-theme="dark"] .promo-card.is-ended { background: transparent; border-color: var(--line); }
:root[data-theme="dark"] .legal-card .promo-card-title, :root[data-theme="dark"] .promo-card-text { color: #EEF2F8; }
:root[data-theme="dark"] .promo-card-left { color: #FDBA74; }
:root[data-theme="dark"] .promo-copy { background: #F28A1E; color: #10293F; }
:root[data-theme="dark"] .promo-copy:hover, :root[data-theme="dark"] .promo-copy:focus-visible { background: #FFA640; }
:root[data-theme="dark"] .promo-copy.is-done { background: #34D399; color: #10293F; }
:root[data-theme="dark"] .promo-bar.is-ended { background: #0E1F3D; border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .promo-badge { border-color: #0E1F3D; }

@media (max-width: 560px) {
  .promo-bar-in { padding: 8px 12px; padding-inline-end: 46px; }
  .promo-bar-text { font-size: 13.5px; }
  .promo-badge { width: 86px; height: 86px; top: 70px; inset-inline-end: 12px; }
  .promo-badge strong { font-size: 24px; }
  .promo-badge span { font-size: 10.5px; max-width: 68px; }
  .promo-card { flex-direction: column; align-items: stretch; text-align: center; gap: 8px; padding: 18px 16px; }
  .promo-card-row { justify-content: center; }
  .promo-start { margin-inline-start: 0; width: 100%; }
}

/* پیوند بخش های فعال اکوسیستم (کلینیک ، تریبون) */
a.eco-go { text-decoration: none; color: inherit; }
a.eco-go > div { cursor: pointer; box-shadow: 0 0 0 1.5px var(--c, #A3B03F), 0 10px 24px -14px rgba(0, 0, 0, .35); }
a.eco-go:focus-visible > div { outline: 3px solid var(--c, #0B388C); outline-offset: 3px; }
.co-link { color: inherit; text-decoration: none; }
.co-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.co-link:focus-visible { outline: none; }
.co:has(.co-link:focus-visible) { outline: 3px solid var(--c, #0B388C); outline-offset: 3px; }
.co-go { margin-top: 2px; font-size: 12.5px; font-weight: 800; color: var(--c, #0B388C); border: 1px solid currentColor; border-radius: 999px; padding: 2px 12px; }
.co-go::after { content: " ←"; }

/* ─── صفحه اول (۴ آبان ۱۴۰۵ ، به تصمیم امیر) ───
   سربرگ با تصویر و بی لوگوی بزرگ ، مدار ، یک ردیف کوچک محصولات (جزئیات در /products/) ،
   اکوسیستم با مدار هسته و زیرمجموعه ها و کارت شرکت ها در یک ردیف متحرک ، تریبون به عنوان رسانه اکوسیستم.
   پیشوند hm- فقط در صفحه اول به کار رفته است. */
@media (max-width: 699px) {
  .hero .slogan { font-size: 30px; }
  .hero .hero-text { display: none; }
}

/* محصولات فشرده */
.hm-prods { padding-top: 64px; padding-bottom: 16px; }
.hm-prod-grid { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .hm-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hm-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-prod { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--text); }
.hm-prod:hover { border-color: var(--accent); }
.hm-prod-logo { display: flex; align-items: center; height: 44px; padding: 8px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); align-self: flex-start; }
.hm-prod-logo img { height: 26px; width: auto; max-width: 180px; }
.hm-prod-txt { display: flex; flex-direction: column; gap: 4px; }
.hm-prod-txt b { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; }
.hm-prod-txt small { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.hm-more { text-align: center; margin-top: 18px; font-weight: 800; }
.hm-more a { color: var(--accent-text); }
@media (max-width: 699px) {
  .hm-prod { flex-direction: row; align-items: center; }
  .hm-prod-logo { height: 40px; padding: 6px 8px; }
  .hm-prod-logo img { height: 20px; max-width: 110px; }
}

/* کارت زیرمجموعه ها در یک ردیف متحرک (همان الگوی نوار شعار ؛ نسخه دوم کارت ها را js/plasma.js می سازد).
   بی اسکریپت یا با «کاهش حرکت» ، ردیف ثابت است و با پیمایش افقی دیده می شود. */
.cos-rail { margin-top: 40px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-block: 6px; }
.cos-rail:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 22px; }
.cos.cos-track { display: flex; width: max-content; gap: 0; margin-top: 0; }
.cos-track > .co { flex: 0 0 232px; margin-inline-end: 14px; }
.cos-rail.is-moving { overflow: hidden; -webkit-mask-image: linear-gradient(to left, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to left, transparent, #000 5%, #000 95%, transparent); }
.cos-rail.is-moving .cos-track { animation: marq 70s linear infinite; }
.cos-rail.is-moving:hover .cos-track, .cos-rail.is-moving:focus-within .cos-track { animation-play-state: paused; }
@media (max-width: 699px) { .cos-track > .co { flex-basis: 200px; } }

/* کلینیک و تریبون: کارت فشرده با رنگ برند همان شرکت (k-cli ، k-tri) */
.hm-cli, .hm-trb { padding-top: 56px; padding-bottom: 8px; }
.hm-card { display: grid; gap: 22px 36px; align-items: center; padding: 26px 28px; border: 1px solid var(--line); border-top: 4px solid var(--c, var(--accent)); border-radius: 26px; background: var(--card); }
@media (min-width: 900px) { .hm-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.hm-card-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hm-card-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; line-height: 1.4; }
.hm-card-head p { margin: 0; font-size: 15px; color: var(--muted); }
.hm-card-head .eyebrow { color: var(--c, var(--accent-text)); }
.hm-card-logo img { height: 34px; width: auto; }
.hm-card-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hm-cli-out { font-size: 14px !important; }
.hm-cli-out b { color: var(--text); }
.hm-cli-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: none; }
.hm-cli-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; }
.hm-cli-steps b { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #FFFFFF; font-weight: 900; }
.hm-cli-steps strong { font-size: 15px; font-weight: 900; }
.hm-cli-steps span { font-size: 12.5px; color: var(--muted); }
.hm-trb-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hm-trb-salons { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-trb-salons a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 800; color: var(--text); background: var(--bg, transparent); }
.hm-trb-salons a:hover { border-color: var(--c); color: var(--c); }
@media (max-width: 699px) {
  .hm-card { padding: 20px 18px; border-radius: 22px; }
  .hm-cli-steps li { padding: 10px; }
}

/* نوار محصولات زیر تصویر سربرگ: فقط لوگوها ، بی زمینه و بی برچسب وضعیت (زیر تصویر ، نه روی آن) */
.hero-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 40px; max-width: none; margin: 20px auto 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; overflow: visible; }
.hero-bar a { padding: 6px 4px; }
.hero-bar a + a { border: 0; }
.hero-bar img { height: 26px; }
.hero-bar-word { font-size: 17px; }
@media (max-width: 699px) {
  .hero-bar { margin-top: 14px; gap: 4px 24px; }
  .hero-bar a { padding: 4px; }
  .hero-bar img { height: 20px; }
  .hero-bar-word { font-size: 14px; }
}

/* تماس فشرده: سه کارت کوچک در یک ردیف ؛ در تلفن ردیف های کوتاه */
.contact { padding-top: 48px; padding-bottom: 56px; }
.contact .sec-head { margin-bottom: 20px; }
.contact-grid { gap: 10px; }
@media (min-width: 700px) { .contact-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-card { padding: 16px 18px; border-radius: 18px; }
.contact-card .v { font-size: 18px; }
.contact-card .v.mail { font-size: 15px; }
.contact-card .addr { font-size: 14px; }
.contact-card .post { font-size: 12.5px; }
@media (max-width: 699px) {
  .contact-card { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 12px 16px; text-align: start; }
  .contact-card .v { font-size: 17px; }
  .contact-card .addr, .contact-card .post { width: 100%; }
}
/* در تم تیره لوگوهای قهوه ای و خاکستری بی زمینه کم رنگ اند ؛ یک هاله روشن ملایم ، بی تغییر رنگ لوگو */
:root[data-theme="dark"] .hero-bar img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 0 10px rgba(255, 255, 255, .22)); }
/* برآورد ارتفاع محتوای اکوسیستم و تماس تازه (content-visibility) ، اندازه گیری شده در ۴ آبان ۱۴۰۵ */
.eco { contain-intrinsic-size: auto 1197px; } .contact { contain-intrinsic-size: auto 249px; }
@media (max-width: 1100px) { .eco { contain-intrinsic-size: auto 1197px; } .contact { contain-intrinsic-size: auto 275px; } }
@media (max-width: 880px) { .eco { contain-intrinsic-size: auto 1192px; } .contact { contain-intrinsic-size: auto 271px; } }
@media (max-width: 560px) { .eco { contain-intrinsic-size: auto 870px; } .contact { contain-intrinsic-size: auto 385px; } }
