/*!
 * Kelid Tehran — corp-sections-a.css (WORKER-2, build 69.2.0)
 * Corporate sections part 1: hero / services / process.
 * Mobile-first. Only transform/opacity animations. Strong ease-out.
 */

.corp-hero,
.corp-services,
.corp-process {
	--corp-gold: var(--kt-gold);
	/* 69.4.3: طلایی مخصوص «متن روی تیره» — کنتراست AAA (تست 69.5.0:
	   #F5D67B روی #0B0C10 = 13.76:1؛ #D9A93F روی #0B0C10 = 9.03:1) */
	--corp-gold-text: var(--kt-gold-hi);
	--corp-navy: var(--kt-bg);
	--corp-ease: var(--ease-out); /* 69.6.0 (improve-animations): kill parallel token */
	--corp-line: var(--kt-line);
	--corp-text-dim: var(--kt-ink2); /* 69.5.0: warm gray — AA on obsidian */
	scroll-margin-top: 88px;
}

/* ============================================================
   HERO — corporate, trust-building
   ============================================================ */
.corp-hero {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	background: var(--corp-navy);
	color: #fff;
	overflow: hidden;
	position: relative;
}
/* 69.5.0: single radial gold glow on the hero — depth without images (~10% opacity, one static layer) */
.corp-hero::before{
	content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
	background:radial-gradient(680px 360px at 50% 16%,rgba(217,169,63,.10),transparent 70%);
}
.corp-hero__grid{position:relative;z-index:1}

.corp-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

.corp-hero__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.corp-hero__kicker {
	align-self: flex-start;
	max-width: 100%;
	overflow-wrap: break-word;
}

.corp-hero__title {
	margin: 0;
	font-size: clamp(1.75rem, 5.4vw, 3rem);
	font-weight: 800;
	line-height: 1.45; /* 69.3.1: deepseek verdict — 1.45 is the Persian luxury sweet spot */
	color: #fff;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.corp-hero__title-line,
.corp-hero__title-accent {
	display: block;
}

.corp-hero__title-accent {
	color: var(--corp-gold-text); /* 69.4.3: متن طلایی روی تیره → AAA */
}

.corp-hero__subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.92); /* 69.3.1: was .84 — washed out, below AA feel */
	font-size: clamp(0.95rem, 2.7vw, 1.0625rem);
	line-height: 1.8; /* 69.3.1: was 2 — bloated */
	max-width: 30rem;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.corp-hero__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: stretch;
	margin-top: 0.5rem;
}

.corp-hero__cta {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition: transform 180ms var(--corp-ease), opacity 180ms var(--corp-ease);
}

.corp-hero__wa {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--whatsapp-grad); /* 69.6.1: WhatsApp-brand green CTA */
	border: 1px solid transparent;
	box-shadow: var(--whatsapp-shadow);
	color: #fff;
	border-radius: var(--r-pill);
	padding: 0.75rem 1.25rem;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition: transform 180ms var(--corp-ease), opacity 180ms var(--corp-ease);
}

.corp-hero__services-link {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 2;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding: 0 0.25rem;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition: transform 180ms var(--corp-ease), opacity 180ms var(--corp-ease), color 180ms var(--corp-ease), border-color 180ms var(--corp-ease);
}


.corp-hero__visual {
	min-width: 0;
	position: relative;
	isolation: isolate;
}

/* One restrained key-light glow behind the focal image. */
.corp-hero__visual::before {
	content: "";
	position: absolute;
	width: 78%;
	height: 78%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle at 50% 50%, rgba(217,169,63, 0.14) 0%, rgba(217,169,63, 0.06) 32%, transparent 72%);
	filter: blur(18px);
	opacity: 0.9;
	pointer-events: none;
	z-index: -1;
}

.corp-hero__frame {
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--kt-surface1);
	position: relative;
	line-height: 0;
	border: 1px solid var(--kt-line); /* 69.5.0: gold hairline */
}
/* 69.4.4: scrim سینمایی (درس Prime Intellect) — محو پایین تصویر به پس‌زمینه تیره؛
   عمق از نور/محو می‌آید، نه از سایه سنگین. بدون JS، بدون هزینه رندر. */
.corp-hero__frame::after{
	content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
	background:linear-gradient(180deg,transparent 52%,rgba(6,13,24,.28) 78%,rgba(6,13,24,.62) 100%);
}

.corp-hero__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transform: scale(1);
	animation: corp-hero-kenburns 18s ease-out 1 forwards; /* 69.3.1: was 24s infinite — cheap loop + perf */
	will-change: auto;
}

@keyframes corp-hero-kenburns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.06);
	}
}

.corp-hero__cta:active,
.corp-hero__wa:active,
.corp-hero__services-link:active {
	transform: scale(0.97);
	transition-duration: 130ms;
}

/* 69.6.0 — Command (برنده پروتوتایپ سه‌گانه CTA، رأی Opus 5.5 با 9/10):
   CTA ستونی — لیبل کوچک بالا + شماره تلفن بزرگ و غالب؛ روی سلکتورهای واقعی
   قالب پیاده شد، نه کپی کورکورانه پروتوتایپ. سلکتور دوتایی تا روی min-height
   موبایل (56px) در مدیاکوئری غلبه کند. */
.corp-hero__cta.corp-hero__cta--command {
	flex-direction: column;
	gap: 0.15rem;
	min-height: 72px;
	border-radius: 20px;
	padding: 0.7rem 1.25rem;
	line-height: 1.4;
}
.corp-hero__cta-label {
	font-size: 0.8rem;
	font-weight: 700;
	opacity: 0.78;
}
.corp-hero__cta-num {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	direction: ltr; /* آیکون چپ + ارقام چپ‌به‌راست، مثل پروتوتایپ */
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 0.02em;
}
.corp-hero__cta-num svg {
	flex: 0 0 auto;
}

/* 69.6.0 — Magic UI «Border Beam» (پورت CSS خالص، بدون React):
   پرتو نور طلایی که دور بوردر CTA قهرمان می‌چرخد. تکنیک mask-composite —
   فقط حلقه بوردر دیده می‌شود و نقطه نور با offset-path روی مستطیل گرد
   (radius برابر خود دکمه) سفر می‌کند. بدون JS، بدون layout shift. */
.corp-hero__cta.corp-hero__cta--command { position: relative; }
@keyframes kt-beam-travel { to { offset-distance: 100%; } }

