/* ماشین‌نامه — سیستم بصری
   آبی کربنی + نارنجی. سطوح تیره با بافت فیبر کربن، محتوا روی زمینه روشن و تمیز.
   عنصر شاخص: تصویر فنی دستگاه تزریق که قالبش پر می‌شود، و پلاک شناسنامه. */
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 400; src: url("/r/f400") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 500; src: url("/r/f500") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 600 800; src: url("/r/f700") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 400; src: url("/r/l400") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 500; src: url("/r/l500") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 600 800; src: url("/r/l700") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --ink: #0F1C2B;
  --ink-2: #2B3B4E;
  --muted: #5E6B7A;
  --line: #DCE3EB;
  --paper: #F2F5F9;
  --white: #FFFFFF;
  --carbon: #0A1521;
  --carbon-2: #11233A;
  --carbon-3: #1A3352;
  --blue: #1F5FA8;
  --blue-2: #6AA8E6;
  --orange: #F26A1B;
  --orange-2: #FF8A3D;
  --orange-ink: #B4490F;
  --plate: #E4E8EB;
  --steel: #B9C2C9;
  --ok: #2E7D52;
  --warn: #9A6412;
  --bad: #B3261E;
  --r-sm: 8px;
  --r-md: 14px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(15, 28, 43, .06), 0 10px 30px -12px rgba(15, 28, 43, .18);
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.85; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.45; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.measure { max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.skip { position: absolute; right: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 30; }
.skip:focus { right: 16px; }
.center { text-align: center; }

/* ── بافت فیبر کربن ── */
.carbon {
  background-color: var(--carbon);
  background-image:
    radial-gradient(1200px 500px at 85% -10%, rgba(31, 95, 168, .45), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(242, 106, 27, .14), transparent 60%),
    linear-gradient(27deg, #0D1A28 5px, transparent 5px), linear-gradient(207deg, #0D1A28 5px, transparent 5px),
    linear-gradient(27deg, #12223A 5px, transparent 5px), linear-gradient(207deg, #12223A 5px, transparent 5px),
    linear-gradient(90deg, #0F1D2F 10px, transparent 10px),
    linear-gradient(#0E1B2C 25%, #0B1724 25%, #0B1724 50%, transparent 50%, transparent 75%, #13263E 75%, #13263E);
  background-size: auto, auto, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0;
  color: #E6EDF5;
}
.carbon .muted { color: #9FB0C3; }
.carbon a:not(.btn) { color: var(--orange-2); }

/* ── نوار بالا و سربرگ ── */
.topbar { background: var(--carbon); color: #A9B8C9; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #DCE6F0; text-decoration: none; }
.topbar a:hover { color: var(--orange-2); }
.topbar .tb-items { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-inline-end: 6px; vertical-align: middle; }
.site-head { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.logo img { width: 48px; height: 35px; flex: none; object-fit: contain; }
.logo small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.logo:hover { color: var(--ink); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); font-size: .95rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-inline-start: 10px; }
.menu { display: none; margin-inline-start: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .95rem; background: var(--white); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; inset-inline: 0; top: 74px; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 2px; box-shadow: var(--shadow); }
.menu-panel a { padding: 11px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--paper); }

/* ── دکمه‌ها ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .98rem;
  padding: 12px 24px; border-radius: var(--r-sm); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.4; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(242, 106, 27, .7); }
.btn-primary:hover { background: #E05A10; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.carbon .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.carbon .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-quiet { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 7px 16px; font-size: .9rem; }

/* ── قهرمان ── */
.hero { position: relative; padding: 72px 0 140px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; color: #DCE6F0; margin-bottom: 18px; }
.hero .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 27, .25); }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 span { color: var(--orange-2); }
.hero .lead { font-size: 1.12rem; color: #B9C7D6; max-width: 48ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; color: #C9D6E3; font-size: .95rem; }
.hero-checks li { position: relative; padding-inline-start: 26px; }
.hero-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: rgba(242, 106, 27, .18); border: 1.5px solid var(--orange); }
.hero-checks li::after { content: ""; position: absolute; inset-inline-start: 5px; top: 11px; width: 6px; height: 3.5px; border-left: 2px solid var(--orange-2); border-bottom: 2px solid var(--orange-2); transform: rotate(-45deg); }

/* انیمیشن تصویر دستگاه */
.mold-fill { transform-box: fill-box; transform-origin: 100% 50%; animation: fill 4.8s ease-in-out infinite; }
@keyframes fill { 0%, 8% { transform: scaleX(0); } 45%, 80% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); opacity: 0; } }
.nozzle-glow { animation: glow 4.8s ease-in-out infinite; }
@keyframes glow { 0%, 8% { opacity: .2; } 20%, 45% { opacity: 1; } 60%, 100% { opacity: .2; } }
.screw-flights { animation: screw .9s linear infinite; }
@keyframes screw { to { stroke-dashoffset: -24; } }
.heater { animation: heat 2.4s ease-in-out infinite alternate; }
.heater:nth-of-type(2n) { animation-delay: .6s; }
@keyframes heat { from { fill: #7A2E0B; } to { fill: #E0601A; } }

/* ── نوار آمار ── */
.stats { position: relative; z-index: 2; margin-top: -84px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: 2.2rem; line-height: 1.2; color: var(--orange); font-weight: 800; }
.stat span { color: var(--ink-2); font-size: .95rem; }

/* ── بخش‌ها ── */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.kicker { display: inline-block; color: var(--orange-ink); font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--orange); vertical-align: middle; margin-inline-end: 8px; }

/* کارت‌های خدمات */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px 22px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--blue)); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--carbon-2), var(--carbon-3)); margin-bottom: 16px; }
.svc-card .ico svg { width: 30px; height: 30px; }
.svc-card p { color: var(--muted); margin-bottom: 16px; flex: 1; }
.svc-card .go { color: var(--orange-ink); font-weight: 700; font-size: .92rem; }
.svc-card.feature { background: linear-gradient(160deg, var(--carbon-2), var(--carbon)); color: #E6EDF5; border-color: transparent; }
.svc-card.feature p { color: #A9B8C9; }
.svc-card.feature .go { color: var(--orange-2); }
.svc-card.feature:hover { color: #fff; }
.svc-card.feature .ico { background: var(--orange); }

/* چرا ماشین‌نامه */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.why-list .n { width: 48px; height: 48px; border-radius: 12px; background: #FFF1E8; color: var(--orange-ink); display: grid; place-items: center; }
.why-list .n svg { width: 24px; height: 24px; }
.why-list h3 { margin: 4px 0 2px; }
.why-list p { margin: 0; color: var(--muted); }

/* روند کار */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; inset-inline: 12% 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-2) 0 8px, transparent 8px 16px); opacity: .6; }
.steps li { counter-increment: s; position: relative; text-align: center; padding: 0 8px; }
.steps li::before { content: counter(s, persian); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--carbon-2); color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line); position: relative; z-index: 1; }
.steps li:last-child::before { background: var(--orange); }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.section-alt .steps li::before { box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line); }

