/* =========================================================
   PolyAb PE — main.css
   هویت بصری بر اساس لوگوی برند: نیوی تیره + طلایی + آبی آب.
   ========================================================= */

@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}

:root {
	/* رنگ‌ها — برگرفته از لوگو */
	--navy-950: #090D14;
	--navy-900: #0E141E;
	--navy-800: #171F2C;
	--navy-700: #232D3D;
	--navy-line: rgba(255, 255, 255, 0.10);
	--gold: #C9A227;
	--gold-bright: #E9C765;
	--gold-deep: #8C6A1B;
	--blue: #2E6FBE;
	--blue-soft: #4A8FD6;
	--paper: #F5F6F3;
	--paper-tint: #EAEDE7;
	--ink: #11151C;
	--ink-soft: #4B5563;
	--card-bg: #FFFFFF;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 45px -22px rgba(9, 13, 20, 0.45);
	--shadow-gold: 0 18px 40px -20px rgba(201, 162, 39, 0.45);
	--wrap: 1200px;
	--ease: cubic-bezier(.22,.9,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.28; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 14px; color: var(--ink-soft); }
button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.spec-num, .process-num {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	letter-spacing: 0.5px;
}

/* =============== دکمه‌ها =============== */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	border: 1.5px solid transparent;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s ease, background 0.2s ease;
	overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	color: var(--navy-950);
	box-shadow: var(--shadow-gold);
}
.btn-primary::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 66%);
	transform: translateX(-120%);
	transition: transform 0.7s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { background: transparent; border-color: var(--navy-line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.hero .btn-ghost, .page-hero .btn-ghost, .why-pe-section .btn-ghost, .cta-band .btn-ghost {
	border-color: rgba(255,255,255,0.4); color: #fff;
}
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .why-pe-section .btn-ghost:hover, .cta-band .btn-ghost:hover {
	border-color: var(--gold); color: var(--gold-bright); background: rgba(201,162,39,0.08);
}

/* =============== هدر / ناوبری =============== */
.scroll-progress {
	position: fixed; top: 0; right: 0; height: 3px; width: 0%;
	background: linear-gradient(90deg, var(--gold), var(--blue-soft));
	z-index: 90; transition: width 0.1s linear;
}
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(14, 20, 30, 0.88);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--navy-line);
	transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0,0,0,0.6); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 70px; }