@media (hover: hover) and (pointer: fine) {
	.corp-hero__cta:hover {
		opacity: 0.96;
		transform: translateY(-1px);
	}
	.corp-hero__wa:hover {
		opacity: 0.92;
		transform: translateY(-1px);
	}
	.corp-hero__services-link:hover {
		opacity: 1;
		color: #fff;
		border-bottom-color: rgba(255, 255, 255, 0.5);
	}
}

@media (min-width: 900px) {
	.corp-hero {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
	.corp-hero__grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 3rem;
	}
	.corp-hero__content {
		gap: 1.15rem;
	}
	.corp-hero__actions {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 0.9rem;
	}
	.corp-hero__services-link {
		min-height: 0;
		padding: 0.5rem 0.25rem;
	}
}

/* ---------- 69.4.3: هیروی موبایل جمع‌وجور — CTA اصلی بالای fold ----------
   اجماع هر ۳ منتقد: هیرو در 390px بیش‌ازحد بلند بود. پدینگ/تایپ/ فاصله‌ها
   در موبایل فشرده می‌شوند تا دکمه «تماس فوری» در اولین ویوپورت دیده شود.
   ---------- 69.4.5: فاصله امن CTA تا داک (بحرانی — هر ۳ منتقد) ----------
   دکمه طلایی هیرو زیر داک ثابت بریده می‌شد. پدینگ پایینی = ارتفاع داک
   (64px) + ناچ + ۲۴px فضای امن؛ هیچ هم‌پوشانی نباید بماند. */
@media (max-width:899px){
	.corp-hero{padding-top:1.75rem;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px) + 1.5rem)}
	.corp-hero__grid{gap:1.2rem}
	.corp-hero__content{gap:.72rem}
	.corp-hero__title{font-size:clamp(1.55rem,5vw,2rem);line-height:1.34}
	.corp-hero__subtitle{font-size:1rem;line-height:1.8} /* 69.6.1: 16px minimum body */
	/* 69.4.9: اکشن‌ها — تماس تمام‌عرض و غالب؛ واتساپ + لینک خدمات در ردیف دومِ دو ستونه */
	/* 69.6.1 Opus hero #5: 32px rhythm — subcopy → CTA */
	.corp-hero__actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:1.1rem}
	.corp-hero__cta{grid-column:1 / -1;min-height:56px}
	.corp-hero__wa{min-height:52px}
	.corp-hero__services-link{
		margin:0;min-height:52px;padding:.5rem .75rem;font-size:.85rem;
		/* 69.6.1 Opus hero #2: 2px stroke + brighter text for tap affordance */
		border:2px solid rgba(255,255,255,.30);border-radius:14px;color:#E8E8E8;
	}
	/* 69.4.9: نشانه‌های اعتماد فشرده‌تر ولی خوانا */
	.corp-hero__trust{gap:.45rem 1rem;font-size:.8rem;line-height:1.9}
	/* 69.4.9: ویژوال — بنر سینمایی کوتاه‌تر (۱۶/۱۰) + کارت آمار شناور روی تصویر */
	.corp-hero__img{aspect-ratio:16/10}
	.corp-hero__stat{
		position:absolute;bottom:12px;inset-inline-start:12px;inset-inline-end:12px;
		margin-top:0;max-width:none;
	}
}

/* ============================================================
   69.8.0 — HERO ELEVATION («چند لول بالاتر»، پاس design-director)
   CSS-only — بدون تغییر template/Customizer؛ corp-sections-a.css
   رندر-بلاکینگ است پس همه‌چیز از اولین پینت اعمال می‌شود
   (نیازی به mirror در critical.css نیست).
   اصول: یک CTA غالب (طلایی)؛ واتساپ ثانویه آرام (ghost)؛ لینک
   خدمات متنی و بی‌سر‌و‌صدا؛ سیگنال زنده «اعزام فعال»؛ نوار
   اعتماد یک‌خطی با جداکننده؛ گرید سینمایی تصویر.
   ============================================================ */

/* 1) KICKER زنده — نقطه پالس «اعزام فعال». فقط box-shadow متحرک است؛
   هیچ layout shift ندارد؛ با prefers-reduced-motion خاموش می‌شود.
   70.0.0 loop12: پالس بی‌نهایت → ۳ تکرار (attention on entry, calm after؛
   سابقه: cine-pulse و حذف حلقه‌های بی‌نهایت در loop7/loop11). */
