/* سام سرویس ۲۰۰۱۸۶ — سیستمِ بصری
   امضا: نمایشگرِ هفت‌قطعه‌ایِ دستگاه (LED فیروزه‌ای روی پنلِ گرافیتی). بقیه‌ی صفحه آرام و منظم است. */

@font-face { font-family: 'Kufi'; src: url('/assets/fonts/kufi-arabic.woff2') format('woff2'); font-weight: 500 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Kufi'; src: url('/assets/fonts/kufi-latin.woff2') format('woff2'); font-weight: 500 900; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Vazirmatn'; src: url('/assets/fonts/vazir-arabic.woff2') format('woff2'); font-weight: 300 800; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Vazirmatn'; src: url('/assets/fonts/vazir-latin.woff2') format('woff2'); font-weight: 300 800; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

:root {
  --enamel: #EEF2F1;
  --paper: #FFFFFF;
  --ink: #0F1A22;
  --ink-2: #3B4953;
  --muted: #5B6873;
  --rule: #D2DBDE;
  --frost: #E1EAED;
  --panel: #0C171F;
  --panel-2: #132430;
  --panel-rule: #22384A;
  --led: #5CE6F2;
  --led-off: rgba(92, 230, 242, .075);
  --amber: #FFB21E;
  --amber-press: #F0A000;
  --link: #07627A;
  --chart: #0A84A0;
  --ok: #1E7A4F;
  --warn: #8A5A00;
  --pro: #A3361F;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --display: 'Kufi', 'Vazirmatn', Tahoma, sans-serif;
  --body: 'Vazirmatn', Tahoma, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 0 rgba(15, 26, 34, .04), 0 12px 32px -18px rgba(15, 26, 34, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--enamel); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.95; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--chart); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: 0; }
h1 { font-weight: 800; font-size: clamp(2rem, 1.15rem + 3.4vw, 3.9rem); line-height: 1.38; }
h2 { font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.5; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; line-height: 1.7; }
p { margin: 0 0 1.1em; }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 6px; border-radius: 3px; background: var(--chart); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); line-height: 2; max-width: 62ch; }

/* ───────── seven-segment ───────── */
.seg { display: block; height: 100%; width: auto; overflow: visible; }
.seg polygon { fill: var(--led-off); transition: fill .18s linear, filter .18s linear; }
.seg polygon.on { fill: var(--led); filter: drop-shadow(0 0 6px rgba(92, 230, 242, .55)); }
.seg.amber polygon.on { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(255, 178, 30, .5)); }
.seg.amber polygon { fill: rgba(255, 178, 30, .08); }
.ledchip { display: inline-flex; align-items: center; background: var(--panel); border-radius: 7px; padding: 5px 9px 5px 8px; height: 26px; box-shadow: inset 0 0 0 1px var(--panel-rule); }
.ledchip .seg polygon.on { filter: drop-shadow(0 0 3px rgba(92, 230, 242, .6)); }