/* نکات آموزشی */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tip-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.tip-art { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.tip-art svg { width: 78%; height: 78%; }
.tip-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tip-cat { font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.tip-body h3 { font-size: 1.05rem; line-height: 1.6; }
.tip-body p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.tip-more { margin-top: 12px; color: var(--orange-ink); font-weight: 700; font-size: .9rem; }

/* نوار برندها */
.marquee { overflow: hidden; position: relative; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; direction: ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); white-space: nowrap; font-size: 1.02rem; }
.chip img { height: 32px; width: auto; }
.chip .m { width: 26px; height: 26px; border-radius: 7px; background: var(--carbon-2); color: var(--orange-2); display: grid; place-items: center; font: 800 .8rem/1 var(--mono); }
.marquee + .marquee { margin-top: 14px; }
.marquee.rev .marquee-track { animation-direction: reverse; }

.client { display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); white-space: nowrap; direction: rtl; min-width: 260px; }
.client .cm { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--carbon-2), var(--carbon-3)); color: var(--orange-2); font-weight: 800; font-size: 1.2rem; flex: none; }
.client img { height: 46px; width: auto; }
.client b { display: block; font-size: 1.08rem; color: var(--ink); }
.client small { display: block; color: var(--muted); font-size: .85rem; }
.brand-label { text-align: center; margin-bottom: 12px; }
.flag { display: inline-block; padding: 3px 14px; border-radius: 999px; background: #FFF1E8; color: var(--orange-ink); font-weight: 700; font-size: .88rem; }
.flag-2 { background: #EAF2FB; color: var(--blue); }
.chip-cn { border-color: #F6C9AC; }
.chip-cn .m { background: var(--orange); color: #fff; }
.svc-card.feature { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
.svc-card.feature .ico { margin: 0; flex: none; }
.svc-card.feature h3 { margin: 0; white-space: nowrap; }
.svc-card.feature p { margin: 0; }
/* گالری */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--carbon); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 14px 10px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(10, 21, 33, .85)); }

/* فراخوان */
.cta { border-radius: 18px; padding: 44px 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--orange) 0%, #E2550C 55%, #C8470A 100%); color: #fff; }
.cta::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #FFE6D6; }
.cta .btn-light { background: #fff; color: var(--orange-ink); }
.cta .btn-light:hover { background: var(--carbon); color: #fff; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn-line { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* استعلام */
.verify-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.verify-form { display: flex; gap: 8px; margin-top: 12px; }
.verify-form input { flex: 1; min-width: 0; }

/* ── پانویس ── */
.site-foot { padding: 64px 0 0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.foot-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: #C9D6E3; text-decoration: none; }
.site-foot a:hover { color: var(--orange-2); }
.site-foot.carbon a:not(.btn) { color: #C9D6E3; }
.site-foot.carbon a:not(.btn):hover { color: var(--orange-2); }
.site-foot.carbon .logo { color: #fff; }
.page-hero.carbon .crumbs a { color: #C9D6E3; }
.site-foot .logo { color: #fff; }
.site-foot .logo small { color: #8FA2B7; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: #C9D6E3; }
.contact-list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--orange-2); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.foot-group { display: inline-block; margin-top: 20px; opacity: .92; }
.foot-group:hover { opacity: 1; }
.foot-group img { width: 220px; max-width: 100%; height: auto; display: block; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #7F93A8; font-size: .85rem; }

/* ── صفحات داخلی ── */
.page-hero { padding: 56px 0 48px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #B9C7D6; font-size: 1.1rem; max-width: 62ch; margin: 0; }
.crumbs { font-size: .875rem; color: #9FB0C3; margin-bottom: 10px; }
.crumbs a { color: #C9D6E3; text-decoration: none; }
.career { list-style: none; padding: 0; margin: 0; position: relative; }
.career::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 2px; background: linear-gradient(var(--orange), var(--blue)); }
.career li { position: relative; padding: 0 36px 22px 0; }
.career li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.career .yr { font: 700 .88rem/1.4 var(--font); color: var(--blue); display: block; }
.founder { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.founder-card { padding: 28px; border-radius: var(--r-md); position: sticky; top: 100px; }
.founder-card .avatar { width: 84px; height: 84px; border-radius: 20px; background: var(--orange); display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r-sm); padding: 22px; }
.value p { color: var(--muted); margin: 0; }
.article { max-width: 760px; min-width: 0; }
.article p { font-size: 1.05rem; }
.article-art { border-radius: var(--r-md); overflow: hidden; margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact-card .n { width: 48px; height: 48px; border-radius: 12px; background: #FFF1E8; color: var(--orange-ink); display: grid; place-items: center; }
.contact-card .n svg { width: 22px; height: 22px; }
.contact-card strong { display: block; }

/* ── پلاک شناسنامه (عنصر شاخص) ── */
.plate {
  position: relative; border-radius: var(--r-md); padding: 26px 30px 22px; color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #EEF1F3 0%, #D5DBE0 48%, #E7EBEE 100%);
  border: 1px solid #AEB8C0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 0 rgba(0,0,0,.06), 0 18px 40px -22px rgba(30,41,51,.55);
}
.plate::before, .plate::after, .plate .rv::before, .plate .rv::after {
  content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, #A3ADB5 45%, #6E7880 100%);
  box-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.plate::before { top: 11px; right: 11px; } .plate::after { top: 11px; left: 11px; }
.plate .rv::before { bottom: 11px; right: 11px; } .plate .rv::after { bottom: 11px; left: 11px; }
.plate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 12px; }
.plate-head strong { font-size: 1.1rem; }
.plate-head span { font-size: .85rem; color: var(--ink-2); }
.plate dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: .95rem; }
.plate dt { color: var(--ink-2); }
.plate dd { margin: 0; font-weight: 600; }
.plate .code { font: 700 1.02rem/1.6 var(--mono); letter-spacing: .08em; direction: ltr; unicode-bidi: isolate; }
.plate-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px;
  padding-top: 12px; border-top: 1px dashed #8D98A1; font-size: .85rem; color: var(--ink-2); }
.stamp { width: 64px; height: 64px; border-radius: 50%; border: 3px double currentColor; display: grid; place-items: center;
  font-weight: 700; font-size: 1.7rem; transform: rotate(-9deg); flex: none; line-height: 1; }
.stamp small { display: block; font-size: .55rem; font-weight: 600; margin-top: -2px; }
.stamp.g-A, .stamp.g-B { color: var(--ok); }
.stamp.g-C { color: var(--warn); }
.stamp.g-D { color: var(--bad); }
.stamp.none { color: var(--muted); font-size: .8rem; }


.plate .scan { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.plate .scan::before { content: ""; position: absolute; left: 0; right: 0; height: 38%; top: -40%;
  background: linear-gradient(transparent, rgba(242,106,27,.16) 70%, rgba(242,106,27,.55) 98%, transparent);
  animation: scan 3.6s cubic-bezier(.4,0,.2,1) 1s infinite; }
@keyframes scan { 0% { top: -40%; } 55%, 100% { top: 104%; } }

/* ── فرم‌ها ── */
.panel-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.verify-form { display: flex; gap: 8px; margin-top: 12px; }
.verify-form input { flex: 1; min-width: 0; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .875rem; color: var(--bad); margin-top: 4px; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #C3CBD1;
  border-radius: var(--r-sm); padding: 10px 12px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(232,100,28,.25); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--bad); }
textarea { min-height: 110px; resize: vertical; }
input.ltr-in, textarea.ltr-in { direction: ltr; text-align: right; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; }
legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.form-block { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; padding: 10px 14px; border: 1.5px solid #C3CBD1; border-radius: var(--r-sm); background: var(--white); cursor: pointer; font-size: .95rem; }
.choice input:checked + span { border-color: var(--orange); background: #FFF4EC; box-shadow: inset 0 0 0 1px var(--orange); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.hp { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 18px; border: 1px solid; }
.alert-err { background: #FDF0EF; border-color: #EBC1BD; color: #7E1B15; }
.alert-ok { background: #EEF7F1; border-color: #BFDCCB; color: #1D5537; }
.alert-warn { background: #FFF7E8; border-color: #EAD3A6; color: #6B4508; }


/* ── صفحات داخلی ── */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-head .crumbs, .narrow .crumbs { color: var(--muted); } .page-head .crumbs a, .narrow .crumbs a { color: var(--muted); }
.content-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding: 48px 0 64px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding: 8px 28px 8px 0; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; right: 4px; top: 18px; width: 10px; height: 6px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.aside-box { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r-sm); padding: 22px; position: sticky; top: 92px; }
.course { border-top: 2px solid var(--ink); padding: 22px 0 8px; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.course ul { margin: 0 0 14px; padding-inline-start: 20px; }
.code-big { font: 700 1.8rem/1.5 var(--mono); letter-spacing: .08em; direction: ltr; unicode-bidi: isolate; display: inline-block;
  background: var(--plate); padding: 4px 18px; border-radius: var(--r-sm); border: 1px solid var(--steel); }
.status-track { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 6px; }
.status-track li { padding: 8px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--muted); }
.status-track li.done { color: var(--ink); background: #EEF7F1; }
.status-track li.now { color: #fff; background: var(--ink); font-weight: 600; }
.narrow { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }


/* ── واکنش‌گرا ── */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero .wrap, .why, .verify-band, .founder, .content-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 120px; }
  .svc-grid, .tips-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .founder-card, .aside-box { position: static; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-grid, .tips-grid, .gallery, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .svc-card.feature { flex-direction: column; align-items: flex-start; }
  .svc-card.feature h3 { white-space: normal; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-checks { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .stat { padding: 18px 16px; } .stat b { font-size: 1.7rem; }
  .verify-form { flex-direction: column; }
  .topbar .tb-hide { display: none; }
  .plate { padding: 24px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media print { .site-head, .site-foot, .topbar { display: none; } body { background: #fff; } }

/* ── پنل مدیریت ── */
.pn { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.pn-side { background: var(--ink); color: #C5CED5; padding: 20px 14px; }
.pn-side .logo { color: #fff; margin-bottom: 24px; font-size: 1.1rem; }
.pn-side nav { display: grid; gap: 2px; }
.pn-side nav a { color: #DCE2E7; text-decoration: none; padding: 9px 12px; border-radius: var(--r-sm); font-size: .95rem; }
.pn-side nav a:hover, .pn-side nav a[aria-current="page"] { background: #33414D; color: #fff; }
.pn-side form button { background: none; border: 0; color: #9AA6B0; font: inherit; cursor: pointer; padding: 9px 12px; }
.pn-main { padding: 28px 32px 48px; min-width: 0; }
.pn-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pn-top h1 { font-size: 1.5rem; margin: 0; }
.tbl-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--paper); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl a { font-weight: 600; }
.pill { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .8rem; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.pill.s-new { background: #FFF4EC; border-color: #F3C5A6; color: var(--orange-ink); }
.pill.s-done, .pill.s-approved { background: #EEF7F1; border-color: #BFDCCB; color: var(--ok); }
.pill.s-cancelled, .pill.s-rejected { color: var(--muted); }
.gate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.gate-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.gate-item .n { font-size: 1.5rem; font-weight: 700; }
.gate-item .bar { height: 6px; background: var(--paper); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.gate-item .bar i { display: block; height: 100%; background: var(--orange); }
.gate-item.met .bar i { background: var(--ok); }
.cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 20px; }
.box h2 { font-size: 1.1rem; margin-bottom: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.timeline li { padding: 8px 0; border-bottom: 1px solid var(--paper); }
.timeline time { color: var(--muted); font-size: .8rem; display: block; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.filters a { text-decoration: none; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--ink-2); background: var(--white); }
.filters a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.searchbar { display: flex; gap: 8px; max-width: 520px; margin-bottom: 14px; }
details.add { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 16px; }
details.add summary { cursor: pointer; font-weight: 600; }
details.add[open] summary { margin-bottom: 14px; }
@media (max-width: 900px) {
  .pn { grid-template-columns: 1fr; }
  .pn-side { padding: 12px 16px; }
  .pn-side nav { grid-auto-flow: column; overflow-x: auto; }
  .pn-side .logo { margin-bottom: 8px; }
  .pn-main { padding: 20px 16px 40px; }
  .gate { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
}
.tip-art.has-photo img, .article-art.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-art.carbon { padding: 24px; }
.article-art.has-photo img { height: auto; max-height: 460px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 8px; border-bottom: 1px solid var(--line); direction: ltr; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar i { display: block; width: 100%; min-height: 2px; background: var(--blue); border-radius: 3px 3px 0 0; }
.bar:last-child i { background: var(--orange); }
.bars-axis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 4px; direction: ltr; }
.hero-media { width: 100%; border-radius: 16px; display: block; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.video-band { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.video-band video { width: 100%; border-radius: 16px; background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.gallery video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #000; }
.about-photo { width: 100%; border-radius: 16px; margin-bottom: 16px; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 1000px) { .video-band { grid-template-columns: 1fr; } }
.hb { display: grid; grid-template-columns: minmax(90px, 34%) 1fr 54px; gap: 10px; align-items: center; margin-bottom: 8px; font-size: .9rem; }
.hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-t { height: 10px; background: var(--paper); border-radius: 5px; overflow: hidden; }
.hb-t i { display: block; height: 100%; background: var(--blue); border-radius: 5px; }
.hb-n { text-align: left; font-weight: 700; color: var(--ink-2); }

/* ═════════════ لایه حرکت و تجربه (نسخه ۲) ═════════════ */
.h3 { font-size: 1.12rem; font-weight: 700; }
.arr { width: 18px; height: 18px; flex: none; transition: transform .25s; }
[dir="rtl"] .arr { transform: scaleX(-1); }
a:hover > .arr, .btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] a:hover > .arr, [dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.sticky { position: sticky; top: 100px; }

/* جابه‌جایی نرم بین صفحه‌ها (مرورگرهای جدید؛ بقیه بدون انیمیشن) */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.site-head { view-transition-name: sitehead; }
::view-transition-group(sitehead), ::view-transition-group(topbar) { animation: none; }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px); } }

/* نوار پیشرفت و سربرگ */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2), var(--blue-2)); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .progress i { transform-origin: right; background: linear-gradient(270deg, var(--orange), var(--orange-2), var(--blue-2)); }
.site-head { transition: box-shadow .3s, background .3s; }
.scrolled .site-head { box-shadow: 0 10px 30px -18px rgba(15, 28, 43, .45); }
.lang-switch { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 1px 12px; font-weight: 700; }
.lang-switch:hover { border-color: var(--orange-2); }
.menu summary { padding: 9px 12px; display: grid; place-items: center; }
.burger { display: grid; gap: 4px; width: 20px; }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .burger i:nth-child(2) { opacity: 0; }
.menu[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu[open] .menu-panel { animation: drop .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.menu-panel a[aria-current="page"] { color: var(--orange-ink); font-weight: 700; }
@media (max-width: 1220px) { .nav { display: none; } .menu { display: block; } }

/* ظاهر شدن هنگام اسکرول */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rv].in { opacity: 1; transform: none; }

/* نور زیر نشانگر */
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 61, .16), transparent 45%); }
.glow:hover::after { opacity: 1; }

/* قهرمان تمام‌صفحه */
.hero { min-height: calc(100svh - 112px); display: flex; align-items: center; padding: 64px 0 150px; }
.hero > .wrap { width: 100%; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(106, 168, 230, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 168, 230, .09) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent 75%);
  animation: grid-pan 18s linear infinite; }
@keyframes grid-pan { to { background-position: 56px 56px, 56px 56px; } }
.hero h1 .hl { color: var(--orange-2); }
.hero h1 .w { display: inline-block; }
.js .hero h1 .w { opacity: 0; transform: translateY(.55em); filter: blur(8px); animation: word-in .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 75ms + 120ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.js .hero .badge, .js .hero .lead, .js .hero .actions, .js .hero-checks { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero .badge { animation-delay: .05s; }
.js .hero .lead { animation-delay: .65s; }
.js .hero .actions { animation-delay: .8s; }
.js .hero-checks { animation-delay: .95s; }
.js .hero-art { opacity: 0; animation: art-in 1.3s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes art-in { from { opacity: 0; transform: translateX(calc(var(--dx, 1) * 40px)) scale(.96); } to { opacity: 1; transform: none; } }
[dir="rtl"] { --dx: -1; }
.hero-art > svg, .hero-art > .hero-media { animation: float 7s ease-in-out 1.6s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; bottom: 104px; inset-inline-start: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; z-index: 2; }
[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue span { position: absolute; top: 8px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 2px; background: var(--orange-2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.stat b { font-variant-numeric: tabular-nums; }

/* صحنه «آیا می‌دانستید؟» */
.stage-sec { overflow: hidden; position: relative; }
.stage-sec::before { content: ""; position: absolute; width: 620px; height: 620px; inset-inline-end: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 106, 27, .22), transparent 65%); pointer-events: none; }
.stage-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.stage-head > div { max-width: 720px; }
.stage-sec .kicker { color: var(--orange-2); }
.stage-sec h2 { color: #fff; }
.stage { --dx: 1; position: relative; outline: none; border-radius: 22px; }
[dir="rtl"] .stage { --dx: -1; }
.stage:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; }
.stage-track { display: grid; }
.stage-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 8px 0 36px; }
.js .stage-slide { opacity: 0; visibility: hidden; transform: translateX(calc(var(--dx) * 70px)); filter: blur(10px);
  transition: opacity .6s ease, transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s ease, visibility 0s linear .9s; }
.js .stage-slide.out { transform: translateX(calc(var(--dx) * -70px)); }
.js .stage-slide.on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .18s, .18s, .18s, 0s; }
.ss-kicker { display: inline-block; font: 700 .9rem/1.4 var(--font); color: var(--orange-2); letter-spacing: .02em; margin-bottom: 14px; padding: 4px 12px; border: 1px solid rgba(255, 138, 61, .35); border-radius: 999px; }
.ss-q { font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); line-height: 1.6; color: #fff; font-weight: 800; margin-bottom: .55em; }
.ss-teaser { color: #B9C7D6; font-size: 1.06rem; max-width: 56ch; }
.ss-go { margin-top: 10px; }
.js .stage-slide .ss-kicker, .js .stage-slide .ss-q, .js .stage-slide .ss-teaser, .js .stage-slide .ss-go, .js .stage-slide .ss-figure { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .stage-slide.on .ss-kicker { opacity: 1; transform: none; transition-delay: .3s; }
.js .stage-slide.on .ss-q { opacity: 1; transform: none; transition-delay: .42s; }
.js .stage-slide.on .ss-teaser { opacity: 1; transform: none; transition-delay: .56s; }
.js .stage-slide.on .ss-go { opacity: 1; transform: none; transition-delay: .68s; }
.js .stage-slide.on .ss-figure { opacity: 1; transform: none; transition-delay: .8s; }
.ss-visual { position: relative; border-radius: 20px; padding: 22px; background: linear-gradient(160deg, rgba(31, 95, 168, .18), rgba(10, 21, 33, .4)); border: 1px solid rgba(106, 168, 230, .2); }
.ss-visual > svg, .ss-visual > img { width: 100%; height: auto; display: block; border-radius: 12px; }
.ss-figure { position: absolute; inset-inline-end: -14px; bottom: -26px; max-width: 290px; padding: 14px 18px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--orange), #C8470A); box-shadow: 0 20px 40px -18px rgba(242, 106, 27, .8); }
.ss-figure b { display: block; font-size: 2rem; line-height: 1.15; font-weight: 800; direction: ltr; unicode-bidi: isolate; text-align: start; }
.ss-figure span { display: block; font-size: .86rem; color: #FFE6D6; line-height: 1.6; }
.stage-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.stage-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.stage-btn:hover { background: var(--orange); border-color: var(--orange); }
.stage-btn:not(.next) .arr { transform: scaleX(-1); }
[dir="rtl"] .stage-btn:not(.next) .arr { transform: none; }
.stage-btn:hover .arr { transform: none; }
.stage-btn:not(.next):hover .arr { transform: scaleX(-1); }
[dir="rtl"] .stage-btn.next:hover .arr, [dir="rtl"] .stage-btn.next .arr { transform: scaleX(-1); }
[dir="rtl"] .stage-btn:not(.next):hover .arr { transform: none; }
.stage-dots { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.stage-dot { flex: 1; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.stage-dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.stage-dot i::after { content: ""; position: absolute; inset: 0; background: var(--orange-2); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .stage-dot i::after { transform-origin: right; }
.stage-dot[aria-current="true"] i::after { transform: scaleX(1); }
.stage.ticking .stage-dot[aria-current="true"] i::after { animation: dot-fill 9s linear forwards; }
.stage.paused .stage-dot[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* درها (لایه‌ها) */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.door { position: relative; display: flex; flex-direction: column; min-height: 290px; padding: 26px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, color .35s; }
.door::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, var(--carbon-3), var(--carbon)); transform: translateY(101%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.door:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(15, 28, 43, .6); color: #fff; }
.door:hover::before { transform: none; }
.door-n { font: 800 3.2rem/1 var(--font); color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .35s; }
.door:hover .door-n { -webkit-text-stroke-color: rgba(255, 138, 61, .6); }
.door-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin: 18px 0 14px; color: var(--orange-2); background: linear-gradient(135deg, var(--carbon-2), var(--carbon-3)); transition: background .35s, color .35s; }
.door-ico svg { width: 28px; height: 28px; }
.door:hover .door-ico { background: var(--orange); color: #fff; }
.door h3 { margin-bottom: 6px; font-size: 1.2rem; }
.door p { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; transition: color .35s; }
.door:hover p { color: #B9C7D6; }
.door-go { margin-top: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--orange-ink); transition: background .35s, border-color .35s, color .35s; }
.door:hover .door-go { background: var(--orange); border-color: var(--orange); color: #fff; }
.door:hover .door-go .arr { transform: translateX(3px); }
[dir="rtl"] .door:hover .door-go .arr { transform: scaleX(-1) translateX(3px); }

/* صفحه‌های داخلی: سربرگ متحرک */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.page-hero .wrap { position: relative; z-index: 1; }
.ph-grid { position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(106, 168, 230, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 168, 230, .08) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); animation: grid-pan 22s linear infinite; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -120px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 106, 27, .25), transparent 65%); pointer-events: none; }
.ph-kicker { color: var(--orange-2) !important; }
.page-hero h1 { max-width: 30ch; }
.js .ph-title, .js .ph-lead, .js .ph-kicker, .js .page-hero .crumbs { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .page-hero .crumbs { animation-delay: .05s; }
.js .ph-kicker { animation-delay: .12s; }
.js .ph-title { animation-delay: .2s; }
.js .ph-lead { animation-delay: .36s; }

/* فصل‌های «آیا می‌دانستید؟» */
.chapters { display: grid; gap: 96px; }
.chapter { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; scroll-margin-top: 110px; }
.chapter.flip .chapter-art { order: 2; }
.chapter-art { display: block; border-radius: 22px; }
.ins-art { border-radius: 22px; overflow: hidden; padding: 26px; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.ins-art svg { width: 100%; height: auto; }
.ins-art.has-photo { padding: 0; } .ins-art.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.chapter-art .ins-art { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; box-shadow: 0 30px 60px -36px rgba(10, 21, 33, .7); }
.chapter-art:hover .ins-art { transform: translateY(-6px) rotate(-.4deg); }
.chapter-text { position: relative; }
.chapter-n { position: absolute; inset-inline-end: 0; top: -36px; font: 800 6rem/1 var(--font); color: transparent; -webkit-text-stroke: 1.5px var(--line); z-index: -1; }
.chapter-text h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.6; }
.chapter-text h2 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) no-repeat 100% 100% / 0 2px; transition: background-size .4s; }
[dir="ltr"] .chapter-text h2 a { background-position: 0 100%; }
.chapter-text h2 a:hover { background-size: 100% 2px; }
.chapter-text p { color: var(--ink-2); }
.fig { display: inline-grid; gap: 2px; padding: 12px 18px; border-radius: 14px; background: #FFF1E8; border-inline-start: 4px solid var(--orange); margin-bottom: 16px; max-width: 420px; }
.fig b { font-size: 1.9rem; line-height: 1.2; color: var(--orange-ink); font-weight: 800; direction: ltr; unicode-bidi: isolate; text-align: start; }
.fig span { font-size: .88rem; color: var(--ink-2); line-height: 1.6; }
.fig-xl { display: grid; max-width: none; padding: 20px 24px; }
.fig-xl b { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); }
.answer-head { margin-bottom: 26px; }
.answer-teaser { font-size: 1.2rem; line-height: 1.95; font-weight: 500; color: var(--ink); border-inline-start: 3px solid var(--blue-2); padding-inline-start: 18px; }
.insight-body .article-art.ins-art { aspect-ratio: auto; }
.next-q { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 34px 38px; border-radius: 22px; text-decoration: none; color: #fff;
  background: linear-gradient(130deg, var(--carbon-3), var(--carbon)); overflow: hidden; }
.next-q .kicker { grid-column: 1 / -1; color: var(--orange-2); margin: 0; }
.next-q-t { font-size: clamp(1.15rem, .9rem + 1vw, 1.6rem); font-weight: 800; line-height: 1.6; }
.next-q .door-go { margin: 0; width: 56px; height: 56px; border-color: rgba(255, 255, 255, .3); color: #fff; }
.next-q:hover { color: #fff; }
.next-q:hover .door-go { background: var(--orange); border-color: var(--orange); }

/* مشتریان */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client-card { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client-card img { width: 64px; height: 64px; object-fit: contain; }
.client-card .cm { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--carbon-2), var(--carbon-3)); color: var(--orange-2); font-weight: 800; font-size: 1.5rem; }
.client-card h2 { margin: 0 0 2px; }
.client-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* تصاویر متحرک «آیا می‌دانستید؟» */
.ia .ia-arc { stroke-dasharray: 55 100; animation: ia-arc 4s ease-in-out infinite alternate; }
@keyframes ia-arc { from { stroke-dasharray: 55 100; } to { stroke-dasharray: 65 100; } }
.ia .ia-needle { transform-box: view-box; transform-origin: 240px 196px; transform: rotate(9deg); animation: ia-needle 4s ease-in-out infinite alternate; }
@keyframes ia-needle { from { transform: rotate(9deg); } to { transform: rotate(27deg); } }
.ia .ia-ghost { animation: ia-ghost 4s ease-in-out infinite alternate; }
.ia .ia-d2 { animation-delay: .4s; }
@keyframes ia-ghost { 0%, 35% { opacity: 0; } 100% { opacity: 1; } }
.ia .ia-platen { animation: ia-platen 5s cubic-bezier(.3, 0, .2, 1) infinite; }
@keyframes ia-platen { 0% { transform: translateX(0); } 45% { transform: translateX(110px); } 78% { transform: translateX(160px); } 92% { transform: translateX(160px); } 100% { transform: translateX(0); } }
.ia .ia-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ia-draw 5s ease-in-out infinite; }
@keyframes ia-draw { 0% { stroke-dashoffset: 100; } 70%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ia-energy .ia-draw { animation-duration: 6s; }
.ia-energy .ia-d2 { animation-delay: .6s; }
.ia .ia-fade { animation: ia-fade 6s ease-in-out infinite; }
@keyframes ia-fade { 0%, 35% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }
.ia .ia-flow { animation: ia-flow 1.2s linear infinite; }
@keyframes ia-flow { to { stroke-dashoffset: -36; } }
.ia .ia-seg { transform-box: fill-box; transform-origin: left; animation: ia-seg 5s cubic-bezier(.2, .7, .2, 1) infinite; }
.ia .ia-d1 { animation-delay: .25s; } .ia-cooling .ia-d2 { animation-delay: .5s; } .ia .ia-d3 { animation-delay: .75s; }
@keyframes ia-seg { 0% { transform: scaleX(0); } 30%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.ia .ia-drop { animation: ia-drop 4s ease-in infinite; }
@keyframes ia-drop { 0% { transform: translateY(-20px); opacity: 0; } 20% { opacity: 1; } 55% { transform: translateY(46px); opacity: 1; } 65%, 100% { transform: translateY(46px); opacity: 0; } }
.ia .ia-break { animation: ia-break 4s ease-in infinite; }
@keyframes ia-break { 0%, 55% { opacity: 1; } 62%, 92% { opacity: 0; } 100% { opacity: 1; } }

/* اصلاحات چپ‌چین برای نسخه انگلیسی */
[dir="ltr"] .client { direction: ltr; }
[dir="ltr"] input.ltr-in, [dir="ltr"] textarea.ltr-in { text-align: left; }
[dir="ltr"] .steps li::before { content: counter(s); }
[dir="ltr"] .svc-card::before { transform-origin: left; }
.career li { padding: 0 0 22px 0; padding-inline-start: 36px; }
.ticks li { padding: 8px 0; padding-inline-start: 28px; }
.ticks li::before { right: auto; inset-inline-start: 4px; }
.skip { right: auto; inset-inline-start: -999px; }
.skip:focus { right: auto; inset-inline-start: 16px; }
.lang-en h1, .lang-en h2, .lang-en h3 { letter-spacing: -.015em; line-height: 1.25; }
.lang-en .ss-q, .lang-en .chapter-text h2, .lang-en .next-q-t { line-height: 1.35; }
.lang-en body, body.lang-en { line-height: 1.7; }

@media (max-width: 1100px) {
  .doors { grid-template-columns: repeat(2, 1fr); }
  .stage-slide, .chapter { grid-template-columns: 1fr; gap: 36px; }
  .chapter.flip .chapter-art { order: 0; }
  .ss-figure { inset-inline-end: 12px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .chapters { gap: 72px; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: 40px; }
  .scroll-cue { display: none; }
  .doors, .client-grid { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .door-n { font-size: 2.4rem; }
  .ss-visual { padding: 12px; }
  .ss-figure { position: relative; inset: auto; margin: -18px 12px 0; max-width: none; }
  .stage-slide { gap: 24px; }
  .stage-ctrl { gap: 10px; }
  .chapter-n { font-size: 4rem; top: -24px; }
  .next-q { padding: 24px; }
  .ins-art { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js [data-rv], .js .hero h1 .w, .js .hero .badge, .js .hero .lead, .js .hero .actions, .js .hero-checks, .js .hero-art,
  .js .ph-title, .js .ph-lead, .js .ph-kicker, .js .page-hero .crumbs { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .hero-grid, .ph-grid, .hero-art > svg, .hero-art > .hero-media, .ia *, .scroll-cue span { animation: none !important; }
  .js .stage-slide { transition: none; filter: none; transform: none; }
  .js .stage-slide .ss-kicker, .js .stage-slide .ss-q, .js .stage-slide .ss-teaser, .js .stage-slide .ss-go, .js .stage-slide .ss-figure { opacity: 1; transform: none; transition: none; }
}
@media print { .progress, .stage-ctrl, .scroll-cue { display: none; } }
.hero h1 .w { color: #fff; }
.hero h1 .hl .w { color: var(--orange-2); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.wrap.content-grid { padding-inline: 16px; }
.hp { right: auto; inset-inline-start: -9999px; }

/* دکمه شناور واتس‌اپ */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  border-radius: 999px; background: #1FAF54; color: #fff !important; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(31, 175, 84, .8); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); color: #fff; }
.wa-float svg { width: 24px; height: 24px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1FAF54; animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
.langs { display: inline-flex; gap: 6px; }
.foot-bottom .langs a { margin-inline-start: 10px; }
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: #fff; }
.foot-sites { display: inline-flex; gap: 8px; align-items: center; letter-spacing: .04em; }
.foot-sites i, .banner-url i { font-style: normal; opacity: .55; margin: 0 .5em; }
.banner-url a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201, 214, 227, .4); }
.banner-url a:hover { color: #fff; }
.lang-ar body, body.lang-ar { line-height: 1.95; }

/* نتایج واقعی */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { display: flex; flex-direction: column; padding: 26px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.section-alt .result { background: var(--paper); }
.result::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--orange), var(--blue)); }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.result-client { font-weight: 800; font-size: 1.15rem; }
.result-period { font-size: .8rem; font-weight: 700; color: var(--blue); background: #EAF2FB; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.result-ind { color: var(--muted); font-size: .88rem; }
.result-fig { display: block; margin-top: 16px; font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1.1; font-weight: 800; color: var(--orange); direction: ltr; unicode-bidi: isolate; text-align: start; font-variant-numeric: tabular-nums; }
.result-label { font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.result-2 { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.result-2 b { font-size: 1.4rem; color: var(--blue); direction: ltr; unicode-bidi: isolate; }
.result-2 span { color: var(--muted); font-size: .9rem; }
.result p { color: var(--muted); font-size: .93rem; margin: 14px 0 0; }
@media (max-width: 1000px) { .results { grid-template-columns: 1fr; } }

/* ═════ صحنه لایه‌ای صفحه اصلی ═════ */
.hero { min-height: calc(86svh - 112px); }
.hub { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hub::before { content: ""; position: absolute; width: 640px; height: 640px; inset-inline-end: -240px; top: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 106, 27, .2), transparent 65%); pointer-events: none; }
.hub-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.hub-head > div:first-child { max-width: 680px; }
.hub-head .kicker { color: var(--orange-2); }
.hub-head h2 { color: #fff; margin: 0; }
.hub-score { min-width: 200px; display: grid; gap: 4px; color: #9FB0C3; font-size: .85rem; }
.hub-score b { color: #fff; font-size: 1.5rem; line-height: 1.2; direction: ltr; unicode-bidi: isolate; text-align: start; }
.hub-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hub-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.hub-body { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.hub-tabs { display: grid; gap: 10px; position: sticky; top: 96px; }
.hub-tab { display: grid; grid-template-columns: auto 42px 1fr 22px; gap: 12px; align-items: center; text-align: start; width: 100%; padding: 14px 16px; border-radius: 16px; cursor: pointer;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(106, 168, 230, .18); color: #C9D6E3; font: inherit; transition: background .3s, border-color .3s, transform .3s; }
.hub-tab:hover { background: rgba(255, 255, 255, .07); transform: translateX(calc(var(--dx, 1) * 4px)); }
.hub-tab[aria-selected="true"] { background: linear-gradient(135deg, rgba(242, 106, 27, .22), rgba(31, 95, 168, .18)); border-color: rgba(255, 138, 61, .6); color: #fff; }
.hub-n { font: 800 .8rem/1 var(--font); color: var(--orange-2); opacity: .8; }
.hub-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--orange-2); }
.hub-tab[aria-selected="true"] .hub-ico { background: var(--orange); color: #fff; }
.hub-ico svg { width: 22px; height: 22px; }
.hub-tt b { display: block; font-size: 1rem; line-height: 1.4; }
.hub-tt small { display: block; font-size: .8rem; color: #9FB0C3; line-height: 1.5; }
.hub-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .25); position: relative; transition: background .3s, border-color .3s; }
.hub-tab.seen .hub-check { background: var(--ok); border: 1.5px solid var(--ok); }
.hub-tab.seen .hub-check::after { content: ""; position: absolute; inset-inline-start: 6px; top: 6px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.hub-tab.just .hub-check { animation: pop .6s cubic-bezier(.2, .7, .2, 1.4); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.hub-panels { min-height: 420px; border-radius: 22px; padding: 26px; background: rgba(10, 21, 33, .55); border: 1px solid rgba(106, 168, 230, .18); position: relative; }
.js .hub-panel.on { animation: panel-in .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(.99); filter: blur(6px); } }
.hub .stage-slide { gap: 32px; padding-bottom: 20px; }
.hub .ss-q { font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem); }
.hub .ss-teaser { font-size: .98rem; }
.hub .stage-ctrl { margin-top: 18px; flex-wrap: wrap; }
.hub-more { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--orange-2) !important; font-weight: 700; text-decoration: none; font-size: .92rem; }
.hub-panel > .hub-more { margin-top: 18px; }
.mini-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-result { padding: 22px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(106, 168, 230, .18); display: grid; gap: 4px; }
.mini-result b { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1.1; color: var(--orange-2); direction: ltr; unicode-bidi: isolate; text-align: start; font-variant-numeric: tabular-nums; }
.mr-l { color: #fff; font-weight: 700; line-height: 1.6; }
.mr-c { color: #9FB0C3; font-size: .85rem; }
.mini-svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-s { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: #E6EDF5 !important;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(106, 168, 230, .15); transition: background .25s, transform .25s, border-color .25s; }
.mini-s:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 138, 61, .5); transform: translateY(-2px); }
.ms-i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--orange-2); }
.ms-i svg { width: 22px; height: 22px; }
.mini-s b { display: block; font-size: .95rem; line-height: 1.5; }
.mini-s small { display: block; color: #9FB0C3; font-size: .8rem; line-height: 1.55; }
.mini-s-hot { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(242, 106, 27, .3), rgba(242, 106, 27, .08)); border-color: rgba(255, 138, 61, .45); }
.mini-s-hot .ms-i { background: var(--orange); color: #fff; }
.mini-clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-c { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(106, 168, 230, .15); }
.mini-c img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.mini-c i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: rgba(255, 255, 255, .06); color: var(--orange-2); flex: none; }
.mini-c b { display: block; color: #fff; }
.mini-c small { display: block; color: #9FB0C3; font-size: .8rem; }
.hub-reward { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, var(--orange), #C8470A); color: #fff; }
.hub-reward[hidden] { display: none; }
.hub-reward > div { flex: 1; min-width: 200px; display: grid; }
.hub-reward span { color: #FFE6D6; font-size: .9rem; }
.hub-reward-badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange-ink); font-weight: 800; flex: none; }
.hub-reward .btn-primary { background: #fff; color: var(--orange-ink); }
.hub-reward.pop { animation: panel-in .7s cubic-bezier(.2, .7, .2, 1.3); }
@media (max-width: 1000px) {
  .hub-body { grid-template-columns: 1fr; }
  .hub-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .hub-tab { grid-template-columns: 34px 1fr 20px; padding: 10px 12px; }
  .hub-tab .hub-n { display: none; }
  .hub-ico { width: 34px; height: 34px; }
  .hub-tt small { display: none; }
  .mini-results { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hub { padding: 48px 0 56px; }
  .hub-panels { padding: 16px; min-height: 0; }
  .mini-svc, .mini-clients { grid-template-columns: 1fr; }
  .mini-s small { display: none; }
  .hero-checks { display: none; }
  .hero { padding-bottom: 120px; }
  .foot-grid > div:nth-child(2), .foot-grid > div:nth-child(3) { display: none; }
  .hub .ss-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) { .js .hub-panel.on, .hub-reward.pop, .hub-tab.just .hub-check { animation: none; } }

/* ═════════ بازطراحی ۱۴۰۵ — صفحه اصلی: ضایعات پنهان و انتقال دانش ═════════
   سرمه‌ای + نارنجی + سفید/نقره‌ای + خاکستری تیره؛ حرکت ملایم، بدون شلوغی. */
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: #1A2C45; color: #fff; }
.btn-navy-o { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-navy-o:hover { background: var(--ink); color: #fff; }
.mono { font-family: var(--mono); }
.h-k { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-ink); font-weight: 700; font-size: .92rem; }
.h-k svg { width: 18px; height: 18px; }
.h-head { margin-bottom: 26px; }
.h-head h2 { margin: 4px 0 0; }
.h-head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.h-sec { padding: 76px 0; }

/* قهرمان */
.h-hero { background: var(--ink); color: #E6EDF5; position: relative; overflow: hidden; }
.h-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% -10%, rgba(31, 95, 168, .35), transparent 60%), radial-gradient(600px 360px at 0% 110%, rgba(242, 106, 27, .12), transparent 60%); pointer-events: none; }
.h-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 68px 72px; }
.h-copy { display: flex; flex-direction: column; gap: 18px; }
.h-kick { color: var(--orange-2); font-weight: 700; font-size: .92rem; }
.h-hero h1 { margin: 0; color: #fff; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.75rem); line-height: 1.5; }
.h-hero h1 .hl { color: var(--orange-2); }
.h-hero h1 .w { display: inline-block; }
.js .h-hero h1 .w { opacity: 0; transform: translateY(.5em); filter: blur(6px); animation: word-in .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 60ms + 100ms); }
.h-lead { margin: 0; font-size: 1.06rem; line-height: 1.95; color: #B9C7D6; max-width: 60ch; }
.h-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.h-hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.js .h-lead, .js .h-actions, .js .h-kick { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .h-kick { animation-delay: .05s; }
.js .h-lead { animation-delay: .55s; }
.js .h-actions { animation-delay: .75s; }

/* کوه یخ: نوک دیده‌شده بالای خط آب، لایه‌های پنهان زیر آن یکی‌یکی آشکار می‌شوند */
.berg { background: #13233A; border: 1px solid rgba(106, 168, 230, .25); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.berg-t { color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.berg-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; font-size: .97rem; }
.berg-row.tip { background: var(--orange); color: #fff; }
.berg-row.deep { background: rgba(255, 255, 255, .05); border: 1px solid rgba(106, 168, 230, .2); }
.berg-row.deep em { font-style: normal; color: var(--orange-2); font-weight: 700; font-size: .88rem; }
.berg-water { position: relative; height: 10px; margin: 2px 0; }
.berg-water i { position: absolute; inset-inline: 0; top: 4px; height: 2px; background: linear-gradient(90deg, transparent, rgba(106, 168, 230, .8), transparent); background-size: 200% 100%; animation: water 4s linear infinite; }
@keyframes water { to { background-position: -200% 0; } }
.berg-note { font-size: .85rem; color: #9FB0C3; }
.js .berg { opacity: 0; animation: art-in 1s cubic-bezier(.2, .7, .2, 1) .35s forwards; --dx: -1; }
.js .berg-row.deep { opacity: 0; transform: translateY(-8px); filter: blur(3px); animation: surface .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d) * 380ms + 1.1s); }
@keyframes surface { to { opacity: 1; transform: none; filter: none; } }
.js .berg-row.deep em { animation: blink-hidden 2.4s ease-in-out infinite; animation-delay: calc(var(--d) * 380ms + 1.8s); }
@keyframes blink-hidden { 50% { opacity: .45; } }

/* آمار */
.h-stats { background: var(--white); border-bottom: 1px solid var(--line); }
.h-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 24px; }
.h-stat b { display: block; font-size: 1.75rem; font-weight: 800; color: var(--orange); line-height: 1.4; text-align: start; unicode-bidi: plaintext; }
[dir="rtl"] .h-stat b { text-align: right; }
.h-stat span { color: var(--muted); font-size: .86rem; }

/* نتایج */
.h-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-res { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.h-res:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.h-res.accent { border-color: var(--orange); }
.h-res-c { font-size: 1.05rem; }
.h-res-m { color: var(--muted); font-size: .84rem; }
.h-res-f { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); color: var(--orange); line-height: 1.35; margin-top: 6px; unicode-bidi: plaintext; }
[dir="rtl"] .h-res-f { text-align: right; }
.h-res-l { font-weight: 700; }
.h-res-s { color: var(--muted); font-size: .9rem; }
.h-more-row { margin: 16px 0 0; }
.h-more-row a, .h-tr a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.h-more-row .arr, .h-tr .arr, .h-dyk-go .arr { width: 18px; height: 18px; }
[dir="rtl"] .h-more-row .arr, [dir="rtl"] .h-tr .arr, [dir="rtl"] .h-dyk-go .arr { transform: scaleX(-1); }

/* انتقال دانش */
.h-know { background: #13233A; color: #E6EDF5; padding: 76px 0; }
.h-know-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.h-know-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.h-know .h-k { color: var(--orange-2); }
.h-know h2 { color: #fff; margin: 0; }
.h-know p { margin: 0; color: #B9C7D6; line-height: 1.95; }
.h-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.h-role { border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; padding: 14px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, background .2s; }
.h-role b { color: #fff; font-size: .95rem; line-height: 1.6; }
.h-role span { color: #9FB0C3; font-size: .82rem; line-height: 1.7; }
.h-role:hover { border-color: var(--orange-2); background: rgba(255, 255, 255, .04); }
.h-know-media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--carbon-2); border: 1px solid rgba(106, 168, 230, .2); }
.h-know-media img, .h-know-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-know-art { width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; }

/* روش کار */
.h-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.h-step { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.h-step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFF1E8; color: var(--orange-ink); font-weight: 800; }
.h-step > span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.85; }
.h-step:not(:last-child)::after { content: ""; position: absolute; top: 37px; inset-inline-end: -16px; width: 16px; height: 2px; background: var(--line); }

/* شناسنامه */
.h-pass { background: var(--white); border-block: 1px solid var(--line); padding: 64px 0; }
.h-pass-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.h-pass h2 { margin: 4px 0 10px; }
.h-pass p { line-height: 1.95; }
.h-pass-act { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.h-seal { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.h-seal-qr { width: 88px; height: 88px; flex: none; border: 2px solid var(--ink); border-radius: 10px; display: grid; place-items: center; background: #fff; }
.h-seal-qr svg { width: 58px; height: 58px; }
.h-seal > div { display: flex; flex-direction: column; gap: 4px; }
.h-seal-ok { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: #E3F3EA; color: var(--ok); font-weight: 700; font-size: .82rem; }
.h-seal-ok svg { width: 16px; height: 16px; }
.h-seal b { font-size: 1.1rem; text-align: start; }

/* مقالات */
.h-arts { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 20px; }
.h-dyk { background: #13233A; color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .25s; }
.h-dyk:hover { color: #fff; transform: translateY(-3px); }
.h-dyk-k { color: var(--orange-2); font-weight: 700; font-size: .86rem; }
.h-dyk b { font-size: 1.2rem; line-height: 1.7; }
.h-dyk-go { margin-top: auto; color: var(--orange-2); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.h-art { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.h-art:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.h-art-img { height: 140px; display: grid; place-items: center; overflow: hidden; }
.h-art-img img { width: 100%; height: 100%; object-fit: cover; }
.h-art-img svg { height: 110px; width: auto; }
.h-art-b { padding: 16px; display: flex; flex-direction: column; }
.h-art-b h3 { margin: 0; font-size: 1rem; line-height: 1.7; }

/* اعتماد */
.h-trust { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0; }
.h-trust-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h-tr { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.h-tr > b { font-size: 1.2rem; line-height: 1.6; }
.h-tr .muted { font-size: .92rem; line-height: 1.9; }
.h-tr-lock { padding: 20px; margin: -20px 0; border-radius: 16px; background: #13233A; color: #E6EDF5; }
.h-tr-lock .h-k { color: var(--orange-2); }
.h-tr-lock > b { color: #fff; }
.h-tr-lock .muted { color: #B9C7D6; }
.h-tr-lock a:not(.btn) { color: var(--orange-2); }
.h-phone { font-size: 1.3rem; font-weight: 800; color: var(--ink); text-decoration: none; }

/* صفحات حقوقی */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.legal-nav a { padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.legal-nav a[aria-current="page"] { background: #FFF1E8; color: var(--orange-ink); font-weight: 700; }
.legal-nav .small { padding: 8px 12px 0; }
.legal-body { max-width: 74ch; }
.legal-pledge { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #13233A; color: #fff; margin-bottom: 28px; }
.legal-pledge svg { width: 26px; height: 26px; color: var(--orange-2); flex: none; }
.legal-sec { margin-bottom: 26px; }
.legal-sec h2 { font-size: 1.2rem; margin-bottom: 8px; }
.legal-sec ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.legal-sec li { line-height: 1.95; }

@media (max-width: 1000px) {
  .h-hero-in, .h-know-in, .h-pass-in { grid-template-columns: 1fr; }
  .h-results, .h-arts, .h-trust-in { grid-template-columns: 1fr; }
  .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-step::after { display: none; }
  .h-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-tr-lock { margin: 0; }
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}
@media (max-width: 640px) {
  .h-hero-in { padding-block: 44px 48px; gap: 32px; }
  .h-sec, .h-know { padding: 56px 0; }
  .h-steps, .h-roles { grid-template-columns: 1fr; }
  .h-actions .btn { flex: 1 1 auto; }
  .berg { padding: 16px; }
  .berg-row { padding: 10px 12px; font-size: .9rem; }
  .h-stat b { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .h-hero h1 .w, .js .h-lead, .js .h-actions, .js .h-kick, .js .berg, .js .berg-row.deep { animation: none; opacity: 1; transform: none; filter: none; }
  .berg-water i, .js .berg-row.deep em { animation: none; }
}

/* ═════════ فاز ۲ — سربرگ سرمه‌ای، جست‌وجو، بنر، نسخه ═════════ */
.site-head { background: rgba(15, 28, 43, .97); border-bottom: 3px solid var(--orange); }
.site-head .wrap { min-height: 78px; gap: 18px; }
.site-head .logo, .site-head .logo:hover { color: #fff; }
.site-head .logo small { color: #9FB0C3; }
.logo-full img { width: auto; height: 50px; object-fit: contain; }
.site-head .nav a { color: #C9D6E3; padding: 8px 10px; }
.site-head .nav a:not(.btn):hover, .site-head .nav a[aria-current="page"] { color: #fff; }
.site-head .nav a[aria-current="page"] { color: var(--orange-2); }
.site-head .nav a.btn-primary { color: #fff; }
.site-head .menu summary { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.site-head .burger i { background: #fff; }
.site-head .menu-panel { top: 78px; background: #0F1C2B; border-bottom-color: var(--orange); }
.site-head .menu-panel a { color: #E6EDF5; border-bottom-color: rgba(255, 255, 255, .08); }
.site-head .menu-panel a[aria-current="page"] { color: var(--orange-2); }
.hsearch { position: relative; }
.hsearch summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #E6EDF5; border: 1px solid rgba(255, 255, 255, .18); }
.hsearch summary::-webkit-details-marker { display: none; }
.hsearch summary svg { width: 20px; height: 20px; }
.hsearch[open] summary, .hsearch summary:hover { background: rgba(255, 255, 255, .08); }
.hsearch-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 14px); width: min(420px, calc(100vw - 32px)); display: flex; gap: 8px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .45); z-index: 30; animation: drop .2s ease-out; }
.hsearch-panel input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; }
.search-res { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.search-res a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.search-res a:hover { border-color: var(--orange); }
.search-res small { color: var(--orange-ink); font-weight: 700; }
.search-res span { color: var(--muted); font-size: .92rem; }
.foot-ver { font-size: .68rem; color: #5D7086; text-align: center; padding-bottom: 10px; letter-spacing: .04em; }

/* بنر */
.banner { position: relative; background: #0B1622; overflow: hidden; min-height: 360px; display: flex; align-items: center; border-bottom: 1px solid rgba(106, 168, 230, .15); }
.banner-art { position: absolute; inset-block: 0; inset-inline-end: 0; width: 64%; }
.banner-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #0B1622 0%, rgba(11, 22, 34, 0) 38%), linear-gradient(to top, #0B1622 0%, rgba(11, 22, 34, 0) 30%); }
[dir="rtl"] .banner-art::after { background: linear-gradient(to left, #0B1622 0%, rgba(11, 22, 34, 0) 38%), linear-gradient(to top, #0B1622 0%, rgba(11, 22, 34, 0) 30%); }
.banner.has-photo .banner-art { width: 100%; }
.banner.has-photo .banner-art::after { background: linear-gradient(90deg, rgba(11, 22, 34, .05) 0%, rgba(11, 22, 34, .2) 40%, rgba(11, 22, 34, .88) 72%), linear-gradient(0deg, rgba(31, 95, 168, .18), rgba(31, 95, 168, .18)); }
[dir="ltr"] .banner.has-photo .banner-art::after { background: linear-gradient(270deg, rgba(11, 22, 34, .05) 0%, rgba(11, 22, 34, .2) 40%, rgba(11, 22, 34, .88) 72%), linear-gradient(0deg, rgba(31, 95, 168, .18), rgba(31, 95, 168, .18)); }
[dir="ltr"] .banner.has-photo .banner-art img.flip { transform: scaleX(-1); }
.banner.has-photo .banner-art img { object-position: center 45%; }
.banner-art svg, .banner-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.banner-in { position: relative; width: 100%; }
.banner-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 520px; padding-block: 48px; }
.banner-logo { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); }
.banner-word { display: flex; align-items: center; gap: 18px; color: #fff; }
.banner-word img { width: 110px; height: auto; }
.banner-word b { display: block; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.15; }
.banner-word span { color: #FFB27A; font-weight: 700; }
.banner-url { color: #C9D6E3; letter-spacing: .18em; font-size: .95rem; font-weight: 700; padding-inline-start: 4px; }
.banner::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--orange); z-index: 1; }
.js .banner-brand > * { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .banner-brand > :nth-child(2) { animation-delay: .25s; }
.cnc-spin { animation: cnc-spin .35s linear infinite; }
@keyframes cnc-spin { to { transform: translateY(16px); } }
.cnc-glow { animation: cnc-glow 1.6s ease-in-out infinite; transform-origin: 450px 262px; }
@keyframes cnc-glow { 50% { opacity: .65; transform: scale(.92); } }
.cnc-sparks path { animation: cnc-spark 1.1s ease-out infinite; }
.cnc-sparks path:nth-child(2n) { animation-delay: .35s; }
.cnc-sparks path:nth-child(3n) { animation-delay: .7s; }
@keyframes cnc-spark { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
.cnc-path { animation: cnc-path 2s linear infinite; }
@keyframes cnc-path { to { stroke-dashoffset: -24; } }
@media (max-width: 1100px) { .site-head .nav a:not(.btn) { padding: 8px 7px; font-size: .9rem; } }
@media (max-width: 1220px) {
  .hsearch { margin-inline-start: auto; }
  .site-head .menu { margin-inline-start: 0; }
}
@media (max-width: 760px) {
  .banner { min-height: 0; flex-direction: column; align-items: stretch; }
  .banner-art { position: relative; width: 100%; height: 190px; inset: auto; }
  .banner-art::after { background: linear-gradient(to top, #0B1622 0%, rgba(11, 22, 34, 0) 45%) !important; }
  .banner.has-photo .banner-art { position: absolute; inset: 0; height: auto; }
  .banner.has-photo .banner-art::after { background: rgba(11, 22, 34, .6) !important; }
  .banner-brand { padding-block: 4px 30px; max-width: 100%; }
  .banner.has-photo .banner-brand { padding-block: 40px; }
  .banner-logo { max-width: 330px; }
  .banner-word img { width: 70px; }
  .logo-full img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .cnc-spin, .cnc-glow, .cnc-sparks path, .cnc-path, .js .banner-brand > * { animation: none; opacity: 1; } }

/* ═════════ فاز ۲ — شناسنامه دیجیتال ═════════ */
.src { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; vertical-align: middle; line-height: 1.8; }
.src svg { width: 14px; height: 14px; }
.s1 { background: #EEF1F4; color: #4A5868; }
.s2 { background: #E6F0FB; color: #1F5FA8; }
.s3 { background: #E3F3EA; color: #2E7D52; }
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.pp-share { background: #FFF1E8; color: #7A3A0C; border-bottom: 1px solid #F6CBAF; font-size: .92rem; }
.pp-share .wrap { display: flex; gap: 10px; align-items: flex-start; padding-block: 12px; }
.pp-share svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--orange-ink); }
.pp-head { background: var(--ink); color: #E6EDF5; }
.pp-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: 36px; }
.pp-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pp-upd { color: #9FB0C3; font-size: .85rem; }
.pp-head h1 { color: #fff; margin: 0 0 10px; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); }
.pp-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; color: #B9C7D6; font-size: .95rem; }
.pp-meta b { color: #fff; }
.pp-legend { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; font-size: .85rem; color: #9FB0C3; }
.pp-qrbox { display: flex; gap: 14px; align-items: stretch; }
.pp-qr { background: #fff; border-radius: 14px; padding: 10px; width: 150px; text-align: center; color: var(--muted); }
.pp-qr svg { width: 130px; height: 130px; display: block; }
.pp-qr small { font-size: .72rem; }
.pp-grade { width: 110px; border-radius: 14px; border: 2px solid var(--ok); display: grid; place-items: center; align-content: center; text-align: center; padding: 10px; background: rgba(46, 125, 82, .12); }
.pp-grade b { font-size: 2.6rem; line-height: 1; color: #7FD3A3; }
.pp-grade span { font-size: .78rem; color: #B9C7D6; }
.pp-grade.g-C, .pp-grade.g-D { border-color: var(--warn); background: rgba(154, 100, 18, .15); }
.pp-grade.g-C b, .pp-grade.g-D b { color: #FFD08A; }
.pp-noqr { display: grid; justify-items: center; gap: 6px; width: 180px; padding: 16px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 14px; color: #9FB0C3; text-align: center; font-size: .85rem; }
.pp-noqr svg { width: 40px; height: 40px; }
.pp-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding-block: 28px 64px; }
.pp-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.pp-nav a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.pp-nav a:not(.btn):hover { background: #FFF1E8; color: var(--orange-ink); }
.pp-nav p { margin: 10px 4px; line-height: 1.8; }
.pp-main { display: grid; gap: 20px; }
.pp-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; scroll-margin-top: 100px; }
.pp-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid #E3E8EE; }
.pp-sec-h h2 { margin: 0; font-size: 1.12rem; }
.pp-t { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pp-t th, .pp-t td { padding: 9px 20px; border-bottom: 1px solid #EEF1F4; text-align: start; vertical-align: middle; }
.pp-t th { color: var(--muted); font-weight: 500; width: 40%; }
.pp-t tr:last-child th, .pp-t tr:last-child td { border-bottom: 0; }
.pp-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-spec-grid > div { border-inline-start: 1px solid #EEF1F4; }
.pp-spec-grid > div:first-child { border-inline-start: 0; }
.pp-spec-grid h3 { font-size: .95rem; margin: 0; padding: 12px 20px 4px; color: var(--orange-ink); }
.pp-spec-grid .pp-t th { width: 52%; }
.pp-spec-grid p { padding: 6px 20px 14px; margin: 0; }
.pp-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; padding: 16px 20px 20px; }
.pp-photos figure { margin: 0; }
.pp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.pp-photos figcaption { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.pp-list { list-style: none; margin: 0; padding: 6px 20px 14px; }
.pp-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid #EEF1F4; }
.pp-list li:last-child { border-bottom: 0; }
.pp-hist li.k-fix div::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-inline-end: 8px; vertical-align: middle; }
.pp-empty { padding: 16px 20px; margin: 0; }
.pp-insp { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; padding: 16px 20px; }
.pp-insp > div { display: grid; }
.pp-sum { margin: 0 20px 12px; padding: 12px 14px; border-radius: 10px; background: var(--paper); line-height: 1.9; }
.pp-note { padding: 0 20px 16px; margin: 0; }
.pp-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pp-level { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pp-level .src { font-size: .9rem; padding: 3px 12px; }
.pp-level p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.9; }

/* مهر اعتبار */
.seal-page { background: var(--ink); padding: 48px 16px 64px; display: grid; place-items: center; }
.seal-card { width: min(440px, 100%); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: #E6EDF5; }
.seal-k { color: #9FB0C3; font-size: .9rem; }
.seal-ring { width: 150px; height: 150px; border-radius: 50%; border: 5px solid var(--ok); display: grid; place-items: center; align-content: center; background: rgba(46, 125, 82, .12); color: #7FD3A3; }
.seal-ring svg { width: 54px; height: 54px; }
.seal-ring b { font-size: 1.1rem; }
.seal-ring.off { border-color: #5D7086; background: rgba(255, 255, 255, .04); color: #9FB0C3; }
.seal-card h1 { color: #fff; font-size: 1.35rem; margin: 0; }
.seal-dl { width: 100%; margin: 0; display: grid; gap: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px; font-size: .95rem; }
.seal-dl div { display: flex; justify-content: space-between; gap: 12px; }
.seal-dl dt { color: #9FB0C3; }
.seal-dl dd { margin: 0; font-weight: 700; }
.seal-dl dd.ok { color: #7FD3A3; }
.seal-lock { display: flex; gap: 10px; align-items: flex-start; text-align: start; font-size: .9rem; line-height: 1.9; color: #B9C7D6; margin: 0; }
.seal-lock svg { width: 20px; height: 20px; flex: none; color: var(--orange-2); margin-top: 4px; }
.seal-page .muted { color: #9FB0C3; }
.seal-mini { background: var(--ink); border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); }
.seal-mini .seal-ring { width: 120px; height: 120px; }

/* پنل: شناسنامه */
.tag { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #EEF1F4; color: #4A5868; vertical-align: middle; }
.tag-ok { background: #E3F3EA; color: var(--ok); }
.vis-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.vis-row input[type="text"] { flex: 1; min-width: 180px; }
.share-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.share-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.share-list li.off { opacity: .55; }
.share-list li > span { grid-column: 1; }
.share-list li form { grid-row: 1 / span 2; grid-column: 2; }
.share-url { width: 100%; font-size: .82rem; }
.spec-group { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 12px; margin: 0 0 14px; }
.spec-group legend { font-weight: 700; padding: 0 6px; color: var(--orange-ink); }
.spec-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 1.4fr) 150px; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px dashed #EEF1F4; }
.spec-row:last-child { border-bottom: 0; }
.spec-row label { font-size: .9rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.photo-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.photo-grid figure.is-private { opacity: .6; border-style: dashed; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.photo-grid figcaption { font-size: .78rem; margin: 4px 0; }
.photo-grid form { display: flex; gap: 4px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .pp-head-in { grid-template-columns: 1fr; }
  .pp-body { grid-template-columns: 1fr; }
  .pp-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .pp-nav p { flex-basis: 100%; }
  .pp-spec-grid { grid-template-columns: 1fr; }
  .pp-spec-grid > div { border-inline-start: 0; border-top: 1px solid #EEF1F4; }
  .pp-levels { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pp-qrbox { justify-content: flex-start; }
  .pp-qr { width: 130px; } .pp-qr svg { width: 110px; height: 110px; }
  .pp-t th, .pp-t td { padding: 8px 14px; }
  .pp-t th { width: 44%; }
  .pp-list li { grid-template-columns: 1fr; gap: 2px; }
  .pp-nav a:not(.btn) { padding: 6px 10px; font-size: .9rem; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec-row label { grid-column: 1 / -1; }
}
.vis-row select, .vis-row input[type="file"] { width: auto; flex: 0 1 auto; }

/* ═════════ فاز ۳ — پیشرفت قرارداد، پرونده داخلی، داشبورد ═════════ */
.st-good { color: var(--ok); font-weight: 700; }
.st-bad { color: var(--bad); font-weight: 700; }
.st-warn { color: var(--warn); font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 10px 0 22px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; border-top: 3px solid var(--line); }
.kpi.up { border-top-color: var(--ok); }
.kpi.down { border-top-color: var(--bad); }
.kpi-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.kpi-v { font-size: 1.05rem; margin-top: 4px; }
.kpi-v b { font-size: 1.45rem; }
.kpi-s { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.kc { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible; }
.kc-line { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.kc-base { stroke: #9AA6B2; stroke-width: 1; stroke-dasharray: 4 4; }
.kc-dot { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.kc-hit { fill: transparent; }
.kc-pt:hover .kc-dot { r: 6; }
.kc-ax { font-size: 10px; fill: #5E6B7A; font-family: var(--font); }
.kc-empty { margin: 10px 0; }
.scope-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 16px; }
.scope-tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); text-decoration: none; font-size: .88rem; }
.scope-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sum-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.sum { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; }
.sum b { font-size: 1.05rem; }
.sum-bad { border-color: #F2B8B5; background: #FDF3F2; }
.meter { display: block; height: 6px; border-radius: 999px; background: #EEF1F4; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.mtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mtabs a { padding: 9px 14px; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 500; }
.mtabs a[aria-current="page"] { color: var(--orange-ink); border-bottom-color: var(--orange); font-weight: 700; }
.tag-bad { background: #FDECEA; color: var(--bad); }
.tag-lock { background: #2B3B4E; color: #fff; }
.sev { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.sev-critical { background: #FDECEA; color: var(--bad); }
.sev-medium { background: #FFF4D6; color: #7A5300; }
.sev-low { background: #EEF1F4; color: #4A5868; }
.tbl tr.is-closed td { opacity: .6; }
.def-act { display: flex; gap: 6px; flex-wrap: wrap; }
.def-act input { min-width: 120px; flex: 1; }
.pub-tbl td:last-child { width: 160px; }
.doc-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.doc-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.todo li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; background: var(--paper); border-inline-start: 4px solid var(--line); }
.todo li.t-bad { border-inline-start-color: var(--bad); background: #FDF3F2; }
.todo li.t-warn { border-inline-start-color: #D9A400; background: #FFFBEE; }
.todo li.t-info { border-inline-start-color: var(--blue); }
.todo a { display: grid; text-decoration: none; color: var(--ink); }
.t-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: #fff; border: 1px solid var(--line); flex: none; }
.t-bad .t-ic { color: var(--bad); border-color: var(--bad); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 24px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.tile-v { font-size: 1.6rem; line-height: 1.3; }
.funnel { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.funnel li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 56px; gap: 4px 10px; align-items: center; }
.f-bar { height: 16px; background: #EEF1F4; border-radius: 4px; overflow: hidden; }
.f-bar i { display: block; height: 100%; background: var(--orange); border-radius: 4px; }
.f-n { text-align: end; }
.f-r { grid-column: 2 / 4; margin-top: -4px; }
@media (max-width: 640px) { .funnel li { grid-template-columns: 1fr 56px; } .f-l { grid-column: 1 / -1; } .f-bar { grid-column: 1; } }
.contract-side { align-items: start; } .stack > div + div { margin-top: 16px; }
@media (max-width: 900px) {
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn-side, .pn-main { min-width: 0; }
  .pn-side nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .pn-side nav a { white-space: nowrap; }
  .mtabs { flex-wrap: nowrap; overflow-x: auto; }
  .mtabs a { white-space: nowrap; }
  .contract-side { grid-template-columns: 1fr; }
}
.cols > *, .grid-2 > *, .grid-3 > * { min-width: 0; }

/* ═════════ فاز ۴ — پنل مالک ═════════ */
.acc-head { background: var(--ink); color: #E6EDF5; }
.acc-head-in { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-block: 26px 0; }
.acc-head h1 { color: #fff; font-size: 1.5rem; margin: 4px 0 14px; }
.acc-head .h-k { color: var(--orange-2); }
.acc-nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.acc-nav a, .acc-nav button { color: #C9D6E3; text-decoration: none; padding: 10px 14px; border-radius: 10px 10px 0 0; background: none; border: 0; font: inherit; cursor: pointer; }
.acc-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); font-weight: 700; }
.acc-nav a:hover, .acc-nav button:hover { color: #fff; }
.acc-body { padding-block: 22px 60px; }
.acc-pledge { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #13233A; color: #E6EDF5; font-size: .92rem; margin-bottom: 16px; }
.acc-pledge svg { width: 20px; height: 20px; color: var(--orange-2); flex: none; margin-top: 3px; }
.acc-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: 960px; }
.acc-why { padding: 8px 4px; }
.acc-steps { padding: 0; margin: 0 0 12px; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.acc-steps li { display: grid; padding-inline-start: 38px; position: relative; counter-increment: s; }
.acc-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #FFF1E8; color: var(--orange-ink); font-weight: 800; font-size: .85rem; }
.acc-steps span { color: var(--muted); font-size: .92rem; }
.err { color: var(--bad); font-size: .85rem; margin: 4px 0 0; }
.acc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.acc-row h2 { margin: 0; }
.acc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 14px 0 22px; }
.acc-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.acc-card:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--ink); }
.acc-card.is-off { opacity: .7; border-style: dashed; }
.acc-card-img { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--ink); display: grid; place-items: center; color: #9FB0C3; }
.acc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.acc-card-img svg { width: 40px; height: 40px; }
.acc-card-b { display: grid; gap: 4px; align-content: start; min-width: 0; }
.acc-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.tag-warn { background: #FFF4D6; color: #7A5300; }
.tag-sale, .s-sale { background: var(--orange); color: #fff; }
a.s-sale { text-decoration: none; }
/* نشان پایش‌شده با SIMI-ERP — رنگ فیروزه‌ای خود SIMI-ERP، جدا از نارنجی ماشین‌نامه */
.tag-erp, .s-erp { background: #0f7c7e; color: #fff; }
.erp-invite { border-inline-start: 4px solid #0f7c7e; }
.acc-empty { text-align: center; padding: 30px; }
.acc-teaser { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.acc-teaser h2 { margin: 0 0 4px; }
.acc-teaser p { margin: 0; }
.acc-new fieldset { border: 1px solid var(--line); }
.acc-new legend { font-weight: 700; padding: 0 6px; display: flex; gap: 8px; align-items: center; }
.step-n { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: .85rem; }
.locked { display: block; padding: 8px 12px; background: var(--paper); border-radius: 8px; color: var(--ink-2); }
.svc-row { border-bottom: 1px solid var(--line); padding: 10px 0; }
.svc-row p { margin: 4px 0 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.plan { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.plan span { display: grid; }
.plan:has(input:checked) { border-color: var(--orange); background: #FFF8F3; }
.inv { border-bottom: 1px solid var(--line); padding: 12px 0; }
.inv-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pay-info { background: var(--paper); border-radius: 10px; padding: 10px 12px; margin: 8px 0; display: grid; gap: 4px; }
.demo-banner { background: #FFF4D6; border: 1px dashed #D9A400; color: #6B4508; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.demo { position: relative; }
.pp-preview { background: #E6F0FB; color: #12355E; border-bottom-color: #B9D2EE; }
.pp-sale { border: 2px solid var(--orange); }
.pp-sale-in { padding: 16px 20px 20px; }
.pp-sale-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-sale-form textarea, .pp-sale-form button { grid-column: 1 / -1; }
.pp-sale-form input, .pp-sale-form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
@media (max-width: 760px) {
  .acc-auth { grid-template-columns: 1fr; }
  .pp-sale-form { grid-template-columns: 1fr; }
  .acc-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .acc-nav a { white-space: nowrap; }
}

/* دعوت به پنل */
.inv { border: 1px solid var(--line, #e3e8ef); border-radius: 12px; padding: 12px; margin: 10px 0; }
.inv-off { opacity: .6; }
.inv-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.inv-code { font-size: 1.15rem; letter-spacing: .08em; }
.inv-text { width: 100%; font-size: .85rem; line-height: 1.8; margin-bottom: 8px; resize: vertical; }
.inv-new { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.inv-new input { flex: 1 1 200px; min-width: 0; }
.redeem label { flex: 1 1 100%; }
.redeem input { flex: 1 1 160px; max-width: 220px; }

/* فرم کوتاه درخواست */
.form-more { margin-top: 18px; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; }
.form-more > summary { cursor: pointer; font-weight: 700; color: var(--ink-2); padding: 4px 0; }
.form-more[open] > summary { margin-bottom: 8px; }
.ref-code-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 8px 14px; display: grid; gap: 2px; text-align: center; }
.ref-code-box b { font-size: 1.25rem; letter-spacing: .08em; }
.ref-line { margin: 6px 0 12px; }
.svc-extra { margin-top: 28px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); }
.svc-extra .kicker { display: block; margin-bottom: 4px; }
.scan-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.scan-box { margin-top: 14px; background: #0B1620; border-radius: 14px; padding: 12px; text-align: center; color: #fff; }
.scan-box video { width: 100%; max-height: 60vh; border-radius: 10px; background: #000; object-fit: cover; }
.scan-box .btn { margin-top: 6px; }

/* گزارش بازدید پایش */
.vrep { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 14px 0; background: var(--white, #fff); }
.vrep-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.vrep-sum { margin: 4px 0 10px; }
.vrep-t td, .vrep-t th { white-space: nowrap; }
.vrep-note { border-top: 1px dashed var(--line); padding: 8px 0; font-size: .92rem; display: grid; gap: 4px; }
.vrep-extra { background: #F6F8FA; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.pn-me { color: rgba(255,255,255,.7); font-size: .82rem; margin: -6px 0 10px; padding-inline: 4px; }

/* ───────── گزارش مالک (v1.11) ───────── */
:root { --s-good: #2E7D52; --s-good-bg: #E3F3EA; --s-warn: #8A5A00; --s-warn-bg: #FFF4D6; --s-warn-bar: #E0A400;
  --s-bad: #B3261E; --s-bad-bg: #FDECEA; --s-none: #6B7785; --s-none-bg: #EEF1F4; --series: #1F5FA8; }
.h-code { font-size: .5em; font-weight: 600; color: #9FB0C2; vertical-align: middle; margin-inline-start: 6px; }
.nav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--s-warn-bar); color: #1d1300; font-size: .72rem; font-weight: 800; margin-inline-start: 4px; line-height: 1; }
.nav-badge.bad { background: #E5484D; color: #fff; }
.digest { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--s-warn-bg); border: 1px solid #EAD3A6; border-inline-start: 5px solid var(--s-warn-bar); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
.digest.bad { background: var(--s-bad-bg); border-color: #F2C2BE; border-inline-start-color: var(--s-bad); }
.digest > div { flex: 1 1 260px; display: grid; gap: 2px; }
.digest-ic { font-size: 1.6rem; }
.digest-s .sev { margin-inline-end: 4px; }
.mname b { font-weight: 700; }
.mcode { font-family: var(--mono); font-size: .74rem; color: #8A97A6; font-weight: 500; }
.rp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rp-filter { display: flex; align-items: center; gap: 8px; }
.rp-filter select { min-width: 220px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; }
.rp-conf { margin: 0; display: flex; align-items: center; gap: 6px; }
.rp-conf svg { width: 14px; height: 14px; }
.rp-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: #E7ECF2; border-radius: 14px; margin-bottom: 16px; scrollbar-width: none; }
.rp-tabs a { white-space: nowrap; padding: 9px 16px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.rp-tabs a:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.rp-tabs a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,28,43,.12); }
.rp-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--s-warn-bar); color: #1d1300; font-size: .72rem; font-weight: 800; }
.rp-badge.bad { background: var(--s-bad); color: #fff; }
.rp-pane { display: grid; gap: 16px; margin-bottom: 16px; }
.rp-pane[hidden] { display: none; }
.rp-pane > * { min-width: 0; }
.rp-pane > .panel-box { margin: 0; }
.rp-h { font-size: 1.15rem; margin: 8px 0 0; }
.rp-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; align-content: start; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px; overflow: hidden; color: inherit; text-decoration: none; }
.tile::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: var(--s-none); }
.tile.t-good::before { background: var(--s-good); } .tile.t-warn::before { background: var(--s-warn-bar); } .tile.t-bad::before { background: var(--s-bad); } .tile.t-info::before { background: var(--series); }
a.tile:hover { border-color: #B9C6D4; box-shadow: var(--shadow); }
.tile-k { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tile-v { font-size: 2.1rem; font-weight: 800; line-height: 1.2; }
.tile-v.sm { font-size: 1.35rem; }
.tile.t-good .tile-v { color: var(--s-good); } .tile.t-warn .tile-v { color: var(--s-warn); } .tile.t-bad .tile-v { color: var(--s-bad); }
.tile-s { font-size: .8rem; color: var(--muted); }
.sevs { display: flex; flex-wrap: wrap; gap: 4px; }
.dlt { font-size: .82rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.dlt.up { color: var(--s-good); } .dlt.down { color: var(--s-bad); }
.apq { display: grid; gap: 4px; margin-top: 6px; }
.apq-r { display: grid; grid-template-columns: 78px 1fr 44px; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-2); }
.apq-r b { text-align: end; }
.apq-m { height: 6px; border-radius: 4px; background: #E7ECF2; overflow: hidden; }
.apq-m i { display: block; height: 100%; background: var(--series); border-radius: 4px; }
.lights { display: grid; gap: 4px; margin-top: 4px; }
.lt { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; }
.lt i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: .75rem; font-weight: 800; color: #fff; }
.lt.good i { background: var(--s-good); } .lt.warn i { background: var(--s-warn-bar); color: #1d1300; } .lt.bad i { background: var(--s-bad); } .lt.none i { background: #AAB4BF; }
.rp-chart-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.rp-chart-h h2 { margin: 0; font-size: 1.15rem; }
.trend { width: 100%; height: auto; display: block; }
.tr-zone { fill: var(--s-good); opacity: .07; }
.tr-grid { stroke: #E3E8EE; stroke-width: 1; }
.tr-red { stroke: var(--s-bad); stroke-width: 1; stroke-dasharray: 4 4; opacity: .55; }
.tr-ax { fill: #7A8794; font-size: 11px; font-family: var(--font); }
.tr-line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tr-hit { fill: transparent; }
.tr-dot { fill: var(--series); stroke: #fff; stroke-width: 2; }
.tr-pt:hover .tr-dot { r: 7; }
.tr-last { fill: var(--ink); font-size: 12px; font-weight: 800; font-family: var(--font); }
.rp-chart details { margin-top: 6px; }
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.scard { display: grid; gap: 6px; align-content: start; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--s-none); border-radius: 14px; padding: 14px 16px; color: inherit; text-decoration: none; }
.scard:hover { box-shadow: var(--shadow); color: inherit; }
.scard.s-good { border-top-color: var(--s-good); } .scard.s-warn { border-top-color: var(--s-warn-bar); } .scard.s-bad { border-top-color: var(--s-bad); }
.scard-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.scard-n { font-size: 1.08rem; }
.scard-v { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.scard-v .num { font-size: 1.25rem; }
.sbadge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 8px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--s-none-bg); color: var(--s-none); }
.sbadge i { font-style: normal; font-weight: 900; }
.sbadge.s-good { background: var(--s-good-bg); color: var(--s-good); } .sbadge.s-warn { background: var(--s-warn-bg); color: var(--s-warn); } .sbadge.s-bad { background: var(--s-bad-bg); color: var(--s-bad); }
.spark { width: 110px; height: 32px; flex: none; }
.spark polyline { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; }
.spark circle { fill: var(--series); }
.scard-d { line-height: 1.6; }
.oee-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 800; background: var(--s-none-bg); color: var(--s-none); }
.oee-chip.t-good { background: var(--s-good-bg); color: var(--s-good); } .oee-chip.t-warn { background: var(--s-warn-bg); color: var(--s-warn); } .oee-chip.t-bad { background: var(--s-bad-bg); color: var(--s-bad); }
.tr-dot.t-bad { fill: var(--s-bad); } .tr-dot.t-warn { fill: var(--s-warn-bar); } .tr-dot.t-good { fill: var(--s-good); }
.dcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 12px; }
.dcard { display: grid; gap: 6px; align-content: start; border: 1px solid var(--line); border-inline-start: 5px solid #AAB4BF; border-radius: 12px; padding: 12px 14px; background: #fff; }
.dcard.sev-b-critical { border-inline-start-color: var(--s-bad); background: #FFFAF9; } .dcard.sev-b-medium { border-inline-start-color: var(--s-warn-bar); }
.dcard.is-closed { opacity: .75; border-inline-start-color: var(--s-good); background: #FAFCFB; }
.dcard-h { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dcard-t { font-size: 1.02rem; }
.dcard-d { margin: 0; white-space: pre-wrap; color: var(--ink-2); }
.dcard-a { background: #F4F7FA; border-radius: 8px; padding: 6px 10px; }
.dst { font-size: .76rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; }
.dst.open { background: #FDECEA; color: var(--s-bad); } .dst.closed { background: var(--s-good-bg); color: var(--s-good); }
.rp-add { border: 1px dashed #B9C6D4; border-radius: 12px; padding: 10px 14px; background: #FAFBFD; margin-top: 8px; }
.rp-add summary { cursor: pointer; font-weight: 700; color: var(--orange-ink); list-style: none; display: flex; align-items: center; gap: 8px; }
.rp-add summary::-webkit-details-marker { display: none; }
.rp-add-ic { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.rp-add-f { display: grid; gap: 10px; margin-top: 10px; }
.rp-add-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rp-add-f .field { display: grid; gap: 4px; }
.rp-add-f input, .rp-add-f select, .rp-add-f textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.rp-add-f .btn { justify-self: start; }
.rp-closed { margin-top: 14px; }
.rp-closed summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.line-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-inline-start: 8px; }
.line-form input[type="text"] { width: 130px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .88rem; }
.line-top { margin: 0 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
tr.is-new td { background: #FFF8E6; }
@media (max-width: 640px) {
  .tile-v { font-size: 1.8rem; }
  .rp-filter select { min-width: 0; max-width: 62vw; }
  .tr-ax { font-size: 13px; }
}
.trend-m { display: none; }
@media (max-width: 640px) {
  .trend-d { display: none; } .trend-m { display: block; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 12px 14px; }
  .tile-oee { grid-column: 1 / -1; }
  .tile-v.sm { font-size: 1.1rem; }
  .rp-tabs a { padding: 8px 12px; font-size: .9rem; }
}

/* ───── v1.12: ابزار دمای تزریق و محاسبه شات ───── */
.poly-sec { padding-top: 48px; }
.poly { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.poly > * { min-width: 0; }
.poly-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 24px; }
.poly-step { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.poly-step span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--carbon); color: #fff; font-weight: 800; }
.poly-step h2 { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.poly-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.poly-chip { min-width: 0; font: inherit; cursor: pointer; text-align: center; padding: 8px 6px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .15s, background .15s, transform .15s; line-height: 1.35; }
.poly-chip b { display: block; font-size: 1rem; }
.poly-chip small { display: block; font-size: .72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poly-chip:hover { border-color: var(--orange-2); transform: translateY(-1px); }
.poly-chip.on { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.poly-chip.on small { color: var(--steel); }
.poly-out { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.poly-name { font-size: 1.2rem; margin-bottom: 10px; }
.poly-name span { color: var(--orange-ink); font-weight: 800; margin-inline-start: 6px; }
.poly-therm-bar { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(to left, #FFE3CF, #F7B27E, #F26A1B, #B3261E); }
.poly-therm-bar i { position: absolute; top: -4px; bottom: -4px; border-radius: 99px; border: 3px solid var(--carbon); background: rgba(255, 255, 255, .25); transition: inset-inline-start .35s, width .35s; }
.poly-therm-scale, .poly-gauge-s { position: relative; height: 18px; font-size: .75rem; color: var(--muted); margin: 4px 0 14px; }
.poly-therm-scale span, .poly-gauge-s span { position: absolute; top: 0; transform: translateX(50%); white-space: nowrap; }
.poly-therm-scale span:first-child, .poly-gauge-s span:first-child { transform: none; }
.poly-gauge-s span:last-child { transform: translateX(100%); }
.poly-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.poly-tile { background: var(--paper); border-radius: var(--r-sm); padding: 10px 12px; border-inline-start: 4px solid var(--steel); }
.poly-tile.hot { border-inline-start-color: var(--orange); }
.poly-tile.cool { border-inline-start-color: var(--blue); }
.poly-tile span { display: block; font-size: .8rem; color: var(--muted); }
.poly-tile b { font-size: 1.05rem; }
.poly-tile small { color: var(--muted); font-weight: 400; }
.poly-dry { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; }
.poly-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.poly-badge.ok { background: #E3F2E9; color: var(--ok); }
.poly-badge.info { background: #E6EFF9; color: var(--blue); }
.poly-badge.warn { background: #FBEFD9; color: var(--warn); }
.poly-badge.bad { background: #F8E0DE; color: var(--bad); }
.poly-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.poly-form label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.poly-form small { font-weight: 400; color: var(--muted); }
.poly-form input { display: block; width: 100%; margin-top: 4px; font: inherit; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); direction: ltr; text-align: right; }
.poly-form input:focus { border-color: var(--orange); outline: none; background: #fff; }
.poly-res { margin-top: 16px; background: var(--carbon); color: #fff; border-radius: var(--r-sm); padding: 14px 16px; }
.poly-kv { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.poly-kv span { color: var(--steel); }
.poly-kv b { color: var(--orange-2); }
.poly-gauge { position: relative; height: 10px; border-radius: 99px; margin-top: 14px; background: #3a4a5c; }
.poly-gauge-z { position: absolute; inset-inline-start: 20%; width: 60%; top: 0; bottom: 0; background: #2E7D52; border-radius: 2px; }
.poly-gauge i { position: absolute; top: -5px; width: 4px; height: 20px; margin-inline-start: -2px; background: #fff; border-radius: 2px; box-shadow: 0 0 0 2px var(--orange); transition: inset-inline-start .35s; }
.poly-gauge-s { color: var(--steel); font-size: .7rem; margin: 4px 0 0; }
.poly-verdict { margin: 10px 0 0; font-weight: 700; font-size: .92rem; }
.poly-verdict.ok { color: #7DDBA3; }
.poly-verdict.warn { color: #FFC56B; }
.poly-verdict.bad { color: #FF8F87; }
.poly-cta { margin-top: 18px; padding: 14px; border-radius: var(--r-sm); background: #FFF4EC; border: 1px solid #F8D2B8; }
.poly-cta p { margin: 0 0 10px; font-size: .9rem; }
.poly-cta .btn { margin: 4px 0 0 6px; }
.poly-tbl-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.poly-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.poly-tbl th, .poly-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.poly-tbl thead th { background: var(--carbon); color: #fff; font-weight: 700; white-space: nowrap; }
.poly-tbl tbody tr:nth-child(even) { background: var(--paper); }
.poly-faq { max-width: 860px; }
.poly-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 10px; }
.poly-faq summary { cursor: pointer; font-weight: 700; }
.poly-faq details p { margin: 10px 0 0; color: var(--ink-2); }
.h-tool { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--r-md); color: #fff; text-decoration: none;
  background: radial-gradient(120% 140% at 0% 0%, var(--carbon-3), var(--carbon) 60%); box-shadow: var(--shadow); }
.h-tool:hover { color: #fff; }
.h-tool-ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), #B3261E); font-size: 1.6rem; font-weight: 800; }
.h-tool b { display: block; font-size: 1.2rem; margin-bottom: 2px; }
.h-tool span { color: var(--steel); font-size: .92rem; }
.h-tool .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .poly { grid-template-columns: 1fr; }
  .h-tool { grid-template-columns: auto 1fr; }
  .h-tool .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  .poly-card { padding: 16px; }
  .poly-tiles, .poly-form { grid-template-columns: 1fr; }
  .poly-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-tool { padding: 18px; gap: 14px; }
  .h-tool-ic { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ───── v1.13: ساختار مقاله (تیتر، فهرست، جدول، کادر نکته) ───── */
.article h2 { font-size: 1.35rem; margin: 36px 0 10px; line-height: 1.6; padding-inline-start: 12px; border-inline-start: 4px solid var(--orange); }
.article h3 { font-size: 1.12rem; margin: 26px 0 6px; color: var(--ink-2); }
.art-list { padding-inline-start: 22px; margin: 6px 0 16px; font-size: 1.02rem; }
.art-list li { margin-bottom: 6px; }
.art-list li::marker { color: var(--orange); }
.art-tbl { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.art-tbl table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.art-tbl th, .art-tbl td { padding: 10px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.art-tbl th { background: var(--carbon); color: #fff; }
.art-tbl tbody tr:nth-child(even) { background: var(--paper); }
.art-note { margin: 22px 0; padding: 16px 18px; border-radius: var(--r-sm); background: #FFF4EC; border: 1px solid #F8D2B8; border-inline-start: 5px solid var(--orange); font-weight: 600; }

/* ───── v1.13.1: دکمه «ابزارها» در هدر ───── */
.btn-tools { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #fff; border: 1.5px solid var(--orange-2); }
.btn-tools:hover, .btn-tools[aria-current="page"] { background: rgba(255, 138, 61, .14); color: #fff; }
.nav .btn-tools::after { display: none; }
.btn-tools-ic { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 4px; border-radius: 6px; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 800; direction: ltr; }
.menu-tools { display: flex; align-items: center; gap: 8px; color: var(--orange-2) !important; font-weight: 700; }

/* ───── v1.14: صفحه ابزارها و محاسبه تناژ قفل گیره ───── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .18s, border-color .18s; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--orange-2); color: var(--ink); }
.tool-card h2 { margin: 6px 0 0; font-size: 1.2rem; line-height: 1.6; }
.tool-card p { margin: 0; color: var(--muted); }
.tool-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), #B3261E); color: #fff; font-weight: 800; direction: ltr; }
.tool-go { margin-top: auto; color: var(--orange-ink); font-weight: 700; }
.clamp-groups { display: grid; gap: 8px; }
.clamp-g { font: inherit; cursor: pointer; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; text-align: start; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.clamp-g b { grid-column: 1; font-size: 1rem; text-align: right; }
.clamp-g > small { grid-column: 1; color: var(--muted); font-size: .8rem; }
.clamp-g i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-weight: 800; color: var(--orange-ink); white-space: nowrap; }
.clamp-g i small { font-weight: 400; color: var(--muted); }
.clamp-g:hover { border-color: var(--orange-2); }
.clamp-g.on { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.clamp-g.on > small, .clamp-g.on i small { color: var(--steel); }
.clamp-g.on i { color: var(--orange-2); }
.poly-form select { display: block; width: 100%; margin-top: 4px; font: inherit; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.clamp-help { margin-top: 14px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: var(--r-sm); }
.clamp-help summary { cursor: pointer; font-weight: 700; color: var(--orange-ink); font-size: .92rem; }
.clamp-big { text-align: center; padding: 18px 12px; margin-bottom: 14px; border-radius: var(--r-sm); background: linear-gradient(135deg, #FFF4EC, #FFE3CF); border: 1px solid #F8D2B8; }
.clamp-big span { display: block; color: var(--orange-ink); font-weight: 700; font-size: .9rem; }
.clamp-big b { display: block; font-size: 2.6rem; line-height: 1.3; color: var(--ink); font-weight: 800; }
.clamp-big small { color: var(--muted); font-size: .85rem; }
.clamp-need { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 0; background: var(--orange); border-radius: 99px; transition: width .35s; }
.clamp-legend { margin: 8px 0 0; font-size: .75rem; color: var(--steel); display: flex; align-items: center; gap: 6px; }
.clamp-legend .lg-need { width: 18px; height: 8px; border-radius: 4px; background: var(--orange); }
.clamp-legend .lg-mach { width: 4px; height: 14px; border-radius: 2px; background: #fff; margin-inline-start: 10px; }

/* ───── v1.15: اشتراک نتیجه ابزارها، ضخامت دیواره ───── */
.share-box { margin-top: 14px; padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); }
.share-box > b { display: block; font-size: .92rem; margin-bottom: 10px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sh { font: inherit; font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; text-decoration: none; }
.sh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sh:hover { border-color: var(--orange-2); color: var(--ink); }
.sh-wa { background: #25D366; border-color: #25D366; color: #fff; }
.sh-wa:hover { color: #fff; filter: brightness(.95); }
.sh-tg { background: #229ED9; border-color: #229ED9; color: #fff; }
.sh-tg:hover { color: #fff; filter: brightness(.95); }
.share-msg { display: block; min-height: 1.2em; margin-top: 6px; color: var(--ok); font-weight: 700; }
.clamp-formula { font-weight: 800; padding: 12px 14px; border-radius: var(--r-sm); background: var(--carbon); color: #fff; }
.clamp-tables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
@media (max-width: 760px) { .clamp-tables { grid-template-columns: 1fr; } }

/* ───── v1.16: ابزار مرتبط در مقاله، راهنمای ابزار تناژ ───── */
.rel-tool { margin: 26px 0 18px; padding: 18px 20px; border-radius: var(--r-md); background: radial-gradient(120% 140% at 0% 0%, var(--carbon-3), var(--carbon) 65%); color: #fff; }
.fy-box { margin: 22px 0 18px; padding: 18px 20px; border-radius: var(--r-md); border: 1.5px solid var(--orange); background: linear-gradient(135deg, rgba(255,138,61,.10), rgba(31,95,168,.06)); }
.fy-box b { display: block; font-size: 1.12rem; margin: 6px 0 4px; }
.fy-box p { margin: 6px 0 12px; font-size: .97rem; }
.fy-k { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: #1F5FA8; border-radius: 99px; padding: 2px 10px; direction: ltr; }
.rel-tool-k { display: inline-block; font-size: .75rem; font-weight: 800; color: #fff; background: var(--orange); border-radius: 99px; padding: 2px 10px; }
.rel-tool p { margin: 10px 0 12px; color: #E8EEF5; font-size: 1rem; }
.clamp-g i { font-size: .82rem; }
.clamp-guide h2 { margin-top: 8px; }
.clamp-guide h2 + p { margin-top: 0; }
.clamp-guide p + h2 { margin-top: 34px; }
.article p a, .art-list a, .art-note a, .art-tbl a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(242, 106, 27, .45); }

/* ───── v1.18: دعوت به درخواست زیر ابزارها و مقالات، بروشور، کد دعوت ───── */
.help-cta { margin: 18px 0; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line, #DCE3EB); border-inline-start: 4px solid var(--orange); box-shadow: 0 8px 24px -18px rgba(15,28,43,.35); }
.help-cta-k { display: inline-block; font-size: .75rem; font-weight: 800; color: var(--orange-ink); background: #FFF4EC; border-radius: 99px; padding: 2px 10px; }
.help-cta h3 { margin: 10px 0 6px; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.help-cta p { margin: 0 0 12px; font-size: .95rem; line-height: 1.85; color: #3A4858; }
.bro-box { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line, #DCE3EB); }
.bro-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: .04em; }
.bro-tx b { display: block; font-size: 1.1rem; color: var(--ink); }
.bro-tx span { color: #3A4858; font-size: .92rem; line-height: 1.8; }
.bro-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.invite-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, #DCE3EB); }
.invite-note h3 { margin: 0 0 6px; font-size: 1rem; }
.invite-note p { margin: 0 0 12px; font-size: .92rem; line-height: 1.85; color: #3A4858; }
.tb-offer { font-weight: 700; }
@media (max-width: 720px) {
  .bro-box { grid-template-columns: auto minmax(0, 1fr); }
  .bro-act { grid-column: 1 / -1; justify-content: stretch; }
  .bro-act .btn { flex: 1 1 100%; }
}

/* ───── v1.19: بازار دستگاه ───── */
.mk-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto; gap: 10px 14px; align-items: end; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.mk-filter label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: #4A5868; min-width: 0; }
.mk-filter select, .mk-filter input[type=text], .mk-filter input:not([type]) { width: 100%; min-width: 0; }
.mk-filter .mk-only { flex-direction: row; align-items: center; gap: 6px; padding-bottom: 8px; }
.mk-count { margin: 14px 0 18px; }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mk-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.mk-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(15,28,43,.5); color: var(--ink); }
.mk-card.is-insp { border: 2px solid var(--orange); box-shadow: 0 10px 26px -20px rgba(242,106,27,.7); }
.mk-img { position: relative; aspect-ratio: 4 / 3; background: #EEF2F6; display: grid; place-items: center; }
.mk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-noimg svg { width: 54px; height: 54px; opacity: .35; }
.mk-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.mk-badge svg { width: 15px; height: 15px; }
.mk-img .mk-badge { position: absolute; top: 10px; inset-inline-start: 10px; }
.mk-insp { background: var(--orange); color: #fff; }
.mk-decl { background: #fff; color: #4A5868; border: 1px dashed #9AA7B4; }
.mk-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mk-body h2 { margin: 0; font-size: 1.08rem; }
.mk-spec { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: #3A4858; }
.mk-grade { margin: 0; font-size: .85rem; color: var(--orange-ink); }
.mk-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-price { font-weight: 800; font-size: 1rem; }
.mk-mode { font-size: .76rem; color: #4A5868; }
.mk-empty { padding: 34px 24px; text-align: center; border: 1px dashed #B9C2C9; border-radius: var(--r-md); background: #fff; }
.mk-empty h2 { margin: 0 0 8px; font-size: 1.15rem; }
.mk-info { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mk-info > div { padding: 18px 20px; border-radius: var(--r-md); background: #F2F5F9; }
.mk-info h3 { margin: 0 0 6px; font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.mk-info h3 svg { width: 18px; height: 18px; color: var(--orange); }
.mk-info p { margin: 0 0 10px; font-size: .92rem; line-height: 1.85; color: #3A4858; }
.pp-warn { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-sm); background: #FFF4EC; color: #7A3410; }
.pp-sale.is-insp { border-color: var(--orange); }
.pp-sale:not(.is-insp) { border: 2px dashed #9AA7B4; }
.pp-sale .pp-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.pp-price b { font-size: 1.4rem; }
.pp-phone { font-size: 1.1rem; }
.pp-insp-cta { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: #F2F5F9; }
.pp-insp-cta p { margin: 0 0 8px; font-size: .9rem; }
.sale-modes { display: grid; gap: 8px; margin: 0 0 12px; border: 0; padding: 0; }
.sale-modes .choice span { display: flex; flex-direction: column; gap: 2px; }
.sale-modes small { color: #4A5868; font-weight: 400; }
@media (max-width: 980px) { .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mk-grid, .mk-info { grid-template-columns: minmax(0, 1fr); } .mk-filter .btn { grid-column: 1 / -1; } }

/* ───── v1.20: همکاران و فروشنده حرفه‌ای ───── */
.pt-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pt-card { padding: 24px 26px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.pt-main { border: 2px solid var(--orange); }
.pt-k { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--orange-ink); background: #FFF4EC; border-radius: 99px; padding: 2px 12px; }
.pt-card h2 { margin: 12px 0 14px; font-size: 1.3rem; line-height: 1.6; }
.pt-card h3 { margin: 0 0 6px; font-size: 1rem; }
.pt-card p { line-height: 1.9; color: #3A4858; }
.pt-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.pt-steps { list-style: none; counter-reset: s; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pt-steps li { counter-increment: s; padding: 12px; border-radius: var(--r-sm); background: #0A1521; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.pt-steps li::before { content: counter(s, persian); color: var(--orange-2); font-weight: 800; font-size: 1.1rem; }
.pt-steps span { font-size: .8rem; color: #B9C2C9; }
.pt-act { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-rules { margin: 16px 0 0; padding: 10px 14px; border-radius: var(--r-sm); background: #F2F5F9; }
.seller-box { margin: 14px 0; padding: 12px 14px; border: 1px dashed #B9C2C9; border-radius: var(--r-sm); }
.seller-box .field { margin-top: 10px; }
.seller-panel .vis-row input { min-width: 0; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } .pt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fee-box { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-md); border: 2px solid var(--orange); background: #FFF9F4; }
.fee-box h3 { margin: 0 0 6px; font-size: 1.05rem; }
.fee-box form { margin-top: 10px; }
.fee-note { margin-bottom: 14px; }

/* ───── v1.21: صفحه اصلی دو مسیره ───── */
.hm-metrics { padding: 34px 0 6px; }
.hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-card { padding: 22px 22px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); box-shadow: 0 12px 30px -24px rgba(15,28,43,.45); }
.hm-num { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.3; color: var(--orange-ink); }
.hm-card h2 { margin: 8px 0 6px; font-size: 1.05rem; line-height: 1.6; }
.hm-card p { margin: 0; font-size: .92rem; line-height: 1.8; color: #3A4858; }
.hm-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hm-path { padding: 24px 24px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.hm-path-lead { background: radial-gradient(120% 140% at 100% 0%, var(--carbon-3), var(--carbon) 65%); color: #fff; border: 0; }
.hm-path-lead h3, .hm-path-lead .ticks li { color: #fff; }
.hm-path-lead .ticks li { border-color: rgba(255,255,255,.12); }
.hm-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--orange-2); background: linear-gradient(135deg, var(--carbon-2, #12233A), var(--carbon-3)); }
.hm-path:not(.hm-path-lead) .hm-ic { background: #FFF4EC; color: var(--orange-ink); }
.hm-ic svg { width: 28px; height: 28px; }
.hm-who { font-size: .8rem; font-weight: 800; color: var(--orange-2); }
.hm-path:not(.hm-path-lead) .hm-who { color: var(--orange-ink); }
.hm-path h3 { margin: 0; font-size: 1.2rem; }
.hm-path .ticks { margin: 4px 0 6px; }
.hm-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.hm-path-lead .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hm-path-lead .btn-ghost:hover { background: #fff; color: var(--ink); }
.hm-product { padding: 56px 0; background: #EEF2F6; }
.hm-product-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 34px; align-items: center; }
.hm-copy h2 { margin: 8px 0 16px; }

.hm-feats { list-style: none; counter-reset: f; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.hm-feats li { counter-increment: f; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }
.hm-feats li::before { content: counter(f, persian); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; }
.hm-feats b { font-size: 1rem; }
.hm-feats span { color: #3A4858; font-size: .92rem; line-height: 1.8; }
.hm-shot { margin: 0; }
.hm-frame { position: relative; padding: 30px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(15,28,43,.55); }
.hm-frame i { position: absolute; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: #B9C2C9; inset-inline-start: 14px; }
.hm-frame i:nth-child(2) { inset-inline-start: 29px; } .hm-frame i:nth-child(3) { inset-inline-start: 44px; }
.hm-frame img { display: block; width: 100%; height: auto; border-radius: 8px; }
.hm-shot figcaption { margin-top: 10px; font-size: .82rem; color: #4A5868; }
.hm-lead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--r-md); background: #fff; border: 2px solid var(--orange); }
.hm-lead h2 { margin: 0 0 4px; font-size: 1.2rem; }
.hm-lead p { margin: 0; color: #3A4858; font-size: .93rem; }
.hm-contact { padding: 56px 0; background: var(--carbon); color: #fff; }
.hm-contact-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.hm-contact h2 { color: #fff; margin: 0 0 10px; }
.hm-contact-copy > p { color: #DCE3EB; line-height: 1.9; max-width: 560px; }
.hm-phones { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hm-phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.hm-phone.is-main { background: var(--orange); border-color: var(--orange); font-size: 1.35rem; }
.hm-phone svg { width: 20px; height: 20px; }
.hm-phone:hover { color: #fff; filter: brightness(1.08); }
.hm-addr, .hm-lock { display: flex; gap: 8px; align-items: flex-start; color: #C9D3DD; font-size: .92rem; line-height: 1.8; margin: 8px 0; }
.hm-addr svg, .hm-lock svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--orange-2); }
.hm-lock a { color: var(--orange-2); }
.hm-quick { padding: 22px; border-radius: var(--r-md); background: #fff; color: var(--ink); display: grid; gap: 12px; }
.hm-quick h3 { margin: 0; font-size: 1.1rem; }
.hm-quick label { display: grid; gap: 4px; font-size: .88rem; font-weight: 700; }
.hm-quick p { margin: 0; }
@media (max-width: 900px) {
  .hm-cards, .hm-route, .hm-product-in, .hm-contact-in { grid-template-columns: minmax(0, 1fr); }
  .hm-lead { grid-template-columns: auto minmax(0, 1fr); }
  .hm-lead .btn { grid-column: 1 / -1; }
}

/* ───── v1.22: ثبت رایگان آگهی، نشان‌شده‌ها، دستگاه دلخواه ───── */
.btn-sell { white-space: nowrap; }
.nav .btn-sell::after { display: none; }
.btn-sell span { font-weight: 800; }
.menu-sell { display: flex; align-items: center; gap: 8px; color: #fff !important; background: var(--orange); border-radius: 10px; padding: 10px 14px !important; font-weight: 800; margin-bottom: 6px; }
.mk-sellbar { margin: 14px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-sm); background: #FFF4EC; border: 1px solid #F8D2B8; font-size: .92rem; }
.pp-save { margin-top: 12px; }
.acc-list { display: grid; gap: 10px; }
.acc-li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.acc-li b { display: block; }
.acc-li .small { color: #4A5868; }
.want-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; align-items: end; }
.want-form label { display: grid; gap: 3px; font-size: .8rem; color: #4A5868; }
.want-form input, .want-form select { min-width: 0; width: 100%; }
@media (max-width: 900px) { .want-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .want-form .btn { grid-column: 1 / -1; } }
/* منوی اصلی با «بازار دستگاه» و «ثبت رایگان»: بدون شکستن برچسب‌ها؛ زیر ۱۴۸۰ پیکسل منوی کشویی */
.site-head .nav a { white-space: nowrap; padding: 8px 9px; }
@media (max-width: 1500px) { .site-head .nav { display: none; } .site-head .menu { display: block; } }
.head-sell { flex: none; margin-inline-start: 10px; }
@media (max-width: 1500px) { .head-sell { margin-inline-start: auto; } .site-head .hsearch { margin-inline-start: 0; } }
@media (max-width: 480px) { .site-head .wrap { gap: 8px; } .site-head .logo-full img { width: 140px; height: auto; } .head-sell { padding: 6px 10px; font-size: .8rem; } }
.site-head .logo { flex: none; }

/* ───── v1.23: اندازه تیترها و حرکت ریز ───── */
.hm-path h3 { font-size: 1.45rem; line-height: 1.5; }
.hm-path .ticks li { font-size: .95rem; line-height: 1.8; }
.hm-who { font-size: .85rem; }
.hm-card h2 { font-size: 1.15rem; }
.hm-card p { font-size: .9rem; }
.hm-feats b { font-size: 1.08rem; }
@media (max-width: 620px) {
  .hm-path h3 { font-size: 1.35rem; }
  .hm-path .ticks li { font-size: .92rem; }
  .hm-num { font-size: 1.9rem; }
}
/* درخشش آرام روی دکمه‌های اصلی */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); animation: mn-shine 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes mn-shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
.head-sell { box-shadow: 0 0 0 0 rgba(242,106,27,.55); animation: mn-ring 6s ease-out infinite; }
@keyframes mn-ring { 0%, 70% { box-shadow: 0 0 0 0 rgba(242,106,27,.55); } 85% { box-shadow: 0 0 0 10px rgba(242,106,27,0); } 100% { box-shadow: 0 0 0 0 rgba(242,106,27,0); } }
/* کارت مسیر مدیران: نور متحرک ملایم و آیکون نبض‌دار */
.hm-path-lead { position: relative; overflow: hidden; isolation: isolate; }
.hm-path-lead::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; top: -30%; inset-inline-end: -25%;
  background: radial-gradient(circle, rgba(242,106,27,.28), transparent 65%); animation: mn-glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes mn-glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30%, 40%) scale(1.25); } }
.hm-path-lead .hm-ic { animation: mn-pulse 3.2s ease-in-out infinite; }
@keyframes mn-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,138,61,.45); } 50% { box-shadow: 0 0 0 9px rgba(255,138,61,0); } }
.hm-path:not(.hm-path-lead) .hm-ic svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hm-path:not(.hm-path-lead):hover .hm-ic svg { transform: rotate(-25deg); }
.hm-path, .hm-card { transition: transform .25s, box-shadow .25s; }
.hm-path:hover, .hm-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(15,28,43,.55); }
/* خط نارنجی بالای کارت‌های نتیجه هنگام ورود پر می‌شود */
.hm-card { position: relative; border-top-color: transparent; }
.hm-card::before { content: ""; position: absolute; top: -1px; inset-inline: -1px; height: 4px; border-radius: var(--r-md) var(--r-md) 0 0; background: var(--orange); transform-origin: right; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
.hm-card.in::before, .no-js .hm-card::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .btn-shine::before, .head-sell, .hm-path-lead::after, .hm-path-lead .hm-ic { animation: none; }
  .hm-card::before { transform: scaleX(1); transition: none; }
}

/* عکس‌های یک ایراد (از بازدید CRM) */
.dphotos { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.dph { margin: 0; text-align: center; }
.dph figcaption { font-size: .72rem; margin-top: 2px; }
.vrep-dft + .vrep-dft { margin-top: 6px; }
.dphotos img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(127,127,127,.35); display: block; }

/* v1.29 — معرفی همکار: SIMI GROUP / SIMI-ERP (رنگ فیروزه‌ای خود SIMI) */
.simi { --simi: #0f7c7e; --simi-d: #0b5d5f; background: linear-gradient(135deg, #0d2a33 0%, #123d44 55%, #0f5557 100%); color: #e9f4f3; padding: 56px 0; position: relative; overflow: hidden; }
.simi::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(46,196,182,.22), transparent 70%); pointer-events: none; }
.simi-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.simi-k { display: inline-block; font-weight: 700; font-size: .9rem; color: #7fe0d5; letter-spacing: .02em; margin-bottom: 8px; }
.simi h2 { color: #fff; font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.5; margin: 0 0 14px; }
.simi-lead { color: #cfe5e3; font-size: 1.04rem; margin: 0 0 22px; }
.simi-lead b { color: #fff; }
.simi-act { display: flex; flex-wrap: wrap; gap: 10px; }
.simi-btn { background: #2ec4b6; color: #062a2b; border-color: #2ec4b6; font-weight: 800; }
.simi-btn:hover { background: #fff; border-color: #fff; color: #062a2b; }
.simi-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.simi-ghost:hover { background: #fff; color: #0d2a33; }
.simi-mock { background: #fff; color: #0F1C2B; border-radius: 18px; padding: 18px 18px 12px; box-shadow: 0 24px 50px rgba(0,0,0,.35); max-width: 340px; justify-self: center; width: 100%; animation: simiFloat 6s ease-in-out infinite; }
.simi-mock-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #e3ecec; padding-bottom: 8px; margin-bottom: 6px; }
.simi-mock-h span { font-size: .8rem; color: #5b6b78; }
.simi-mock ul { list-style: none; margin: 0; padding: 0; }
.simi-mock li { display: flex; justify-content: space-between; padding: 7px 0; font-size: .9rem; border-bottom: 1px dashed #e8eeee; }
.simi-mock i { font-style: normal; font-size: .8rem; padding: 1px 9px; border-radius: 99px; background: #eef4f4; color: #2B3B4E; }
.simi-mock i.ok { background: #dff5ef; color: #0b6b4f; }
.simi-mock i.warn { background: #fff1d6; color: #7a5300; }
.simi-oee { display: flex; gap: 10px; align-items: center; margin: 12px 0 6px; }
.simi-oee > span { font-weight: 800; color: #0f7c7e; }
.simi-oee div { flex: 1; display: grid; gap: 5px; }
.simi-oee em { font-style: normal; font-size: .72rem; color: #fff; background: linear-gradient(90deg, #0f7c7e, #2ec4b6); border-radius: 6px; padding: 1px 8px; width: var(--w); white-space: nowrap; }
.simi-mock small { color: #8a98a3; font-size: .72rem; }
@keyframes simiFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .simi-mock { animation: none; } }
.simi-more .section-head h2 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
.simi-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.simi-cards article { background: var(--white); border: 1px solid var(--line); border-top: 3px solid #0f7c7e; border-radius: var(--r-md); padding: 18px 16px; }
.simi-cards b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.simi-cards p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.8; }
.simi-addons { margin: 18px 0 0; padding: 12px 16px; background: #eef7f6; border-radius: var(--r-sm); font-size: .95rem; }
.simi-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.simi-trust > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-inline-start: 3px solid #0f7c7e; background: var(--white); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.simi-trust span { font-size: .92rem; color: var(--ink-2); line-height: 1.8; }
.simi-tag { display: inline-block; font-size: .78rem; padding: 0 8px; border-radius: 99px; color: #fff !important; }
.simi-steps { list-style: none; counter-reset: simi; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding: 0; margin: 30px 0 0; }
.simi-steps li { counter-increment: simi; position: relative; padding: 16px 16px 14px 16px; padding-inline-start: 54px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 3px; }
.simi-steps li::before { content: counter(simi, persian); position: absolute; inset-inline-start: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #0f7c7e; color: #fff; display: grid; place-items: center; font-weight: 800; }
.simi-steps span { font-size: .9rem; color: var(--ink-2); }
.simi-band { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: var(--r-md); background: linear-gradient(135deg, #0d2a33, #0f5557); color: #e9f4f3; }
.simi-band b { display: block; color: #fff; font-size: 1.15rem; }
.simi-band span { font-size: .93rem; }
@media (max-width: 860px) { .simi-grid { grid-template-columns: 1fr; gap: 28px; } .simi { padding: 40px 0; } }

/* v1.30 — دیده‌شدن سیستم‌سازی و ERP: نوار صفحه اصلی و کارت صفحه خدمات */
.hm-simi { background: linear-gradient(135deg, #0d2a33 0%, #123d44 55%, #0f5557 100%); color: #cfe5e3; padding: 34px 0; }
.hm-simi-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hm-simi-in > div:first-child { flex: 1 1 420px; }
.hm-simi h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.5; }
.hm-simi p { margin: 0; }
.hm-simi-act { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-simi .simi-k, .svc-simi .simi-k { display: inline-block; font-weight: 700; font-size: .88rem; color: #7fe0d5; margin-bottom: 6px; }
.hm-simi .simi-btn, .svc-simi .simi-btn { background: #2ec4b6; color: #062a2b; border-color: #2ec4b6; font-weight: 800; }
.hm-simi .simi-btn:hover { background: #fff; border-color: #fff; }
.hm-simi .simi-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hm-simi .simi-ghost:hover { background: #fff; color: #0d2a33; }
.svc-simi { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-md); background: linear-gradient(135deg, #0d2a33, #0f5557); color: #cfe5e3; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.svc-simi:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #cfe5e3; }
.svc-simi > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 4px; }
.svc-simi b { color: #fff; font-size: 1.25rem; }