.corp-hero__kicker{display:inline-flex;align-items:center;gap:.55rem}
.corp-hero__kicker::before{
	content:"";flex:0 0 auto;width:8px;height:8px;border-radius:50%;
	background:var(--kt-emerald,#2FA37C);
	animation:kt-live-pulse 2.4s ease-out 3;
}
@keyframes kt-live-pulse{
	0%{box-shadow:0 0 0 0 rgba(47,163,124,.55)}
	70%{box-shadow:0 0 0 10px rgba(47,163,124,0)}
	100%{box-shadow:0 0 0 0 rgba(47,163,124,0)}
}

/* 2) انضباط CTA — واتساپ از گرادیان سبز پرسر‌و‌صدا به ghost تیره تا
   طلایی بی‌رقیب غالب بماند؛ آیکون سبز می‌ماند (currentColor) تا
   برند واتساپ برای چشم کاربر خوانا بماند. */
.corp-hero__wa{
	background:rgba(255,255,255,.07);
	border:1px solid rgba(255,255,255,.18);
	box-shadow:none;
	color:#fff;
	transition:transform 180ms var(--corp-ease),opacity 180ms var(--corp-ease),background-color 180ms var(--corp-ease),border-color 180ms var(--corp-ease);
}
.corp-hero__wa svg{color:#4ADE80}

/* 3) لینک خدمات — از «دکمه سوم» به متن آرام (موبایل؛ دسکتاپ از قبل متنی بود) */
@media (max-width:899px){
	.corp-hero__services-link{
		border:none;border-radius:0;background:none;box-shadow:none;
		min-height:48px;padding:.5rem .75rem;
		color:rgba(255,255,255,.82);font-size:.9rem;font-weight:500;
		text-decoration:underline;text-decoration-color:rgba(255,255,255,.5);
		text-underline-offset:6px;
	}
}

/* 4) نوار اعتماد — سه ستون هم‌عرض با جداکننده مویین (موبایل) */
@media (max-width:899px){
	.corp-hero__trust{
		display:grid;grid-template-columns:repeat(3,1fr);
		gap:.35rem;margin-top:1rem;padding-top:.9rem;
	}
	.corp-hero__trust li{
		justify-content:center;text-align:center;
		font-size:.7rem;line-height:1.7;
	}
	.corp-hero__trust li+li{
		border-inline-start:1px solid rgba(255,255,255,.14);
		padding-inline-start:.35rem;
	}
}
/* دسکتاپ: فاصله واقعی به‌جای space-between کش‌آمده + جداکننده */
@media (min-width:900px){
	.corp-hero__trust{justify-content:flex-start;gap:2rem}
	.corp-hero__trust li+li{
		border-inline-start:1px solid rgba(255,255,255,.14);
		padding-inline-start:2rem;
	}
}

/* 5) گرید سینمایی تصویر — یکدست‌سازی ظریف با پالت صحنه */
.corp-hero__img{filter:saturate(.9) contrast(1.03)}

/* 6) کارت آمار — سایه واقعی‌تر روی تصویر */
.corp-hero .corp-hero__stat{box-shadow:0 12px 32px -12px rgba(0,0,0,.55)}

@media (hover:hover) and (pointer:fine){
	.corp-hero__wa:hover{background:rgba(255,255,255,.13);opacity:1;transform:translateY(-1px)}
	.corp-hero__services-link:hover{color:#fff;text-decoration-color:rgba(255,255,255,.6)}
}
@media (prefers-reduced-motion:reduce){
	.corp-hero__kicker::before{animation:none}
}

/* ============================================================
   SERVICES — 9 rich cards
   ============================================================ */
.corp-services {
	background: var(--kt-bg2); /* 69.5.0: section alternation bg/bg2 */
}
/* 69.4.0: title + desc were near-black (--ink) on navy — invisible (user screenshot) */
.corp-services .sec-title{color:#fff}
.corp-services .sec-desc{color:var(--corp-text-dim)}

/* ============================================================
   69.4.4 — ART DIRECTION: night-surface discipline.
   The cinematic navy sections were leaking the light theme's brick-orange
   (.kicker pill, .sec-line bar, .accent spans, white .chip) onto navy.
   On navy, gold is the ONLY accent: hairlines, honest display type.
   ============================================================ */
/* Kicker pills → hairline gold chips on navy (was orange-on-peach / white pill) */
.corp-hero .chip.corp-hero__kicker,
.corp-services .kicker,
.corp-process .kicker{
  background:rgba(217,169,63,.07);
  border:1px solid rgba(245,214,123,.32);
  color:var(--corp-gold-text);
}
/* Section divider bar → thin gold hairline (was 3px orange block) */
.corp-services .sec-line,
.corp-process .sec-line{
  width:72px;height:1px;border-radius:0;
  background:linear-gradient(90deg,transparent,rgba(245,214,123,.75),transparent);
}
/* Accent words inside titles → gold text (was brick-orange on navy) */
.corp-services .sec-title .accent,
.corp-process .sec-title .accent{color:var(--corp-gold-text)}
/* Honest display type: Lalezar ships only Regular (400) — kill faux-bold on navy.
   Lalezar Regular IS a heavy display face; size carries the hierarchy now. */
.corp-hero__title,
.corp-services .sec-title,
.corp-process .sec-title{font-weight:400}
/* Service cards: 1px gold hairline across the top edge — the "expensive" detail */
.corp-services .service-card{position:relative}
.corp-services .service-card::before{
  content:"";position:absolute;top:0;inset-inline:12px;height:1px;z-index:2;
  background:linear-gradient(90deg,transparent,rgba(245,214,123,.45),transparent);
  pointer-events:none;
}
/* Gold focus ring on navy (the navy-based --focus-ring is invisible on dark) */
.corp-hero :focus-visible,
.corp-services :focus-visible,
.corp-process :focus-visible{outline:2px solid var(--corp-gold-text);outline-offset:3px}
/* Floating stat number: tabular figures so digits don't jitter */
.corp-hero__stat-num{font-variant-numeric:tabular-nums lining-nums}

/* 69.6.1 — MICRO-INTERACTION 02: sliding indicator (Opus 5.5: 7.5/10).
   Single horizontal scroll row on mobile; a gold pill slides behind the
   active tab (transform: translateX only, positioned from physical
   offsetLeft — RTL-safe). Pill position is set by main.js. */
.corp-svc__filter {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	justify-content: flex-start;
	overflow-x: auto;
	overflow-y: hidden;
	margin: 0 0 1.5rem;
	padding: 6px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	/* 69.6.1 Opus svc #1: snap + edge fade = scroll affordance at 390px */
	scroll-snap-type: x proximity;
	/* 70.0.0 loop8: touch-action pan-y — the row owns horizontal swipes;
	   the browser keeps vertical page scroll (skill §9). Same real friction
	   as the coverage tab row: without it a diagonal swipe jitters the page. */
	touch-action: pan-y;
	-webkit-mask-image: linear-gradient(to left, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
	mask-image: linear-gradient(to left, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.corp-svc__filter::-webkit-scrollbar { display: none; }
.corp-svc__pill {
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 0;
	width: 0;
	border-radius: 14px;
	background: linear-gradient(135deg,#EBCB64 0%,#C49A3A 52%,#8C6420 100%);
	box-shadow: 0 2px 10px rgba(217,169,63,.20); /* 69.6.1 Opus svc #2: glow toned down */
	transition: transform .28s cubic-bezier(.32,.72,0,1), width .28s cubic-bezier(.32,.72,0,1);
	will-change: transform;
	pointer-events: none;
}

.corp-svc__filter-btn {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	min-width: 0;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.15rem;
	border-radius: 14px;
	border: 1px solid transparent;
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.9;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition: color .25s ease, transform 160ms var(--corp-ease);
	scroll-snap-align: center; /* 69.6.1 Opus svc #1: snap with the JS scrollIntoView(center) */
}
.corp-svc__filter-btn:focus-visible { outline: 3px solid var(--gold-hi, #F5D67B); outline-offset: 2px; }

.corp-svc__filter-btn.active {
	color: #0B0C10; /* ink on the gold pill */
	font-weight: 800;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.corp-svc__filter-btn:active {
	transform: scale(0.97);
	transition-duration: 120ms;
}
@media (min-width: 760px) {
	.corp-svc__filter {
		flex-wrap: wrap;
		overflow: visible;
		/* 69.6.1: no clipping on desktop — drop the mobile scroll affordances */
		scroll-snap-type: none;
		-webkit-mask-image: none;
		mask-image: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.corp-svc__pill, .corp-svc__filter-btn { transition: none; }
}

.corp-svc__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.corp-svc {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.05); /* 69.3.1: was .03 — invisible on navy */
	border: 1px solid var(--corp-line);
	border-radius: var(--r-lg); /* 69.3.1: was 18px */
	overflow: hidden;
	cursor: pointer;
	min-width: 0;
	transition: transform 220ms var(--corp-ease), border-color 220ms var(--corp-ease);
}

.corp-svc__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--kt-surface1);
	line-height: 0;
}

.corp-svc__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms var(--corp-ease);
}

.corp-svc__body {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.25rem;
	flex: 1 1 auto;
}

.corp-svc__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.9;
	color: #fff;
	overflow-wrap: break-word;
}

.corp-svc__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.9;
	color: var(--corp-text-dim);
	overflow-wrap: break-word;
	flex: 1 1 auto;
	/* 69.3.1: clamp to 3 lines so all 9 cards share the same rhythm */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.corp-svc__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--kt-line); /* 69.5.0: gold hairline */
}

.corp-svc__price {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.corp-svc__price-val {
	font-weight: 700;
	font-size: 0.95rem;
	color: #fff;
	line-height: 1.9;
	font-variant-numeric: tabular-nums;
}

.corp-svc__note {
	font-size: 0.78rem;
	color: var(--corp-text-dim);
	line-height: 1.9;
}


.corp-svc:active {
	transform: scale(0.98);
	transition-duration: 130ms;
}

.corp-svc__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
	margin-top: 1.6rem;
}

@media (hover: hover) and (pointer: fine) {
	.corp-svc__filter-btn:hover {
		color: #fff;
		border-color: rgba(255, 255, 255, 0.3);
	}
	.corp-svc__filter-btn.active:hover {
		color: var(--corp-gold-text); /* 69.4.3: AAA روی تیره */
		border-color: rgba(217,169,63, 0.6);
	}
	.corp-svc:hover {
		transform: translateY(-3px);
		border-color: rgba(217,169,63, 0.5); /* 69.3.1: was .35 — weak gold payoff */
	}
	.corp-svc:hover .corp-svc__img {
		transform: scale(1.05);
	}
}

/* --- Legacy JS hooks (.service-card / .services__filter-btn / .service-card__call):
   main.js binds modal + filter to these classes. Old style.css rules are
   neutralized inside .corp-services scope (this file loads after style.css). --- */
.corp-services .service-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--corp-line);
	border-radius: 18px;
	box-shadow: none;
	padding: 0;
	overflow: hidden;
	transition: transform 220ms var(--corp-ease), border-color 220ms var(--corp-ease);
}

.corp-services .service-card::before {
	content: none;
}

.corp-services .service-card:active {
	transform: scale(0.98);
	transition-duration: 130ms;
}

.corp-services .service-card:focus-visible {
	outline: 2px solid var(--corp-gold);
	outline-offset: 3px;
}

.corp-services .service-card__call {
	background: transparent;
	box-shadow: none;
	color: var(--corp-gold-text); /* 69.4.3: AAA روی تیره */
	padding: 0.4rem 0.6rem;
}

.corp-services .service-card__call:active {
	transform: scale(0.97);
	transition-duration: 130ms;
}

@media (hover: hover) and (pointer: fine) {
	.corp-services .service-card:hover {
		transform: translateY(-3px);
		box-shadow: none;
		border-color: rgba(217,169,63, 0.35);
	}
	.corp-services .service-card__call:hover {
		transform: none;
		opacity: 0.85;
	}
}

@media (min-width: 640px) {
	.corp-svc__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.corp-svc__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* ============================================================
	   70.0.0 LOOP9 — services bento feature cell (desktop/tablet ≥1024px).
	   Bento canon (design-director / emil-design-eng):
	   (1) one feature cell per grid, oversized, carries the section's hero
	       content; (4) text-heavy cell keeps capped line length (desc clamp kept).
	   Grid auto-placement: feature spans row 1; the other 8 cards fill the
	   3-col rows below (3+3+2 — the trailing 2+1-empty row is accepted bento
	   asymmetry; NO filler cells added).
	   Filtering: main.js hides cards with inline display:none, which removes
	   them from grid flow — a hidden feature card breaks nothing.
	   RTL: flex row is direction-aware; media (first child) sits at
	   inline-start, body at inline-end. No colors, no new transitions —
	   loop-5 contrast table and 220ms transform/border-color easing untouched.
	   ============================================================ */
	.corp-svc--feature {
		grid-column: 1 / -1;
		flex-direction: row;
	}
	.corp-svc--feature .corp-svc__media {
		flex: 0 0 38%;
		max-width: 38%;
		aspect-ratio: auto;
		align-self: stretch;
	}
	.corp-svc--feature .corp-svc__body {
		flex: 1 1 auto;
		justify-content: center;
		padding: 1.5rem 1.75rem;
	}
	.corp-svc--feature .corp-svc__title {
		font-size: 1.35rem; /* was 1.05rem — slightly larger hero title, line-height stays 1.9 */
	}
}
/* LOOP9 DECLINED: no feature treatment at 640–1023px (2-col). Bento needs
   room; an oversized cell across 2 cols would crush card rhythm and the
   feature interior (38% media + text) would be cramped. Uniform grid kept. */

/* ============================================================
   PROCESS — 4-step timeline, RTL-aware
   (step 1 starts at the inline-start = right side in RTL)
   ============================================================ */
.corp-process {
	background: var(--kt-bg); /* 69.5.0: alternates with services (--kt-bg2) */
}

.corp-proc__steps {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	position: relative;
	z-index: 0; /* 69.10.0: stacking context — خطوط ::before/::after زیر تصویرها */
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

/* Mobile: vertical connector line on the inline-start (right in RTL).
   69.10.0: centered on the 88px art (marker merged into art). */
.corp-proc__steps::before {
	content: "";
	position: absolute;
	z-index: 0; /* 69.10.0: زیر تصویر (z-index:1) */
	inset-inline-start: 44px; /* 69.10.0: مرکز دقیق 88px */
	top: 28px;
	bottom: 28px;
	width: 2px;
	background: linear-gradient(to bottom, rgba(217,169,63, 0.55), rgba(217,169,63, 0.08));
	border-radius: 2px;
}

.corp-proc__step {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 0; /* 69.3.1: was 1rem — more breathing between steps */
	min-width: 0;
}
.corp-proc__step:last-child {
	padding-bottom: 0;
}

.corp-proc__marker {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--kt-surface1);
	border: 1px solid rgba(217,169,63, 0.5);
	box-shadow: 0 0 0 6px var(--corp-navy);
}

.corp-proc__num {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--corp-gold-text); /* 69.4.3: AAA روی تیره */
	line-height: 1;
}

.corp-proc__art {
	flex: 0 0 auto;
	margin: 0;
	width: 88px; /* 69.10.0: was 72px — art carries the step number now */
	height: 88px;
	border-radius: var(--r-lg);
	position: relative; /* 69.10.0: chip overlaps the corner → overflow visible */
	z-index: 1; /* 69.10.0: روی خطوط اتصال ::before/::after */
	background: var(--kt-surface1);
	border: 1px solid var(--corp-line);
	line-height: 0;
	align-self: center;
}

/* 69.10.0: لایه داخلی برش — هاور زوم از کادر و بوردر بیرون نمی‌زند */
.corp-proc__art-clip {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
}

.corp-proc__art-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--r-lg); /* 69.10.0: figure no longer clips */
}