/* ───────── header ───────── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(238, 242, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.is-scrolled { border-color: var(--rule); box-shadow: 0 8px 24px -20px rgba(15, 26, 34, .4); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; color: var(--ink); line-height: 1; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.55rem; line-height: 1.15; }
.brand .ledchip { height: 20px; padding: 4px 7px; border-radius: 6px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--frost); color: var(--ink); }
.head-call { display: inline-flex; }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--rule); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ───────── buttons ───────── */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 22px; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-call { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(240, 160, 0, .9); }
.btn-call:hover { background: var(--amber-press); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn .num { font-feature-settings: 'tnum'; direction: ltr; unicode-bidi: isolate; }

/* ───────── hero ───────── */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.45; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--chart); }
.hero .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* تماسِ صفحه‌ی اصلی: بلافاصله زیرِ H1 تا در موبایل بی‌اسکرول و بالای نوارِ تماس دیده شود؛ شماره‌ها درشت */
.hero-call { margin-top: 22px; }
.hero-call + .lead { margin-top: 22px; }
.hero-call .btn { min-height: 62px; }
.hero-call .num { font-size: 1.14rem; letter-spacing: .02em; }
.btn .stack { display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.3; }
.btn .stack .btn-txt { font-size: .9rem; }
.btn .stack .num { font-size: 1.24rem; font-weight: 800; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--chart); }
.hero-media { position: relative; }
.hero-media .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2.25; background: var(--frost); box-shadow: var(--shadow); }
.hero-media .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* the display panel (signature) */
/* در جریانِ صفحه و فقط با لبه‌ی پایینِ تصویر هم‌پوشانی دارد تا صحنه‌ی تعمیر (دست‌ها، گیج‌ها، کمپرسور) دیده شود */
.display { position: relative; z-index: 2; margin-block-start: calc(-1 * clamp(64px, 6.5vw, 96px)); margin-inline-start: auto; margin-inline-end: clamp(-12px, -1.5vw, -28px); width: min(340px, 78%); background: linear-gradient(180deg, var(--panel-2), var(--panel)); color: #cfe9ee; border-radius: 20px; padding: 16px 18px 15px; box-shadow: 0 24px 50px -24px rgba(5, 12, 18, .75), inset 0 0 0 1px var(--panel-rule), inset 0 1px 0 rgba(255, 255, 255, .06); }
.display-top { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; color: #8FB1BB; letter-spacing: 0; }
.display-top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); display: inline-block; margin-inline-end: 6px; vertical-align: middle; }
.display-screen { margin-top: 10px; height: 66px; display: flex; align-items: center; justify-content: flex-start; direction: ltr; }
.display-msg { margin-top: 10px; min-height: 3.6em; font-size: .92rem; line-height: 1.8; color: #E6F6F8; }
.display-msg b { color: var(--led); font-weight: 700; }
.display-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; color: var(--led); font-size: .86rem; font-weight: 600; text-decoration: none; }
.display-link:hover { text-decoration: underline; }