@media (min-width: 480px) { .header-inner { gap: 20px; } }
@media (min-width: 900px) { .header-inner { gap: 28px; height: 78px; } }
.brand { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(201,162,39,0.35); }
@media (min-width: 480px) { .brand-mark { width: 42px; height: 42px; } }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-weight: 800; font-size: 16px; color: #fff; white-space: nowrap; }
.brand-tag { display: none; font-size: 12px; color: rgba(255,255,255,0.55); white-space: nowrap; }
@media (min-width: 480px) { .brand-name { font-size: 18px; } .brand-tag { display: block; } }
.main-nav { display: none; }
.main-nav .menu { display: flex; gap: 30px; }
.main-nav .menu a { font-weight: 600; font-size: 15px; color: rgba(255,255,255,0.85); position: relative; padding-bottom: 4px; }
.main-nav .menu a::after {
	content: ''; position: absolute; right: 0; bottom: 0; height: 2px; width: 0;
	background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width 0.3s var(--ease);
}
.main-nav .menu a:hover { color: #fff; }
.main-nav .menu a:hover::after { width: 100%; }
.header-cta { display: none; }
.menu-toggle {
	width: 42px; height: 42px; border: 1px solid var(--navy-line); border-radius: 10px;
	background: rgba(255,255,255,0.04); display: flex; flex-direction: column; justify-content: center;
	align-items: center; gap: 5px; margin-right: auto;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

.mobile-menu {
	position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
	background: var(--navy-900); z-index: 101; padding: 28px 24px;
	transform: translateX(100%); transition: transform 0.35s var(--ease);
	display: flex; flex-direction: column; gap: 22px;
	border-inline-start: 1px solid var(--navy-line);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu .menu { display: flex; flex-direction: column; gap: 18px; font-size: 17px; font-weight: 700; color: #fff; }
.mobile-menu-backdrop {
	position: fixed; inset: 0; background: rgba(5, 8, 12, 0.6); z-index: 100;
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

.whatsapp-fab {
	position: fixed; bottom: 22px; left: 22px; z-index: 70;
	width: 56px; height: 56px; border-radius: 50%;
	background: linear-gradient(135deg, #25D366, #128C7E); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 16px 34px -14px rgba(18,140,126,0.55);
	animation: fab-pulse 3.4s ease-in-out infinite;
}
.whatsapp-fab svg { width: 28px; height: 28px; }
@media (max-width: 899px) { .whatsapp-fab { display: none; } }

.back-to-top {
	position: fixed; bottom: 22px; right: 22px; z-index: 70;
	width: 48px; height: 48px; border-radius: 50%; border: none;
	background: var(--navy-900); color: var(--gold-bright);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
	opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none;
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s ease;
}
@media (max-width: 899px) { .back-to-top { bottom: 78px; } }
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: var(--navy-950); }
.back-to-top svg { width: 20px; height: 20px; }

/* اسکرول‌بار سفارشی برند */
html { scrollbar-color: var(--gold) var(--paper-tint); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-tint); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; border: 2px solid var(--paper-tint); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }
@keyframes fab-pulse {
	0%, 100% { box-shadow: 0 16px 34px -14px rgba(18,140,126,0.55); }
	50% { box-shadow: 0 16px 34px -10px rgba(18,140,126,0.85), 0 0 0 8px rgba(37,211,102,0.12); }
}

@media (min-width: 900px) {
	.main-nav { display: block; }
	.header-cta { display: inline-flex; }
	.menu-toggle { display: none; }
	.mobile-menu, .mobile-menu-backdrop { display: none; }
}

/* =============== پرش به محتوای اصلی (دسترسی‌پذیری) ================= */
.skip-link {
	position: fixed; top: -60px; right: 16px; z-index: 200;
	background: var(--gold); color: var(--navy-950); font-weight: 700;
	padding: 12px 20px; border-radius: var(--radius-sm);
	transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* =============== هدر شناور (بعد از عبور از هدر اصلی صفحه‌ی خانه) ================= */
.floating-header { position: fixed; top: 0; right: 0; left: 0; transform: translateY(-100%); transition: transform 0.3s var(--ease); }
.floating-header.is-shown { transform: translateY(0); }

/* =============== نوار تماس ثابت موبایل ================= */
.mobile-cta-bar {
	position: fixed; bottom: 0; right: 0; left: 0; z-index: 75;
	display: flex; background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.1);
	padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
	gap: 8px;
}
.mobile-cta-btn {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
	color: #fff; background: rgba(255,255,255,0.08);
}
.mobile-cta-btn svg { width: 18px; height: 18px; }
.mobile-cta-btn--accent { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }
body { padding-bottom: 66px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
/* =============== سکشن‌های عمومی =============== */
.section { padding-block: 92px; }
.section-tinted { background: var(--paper-tint); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--gold-deep); font-weight: 700; font-size: 13.5px; margin-bottom: 10px;
}
.section-eyebrow::before {
	content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-title { font-size: clamp(24px, 5.2vw, 32px); position: relative; }
.section-desc { color: var(--ink-soft); }

@media (max-width: 768px) { .section { padding-block: 58px; } }
@media (min-width: 768px) { .section-title { font-size: 42px; } }

/* =============== هرو ================= */
.hero {
	position: relative;
	background: var(--navy-950);
	color: #fff;
	overflow: hidden;
	padding-block: 0 40px;
}
.hero-divider {
	position: absolute; right: 0; left: 0; bottom: -1px; z-index: 3; line-height: 0; pointer-events: none;
}
.hero-divider svg { width: 100%; height: 56px; display: block; }
.hero-divider path { fill: var(--paper); }
@media (min-width: 768px) { .hero-divider svg { height: 80px; } }

/* =============== ورود مرحله‌ای هدر اصلی (اجرا هنگام لود صفحه) ================= */
.hero-fade { opacity: 0; transform: translateY(20px); animation: hero-rise 0.85s var(--ease) forwards; }
.hero-badge.hero-fade { animation-delay: .1s; }
.hero-subtitle.hero-fade { animation-delay: .5s; }
.hero-ctas.hero-fade { animation-delay: .68s; }
.hero-spec-strip.hero-fade { animation-delay: .85s; }
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }

/* عنوان اصلی: کلمه‌به‌کلمه از پایین ظاهر می‌شود (با جاوااسکریپت به اسپن تقسیم می‌شود) */
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .word-inner { display: inline-block; transform: translateY(115%); opacity: 0; animation: word-rise .75s var(--ease) forwards; }
@keyframes word-rise { to { transform: translateY(0); opacity: 1; } }

/* گرادینت متحرک دور برچسب هدر (استایل پایه‌ی .hero-badge کمی پایین‌تر تعریف شده) */
.hero-badge::before {
	content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
	background: conic-gradient(from var(--badge-angle, 0deg), var(--gold), transparent 30%, transparent 70%, var(--gold));
	animation: badge-spin 3.5s linear infinite;
}
@keyframes badge-spin { to { --badge-angle: 360deg; } }
@property --badge-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ذرات شناور آب — تزئینی، برند-محور */
.hero-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hero-particles span {
	position: absolute; bottom: -20px; width: 5px; height: 5px; border-radius: 50%;
	background: radial-gradient(circle, var(--gold-bright), transparent 70%);
	opacity: 0; animation: droplet-rise 9s ease-in infinite;
}
.hero-particles span:nth-child(1) { right: 8%;  animation-delay: 0s;   animation-duration: 8s; }
.hero-particles span:nth-child(2) { right: 22%; animation-delay: 1.4s; animation-duration: 10s; background: radial-gradient(circle, var(--blue-soft), transparent 70%); }
.hero-particles span:nth-child(3) { right: 38%; animation-delay: 3s;   animation-duration: 7.5s; }
.hero-particles span:nth-child(4) { right: 55%; animation-delay: 4.5s; animation-duration: 9.5s; background: radial-gradient(circle, var(--blue-soft), transparent 70%); }
.hero-particles span:nth-child(5) { right: 70%; animation-delay: 2s;   animation-duration: 8.5s; }
.hero-particles span:nth-child(6) { right: 85%; animation-delay: 5.5s; animation-duration: 7s; }
@keyframes droplet-rise {
	0%   { transform: translateY(0) scale(0.6); opacity: 0; }
	12%  { opacity: 0.65; }
	85%  { opacity: 0.3; }
	100% { transform: translateY(-320px) scale(1.1); opacity: 0; }
}

/* زوم آرام ویدیو/پوستر حتی بدون حرکت ماوس (حس سینمایی) */
.hero-bg-video { animation: idle-zoom 24s ease-in-out infinite alternate; }
@keyframes idle-zoom {
	from { transform: scale(1.04); }
	to   { transform: scale(1.11); }
}

/* دکمه‌های مغناطیسی — کمی به‌سمت نشانگر ماوس کشیده می‌شوند */
.btn-magnetic { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }

/* درخشش نقطه‌ای کارت‌ها هنگام هاور (دنبال‌کننده‌ی نشانگر ماوس) */
.product-card, .trust-item, .industry-card { position: relative; isolation: isolate; }
.product-card::before, .trust-item::before, .industry-card::before {
	content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
	background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(201,162,39,0.14), transparent 70%);
	opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.product-card:hover::before, .trust-item:hover::before, .industry-card:hover::before { opacity: 1; }
.product-card > *, .trust-item > *, .industry-card > * { position: relative; z-index: 1; }

.hero-scroll-cue {
	position: absolute; bottom: 92px; right: 50%; transform: translateX(50%); z-index: 4;
	width: 30px; height: 46px; border: 2px solid rgba(255,255,255,0.45); border-radius: 20px;
	display: none; align-items: flex-start; justify-content: center; padding-top: 8px;
	transition: border-color 0.25s ease;
}
.hero-scroll-cue:hover { border-color: var(--gold); }
.hero-scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--gold-bright); animation: scroll-cue-drop 1.8s ease-in-out infinite; }
@keyframes scroll-cue-drop {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(12px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}
@media (min-width: 900px) { .hero-scroll-cue { display: flex; bottom: 108px; } }

/* =============== ظاهرشدن آبشاری (stagger) برای گرید‌ها ================= */
.reveal-stagger { opacity: 1 !important; transform: none !important; transition: none !important; }
.product-grid.reveal-stagger .product-card,
.industry-grid.reveal-stagger .industry-card,
.trust-grid.reveal-stagger .trust-item,
.process-grid.reveal-stagger .process-step,
.gallery-grid.reveal-stagger .gallery-tile,
.blog-list.reveal-stagger .blog-card {
	opacity: 0; transform: translateY(16px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-stagger.is-visible .product-card,
.reveal-stagger.is-visible .industry-card,
.reveal-stagger.is-visible .trust-item,
.reveal-stagger.is-visible .process-step,
.reveal-stagger.is-visible .gallery-tile,
.reveal-stagger.is-visible .blog-card {
	opacity: 1; transform: translateY(0);
}
.hero-bg-media {
	position: absolute; inset: 0; z-index: 0;
	transition: transform 0.35s var(--ease);
	will-change: transform;
}
.hero-bg-video {
	width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
	will-change: transform;
	background: var(--navy-950);
}
.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(90deg, rgba(9,13,20,0.94) 0%, rgba(9,13,20,0.82) 38%, rgba(9,13,20,0.35) 68%, rgba(9,13,20,0.15) 100%),
		linear-gradient(180deg, rgba(9,13,20,0.55) 0%, rgba(9,13,20,0.15) 30%, rgba(9,13,20,0.55) 100%);
}
.hero::before {
	content: '';
	position: absolute; inset: 0; z-index: 2;
	background-image:
		linear-gradient(var(--navy-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
	background-size: 46px 46px;
	opacity: 0.3;
	mask-image: radial-gradient(80% 70% at 15% 30%, #000 10%, transparent 70%);
	animation: grid-drift 22s linear infinite;
}
@keyframes grid-drift {
	from { background-position: 0 0, 0 0; }
	to { background-position: 46px 46px, -46px 46px; }
}
.hero-inner { position: relative; z-index: 3; }
.hero-topbar { display: flex; align-items: center; height: 78px; }
.hero-nav { display: none; margin-right: 24px; }
.hero-nav .menu { display: flex; gap: 30px; }
.hero-nav .menu a { font-weight: 600; color: rgba(255,255,255,0.85); position: relative; padding-bottom: 4px; }
.hero-nav .menu a::after {
	content: ''; position: absolute; right: 0; bottom: 0; height: 2px; width: 0;
	background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width 0.3s var(--ease);
}
.hero-nav .menu a:hover { color: #fff; }
.hero-nav .menu a:hover::after { width: 100%; }
.hero-body { padding-block: 64px 72px; }
.hero-copy { max-width: 640px; }
.hero-badge {
	position: relative; z-index: 0;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px; border-radius: 999px;
	background: rgba(201,162,39,0.14); background-clip: padding-box;
	border: 1px solid transparent;
	color: var(--gold-bright); font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.hero-title { font-size: clamp(26px, 7vw, 34px); letter-spacing: -0.5px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-subtitle { font-size: 17px; max-width: 48ch; color: rgba(255,255,255,0.82); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 36px; }
.hero-spec-strip {
	display: grid; grid-template-columns: 1fr; gap: 14px;
	padding: 18px 20px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
	background: rgba(9,13,20,0.55); backdrop-filter: blur(6px); max-width: 500px;
}
.hero-spec-strip > div { display: flex; align-items: baseline; gap: 10px; }
.hero-spec-strip > div + div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (min-width: 480px) {
	.hero-spec-strip { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 22px; }
	.hero-spec-strip > div { flex-direction: column; align-items: flex-start; gap: 3px; }
	.hero-spec-strip > div + div { padding-top: 0; border-top: none; }
}
.hero-spec-strip .spec-num { font-size: 22px; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-spec-strip .spec-label { font-size: 13px; color: rgba(255,255,255,0.6); }
@media (min-width: 480px) {
	.hero-spec-strip .spec-num { display: block; font-size: 25px; }
	.hero-spec-strip .spec-label { display: block; font-size: 12.5px; margin-top: 3px; }
}

@media (min-width: 900px) {
	.hero-nav { display: block; }
}
@media (min-width: 768px) { .hero-title { font-size: 56px; } }
@media (min-width: 900px) { .hero-body { padding-block: 90px 100px; } }

/* =============== اعتماد / trust ================= */
.trust-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.trust-item {
	padding: 30px; background: var(--card-bg); border-radius: var(--radius);
	border: 1px solid rgba(17,21,28,0.08);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,162,39,0.35); }
.trust-icon {
	width: 50px; height: 50px; color: var(--gold-bright); display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
	border-radius: 50%; margin-bottom: 18px; padding: 12px; box-sizing: border-box;
	box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 5px rgba(201,162,39,0.25);
}
.trust-item h3 { font-size: 18px; }
.trust-item p { margin: 0; font-size: 14.5px; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============== صنایع و کاربردها ================= */
.industry-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.industry-card {
	padding: 26px; background: var(--card-bg); border-radius: var(--radius);
	border: 1px solid rgba(17,21,28,0.08);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(46,111,190,0.35); }
.industry-icon {
	width: 46px; height: 46px; color: var(--blue-soft); display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
	border-radius: 50%; margin-bottom: 16px; padding: 11px; box-sizing: border-box;
	box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 5px rgba(46,111,190,0.18);
}
.industry-card h3 { font-size: 16.5px; }
.industry-card p { margin: 0; font-size: 14px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============== محصولات ================= */
.product-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.product-card {
	display: flex; flex-direction: column; gap: 10px;
	background: var(--card-bg); border: 1px solid rgba(17,21,28,0.08); border-radius: var(--radius);
	padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.product-card:hover { border-color: rgba(201,162,39,0.4); transform: translateY(-5px); box-shadow: var(--shadow); }
.product-icon {
	width: 50px; height: 50px; color: var(--gold-bright); padding: 12px; box-sizing: border-box;
	background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); border-radius: 50%;
	box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 5px rgba(201,162,39,0.18);
	transition: box-shadow 0.3s ease;
}
.product-card:hover .product-icon { box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 5px rgba(201,162,39,0.45); }
.product-card h3 { font-size: 17px; margin-bottom: 2px; }
.product-card p { font-size: 14px; margin-bottom: 6px; }
.product-link { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 4px; }

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

/* =============== فرآیند ================= */
.process-grid { display: grid; gap: 30px; grid-template-columns: 1fr; position: relative; }
.process-step { position: relative; padding-inline-start: 4px; }
.process-num {
	position: relative; z-index: 1;
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	color: var(--navy-950); font-size: 16px; margin-bottom: 16px;
	box-shadow: 0 0 0 6px var(--paper);
}
.process-step h3 { font-size: 16.5px; }
.process-step p { font-size: 14px; margin: 0; }
@media (min-width: 720px) {
	.process-grid { grid-template-columns: repeat(4, 1fr); }
	.process-grid::before {
		content: ''; position: absolute; top: 21px; right: 12.5%; left: 12.5%; height: 2px;
		background: repeating-linear-gradient(90deg, rgba(201,162,39,0.35) 0 8px, transparent 8px 14px);
	}
}

/* =============== چرا پلی‌اتیلن ================= */
.why-pe-section { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: #fff; }
.why-pe-inner { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.why-pe-copy { max-width: 480px; }
.why-pe-copy p { color: rgba(255,255,255,0.75); }
.why-pe-points { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; }
@media (min-width: 480px) { .why-pe-points { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.why-pe-point {
	padding: 20px; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
	background: rgba(255,255,255,0.03); text-align: center;
}
.why-pe-point strong { display: block; font-size: 22px; color: var(--gold-bright); margin-bottom: 6px; }
.why-pe-point span { font-size: 13px; color: rgba(255,255,255,0.7); }
@media (min-width: 900px) { .why-pe-inner { flex-direction: row; justify-content: space-between; align-items: center; } .why-pe-points { max-width: 460px; } }

/* =============== CTA band ================= */
.cta-band { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
	content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
	background: radial-gradient(circle, rgba(201,162,39,0.18), transparent 70%);
	top: -180px; left: -120px; pointer-events: none;
}
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-inner {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; gap: 24px;
	justify-content: space-between; align-items: flex-start;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (min-width: 800px) { .cta-inner { flex-direction: row; align-items: center; } }

/* =============== صفحات داخلی (محصول/درباره/تماس) ================= */
.page-hero {
	padding: 68px 0 34px;
	background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
	color: #fff;
}
.page-hero--photo {
	background-size: cover; background-position: center;
	padding: 90px 0 46px;
}
.page-title { font-size: clamp(24px, 6vw, 30px); color: #fff; }
.page-lead { font-size: 16px; max-width: 62ch; color: rgba(255,255,255,0.7); }
@media (min-width: 768px) { .page-title { font-size: 42px; } }

.spec-table {
	display: grid; gap: 1px; background: rgba(17,21,28,0.08);
	border: 1px solid rgba(17,21,28,0.08); border-radius: var(--radius); overflow: hidden;
}
.spec-row {
	display: grid; grid-template-columns: 1fr 1.4fr; background: var(--card-bg);
}
.spec-key { padding: 15px 18px; font-weight: 700; background: var(--paper-tint); }
.spec-val { padding: 15px 18px; color: var(--ink-soft); }

/* =============== مسیر صفحه (Breadcrumbs) ================= */
.breadcrumbs { background: var(--paper-tint); padding: 12px 0; font-size: 13.5px; }
.breadcrumbs .wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 700; }
.breadcrumbs > .wrap > span:not([aria-current]) { color: var(--ink-soft); opacity: 0.5; }

/* =============== چیدمان مقاله با فهرست مطالب ================= */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.article-toc { display: none; }
@media (min-width: 1020px) {
	.article-layout { grid-template-columns: 1fr 240px; }
	.article-toc { display: block; position: sticky; top: 100px; }
}
.toc-inner { border-inline-start: 2px solid var(--paper-tint); padding-inline-start: 18px; }
.toc-inner h2 { font-size: 13px; text-transform: none; color: var(--ink-soft); margin-bottom: 12px; }
.toc-inner ul { display: flex; flex-direction: column; gap: 10px; }
.toc-inner a { font-size: 14px; color: var(--ink-soft); display: block; transition: color 0.2s ease; }
.toc-inner a.is-active { color: var(--gold-deep); font-weight: 700; }

/* =============== اشتراک‌گذاری مقاله ================= */
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(17,21,28,0.1); flex-wrap: wrap; }
.share-label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.share-btn { font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(17,21,28,0.14); color: var(--ink); }
.share-btn:hover { border-color: var(--gold); color: var(--gold-deep); }

/* =============== بازخورد مفید‌بودن مقاله ================= */
.helpful-widget { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--paper-tint); text-align: center; }
.helpful-widget p { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.helpful-buttons { display: flex; gap: 10px; justify-content: center; }
.helpful-btn { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(17,21,28,0.14); background: var(--card-bg); font-weight: 700; font-size: 14px; }
.helpful-btn:hover { border-color: var(--gold); }
.helpful-thanks { color: var(--gold-deep); font-weight: 700; margin: 0; }

/* =============== بازدیدهای اخیر ================= */
.recently-viewed-wrap { padding: 28px 0; background: var(--paper); }
.recently-viewed-title { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.recently-viewed-list { display: flex; gap: 10px; flex-wrap: wrap; }
.recently-viewed-chip { font-size: 13.5px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--card-bg); border: 1px solid rgba(17,21,28,0.12); color: var(--ink); }
.recently-viewed-chip:hover { border-color: var(--gold); color: var(--gold-deep); }

/* =============== کپی شماره تماس ================= */
.footer-contact li.copyable { display: flex; align-items: center; gap: 8px; }
.copy-btn { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 15px; padding: 2px 4px; }
.copy-btn:hover { color: var(--gold-bright); }

/* =============== نوتیفیکیشن (Toast) ================= */
.toast {
	position: fixed; bottom: 90px; right: 50%; transform: translateX(50%) translateY(20px);
	background: var(--navy-950); color: #fff; font-size: 14px; font-weight: 600;
	padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow);
	z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease;
	white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translateX(50%) translateY(0); }
@media (min-width: 900px) { .toast { bottom: 30px; } }

/* =============== نقشه‌ی گوگل (صفحه‌ی تماس) ================= */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* =============== یادداشت زیر فرم ================= */
.form-note { font-size: 12.5px; color: var(--ink-soft); margin: -6px 0 0; }
.article-meta { display: flex; align-items: center; gap: 10px; }
.meta-dot { opacity: 0.5; }

/* =============== بنر دانلود کاتالوگ PDF ================= */
.pdf-download-banner { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); padding: 32px 0; }
.pdf-download-inner {
	display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
	justify-content: space-between; color: #fff;
}
.pdf-download-inner h2 { font-size: 19px; color: #fff; margin-bottom: 4px; }
.pdf-download-inner p { color: rgba(255,255,255,0.7); margin: 0; font-size: 14px; }
@media (min-width: 720px) { .pdf-download-inner { flex-direction: row; align-items: center; } }

/* =============== محاسبه‌گر آب ================= */
.water-calc {
	max-width: 480px; background: var(--card-bg); border: 1px solid rgba(17,21,28,0.08);
	border-radius: var(--radius); padding: 28px; margin: 24px 0;
}
.water-calc label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.water-calc input {
	font-family: inherit; font-size: 16px; padding: 12px 14px;
	border: 1.5px solid rgba(17,21,28,0.14); border-radius: var(--radius-sm); background: var(--paper);
}
.water-calc-result { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(17,21,28,0.1); }
.water-calc-figure { font-size: 22px; font-weight: 800; color: var(--gold-deep); margin-bottom: 10px; }
.water-calc-number { font-variant-numeric: tabular-nums; }
.water-calc-unit { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
.water-calc-note { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* =============== واژه‌نامه ================= */
.glossary-list { display: flex; flex-direction: column; gap: 4px; margin: 20px 0; }
.glossary-item { padding: 16px 0; border-bottom: 1px solid rgba(17,21,28,0.08); }
.glossary-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--gold-deep); }
.glossary-item p { margin: 0; font-size: 14.5px; }

/* =============== محتوای بلوک وردپرس (entry-content) ================= */
.entry-content { max-width: 760px; }
.entry-content h2 { font-size: 24px; margin-top: 38px; }
.entry-content h3 { font-size: 19px; margin-top: 26px; }
.entry-content ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 16px; }
.entry-content ol { list-style: decimal; padding-inline-start: 22px; margin-bottom: 16px; }
.entry-content ol li { margin-bottom: 8px; color: var(--ink-soft); }
.entry-content li { margin-bottom: 8px; color: var(--ink-soft); }
.entry-content a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.entry-content figure { margin: 24px 0; }
.entry-content img { border-radius: var(--radius); }

/* =============== فرم استعلام قیمت ================= */
.quote-form {
	max-width: 640px; display: flex; flex-direction: column; gap: 16px;
	background: var(--card-bg); border: 1px solid rgba(17,21,28,0.08); border-radius: var(--radius);
	padding: 30px; margin: 24px 0; box-shadow: var(--shadow);
}
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.quote-form input, .quote-form select, .quote-form textarea {
	font-family: inherit; font-size: 16px; padding: 12px 14px;
	border: 1.5px solid rgba(17,21,28,0.14); border-radius: var(--radius-sm); background: var(--paper);
	color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
	border-color: var(--gold); outline: none;
}
.quote-form button { align-self: flex-start; }

/* =============== سوالات متداول ================= */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.faq-accordion details {
	border: 1px solid rgba(17,21,28,0.1); border-radius: var(--radius-sm); padding: 15px 18px;
	background: var(--card-bg);
}
.faq-accordion summary { font-weight: 700; cursor: pointer; }
.faq-accordion p { margin: 10px 0 0; }

/* =============== گالری ================= */
.gallery-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.gallery-tile {
	display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	border: 1px solid rgba(17,21,28,0.08); background: var(--card-bg);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.gallery-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,162,39,0.35); }
.gallery-tile-title {
	margin: 0; padding: 14px 16px 10px; font-size: 14.5px; font-weight: 700; color: var(--ink);
}
.gallery-tile-media {
	display: block; aspect-ratio: 4/3; background-size: cover; background-position: center;
	background-color: var(--navy-900);
}
.gallery-tile-media--icon {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); padding: 20px; box-sizing: border-box;
}
.gallery-tile-media--icon svg { width: 44%; color: var(--gold); opacity: 0.9; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============== وبلاگ ================= */
.blog-list { display: grid; gap: 22px; grid-template-columns: 1fr; }
.blog-card {
	background: var(--card-bg); border: 1px solid rgba(17,21,28,0.08); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb img { aspect-ratio: 16/10; object-fit: cover; }
.blog-card h2 { font-size: 17px; padding: 18px 18px 0; }
.blog-card p { font-size: 14px; padding: 0 18px 18px; }
@media (min-width: 720px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }

/* =============== فوتر ================= */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.85); padding-top: 64px; position: relative; }
.site-footer::before {
	content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent);
	opacity: 0.6;
}
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
.footer-brand .brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; font-size: 18px; font-weight: 800; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 34ch; }
.footer-col h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a {
	font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.75);
	transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-bright); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 24px; font-size: 13px;
	color: rgba(255,255,255,0.5);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* =============== انیمیشن ورود هنگام اسکرول ================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { animation: none; }

/* =============== بهینه‌سازی صفحات کوچک (موبایل) ================= */
@media (max-width: 480px) {
	.wrap { padding: 0 18px; }
	.trust-item { padding: 22px; }
	.industry-card { padding: 20px; }
	.product-card { padding: 22px; }
	.why-pe-point { padding: 16px; }
	.quote-form { padding: 22px; }
	.gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.gallery-tile { padding: 14px; }
	.gallery-tile span { font-size: 12.5px; bottom: 10px; right: 12px; left: 12px; }
	.cta-inner { gap: 20px; }
	.footer-grid { gap: 28px; }
	.hero-badge { font-size: 12px; padding: 6px 13px; }
}

@media print {
	.site-header, .mobile-menu, .mobile-menu-backdrop, .whatsapp-fab, .back-to-top,
	.mobile-cta-bar, .hero-scroll-cue, .scroll-progress, .breadcrumbs, .cta-band,
	.hero-particles, .share-row, .helpful-widget, .toast, .skip-link, video {
		display: none !important;
	}
	body { padding-bottom: 0 !important; background: #fff; }
	.page-hero { background: none !important; color: #000 !important; padding: 20px 0; }
	.page-title, .page-lead { color: #000 !important; text-shadow: none !important; }
	.spec-table, .spec-row { break-inside: avoid; }
	a { color: #000 !important; text-decoration: none !important; }
	.entry-content { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .reveal-stagger { opacity: 1; transform: none; transition: none; }
	.reveal-stagger .product-card, .reveal-stagger .industry-card, .reveal-stagger .trust-item,
	.reveal-stagger .process-step, .reveal-stagger .gallery-tile, .reveal-stagger .blog-card {
		opacity: 1; transform: none; transition: none;
	}
	.btn:hover, .btn-magnetic { transform: none !important; }
	.hero::before { animation: none; }
	.hero-bg-video { animation: none; transform: scale(1.04); }
	.hero-bg-media { transition: none; }
	.hero-particles { display: none; }
	.hero-badge::before { animation: none; }
	.hero-fade { opacity: 1; transform: none; animation: none; }
	.hero-title .word-inner { opacity: 1; transform: none; animation: none; }
	.whatsapp-fab { animation: none; }
	.hero-scroll-cue span { animation: none; }
	.back-to-top { transition: opacity 0.2s ease; transform: none !important; }
}
