/* ماشین‌نامه — سیستم بصری
   آبی کربنی + نارنجی. سطوح تیره با بافت فیبر کربن، محتوا روی زمینه روشن و تمیز.
   عنصر شاخص: تصویر فنی دستگاه تزریق که قالبش پر می‌شود، و پلاک شناسنامه. */
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 400; src: url("/r/f400") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 500; src: url("/r/f500") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 600 800; src: url("/r/f700") format("woff2"); }
: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: 44px; 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; }
.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; }
.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); }