/* ───────── section scaffolding ───────── */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 60ch; }
.section-head .more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.on-dark { background: var(--panel); color: #DCECEF; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .eyebrow { color: #8FB1BB; }
.on-dark .eyebrow::before { background: var(--led); box-shadow: 0 0 10px rgba(92, 230, 242, .6); }
.on-dark a { color: var(--led); }
.on-dark a.btn-call { color: var(--ink); }
.on-dark p { color: #B9D2D8; }
.on-paper { background: var(--paper); }

/* ───────── four pillars ───────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pillar { padding: 30px 26px 30px 22px; border-inline-start: 1px solid var(--rule); }
.pillar:first-child { border-inline-start: 0; padding-inline-start: 0; }
.pillar .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule); margin-bottom: 14px; color: var(--ink); }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 1.12rem; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.9; }
.pillar .proof { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); }

/* ───────── stats on panel ───────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; }
.stat { padding: 8px 28px 4px; border-inline-start: 1px solid var(--panel-rule); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat .meter { height: clamp(46px, 5.2vw, 70px); direction: ltr; display: flex; justify-content: flex-start; }
.stat .lbl { display: block; margin-top: 14px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.stat .sub { display: block; color: #8FB1BB; font-size: .9rem; }
.stats-note { margin-top: 28px; font-size: .86rem; color: #7E9EA8; }

/* ───────── service cards ───────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rule), var(--shadow); }
.card .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--frost); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .ph img { transform: scale(1.04); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.85; }
.card .go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--link); display: inline-flex; gap: 8px; align-items: center; font-size: .95rem; }
.card .tag { align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--ink-2); background: var(--frost); border-radius: 999px; padding: 2px 10px; }
.svc-grid .card.wide { grid-column: span 2; grid-row: span 2; }
.svc-grid .card.wide .ph { aspect-ratio: auto; flex: 1; min-height: 320px; }
.svc-grid .card.wide .body { flex: 0 0 auto; padding: 24px 28px 26px; }
.svc-grid .card.wide h3 { font-size: 1.55rem; }
.svc-grid .card.wide p { font-size: 1.02rem; max-width: 56ch; }
.mini-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mini-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.mini-links a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ───────── error-code lookup ───────── */
.lookup > *, .hero-grid > *, .areas > *, .page-head-grid > *, .code-hero > *, .article > * { min-width: 0; }
.lookup { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.lookup-form label { display: block; font-weight: 700; color: #fff; margin-bottom: 10px; }
.lookup-input { display: flex; gap: 10px; }
.lookup-input input { flex: 1; min-width: 0; direction: ltr; text-align: left; font-family: var(--body); font-size: 1.35rem; font-weight: 700; letter-spacing: .08em; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--panel-rule); background: #07111A; color: var(--led); text-transform: uppercase; }
.lookup-input input::placeholder { color: #3D5866; letter-spacing: .02em; }
.lookup-input input:focus { outline: 2px solid var(--led); outline-offset: 2px; }
.seg-toggle { display: inline-flex; background: #07111A; border-radius: 12px; padding: 4px; margin-top: 14px; box-shadow: inset 0 0 0 1px var(--panel-rule); }
.seg-toggle button { background: none; border: 0; color: #9DBBC4; font-family: var(--body); font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.seg-toggle button[aria-pressed="true"] { background: var(--panel-2); color: #fff; box-shadow: inset 0 0 0 1px var(--panel-rule); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { direction: ltr; font-family: var(--body); font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--panel-rule); background: transparent; color: #CFE9EE; cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--led); color: var(--led); }
.result { background: linear-gradient(180deg, var(--panel-2), #0A141B); border-radius: 22px; padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--panel-rule); min-height: 300px; }
.result .screen { height: 84px; direction: ltr; display: flex; }
.result h3 { margin-top: 16px; color: #fff; font-family: var(--display); font-size: 1.25rem; }
.result p { margin: 8px 0 0; color: #B9D2D8; font-size: .98rem; }
.result .dev { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 700; color: #8FB1BB; }
.result .act { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.result .empty { color: #8FB1BB; }
.sev { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 700; padding: 3px 11px 3px 12px; border-radius: 999px; }
.sev svg { width: 15px; height: 15px; }
.sev-diy { background: #E3F2EA; color: var(--ok); }
.sev-mixed { background: #FBF0D9; color: var(--warn); }
.sev-pro { background: #F8E3DD; color: var(--pro); }

/* ───────── process ───────── */
.steps-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; position: relative; }
.steps-line li { position: relative; padding: 0 0 0 18px; counter-increment: st; }
.steps-line li::before { content: counter(st, persian); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px; position: relative; z-index: 1; }
.steps-line li::after { content: ''; position: absolute; top: 22px; inset-inline-start: 44px; inset-inline-end: 0; height: 1.5px; background: var(--rule); }
.steps-line li:last-child::after { display: none; }
.steps-line h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps-line p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.85; padding-inline-end: 10px; }

/* ───────── list rows (guides/reviews) ───────── */
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--rule); }
.row-link { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.row-link .k { flex-shrink: 0; font-size: .78rem; font-weight: 700; color: var(--ink-2); background: var(--frost); border-radius: 8px; padding: 3px 10px; min-width: 76px; text-align: center; }
.row-link .t { font-weight: 600; line-height: 1.8; }
.row-link .arr { margin-inline-start: auto; color: var(--muted); transition: transform .3s var(--ease); }
.row-link:hover .t { color: var(--link); }
.row-link:hover .arr { transform: translateX(-4px); color: var(--link); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ───────── areas ───────── */
.areas { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips a { padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.area-chips a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.office { background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: inset 0 0 0 1px var(--rule); }
.office h3 { font-family: var(--display); font-size: 1.2rem; }
.office address { font-style: normal; color: var(--ink-2); margin: 10px 0 16px; line-height: 2; }
.office .tels { display: grid; gap: 8px; }
.office .tels a { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--enamel); text-decoration: none; color: var(--ink); font-weight: 700; }
.office .tels a span:last-child { direction: ltr; unicode-bidi: isolate; font-size: 1.08rem; }
.office h4 { font-size: .95rem; color: var(--ink-2); }
.office .hours { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.office .hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 2px; border-bottom: 1px dashed var(--rule); font-size: .95rem; }
.office .hours li:last-child { border-bottom: 0; }
.office .maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.office .maps a { font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; color: var(--ink-2); }

/* ───────── faq ───────── */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex-shrink: 0; border-inline-end: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 75ch; }
.faq .a p:last-child { margin: 0; }

/* ───────── cta band ───────── */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 22ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── footer ───────── */
.site-foot { background: var(--panel); color: #A9C3CA; padding: 64px 0 28px; font-size: .95rem; }
.site-foot a { color: #DCECEF; text-decoration: none; }
.site-foot a:hover { color: var(--led); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot .brand { color: #fff; }
.site-foot address { font-style: normal; margin-top: 16px; line-height: 2; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--panel-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #7E9EA8; }

/* ───────── mobile call bar (نمایش در media queryهای پایینِ فایل) ───────── */
.callbar { display: none; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; bottom: 0; inset-inline: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 23, 31, .96); backdrop-filter: blur(10px); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px 6px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.callbar a:first-child { background: var(--amber); color: var(--ink); }
.callbar a:last-child { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #3A5566; }
.callbar svg { width: 18px; height: 18px; }
.callbar .num { direction: ltr; unicode-bidi: isolate; }

/* ───────── page header / breadcrumbs ───────── */
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: '‹'; margin-inline-end: 8px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding-block: 22px clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.1rem); }
.page-head .lead { margin-top: 14px; }
.page-head .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.page-head-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.page-head-grid .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); background: var(--frost); }
.page-head-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
/* بلوکِ تماسِ زیرِ H1ِ صفحه‌های خدمات */
.svc-call { margin-top: 16px; }
.svc-call-id { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.svc-call-id svg { width: 20px; height: 20px; flex: none; color: var(--ok); }
.svc-call .hero-actions { margin-top: 12px; }
.svc-call-hours { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.page-head .svc-call + .lead { margin-top: 20px; }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul.checks { list-style: none; padding: 0; }
.prose ul.checks li { position: relative; padding-inline-start: 26px; }
.prose ul.checks li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .78em; width: 10px; height: 10px; border-radius: 3px; background: var(--chart); box-shadow: 0 0 0 4px rgba(10, 132, 160, .14); }
.prose ol.steps, .howto ol { list-style: none; padding: 0; counter-reset: s; }
.prose ol.steps > li, .howto ol > li { counter-increment: s; position: relative; padding-inline-start: 50px; margin-bottom: 18px; min-height: 36px; }
.prose ol.steps > li::before, .howto ol > li::before { content: counter(s, persian); position: absolute; inset-inline-start: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: .95rem; }
.howto ol > li strong { display: block; font-size: 1.05rem; }
.howto { background: var(--paper); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); box-shadow: inset 0 0 0 1px var(--rule); margin: 0 0 1.6em; }
.howto h2 { margin-top: 0 !important; }
.howto .meta { color: var(--muted); font-size: .9rem; margin: -4px 0 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.4em; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule); }
.tbl th, .tbl td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl th { background: var(--frost); font-weight: 700; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.callout { background: var(--paper); border-inline-start: 4px solid var(--chart); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 1.4em; box-shadow: inset 0 0 0 1px var(--rule); }
.callout p:last-child { margin: 0; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside-call { background: var(--panel); color: #DCECEF; border-radius: var(--r); padding: 22px; }
.aside-call h3 { color: #fff; font-family: var(--display); font-size: 1.1rem; }
.aside-call p { color: #B9D2D8; font-size: .93rem; margin: 6px 0 14px; }
.aside-call .btn { width: 100%; justify-content: space-between; margin-top: 8px; }
.aside-call .ledchip { margin-top: 4px; }
.aside-call .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #3A5566; }
.aside-call .btn-ghost:hover { background: #fff; color: var(--ink); }
.aside-box { background: var(--paper); border-radius: var(--r); padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--rule); }
.aside-box h3 { font-size: .98rem; margin-bottom: 8px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-box a { text-decoration: none; font-size: .95rem; font-weight: 500; }
.aside-box a:hover { text-decoration: underline; }
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; background: var(--chart); transform-origin: right; transform: scaleX(0); z-index: 60; }

/* symptom grid on service pages */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 1.6em; }
.symptom { background: var(--paper); border-radius: 14px; padding: 18px; box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; transition: box-shadow .25s; }
a.symptom:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.symptom strong { font-size: 1rem; }
.symptom span { color: var(--ink-2); font-size: .92rem; line-height: 1.8; }

/* error-code page */
.code-hero { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 48px); align-items: center; }
.code-panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-radius: 22px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--panel-rule), var(--shadow); }
.code-panel .screen { height: 92px; direction: ltr; display: flex; }
.code-panel .alts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; direction: ltr; }
.code-panel .alts span { font-weight: 700; font-size: .85rem; color: #CFE9EE; border: 1px solid var(--panel-rule); border-radius: 7px; padding: 2px 9px; }
.code-panel .cap { margin-top: 10px; color: #8FB1BB; font-size: .85rem; }
.causes { display: grid; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.causes li { background: var(--paper); border-radius: 12px; padding: 14px 18px; box-shadow: inset 0 0 0 1px var(--rule); }
.causes li strong { display: block; }
.causes li span { color: var(--ink-2); font-size: .95rem; }
.codes-table td:first-child { direction: ltr; text-align: right; font-weight: 800; white-space: nowrap; }
.codes-table .c { display: inline-block; margin: 0 0 4px 4px; padding: 1px 8px; border-radius: 6px; background: var(--frost); font-size: .88rem; }

/* chart */
.chart { background: var(--paper); border-radius: var(--r); padding: 22px 22px 16px; box-shadow: inset 0 0 0 1px var(--rule); margin: 0 0 1.6em; }
.chart h3 { font-size: 1.02rem; margin-bottom: 14px; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; position: relative; }
.bar-row .name { font-size: .9rem; color: var(--ink-2); text-align: start; }
.bar-track { position: relative; height: 22px; display: flex; align-items: center; }
.bar { height: 18px; background: var(--chart); border-radius: 0 4px 4px 0; transform-origin: right; }
html[dir="rtl"] .bar { border-radius: 4px 0 0 4px; }
.bar-val { margin-inline-start: 8px; font-size: .86rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.bar-row .tip { position: absolute; inset-inline-start: 160px; top: -34px; background: var(--ink); color: #fff; font-size: .82rem; padding: 4px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; white-space: nowrap; z-index: 2; }
.bar-row:hover .tip, .bar-row:focus-within .tip { opacity: 1; }
.bar-row:hover .bar { filter: brightness(1.08); }
.chart .note { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.chart details { margin-top: 10px; font-size: .9rem; }
.chart summary { cursor: pointer; color: var(--link); font-weight: 600; }

.svc-grid.two { grid-template-columns: 1fr 1fr; }

/* products */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-card .ph { background: #fff; aspect-ratio: 595 / 429; }
.prod-card .ph img { object-fit: contain; padding: 10px; }
.prod-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.prod-head > * { min-width: 0; }
.score-big { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 20px 12px 16px; border-radius: 16px; background: var(--panel); color: #CFE9EE; }
.score-big .n { font-family: var(--display); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--led); text-shadow: 0 0 14px rgba(92, 230, 242, .45); }
.score-big .of { font-size: .85rem; line-height: 1.6; color: #9DBBC4; }
.gallery { margin: 0; }
.gallery .main { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--rule); aspect-ratio: 595 / 429; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery .thumbs button { padding: 0; border: 0; background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px var(--rule); aspect-ratio: 595 / 429; }
.gallery .thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.tbl.specs th { width: 38%; background: var(--paper); font-weight: 600; color: var(--ink-2); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 1.4em; }
.feature { background: var(--paper); border-radius: 14px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; gap: 4px; }
.feature span { color: var(--ink-2); font-size: .94rem; line-height: 1.85; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 1.4em; }
.proscons > div { background: var(--paper); border-radius: 14px; padding: 16px 20px; box-shadow: inset 0 0 0 1px var(--rule); }
.proscons h3 { margin: 0 0 8px; font-size: 1rem; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { position: relative; padding-inline-start: 24px; margin-bottom: 6px; font-size: .96rem; }
.proscons .pros li::before { content: '+'; position: absolute; inset-inline-start: 0; font-weight: 800; color: var(--ok); }
.proscons .cons li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .8em; width: 8px; height: 8px; border-radius: 2px; background: var(--chart); }
.verdict { background: var(--panel); color: #DCECEF; border-radius: var(--r); padding: 22px 24px; margin: 0 0 1.6em; }
.verdict p { color: #DCECEF; margin: 16px 0 0; }
.score-row { display: grid; grid-template-columns: 150px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 8px; font-size: .92rem; }
.score-row .k { color: #B9D2D8; }
.score-row .track { height: 8px; border-radius: 4px; background: rgba(92, 230, 242, .1); overflow: hidden; display: block; }
.score-row .fill { display: block; height: 100%; background: var(--led); border-radius: 0 4px 4px 0; }
html[dir="rtl"] .score-row .fill { border-radius: 4px 0 0 4px; margin-inline-start: 0; }
.score-row .v { font-weight: 700; color: #fff; text-align: end; }
.sources { font-size: .86rem; color: var(--muted); margin-top: 1.6em; }
.res-more { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--panel-rule); font-size: .92rem; color: #9DBBC4; }
.res-more a { display: block; margin-top: 6px; }

/* 404 */
.nf { text-align: center; padding-block: 80px; }
.nf .screen { height: 110px; display: flex; justify-content: center; direction: ltr; margin: 0 auto 26px; }

/* ───────── motion ───────── */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
/* برش روی فرزند است نه خودِ عنصر: Chrome در IntersectionObserver برشِ clip-pathِ هدف را حساب می‌کند و عنصرِ ۱۰۰٪ بریده هرگز «دیده» نمی‌شد (تصویرِ بالای همه‌ی صفحه‌ها نامرئی می‌ماند) */
[data-reveal="img"] { opacity: 1; transform: none; }
[data-reveal="img"] > * { display: block; height: 100%; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="img"].in > * { clip-path: inset(0 0 0 0); }
.hero [data-hero] { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.display { opacity: 0; transform: translateY(16px) scale(.98); animation: rise .9s var(--ease) .55s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.bar { transform: scaleX(0); transition: transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.chart.in .bar { transform: scaleX(1); }
.no-js [data-reveal], .no-js [data-reveal="img"] > *, .no-js .hero [data-hero], .no-js .display { opacity: 1; transform: none; clip-path: none; animation: none; }
.no-js .bar { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-reveal], [data-reveal="img"] > *, .hero [data-hero], .display { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ───────── responsive ───────── */
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 8px; font-size: .92rem; }
}
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 7px; font-size: .9rem; }
  .head-call .btn-txt { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .head-call { display: none; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; background: var(--enamel); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 24px 40px -30px rgba(15, 26, 34, .5); }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .hero-grid, .page-head-grid, .lookup, .areas, .code-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-media { margin-bottom: 0; }
  .display { margin-inline-end: 12px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid .card.wide { grid-column: span 2; grid-row: auto; }
  .svc-grid .card.wide .ph { min-height: 0; aspect-ratio: 16 / 9; }
  .steps-line { grid-template-columns: 1fr; gap: 22px; }
  .steps-line li { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; padding: 0; }
  .steps-line li::before { margin: 0; grid-row: span 2; }
  .steps-line li::after { top: 48px; bottom: -22px; inset-inline-start: 21px; inset-inline-end: auto; width: 1.5px; height: auto; }
  .rows, .rev-grid { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside { position: static; }
  .symptoms { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .code-panel { max-width: 420px; }
  .prod-head { grid-template-columns: minmax(0, 1fr); }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .seg-toggle { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .head-row { min-height: 66px; }
  .main-nav { inset-block-start: 66px; }
  .brand-name { font-size: 1.32rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .card.wide { grid-column: auto; }
  .svc-grid .card.wide .ph { aspect-ratio: 3 / 2; }
  .svc-grid .card.wide .body { padding: 18px 20px 20px; }
  .svc-grid .card.wide h3 { font-size: 1.2rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child { border-inline-start: 0; padding: 22px 0; }
  .pillar + .pillar { border-top: 1px solid var(--rule); }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .stat, .stat:first-child { border-inline-start: 0; padding: 0; }
  .symptoms { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .prod-grid, .features, .proscons, .svc-grid.two { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 110px 1fr 34px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-call { gap: 10px; }
  .hero-call .btn-ghost { min-height: 52px; }
  .display { position: relative; inset: auto; width: auto; margin: -40px 12px 0; }
  .hero-media { margin-bottom: 0; }
  .bar-row { grid-template-columns: 110px 1fr; }
  .bar-row .tip { display: none; }
  .codes-table thead { display: none; }
  .codes-table, .codes-table tbody, .codes-table tr, .codes-table td { display: block; width: 100%; }
  .codes-table tr { padding: 14px 16px; border-bottom: 1px solid var(--rule); }
  .codes-table td { border: 0; padding: 3px 0; }
  .codes-table td:first-child { text-align: start; direction: rtl; }
  .callbar { display: grid; }
}
/* کدهای خطا و عیب‌یابی (body.callbar-wide): نوار تا ۹۶۰px، جایی که دکمه‌ی تماسِ هدر پنهان است */
@media (min-width: 641px) and (max-width: 960px) {
  body.callbar-wide { padding-bottom: 76px; }
  .callbar-wide .callbar { display: grid; padding-inline: max(12px, calc(50% - 300px)); }
}
@media print { .site-head, .callbar, .site-foot, .aside, .progress { display: none !important; } body { background: #fff; } }

/* ───────── تصویرهای داخلِ متن (محتوای تیم) ───────── */
.prose .fig { margin: 28px 0 30px; }
.prose .fig picture { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--frost); box-shadow: var(--shadow); }
.prose .fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prose .fig figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.prose .fig .credit { display: block; font-size: .78rem; opacity: .85; }