/* 69.10.0: step number as a gold chip overlapping the art's inline-start corner */
.corp-proc__numchip {
	position: absolute;
	top: -10px;
	inset-inline-start: -10px;
	z-index: 2;
	pointer-events: none; /* 69.10.0: تزئینی — تپ را مسدود نکند */
	min-width: 32px;
	height: 32px;
	padding: 0 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, #EBCB64 0%, #C49A3A 55%, #8C6420 100%);
	color: #0B0C10;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 214, 123, 0.35);
}

.corp-proc__text {
	min-width: 0;
	flex: 1 1 auto;
}

.corp-proc__title {
	margin: 0 0 0.25rem;
	font-size: 1.05rem; /* 69.3.1: was 1rem — stronger hierarchy */
	font-weight: 700;
	line-height: 1.6; /* 69.3.1: was 1.9 — tighter title */
	color: #fff;
	overflow-wrap: break-word;
}

.corp-proc__desc {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.9; /* 69.3.1: was 2 */
	color: var(--corp-text-dim);
	overflow-wrap: break-word;
}

@media (min-width: 900px) {
	.corp-proc__steps {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}
	/* Desktop: horizontal connector across the art row (RTL: flows right-to-left).
	   69.10.0: through the 120px art centers (marker removed). */
	.corp-proc__steps::before {
		inset-inline-start: 12.5%;
		inset-inline-end: 12.5%;
		top: 60px; /* 69.10.0: مرکز دقیق 120px */
		bottom: auto;
		width: auto;
		height: 2px;
		background: linear-gradient(to left, rgba(217,169,63, 0.55), rgba(217,169,63, 0.08));
	}
	.corp-proc__step {
		flex-direction: column;
		align-items: flex-start;
		text-align: start;
		padding: 0;
	}
	.corp-proc__art {
		width: 120px;
		height: 120px;
	}
}

