/* ماهان آریا — سیستم طراحی سازمانی */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-var.woff2") format("woff2-variations"), url("../fonts/Vazirmatn-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #782B90;
  --brand-700: #5C1F6F;
  --brand-500: #8F3FA9;
  --brand-300: #C49BD6;
  --brand-100: #F0E6F4;
  --brand-50: #F9F5FB;
  --red: #ED1A39;
  --night: #120A17;
  --night-2: #1B1022;
  --night-3: #251630;
  --nl: rgba(255, 255, 255, .1);
  --ink: #15111A;
  --text: #4A4552;
  --muted: #7D7787;
  --line: #E7E3EC;
  --line-2: #F0EDF3;
  --soft: #F7F5F9;
  --r: 6px;
  --r-lg: 10px;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sh: 0 1px 2px rgba(21, 17, 26, .05), 0 10px 30px -10px rgba(21, 17, 26, .12);
  --sh-lg: 0 30px 70px -25px rgba(21, 17, 26, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--text); font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 16.5px; line-height: 2; direction: rtl; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .55em; line-height: 1.45; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.32; font-weight: 850; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.4; }
h3 { font-size: 1.2rem; font-weight: 750; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: fixed; right: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--r); transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.en { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; direction: ltr; unicode-bidi: isolate; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.sec { padding: 128px 0; position: relative; }
.sec.sm { padding: 96px 0; }
.sec.soft { background: var(--soft); }
.sec.dark { background: var(--night); color: #B6ABC0; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.sec + .sec.soft, .sec.soft + .sec:not(.soft):not(.dark) { border-top: 0; }

/* عنوان بخش */
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: .9rem; font-weight: 700; color: var(--brand); }
.eyebrow .en { font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.dark .eyebrow, .on-dark .eyebrow { color: #E2CDEA; }
.dark .eyebrow .en, .on-dark .eyebrow .en { color: #8D8297; }
.head { max-width: 760px; margin-bottom: 64px; }
.head p, .lead { font-size: 1.15rem; color: var(--muted); line-height: 2; }
.dark .head p, .dark .lead { color: #A69BB0; }
.head.center { text-align: center; margin-inline: auto; }
.head.center .eyebrow { justify-content: center; }
.head-split { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 64px; }
.head-split .head { margin: 0; }

/* دکمه‌ها */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 30px; border-radius: var(--r); font: inherit; font-weight: 700; font-size: .98rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #D1102D; color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-700); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--brand-50); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.arrow-link svg { width: 18px; height: 18px; color: var(--red); transition: transform .25s var(--ease); }
.arrow-link:hover { color: var(--brand); }
.arrow-link:hover svg { transform: translateX(-5px); }

/* نوار بالا */
.topbar { background: var(--night); color: #A69BB0; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 24px; }
.topbar ul { display: flex; gap: 28px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--brand-300); }
.topbar a { color: #D8CDE0; }
.topbar a:hover { color: #fff; }

/* سربرگ */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -15px rgba(21, 17, 26, .18); }
.nav { display: flex; align-items: center; height: 84px; gap: 40px; position: relative; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 34px; width: auto; }
.menu { display: flex; align-items: stretch; height: 100%; margin-inline-start: auto; }
.menu > li { display: flex; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 6px; padding: 0 18px; font: inherit; font-size: .97rem; font-weight: 650; color: var(--ink); background: none; border: 0; cursor: pointer; position: relative; }
.menu > li > a::after, .menu > li > button::after { content: ""; position: absolute; right: 18px; left: 18px; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu > li:hover > a::after, .menu > li:hover > button::after, .menu > li > [aria-current]::after { transform: scaleX(1); }
.menu > li > [aria-current] { color: var(--brand); }
.menu > li > button > svg { width: 14px; height: 14px; flex: none; transition: transform .25s; }
.menu > li:hover > button > svg, .menu > li.open > button > svg { transform: rotate(180deg); }
.menu > li:has(.menu-close) { display: none; }
.nav-cta { height: 46px; padding: 0 22px; font-size: .92rem; }

/* مگامنو */
.mega { position: absolute; top: 100%; left: 32px; width: 900px; max-width: calc(100% - 64px); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-lg); padding: 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.mega.narrow { width: 560px; grid-template-columns: 1fr 1fr; }
.menu > li:hover > .mega, .menu > li:focus-within > .mega, .menu > li.open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); color: var(--ink); transition: background .2s; }
.mega a:hover { background: var(--soft); color: var(--ink); }
.mega .ic { width: 38px; height: 38px; border-radius: var(--r); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.mega a:hover .ic { background: var(--brand); color: #fff; }
.mega .ic svg { width: 19px; height: 19px; }
.mega b { display: block; font-size: .93rem; font-weight: 700; line-height: 1.6; }
.mega small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.mega .mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 14px; padding: 18px 14px 0; }
.mega .mega-foot a { padding: 0; display: inline-flex; }
.mega .mega-foot a:hover { background: none; }
.mega .mega-foot span { color: var(--muted); font-size: .85rem; }
.mega-label { grid-column: 1 / -1; font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 14px 2px; letter-spacing: .02em; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; place-items: center; margin-inline-start: auto; }
.burger svg { width: 22px; height: 22px; }

/* هیروی صفحهٔ اصلی */
.hero { position: relative; min-height: calc(100vh - 126px); min-height: calc(100svh - 126px); display: flex; flex-direction: column; color: #D9CFE1; overflow: hidden; isolation: isolate; background: var(--night); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kb 22s ease-out forwards; }
@keyframes kb { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(18, 10, 23, .96) 0%, rgba(18, 10, 23, .88) 38%, rgba(40, 14, 52, .55) 70%, rgba(18, 10, 23, .35) 100%), linear-gradient(0deg, rgba(18, 10, 23, .9), transparent 40%); }
.hero-main { flex: 1; display: flex; align-items: center; padding: 96px 0 64px; }
.hero-main .wrap { width: 100%; }
.hero-copy { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 span { color: transparent; -webkit-text-stroke: 0; background: linear-gradient(90deg, #E9C9F3, #fff); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #C9BDD2; font-size: 1.22rem; max-width: 640px; margin-bottom: 40px; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: .9rem; font-weight: 600; color: #E2D6EA; }
.hero-tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(237, 26, 57, .2); }
.pillars { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(18, 10, 23, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pillars ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars li { border-left: 1px solid rgba(255, 255, 255, .1); }
.pillars li:last-child { border-left: 0; }
.pillars a { display: flex; align-items: center; gap: 16px; padding: 26px 28px; color: #fff; transition: background .25s; height: 100%; }
.pillars li:first-child a { padding-right: 0; }
.pillars a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.pillars .n { font-size: .8rem; color: var(--brand-300); font-weight: 700; }
.pillars b { display: block; font-size: 1.02rem; line-height: 1.6; }
.pillars small { color: #A69BB0; font-size: .82rem; }
.pillars svg { width: 18px; height: 18px; margin-inline-start: auto; color: var(--red); flex: none; transition: transform .25s var(--ease); }
.pillars a:hover svg { transform: translateX(-5px); }

/* هیروی صفحه‌های داخلی */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #C9BDD2; padding: 120px 0 104px; }
.phero-bg { position: absolute; inset: 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(18, 10, 23, .97) 0%, rgba(18, 10, 23, .9) 45%, rgba(40, 14, 52, .62) 100%); }
.phero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); max-width: 900px; }
.phero .lead { color: #C9BDD2; max-width: 760px; margin: 0; font-size: 1.18rem; }
.phero .btns { margin-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: .86rem; color: #8D8297; font-weight: 600; }
.crumbs a { color: #C9BDD2; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-left: 10px; color: #5E5468; }
.phero-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--nl); font-size: .92rem; }
.phero-meta span { display: flex; align-items: center; gap: 10px; color: #D9CFE1; }
.phero-meta svg { width: 18px; height: 18px; color: var(--brand-300); }

/* مشتریان */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.client { display: grid; place-items: center; text-align: center; min-height: 140px; padding: 20px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 800; font-size: 1.08rem; color: #8A8393; transition: color .3s, background .3s; position: relative; }
.client::after { content: ""; position: absolute; right: 50%; bottom: 26px; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease), right .3s var(--ease); }
.client:hover { color: var(--brand); background: #FCFBFD; }
.client img { mix-blend-mode: multiply; height: var(--h, 46px); width: auto; max-width: 160px; object-fit: contain; transition: transform .35s var(--ease); }
.client:hover img { transform: scale(1.06); }
.client:hover .wordmark { color: var(--brand); }
.client .wordmark { white-space: normal; line-height: 1.7; }
.client.has-logo::after { display: none; }
.client:hover::after { width: 28px; right: calc(50% - 14px); }
.client-strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.client-strip .wrap { display: flex; align-items: center; gap: 48px; }
.client-strip p { margin: 0; font-size: .88rem; font-weight: 700; color: var(--muted); flex: none; max-width: 150px; line-height: 1.8; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; height: 56px; flex: none; }
.mq-item img { mix-blend-mode: multiply; height: calc(var(--h, 46px) * .78); width: auto; max-width: 160px; object-fit: contain; }
.wordmark { font-size: 1.05rem; font-weight: 800; color: #9C95A5; white-space: nowrap; letter-spacing: -.01em; transition: color .3s; }
.mq-item:hover .wordmark { color: var(--brand); }
@keyframes marq { to { transform: translateX(50%); } }

/* درباره در صفحهٔ اصلی */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 96px; align-items: center; }
.statement { font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.75; font-weight: 750; color: var(--ink); margin-bottom: 30px; }
.statement em { font-style: normal; color: var(--brand); }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage .c1 { position: absolute; top: 0; left: 0; width: 76%; height: 72%; border-radius: var(--r-lg); overflow: hidden; }
.collage .c2 { position: absolute; bottom: 0; right: 0; width: 58%; height: 50%; border-radius: var(--r-lg); overflow: hidden; border: 10px solid #fff; box-shadow: var(--sh-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .badge { position: absolute; top: 58%; left: 8%; background: var(--brand); color: #fff; padding: 22px 26px; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.collage .badge b { display: block; font-size: 2.2rem; line-height: 1.2; font-weight: 850; }
.collage .badge span { font-size: .86rem; color: #E9D8F0; }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.facts-row div { padding: 26px 0 0; }
.facts-row div + div { padding-right: 26px; border-right: 1px solid var(--line); }
.facts-row b { display: block; font-size: 1.9rem; font-weight: 850; color: var(--ink); line-height: 1.3; }
.facts-row span { color: var(--muted); font-size: .9rem; }

/* بخش ویژهٔ نرم‌افزار */
.flag { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--night); }
.flag-media { position: relative; overflow: hidden; }
.flag-media img { width: 100%; height: 100%; object-fit: cover; }
.flag-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, transparent 55%, var(--night)); }
.flag-body { padding: 120px 72px 120px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); color: #B6ABC0; }
.flag-body h2 { color: #fff; }
.tiers { display: grid; gap: 0; margin: 40px 0 44px; border-top: 1px solid var(--nl); }
.tier { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--nl); }
.tier .n { width: 52px; height: 52px; border: 1px solid var(--nl); border-radius: var(--r); display: grid; place-items: center; color: var(--brand-300); }
.tier .n svg { width: 24px; height: 24px; }
.tier b { color: #fff; display: block; font-size: 1.08rem; margin-bottom: 4px; }
.tier p { margin: 0; color: #A69BB0; font-size: .95rem; line-height: 1.9; }

/* کارت خدمات */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: box-shadow .35s, transform .35s var(--ease), border-color .35s; }
.svc-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc-card .img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.svc-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .img img { transform: scale(1.06); }
.svc-card .img .ic { position: absolute; bottom: -24px; right: 28px; width: 52px; height: 52px; border-radius: var(--r); background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(120, 43, 144, .6); z-index: 1; }
.svc-card .img .ic svg { width: 24px; height: 24px; }
.svc-card .body { padding: 44px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-card .num { font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .95rem; line-height: 1.95; margin: 0 0 22px; }
.svc-card .arrow-link { margin-top: auto; font-size: .92rem; }

/* فهرست خدمات فشرده */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 56px 1fr 24px; gap: 22px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); color: inherit; }
.svc-list .svc-row:nth-child(odd) { padding-left: 40px; border-left: 1px solid var(--line); }
.svc-list .svc-row:nth-child(even) { padding-right: 40px; }
.svc-row:hover { color: inherit; }
.svc-row .ic { width: 56px; height: 56px; border-radius: var(--r); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; transition: background .25s, color .25s; }
.svc-row:hover .ic { background: var(--brand); color: #fff; }
.svc-row .ic svg { width: 26px; height: 26px; }
.svc-row b { display: block; color: var(--ink); font-size: 1.1rem; line-height: 1.6; transition: color .2s; }
.svc-row:hover b { color: var(--brand); }
.svc-row span { color: var(--muted); font-size: .9rem; line-height: 1.8; display: block; }
.svc-row > svg { width: 22px; height: 22px; color: var(--red); transition: transform .25s var(--ease); }
.svc-row:hover > svg { transform: translateX(-5px); }

/* صنایع */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--nl); border: 1px solid var(--nl); border-radius: var(--r-lg); overflow: hidden; }
.ind { background: var(--night); padding: 36px 30px; transition: background .3s; }
.ind:hover { background: var(--night-2); }
.ind svg { width: 30px; height: 30px; color: var(--brand-300); margin-bottom: 22px; }
.ind b { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.ind span { color: #A69BB0; font-size: .9rem; line-height: 1.85; display: block; }

/* روش کار */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 30px 26px 0 0; position: relative; }
.steps li:first-child { padding-right: 0; }
.steps li + li { border-right: 1px solid var(--line); }
.steps li::before { content: "۰" counter(s, persian); display: block; font-size: .85rem; font-weight: 800; color: var(--red); margin-bottom: 18px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; line-height: 1.95; }
.dark .steps { border-top-color: #fff; }
.dark .steps li + li { border-right-color: var(--nl); }
.dark .steps p { color: #A69BB0; }

/* تیزر محصولات */
.prod-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pt { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; min-height: 260px; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.pt:hover { color: inherit; border-color: var(--brand-300); box-shadow: var(--sh); }
.pt .tag { font-size: .75rem; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 3px 12px; border-radius: 99px; align-self: flex-start; margin-bottom: 26px; }
.pt .tag.hw { color: #B3102A; background: #FDECEF; }
.pt img { height: 40px; width: auto; margin-bottom: 20px; align-self: flex-start; }
.pt h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pt p { color: var(--muted); font-size: .9rem; margin: 0 0 18px; line-height: 1.9; }
.pt .arrow-link { margin-top: auto; font-size: .9rem; }

/* بنر پایانی */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #C9BDD2; padding: 120px 0; }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(18, 10, 23, .97) 30%, rgba(92, 31, 111, .7)); }
.cta .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.cta p { margin: 0; font-size: 1.12rem; color: #C9BDD2; }
.cta-contact { display: grid; gap: 14px; }
.cta-contact a { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); color: #fff; background: rgba(255, 255, 255, .04); transition: background .25s, border-color .25s; }
.cta-contact a:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); color: #fff; }
.cta-contact svg { width: 22px; height: 22px; color: var(--brand-300); flex: none; }
.cta-contact small { display: block; color: #A69BB0; font-size: .8rem; }
.cta-contact b { font-size: 1.12rem; }

/* صفحهٔ خدمت */
.svc-intro { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: start; }
.prose p { font-size: 1.08rem; line-height: 2.1; }
.prose p:first-of-type { font-size: 1.2rem; color: var(--ink); font-weight: 600; line-height: 2; }
.aside-card { position: sticky; top: 120px; border-radius: var(--r-lg); background: var(--night); color: #B6ABC0; padding: 36px 32px; }
.aside-card .eyebrow { margin-bottom: 14px; }
.aside-card h4 { color: #fff; font-size: 1.2rem; line-height: 1.7; margin-bottom: 10px; }
.aside-card p { font-size: .94rem; line-height: 1.95; margin: 0 0 22px; }
.aside-phone { display: flex; align-items: center; gap: 12px; padding: 16px 0; margin-bottom: 20px; border-top: 1px solid var(--nl); border-bottom: 1px solid var(--nl); color: #fff; font-size: 1.25rem; font-weight: 800; }
.aside-phone:hover { color: var(--brand-300); }
.aside-phone svg { width: 22px; height: 22px; color: var(--brand-300); }
.aside-card .btn { width: 100%; }
.svc-nav { position: sticky; top: 84px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: var(--r); font-size: .88rem; font-weight: 650; color: var(--text); transition: background .2s, color .2s; }
.svc-nav a:hover { background: var(--soft); color: var(--ink); }
.svc-nav a[aria-current] { background: var(--brand); color: #fff; }
.svc-nav svg { width: 17px; height: 17px; flex: none; }
.svc-intro .prose h2 { margin-bottom: 28px; }
.hl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line); }
.hl { padding: 32px 32px 0 0; display: grid; gap: 6px; }
.hl:first-child { padding-right: 0; }
.hl + .hl { border-right: 1px solid var(--line); }
.hl-n { font-size: .82rem; font-weight: 800; color: var(--red); }
.hl b { color: var(--ink); font-size: 1.15rem; }
.hl span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.9; }
.deliver-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 26px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 750; color: var(--ink); font-size: 1.04rem; line-height: 1.8; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23782B90%27 stroke-width=%272.4%27 stroke-linecap=%27round%27%3E%3Cpath d=%27M12 5v14M5 12h14%27/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease), background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq summary:hover { color: var(--brand); }
.faq details p { margin: -4px 0 24px; color: var(--muted); font-size: .98rem; line-height: 2.05; padding-left: 50px; }
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; counter-reset: c; border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 34px 0; border-bottom: 1px solid var(--line); counter-increment: c; }
.cap::before { content: "۰" counter(c, persian); font-size: .95rem; font-weight: 800; color: var(--brand); padding-top: 4px; }
.cap:nth-child(n+10)::before { content: counter(c, persian); }
.cap h3 { font-size: 1.12rem; margin-bottom: 8px; }
.cap p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 2; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.list-card { border-radius: var(--r-lg); padding: 44px; }
.list-card.light { background: #fff; border: 1px solid var(--line); }
.list-card.darkc { background: var(--night); color: #C9BDD2; }
.list-card h3 { font-size: 1.3rem; margin-bottom: 26px; }
.list-card.darkc h3 { color: #fff; }
.checks { display: grid; gap: 16px; }
.checks li { position: relative; padding-right: 36px; font-weight: 600; color: var(--ink); line-height: 1.8; }
.list-card.darkc .checks li { color: #E9E0EF; }
.checks li::before { content: ""; position: absolute; right: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23782B90' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.list-card.darkc .checks li::before { background-color: rgba(255,255,255,.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C49BD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checks.cols { grid-template-columns: 1fr 1fr; gap: 14px 32px; }

/* محصولات */
.prod-group { margin-bottom: 120px; }
.prod-group:last-child { margin-bottom: 0; }
.prod-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.prod-feature.flip > :first-child { order: 2; }
.prod-feature .plogo { height: 44px; width: auto; margin-bottom: 24px; }
.prod-feature .plogo.sq { border-radius: 10px; }
.pmeta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pmeta span { font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.shot-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-lg); background: #fff; }
.shot-frame.dark { border-color: #2A1D33; background: var(--night); }
.shot-frame img { width: 100%; }
.photo-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat { background: #fff; padding: 36px 32px; }
.feat .ic { width: 48px; height: 48px; border-radius: var(--r); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.95; }
.dark .feat-grid { background: var(--nl); border-color: var(--nl); }
.dark .feat { background: var(--night); }
.dark .feat .ic { background: rgba(255,255,255,.06); color: var(--brand-300); }
.dark .feat p { color: #A69BB0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gal { margin: 0; }
.gal .shot-frame { cursor: zoom-in; }
.gal img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.gal figcaption { padding-top: 16px; font-size: .92rem; color: var(--muted); line-height: 1.85; }
.gal figcaption b { display: block; color: var(--ink); font-size: 1rem; }
.dark .gal figcaption { color: #A69BB0; }
.dark .gal figcaption b { color: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; padding: 24px; background: rgba(18, 10, 23, .92); cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; border-radius: var(--r-lg); }

/* جدول مشخصات */
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec th, .spec td { text-align: right; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-weight: 600; }
.spec td { color: var(--ink); font-weight: 650; }
.spec tr:hover td, .spec tr:hover th { background: var(--soft); }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.spec-wrap .spec tr:last-child th, .spec-wrap .spec tr:last-child td { border-bottom: 0; }

.cmds { display: grid; gap: 0; }
.cmds li { padding: 16px 0; border-top: 1px solid var(--nl); display: grid; gap: 4px; }
.cmds code { font-size: .95rem; color: #F3C6D0; background: rgba(237, 26, 57, .08); border: 1px solid rgba(237, 26, 57, .2); padding: 4px 10px; border-radius: 4px; justify-self: start; font-family: Consolas, "Courier New", monospace; }
.cmds span { color: #A69BB0; font-size: .9rem; }
.dark .spec-wrap { background: var(--night-2); border-color: var(--nl); }
.dark .spec th, .dark .spec td { border-color: var(--nl); }
.dark .spec th { color: #8D8297; }
.dark .spec td { color: #EDE5F2; }
.dark .spec tr:hover td, .dark .spec tr:hover th { background: rgba(255,255,255,.03); }
.svc-row.static { grid-template-columns: 56px 1fr; }

/* تصویرسازی دستگاه */
.device { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1.25; background: linear-gradient(160deg, #2A1A33, #120A17); border-radius: 22px; border: 1px solid #3A2745; box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,.08); padding: 34px; display: grid; grid-template-rows: auto 1fr auto; color: #CFC3D8; }
.device-top { display: flex; justify-content: space-between; align-items: center; }
.device-top b { font-size: 1.05rem; color: #fff; letter-spacing: .04em; }
.device-top .leds { display: flex; gap: 10px; }
.device-top .leds i { width: 10px; height: 10px; border-radius: 50%; background: #3B2B45; }
.device-top .leds i.r { background: var(--red); box-shadow: 0 0 10px var(--red); animation: led 1.6s infinite; }
.device-top .leds i.g { background: #2BD47A; box-shadow: 0 0 10px #2BD47A; }
@keyframes led { 50% { opacity: .25; } }
.device-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 24px 0; }
.port-col { display: grid; gap: 10px; }
.port-col small { font-size: .72rem; letter-spacing: .12em; color: #8D8297; margin-bottom: 4px; }
.port { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: .82rem; }
.port i { width: 9px; height: 9px; border-radius: 50%; background: #4A3A55; }
.port.on i { background: #2BD47A; box-shadow: 0 0 8px #2BD47A; }
.device-bot { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #8D8297; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
.device-bot .sim { display: flex; align-items: center; gap: 8px; color: #CFC3D8; }
.device-bot svg { width: 16px; height: 16px; color: var(--brand-300); }
.sms { background: #fff; color: var(--ink); border-radius: 18px 18px 4px 18px; padding: 14px 18px; font-size: .86rem; line-height: 1.7; box-shadow: var(--sh-lg); position: absolute; width: 210px; }
.sms small { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 4px; }

/* درباره */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { padding: 48px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.mv-card .ic { width: 54px; height: 54px; border-radius: var(--r); background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 28px; }
.mv-card .ic svg { width: 26px; height: 26px; }
.mv-card h3 { font-size: 1.4rem; }
.mv-card p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--nl); }
.values li { padding: 40px 28px 0 0; }
.values li:first-child { padding-right: 0; }
.values li + li { border-right: 1px solid var(--nl); }
.values svg { width: 30px; height: 30px; color: var(--brand-300); margin-bottom: 22px; }
.values h3 { font-size: 1.12rem; }
.values p { margin: 0; color: #A69BB0; font-size: .95rem; line-height: 1.95; }
.reg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.reg div { padding: 34px 32px; }
.reg div + div { border-right: 1px solid var(--line); }
.reg small { display: block; color: var(--muted); font-size: .86rem; margin-bottom: 6px; }
.reg b { color: var(--ink); font-size: 1.15rem; line-height: 1.7; }

/* تماس */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.ci .ic { width: 52px; height: 52px; border-radius: var(--r); background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.ci .ic svg { width: 24px; height: 24px; }
.ci small { display: block; color: var(--muted); font-size: .86rem; }
.ci a, .ci span.v { color: var(--ink); font-weight: 750; font-size: 1.12rem; line-height: 1.9; }
.ci a:hover { color: var(--brand); }
.ci .map { display: inline-flex; margin-top: 8px; font-size: .88rem; font-weight: 650; color: var(--brand); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px; box-shadow: var(--sh); }
.form h2 { font-size: 1.7rem; margin-bottom: .2em; }
.form > p { color: var(--muted); margin-bottom: 32px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field .lbl { font-weight: 650; color: var(--ink); font-size: .93rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); color: var(--ink); width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 150px; padding: 16px 18px; resize: vertical; line-height: 1.9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.muted { color: var(--muted); font-weight: 400; }
.form-note { font-size: .86rem; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { padding: 16px 20px; border-radius: var(--r); font-weight: 650; margin-bottom: 24px; border: 1px solid; }
.form-status.ok { background: #E9F8EF; border-color: #B8E6CA; color: #0D7A3C; }
.form-status.err { background: #FDECEF; border-color: #F7C2CC; color: #B3102A; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* پانویس */
.footer { background: var(--night); color: #A69BB0; padding-top: 96px; }
.footer a { color: #C9BDD2; }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1.2fr .9fr 1.2fr; gap: 56px; padding-bottom: 72px; }
.foot-grid h4 { color: #fff; font-size: .98rem; margin-bottom: 22px; }
.foot-grid ul { display: grid; gap: 11px; font-size: .93rem; }
.foot-brand img { height: 36px; width: auto; margin-bottom: 26px; }
.foot-brand p { font-size: .94rem; line-height: 2; max-width: 360px; }
.foot-svc { columns: 2; column-gap: 24px; }
.foot-svc li { break-inside: avoid; margin-bottom: 11px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; margin-top: 7px; color: var(--brand-300); flex: none; }
.foot-bottom { border-top: 1px solid var(--nl); padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: #8D8297; }

/* ورود تدریجی */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero-bg img, .marquee-track, .device-top .leds i.r { animation: none; } html { scroll-behavior: auto; } }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; }
.notfound b { display: block; font-size: clamp(6rem, 18vw, 11rem); font-weight: 900; line-height: 1; color: var(--brand); margin-bottom: 18px; }

/* واکنش‌گرا */
@media (max-width: 1200px) {
  .flag-body { padding: 96px 48px; }
  .menu > li > a, .menu > li > button { padding: 0 13px; }
}
@media (max-width: 1060px) {
  .sec { padding: 104px 0; }
  .topbar .addr { display: none; }
  .about-grid, .svc-intro, .prod-feature, .cta .wrap, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .prod-feature.flip > :first-child { order: 0; }
  .aside-card { position: static; }
  .flag { grid-template-columns: 1fr; }
  .flag-media { height: 380px; }
  .flag-media::after { background: linear-gradient(180deg, transparent 50%, var(--night)); }
  .svc-grid, .feat-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .inds, .values, .prod-teaser { grid-template-columns: repeat(2, 1fr); }
  .values li:nth-child(3) { padding-right: 0; border-right: 0; }
  .values li:nth-child(n+3) { padding-top: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pillars ul { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(2) { border-left: 0; }
  .pillars li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .pillars li:nth-child(3) a { padding-right: 0; }
}
@media (max-width: 960px) {
  .burger { display: grid; }
  .nav-cta { display: none; }
  .nav { height: 72px; }
  .menu { position: fixed; top: 0; bottom: 0; right: 0; width: min(380px, 88vw); height: auto; flex-direction: column; align-items: stretch; background: #fff; padding: 88px 24px 32px; overflow-y: auto; box-shadow: -30px 0 60px -20px rgba(0,0,0,.3); transform: translateX(105%); transition: transform .35s var(--ease); z-index: 150; margin: 0; }
  .header.open .menu { transform: none; }
  .header.open::after { content: ""; position: fixed; inset: 0; background: rgba(18,10,23,.5); z-index: 140; }
  .menu > li { flex-direction: column; border-bottom: 1px solid var(--line); }
  .menu > li > a, .menu > li > button { padding: 16px 4px; justify-content: space-between; font-size: 1.02rem; width: 100%; }
  .menu > li > a::after, .menu > li > button::after { display: none; }
  .mega, .mega.narrow { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; grid-template-columns: 1fr; }
  .menu > li:hover > .mega { display: none; }
  .menu > li.open > .mega { display: grid; }
  .mega a { padding: 10px 6px; }
  .mega small, .mega .mega-foot span { display: none; }
  .mega .mega-foot { padding: 12px 6px 0; margin-top: 4px; }
  .menu > li:has(.menu-close) { display: block; border: 0; position: absolute; top: 18px; left: 18px; }
  .menu .menu-close { display: grid; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .menu .menu-close svg { width: 22px; height: 22px; transform: none !important; }
  .head-split { grid-template-columns: 1fr; }
}
@media (min-width: 961px) { .menu-close { display: none !important; } }
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .sec { padding: 80px 0; }
  .sec.sm { padding: 64px 0; }
  .head { margin-bottom: 44px; }
  .topbar { display: none; }
  .logo img { height: 28px; }
  .hero { min-height: auto; }
  .hero-main { padding: 72px 0 56px; }
  .hero .btn, .phero .btn { width: 100%; }
  .pillars ul { grid-template-columns: 1fr; }
  .pillars li { border-left: 0 !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pillars li:last-child { border-bottom: 0; }
  .pillars a, .pillars li:nth-child(3) a { padding: 18px 0; }
  .phero { padding: 80px 0 72px; }
  .svc-grid, .feat-grid, .gallery, .gallery.g2, .inds, .values, .prod-teaser, .caps, .two-lists, .mv, .row2, .checks.cols, .reg, .svc-list { grid-template-columns: 1fr; }
  .svc-list .svc-row:nth-child(odd), .svc-list .svc-row:nth-child(even) { padding: 24px 0; border-left: 0; }
  .reg div + div { border-right: 0; border-top: 1px solid var(--line); }
  .values li, .values li:nth-child(n) { padding: 32px 0 0; border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(n) { padding: 26px 0 0; border-right: 0; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .client { min-height: 100px; font-size: .98rem; }
  .facts-row { grid-template-columns: 1fr 1fr 1fr; }
  .facts-row b { font-size: 1.4rem; }
  .facts-row div + div { padding-right: 14px; }
  .client-strip .wrap { flex-direction: column; align-items: stretch; gap: 20px; }
  .client-strip p { max-width: none; }
  .collage .badge { padding: 16px 18px; }
  .collage .badge b { font-size: 1.6rem; }
  .flag-body { padding: 64px 18px 72px; }
  .flag-media { height: 260px; }
  .list-card, .mv-card { padding: 30px 24px; }
  .form { padding: 30px 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta { padding: 88px 0; }
  .device { padding: 22px; border-radius: 16px; }
  .sms { display: none; }
  .spec th, .spec td { padding: 14px; display: block; width: 100%; }
  .spec th { padding-bottom: 0; border-bottom: 0; }
}

/* واکنش‌گرای صفحهٔ خدمت (باید پس از قواعد پایه بیاید) */
@media (max-width: 1060px) {
  .deliver-faq { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 700px) {
  .hl-row { grid-template-columns: 1fr; margin-top: 48px; }
  .hl, .hl:first-child { padding: 22px 0; }
  .hl + .hl { border-right: 0; border-top: 1px solid var(--line); }
  .faq details p { padding-left: 0; }
  .aside-card { padding: 28px 22px; }
  .svc-nav { top: 72px; }
}