/* 69.10.0: quiet hover on desktop — art breathes, chip stays put */
@media (hover: hover) and (pointer: fine) {
	.corp-proc__art-img {
		transition: transform 260ms var(--corp-ease);
	}
	.corp-proc__step:hover .corp-proc__art-img {
		transform: scale(1.06);
	}
}

/* ============================================================
   REDUCED MOTION — full support
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.corp-hero__img {
		animation: none;
		will-change: auto;
	}
	/* 69.6.0 — Magic UI Border Beam: با reduced-motion پرتو خاموش،
	   بوردر استاتیک طلایی باقی می‌ماند. */
	.corp-hero__cta,
	.corp-hero__wa,
	.corp-hero__services-link,
	.corp-svc__filter-btn,
	.corp-svc,
	.corp-svc__img {
		transition: none;
		animation: none;
	}
	.corp-hero__cta:active,
	.corp-hero__wa:active,
	.corp-hero__services-link:active,
	.corp-svc__filter-btn:active,
	.corp-svc:active {
		transform: none;
	}
}

/* ---------- R6: process section — white title, dim desc, gold accent on navy ---------- */
.corp-process .sec-title{color:#fff}
.corp-process .sec-desc{color:var(--corp-text-dim)}
.corp-process .accent{color:var(--corp-gold)}

/* ============================================================
   69.4.5 — CRITIC CONSENSUS FIXES (Gemini / Grok / ChatGPT on 69.4.4).
   ============================================================ */

/* 1) Service cards: the 69.4.4 top hairline targeted .service-card::before,
   but the legacy reset later in this file sets content:none on it — so it
   never painted. Moved onto .corp-svc, the real card class. */
.corp-svc{position:relative}
.corp-svc::before{
	content:"";position:absolute;top:0;inset-inline:14px;height:1px;z-index:2;
	background:linear-gradient(90deg,transparent,rgba(245,214,123,.5),transparent);
	pointer-events:none;
}

/* ============================================================
   69.5.0 — COLOR SYSTEM: depth, category coding, semantic accents
   ============================================================ */
/* کارت‌ها: هیرلاین طلایی + سایه لایه‌ای (عمق بدون تصویر) */
.corp-svc{
	background:var(--kt-surface1);
	border:1px solid var(--kt-line);
	border-radius:var(--r-lg);
	box-shadow:var(--kt-card-shadow);
}
/* کد رنگ دسته‌بندی: فقط لبه ۳px بالای کارت + نقطه فیلتر */
.corp-svc[data-cat="open"]{--kt-cat:var(--kt-cat-open)}
.corp-svc[data-cat="lock"]{--kt-cat:var(--kt-cat-lock)}
.corp-svc[data-cat="auto"]{--kt-cat:var(--kt-cat-auto)}
.corp-svc[data-cat="other"]{--kt-cat:var(--kt-cat-other)}
.corp-svc{border-top:3px solid var(--kt-cat,var(--kt-line))}
/* آیکون‌های اعتماد هیرو → زمردی (انحصاراً اعتماد/تضمین) */
.corp-hero__trust svg{color:var(--kt-emerald)}
/* جمله اعتماد زیر تیتر → لهجه طلایی تیتر می‌ماند */
/* فیلتر فعال: نقطه/لبه به رنگ دسته */
.corp-svc__filter-btn[data-filter="open"].active{border-color:var(--kt-cat-open);background:rgba(201,138,61,.12);color:var(--kt-gold-hi)}
.corp-svc__filter-btn[data-filter="lock"].active{border-color:var(--kt-cat-lock);background:rgba(74,124,111,.14);color:var(--kt-gold-hi)}
.corp-svc__filter-btn[data-filter="auto"].active{border-color:var(--kt-cat-auto);background:rgba(160,58,74,.14);color:var(--kt-gold-hi)}
.corp-svc__filter-btn[data-filter="other"].active{border-color:var(--kt-cat-other);background:rgba(107,140,174,.14);color:var(--kt-gold-hi)}
/* لینک «جزئیات خدمت» → برنز */
.corp-svc__more{color:var(--kt-bronze-hi)}
.corp-svc__more svg{color:var(--kt-bronze)}

/* 2) Controlled variety — three quiet media treatments cycling through the
   9 cards, all gold-on-navy so the palette stays disciplined:
   (a) default · (b) hairline frame inset · (c) soft gold aura wash. */
.corp-svc:nth-child(3n+2) .corp-svc__media{box-shadow:inset 0 0 0 1px rgba(245,214,123,.22)}
.corp-svc:nth-child(3n) .corp-svc__media{position:relative}
.corp-svc:nth-child(3n) .corp-svc__media::after{
	content:"";position:absolute;inset:0;pointer-events:none;
	background:radial-gradient(60% 55% at 50% 38%,rgba(217,169,63,.16),transparent 70%);
}

/* 3) «تماس» link → a real tappable pill CTA (critics: the text link was weak).
   Placed last so it beats the legacy .service-card__call hover rules above. */
.corp-services .service-card__call{
	border:1px solid rgba(245,214,123,.5);
	border-radius:var(--r-pill);
	padding:.55rem 1.05rem;
	font-weight:700;
	background:rgba(217,169,63,.08);
	text-decoration:none;
}
@media (hover:hover) and (pointer:fine){
	.corp-services .service-card__call:hover{
		opacity:1;
		background:rgba(217,169,63,.16);
		border-color:rgba(245,214,123,.85);
	}
}

/* 4) Filters, simplified (critics: visual noise, heavy weight). */
.corp-svc__filter-btn{font-weight:500;border-color:rgba(255,255,255,.1)}

/* ============================================================
   69.4.7 — اعتماد فوری هیرو / انتخاب سریع خدمات / موبایل تماس‌محور
   قانون: بدون افکت تازه — فقط سلسله‌مراتب، اعتماد و CTA.
   ============================================================ */

/* 1) جمله اعتماد فوری زیر تیتر هیرو */

/* سه نشانه اعتماد یک‌خطی زیر CTA (جایگزین میکروکپی هاردکد قبلی) */
.corp-hero__trust{
	list-style:none;
	margin:.25rem 0 0;
	padding:0;
	display:flex;
	flex-wrap:wrap;
	gap:.4rem 1rem;
}
.corp-hero__trust li{
	display:inline-flex;
	align-items:center;
	gap:.35rem;
	font-size:.82rem;
	line-height:2;
	color:rgba(255,255,255,.85);
}
.corp-hero__trust svg{color:var(--corp-gold-text);flex:0 0 auto}

/* 2) کارت شناور آمار ساده‌تر — شیشه (cine-glass) کنار رفت، چیپ ساده ماند */
.corp-hero .corp-hero__stat{
	background:rgba(8,14,26,.92);
	border:1px solid rgba(217,169,63,.28);
	backdrop-filter:none;
	-webkit-backdrop-filter:none;
	box-shadow:none;
}

/* 3) خدمات: توضیح کارت‌ها حداکثر ۲ خط */
.corp-svc__desc{-webkit-line-clamp:2}

/* «جزئیات خدمت» — کنترل ظریف به‌جای دکمه تکراری «تماس»؛ همان مودال باز می‌شود */
.corp-svc__more{
	min-height:48px;
	display:inline-flex;
	align-items:center;
	gap:.3rem;
	background:none;
	border:0;
	padding:.4rem .2rem;
	cursor:pointer;
	color:var(--corp-gold-text); /* AAA روی تیره */
	font:inherit;
	font-size:.85rem;
	font-weight:600;
	line-height:1.9;
	-webkit-tap-highlight-color:transparent;
	touch-action:manipulation;
}
.corp-svc__more svg{flex:0 0 auto}
@media (hover:hover) and (pointer:fine){.corp-svc__more:hover{opacity:.85}}
.corp-svc__more:active{transform:scale(.97)}

/* ۳ خدمت فوری اول — برجستگی کنترل‌شده (بدون افکت) · 69.5.0: زرشکی = فوریت */
.corp-svc--urgent{border-color:rgba(201,48,62,.45)}
.corp-svc--urgent::before{background:linear-gradient(90deg,transparent,rgba(201,48,62,.85),transparent)}
.corp-svc__media{position:relative}
.corp-svc__urgent{
	position:absolute;
	top:.7rem;
	inset-inline-start:.7rem;
	z-index:2;
	background:var(--kt-crimson);
	color:#fff;
	font-size:.72rem;
	font-weight:800;
	line-height:1;
	padding:.4rem .7rem;
	border-radius:var(--r-pill);
}

/* 4) موبایل: CTA طلایی هیرو کمی بزرگ‌تر + فاصله امن از داک جدید (108px) */
@media (max-width:899px){
	.corp-hero__cta{min-height:56px;font-size:1.02rem}
	/* 69.4.5: 64px بود — داک جدید بلندتر است */
	.corp-hero{padding-bottom:calc(108px + env(safe-area-inset-bottom,0px) + 1.25rem)}
}

/* 5) دسکتاپ: تصویر هیرو کمی کوچک‌تر — تمرکز روی تیتر و CTA */
@media (min-width:900px){
	.corp-hero__visual{max-width:500px;justify-self:end;width:100%}
}

/* 6) فاصله عمودی سکشن‌ها در موبایل اندکی کمتر */
@media (max-width:759px){
	:root{--section-y:2.5rem}
}

/* ============================================================
   69.6.0 — OPUS ART DIRECTION (visual critique 2026-09-29)
   Hero: depth, air, contrast. Adapted to real selectors.
   ============================================================ */
/* #1: obsidian with real depth — warm core on the content side (RTL: right) */
.corp-hero{
  background:
    radial-gradient(ellipse 60% 45% at 72% 16%,rgba(217,169,63,.07),transparent 62%),
    radial-gradient(ellipse 80% 70% at 70% 50%,#1A1A1E 0%,#0A0A0F 55%,#050508 100%);
}
/* #2: key visual separation — hairline + deep shadow + faint gold aura */
.corp-hero__frame{
  border:1px solid rgba(217,169,63,.22);
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.8),0 0 40px rgba(217,169,63,.10);
}
/* #3: Persian typography breathes (1.6, not 1.45) */
.corp-hero__title{line-height:1.6;color:var(--kt-ink)}
.corp-hero__title-accent{color:var(--kt-gold-hi)}
/* #4: subtitle legible — warm secondary, real line-height, measure cap */
.corp-hero__subtitle{color:var(--kt-ink2);line-height:1.9;max-width:52ch}
/* #5: primary CTA — generous, metallic, bordered */
.corp-hero__cta{padding:14px 28px;border-radius:999px}
/* #6: WhatsApp → brand green (69.6.1: owner order — all WhatsApp CTAs green site-wide) */
.corp-hero__wa{
  background:var(--whatsapp-grad,#25D366);
  border:1px solid transparent;
  color:#fff;
  box-shadow:0 8px 22px -6px rgba(37,211,102,.5),inset 0 1px 0 rgba(255,255,255,.25);
  padding:14px 24px;border-radius:999px;
}
.corp-hero__wa:hover{background:linear-gradient(135deg,#1FA855 0%,#178A46 60%,#0E7A3D 100%);color:#fff}
/* #8: stat badge — glass, anchored to the frame's corner */
.corp-hero .corp-hero__stat{
  background:rgba(18,18,20,.8);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(217,169,63,.2);
  border-radius:16px;padding:12px 16px;
}
/* #9: trust row — hairline above, real gaps, no ticker look */
/* 69.6.1 Opus hero #5: 24px rhythm — CTA group → trust divider */
.corp-hero__trust{
  border-top:1px solid rgba(217,169,63,.1);
  padding-top:14px;margin-top:14px;
}
@media(min-width:900px){
  .corp-hero__trust{display:flex;gap:32px;justify-content:space-between}
  .corp-hero .corp-hero__stat{position:absolute;bottom:-20px;inset-inline-start:24px}
}
@media(max-width:899px){
  .corp-hero__title{line-height:1.5}
  .corp-hero__subtitle{font-size:1rem;line-height:1.9} /* 69.6.0: body copy ≥16px */
}

/* ============================================================
   69.6.0 — OPUS ART DIRECTION: services
   ============================================================ */
.corp-services{padding:60px 0 80px} /* Opus svc #9: no more clipped bottom row */
/* #3: filter tabs — active is unmistakably gold (0,3,0 to beat [data-filter].active) */
.corp-svc__filter-btn{border:1px solid rgba(255,255,255,.12)}
.corp-svc__filter-btn.active,
.corp-svc__filter-btn[data-filter].active{
  background:var(--kt-gold-grad);border-color:transparent;color:var(--kt-ink-on-gold);
  font-weight:700;box-shadow:0 4px 14px rgba(196,154,58,.35),inset 0 1px 0 rgba(255,255,255,.35);
}
/* #4: cards — real surfaces, breathing room */
.corp-svc__grid{gap:24px}
.corp-svc{
  background:var(--kt-surface1); /* Opus: #1B2033, not translucent white */
  border:1px solid rgba(217,169,63,.22);
  border-radius:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 30px rgba(0,0,0,.45);
  padding-bottom:16px;
  transition:transform 220ms var(--corp-ease),border-color 220ms var(--corp-ease),box-shadow 220ms var(--corp-ease);
}
/* 69.6.0 (improve-animations): category accent → inline-start 4px for RTL (was top strip) */
.corp-svc{border-inline-start:4px solid var(--kt-cat,var(--kt-line))}
/* #6: urgent badge — crisper */
.corp-svc__urgent{font-weight:700}
/* #7: CTA hierarchy — details link bolder, meta quieter */
.corp-svc__more{font-weight:700}
.corp-svc__note{font-size:.78rem;color:rgba(207,202,184,.75)}
/* #8: hover with real feedback (no transition:all) */
@media (hover:hover) and (pointer:fine){
  .corp-svc:hover{
    transform:translateY(-4px);
    border-color:rgba(217,169,63,.5); /* 69.3.1 lesson kept: .35 was weak gold payoff */
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 34px rgba(0,0,0,.5),0 0 24px rgba(217,169,63,.08);
  }
}

/* ============================================================
   69.9.0 — SERVICES ELEVATION
   A) Urgent badge → live-signal language (echoes hero's pulse dot):
      solid red sticker becomes a dark glass pill with a breathing
      red dot. Urgency reads as a signal, not a sale tag.
   B) Mobile (<=639px): horizontal cards — thumb + content row,
      app-like density, section ~40% shorter to scroll.
   C) Filter tabs: quiet count chips (number_format_i18n → fa digits).
   ============================================================ */
.corp-svc__urgent{
	display:inline-flex;align-items:center;gap:.38rem;
	background:rgba(201,48,62,.26);
	border:1px solid rgba(255,110,110,.55);
	color:#FFE1E1;
	-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
	font-size:.72rem;font-weight:800;line-height:1;
	padding:.42rem .7rem;border-radius:var(--r-pill);
}
.corp-svc__urgent::before{
	content:"";flex:0 0 auto;width:6px;height:6px;border-radius:50%;
	background:#FF8080;
	animation:kt-live-pulse 2.4s ease-out 3; /* 70.0.0 loop12: finite — see hero kicker note */
}

/* Filter count chips — 69.9.0 Opus #3: کنتراست بالا در هر دو حالت */
.corp-svc__count{
	display:inline-flex;align-items:center;justify-content:center;
	min-width:1.35rem;height:1.35rem;padding:0 .32rem;border-radius:var(--r-pill);
	font-size:.7rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;
	background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.18);
	margin-inline-start:.45rem;
}
.corp-svc__filter-btn.active .corp-svc__count{background:rgba(0,0,0,.25);color:#fff;border-color:rgba(255,255,255,.25)}

/* --- B) Mobile horizontal cards --- */
@media (max-width:639px){
	.corp-svc{flex-direction:row;align-items:stretch}
	/* 69.9.0 Opus #1: absolute img needs inset stretch, not height:100% against auto parent */
	.corp-svc__media{flex:0 0 128px;aspect-ratio:auto;align-self:stretch;min-height:132px;height:auto;position:relative;overflow:hidden}
	.corp-svc__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
	.corp-svc__body{flex:1 1 auto;min-width:0;padding:.95rem .85rem;gap:.35rem;justify-content:center}
	.corp-svc__title{font-size:.95rem}
	.corp-svc__desc{-webkit-line-clamp:2;font-size:.8rem}
	.corp-svc__footer{padding-top:.5rem;gap:.5rem}
	/* Whole card opens the modal — 69.9.0 Opus #2: visually-hidden, NOT display:none (a11y tree kept; aria-label already on button) */
	/* 71.3.58: inner text span deleted (-8 nodes); text node collapses via font-size:0+gap:0, icon stays centered */
	.corp-svc__more{min-height:44px;min-width:44px;padding:.4rem .6rem;justify-content:center;font-size:0;gap:0}
	.corp-svc__urgent{top:.5rem;inset-inline-start:.5rem;font-size:.66rem;padding:.35rem .6rem}
	.corp-svc__urgent::before{width:5px;height:5px}
}

@media (prefers-reduced-motion:reduce){
	.corp-svc__urgent::before{animation:none}
}

/* ============================================================
   70.0.0 loop3 — HERO audit fixes (Worker C)
   The site-wide H1 lives here — untouched, never duplicated.
   ============================================================ */
/* 1) DELETED (template): the Magic-UI `.kt-border-beam` span. It ran a
   second infinite shine loop on the CTA next to the shimmer sweep —
   two "moving light" effects on one button is glow-spam — and its
   offset-path (`round 20px`) never matched the pill CTA (999px), so the
   beam cut the corners instead of following the border. The shimmer
   sweep (RTL-aware, delayed start, reduced-motion escape) stays. */
/* 2) Ungated hover: the 69.6.0 OPUS `.corp-hero__wa:hover` gradient sits
   outside any hover media query — on touch it sticks after tap, and it
   silently wins over 69.8.0's gated ghost-hover on desktop. Gate it
   properly and neutralize the sticky state on touch. */
@media (hover:hover) and (pointer:fine){
	.corp-hero__wa:hover{background:linear-gradient(135deg,#1FA855 0%,#178A46 60%,#0E7A3D 100%);color:#fff}
}
@media (hover:none){
	.corp-hero__wa:hover{background:var(--whatsapp-grad,#25D366);color:#fff}
}

/* ============================================================
   70.0.0 loop3 — PROCESS audit fixes (Worker C)
   Step semantics + heading order untouched.
   ============================================================ */
/* 1) Reduced-motion escape was missing for the desktop art hover-zoom
   (the file's reduced-motion block covered hero/services but not this). */
@media (prefers-reduced-motion:reduce){
	.corp-proc__art-img{transition:none}
}
/* 2) Banned `box-shadow` in transition lists (cinematic.css 69.4.13).
   The is-active halos still render — they now appear instead of
   animating a shadow, removing the paint cost from the IO-driven toggle. */
.corp-proc__art{transition:border-color var(--dur-base) ease}
.corp-proc__marker{transition:border-color var(--dur-base) ease}

/* ============================================================
   70.0.0 loop3 — SERVICES audit fixes (worker D)
   Loop-2 fixes VERIFIED HOLD: Persian-digit count chips
   (kelid_to_persian_digits(number_format_i18n(...)) in the
   template), article[role=button] has no nested button (the
   «جزئیات خدمت» affordance is a span[aria-hidden]), and the
   main.js contract is untouched (classes, data-filter,
   data-cat, aria-pressed, .is-hiding, .active all intact).
   1) DELETE the category-color edges: a 3px border-top + 4px
      border-inline-start in per-category colors (amber/teal/
      red/blue) had piled up against the 69.4.4 art direction
      ("on navy, gold is the ONLY accent"). Urgent cards keep
      their crimson edge (crimson = urgency, per the color
      system); everything else returns to a 1px neutral border.
   2) cine-tilt removed from the card (template comment): the
      1px gold hairline is restored where the spotlight layer
      can't exist (touch / reduced-motion), so it never fights
      cine-spot::before on desktop.
   3) Banned `width` dropped from the .corp-svc__pill transition
      (JS sets width directly; it snaps — no layout thrash).
   4) Banned `box-shadow` dropped from the .corp-svc transition
      list.
   5) CTA discipline: two equal ghost-gold buttons competed.
      «نرخ‌نامه رسمی اتحادیه» → quiet text link (href
      unchanged); «مشاهده همه خدمات» stays the section's
      single CTA.
   6) Mobile desc .8rem → .85rem (Persian legibility).
   ============================================================ */
.corp-svc:not(.corp-svc--urgent){border-top:1px solid var(--corp-line);border-inline-start:1px solid var(--corp-line)}
/* hover gold border must survive the longhand above (equal specificity, later source) */
@media (hover:hover) and (pointer:fine){
  .corp-svc:not(.corp-svc--urgent):hover{border-color:rgba(217,169,63,.5)}
}
.corp-svc__pill{transition:transform .28s cubic-bezier(.32,.72,0,1)}
.corp-svc{transition:transform 220ms var(--corp-ease),border-color 220ms var(--corp-ease)}
.corp-svc__cta-row a:nth-child(2){background:none;border:0;color:var(--corp-text-dim);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(217,169,63,.5);min-height:44px;display:inline-flex;align-items:center;padding:.4rem .6rem;font-size:.9rem;font-weight:600}
@media (hover:hover) and (pointer:fine){
  .corp-svc__cta-row a:nth-child(2):hover{color:#fff;text-decoration-color:rgba(217,169,63,.9)}
}
@media (hover:none),(prefers-reduced-motion:reduce){
  .corp-services .corp-svc:not(.corp-svc--urgent)::before{content:"";position:absolute;top:0;inset-inline:14px;height:1px;z-index:2;background:linear-gradient(90deg,transparent,rgba(245,214,123,.5),transparent);pointer-events:none}
}
@media (max-width:639px){
  .corp-svc__desc{font-size:.85rem}
}

/* 71.3.13 (5-AI panel): ambient 18s kenburns must not run for reduced-motion users. */
@media (prefers-reduced-motion: reduce){
	.corp-hero__img{animation:none;transform:scale(1)}
}
