@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/Vazirmatn.woff2") format("woff2");
}
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
}
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
}
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
}
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
}
@font-face {
	font-family: "Vazir";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/Vazir.woff2") format("woff2");
}

:root {
	--green-950: #07180d;
	--green-900: #0b2a16;
	--green-800: #0f3d20;
	--green-700: #146c2e;
	--gold: #e8a317;
	--gold-soft: #f3c56a;
	--ink: #142018;
	--muted: #5d6b61;
	--paper: #f4f1ea;
	--white: #ffffff;
	--line: #e3ddd2;
	--shadow: 0 18px 50px rgba(7, 24, 13, 0.08);
	--radius: 22px;
	--max: 1180px;
	--font: "Vazirmatn", "Vazir", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	direction: rtl;
}
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.85;
	text-align: right;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .brand-name {
	font-family: var(--font);
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.85rem, 4.4vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead, .lead-text { font-size: 1.08rem; color: var(--muted); max-width: 42rem; line-height: 1.9; }
.about-copy .lead-text { max-width: none; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
	position: absolute;
	right: 16px;
	top: -40px;
	background: var(--gold);
	color: var(--green-950);
	padding: 8px 12px;
	z-index: 40;
}
.skip-link:focus { top: 12px; }

.icon { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.icon-tiny { width: 15px; height: 15px; }
.trust-grid .icon { margin-left: 8px; margin-right: 0; }
.is-rtl .icon-send { transform: scaleX(-1); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--gold);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0;
}
.eyebrow.light, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-soft); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
.btn:focus-visible, .nav-list a:focus-visible, .chip:focus-visible, .text-link:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 10px 24px rgba(232,163,23,.28); }
.btn-dark { background: var(--green-900); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.88rem; }
.text-link {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 6px;
	color: var(--green-700);
	font-weight: 700;
	text-decoration: none;
}
.text-link.light { color: var(--gold-soft); }
.text-link:hover { gap: 10px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(7, 24, 13, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255,255,255,.06);
	transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 102px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-logo { height: 84px; width: auto; max-width: 250px; display: block; border-radius: 10px; object-fit: contain; background: #fff; flex: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
	margin: 0;
	font-size: 1.05rem;
	letter-spacing: 0.12em;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: right;
}
.brand-tag { font-size: 0.72rem; letter-spacing: 0; color: var(--gold-soft); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	color: rgba(255,255,255,.82);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.nav-list a .icon { color: var(--gold-soft); opacity: .85; display: none; }
.nav-list a:hover, .nav-list a.is-current { color: #fff; }
.nav-list a.is-current::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -8px;
	height: 2px;
	background: var(--gold);
	border-radius: 2px;
}
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	position: relative;
	z-index: 50;
}
.nav-toggle span {
	display: block;
	height: 1.6px;
	margin: 6px 8px;
	background: #fff;
	transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.hero {
	position: relative;
	overflow: hidden;
	color: var(--white);
	padding: 72px 0 56px;
	background: #07180d;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(240deg, rgba(7,24,13,.88) 8%, rgba(7,24,13,.55) 55%, rgba(7,24,13,.72) 100%),
		url("../img/hero.jpg") center/cover no-repeat;
	transform: scale(1.04);
	animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-copy h1 { max-width: 16em; }
.hero-copy .lead { color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual {
	margin: 0;
	background: linear-gradient(180deg, #f7f3ea, #efe6d4);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 32px;
	padding: 32px 28px 24px;
	box-shadow: 0 30px 80px rgba(0,0,0,.28);
	animation: floatCard 6s ease-in-out infinite;
}
.hero-visual img { margin: 0 auto; max-height: 420px; width: auto; object-fit: contain; }
.hero-visual figcaption {
	margin-top: 16px;
	color: #6b5c3d;
	font-size: 0.82rem;
	text-align: center;
	letter-spacing: 0.04em;
	direction: ltr;
	unicode-bidi: isolate;
}

.banner-strip { background: #07180d; padding: 0 16px 28px; }
.banner-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(1180px, 100%); margin: 0 auto; }
.banner-card { margin: 0; overflow: hidden; border-radius: 22px; background: #0b2a16; transition: transform .35s ease; }
.banner-card:hover { transform: translateY(-4px); }
.banner-card img { width: 100%; height: 236px; object-fit: cover; object-position: center 28%; display: block; transition: transform .6s ease; }
.banner-card:hover img { transform: scale(1.05); }
.banner-card figcaption { padding: 12px 16px 14px; color: rgba(255,255,255,.78); font-size: 0.9rem; }

.trust-bar { background: var(--green-950); color: rgba(255,255,255,.8); }
.trust-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 18px 0;
	font-size: 0.88rem;
	letter-spacing: 0;
}
.trust-grid span { display: inline-flex; align-items: center; }

.section { padding: 72px 0; }
.section-soft { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.tight { margin-bottom: 22px; }
.section-head p:last-child { color: var(--muted); }

.family-grid, .product-grid { display: grid; gap: 22px; }
.family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.family-card, .product-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--shadow);
	transition: transform .3s ease, box-shadow .3s ease;
	min-width: 0;
}
.family-card:hover, .product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(7,24,13,.12); }
.family-photo, .product-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	background: linear-gradient(180deg, #fbfaf6, #efece4);
	padding: 32px 22px 22px;
	position: relative;
}
.family-photo img, .product-card-media img {
	max-height: 248px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
}
.family-icon {
	position: absolute;
	top: 14px;
	right: 14px;
	left: auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--green-900);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
}
.family-icon .icon { margin: 0; }
.family-copy, .product-card-body { padding: 22px 24px 26px; }
.card-kicker { margin: 0 0 6px; color: var(--green-700); font-size: 0.8rem; letter-spacing: 0; font-weight: 700; }
.card-code { margin: 0 0 10px; color: var(--muted); font-size: 0.86rem; direction: ltr; unicode-bidi: isolate; text-align: right; }
.product-card h3 a { text-decoration: none; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split-photo { margin: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.check-list { padding: 0; margin: 0 0 24px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.check-list .icon { color: var(--gold); margin: 4px 0 0; }

.cta-band { background: var(--green-900); color: var(--white); padding: 64px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.cta-band p { color: rgba(255,255,255,.72); }

.page-hero {
	position: relative;
	color: #fff;
	padding: 52px 0 40px;
	background: #07180d;
	overflow: hidden;
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(240deg, rgba(7,24,13,.9), rgba(18,66,38,.72)),
		url("../img/hero.jpg") center/cover no-repeat;
}
.page-hero .container { position: relative; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; max-width: 100%; }
.filter-row .chip { max-width: 100%; }
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 700;
	background: #fff;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { transform: translateY(-1px); }
.chip.is-active, .chip:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }

.product-stage { padding: 56px 0 20px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }
.product-main-image {
	margin: 0;
	background: linear-gradient(180deg, #fbfaf6, #f0ece3);
	border-radius: 28px;
	padding: 28px;
	border: 1px solid var(--line);
}
.product-main-image img { display: block; width: 100%; height: auto; max-width: 100%; margin: 0 auto; max-height: 460px; object-fit: contain; transition: opacity .2s ease; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.thumb { width: 76px; height: 76px; padding: 6px; border: 1px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.thumb.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.product-code { color: var(--muted); font-weight: 600; }
.product-code span { direction: ltr; unicode-bidi: isolate; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.catalog-hint { color: var(--green-800); background: #f7efd8; border-radius: 14px; padding: 12px 14px; }

.spec-wrap { max-width: 820px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: right; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.spec-table td { unicode-bidi: isolate; text-align: right; font-feature-settings: "tnum"; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.quote-wrap, .contact-grid, .about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.about-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.about-copy, .content-narrow { max-width: 760px; }
.about-grid .about-copy { max-width: none; }
.about-copy p { color: #334039; }
.about-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card, .contact-note { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
[dir="ltr"] { unicode-bidi: isolate; white-space: nowrap; }
.contact-photo {
	margin: 0 0 22px;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(180deg, #fbfaf6, #efece4);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	padding: 28px;
}
.contact-photo img { width: auto; max-width: 100%; max-height: 220px; object-fit: contain; }
.empty-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; }
.empty-note { margin: 8px 0 0; color: var(--muted); }
.empty-photo { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.empty-photo img { width: 100%; height: 280px; object-fit: cover; }
body.nav-open { overflow: hidden; }
.stat-card .icon {
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 50%;
	background: var(--green-900);
	color: var(--gold);
	margin-bottom: 10px;
	box-sizing: border-box;
}
.stat-card p { margin: 0; color: var(--muted); font-size: 0.84rem; letter-spacing: 0; }
.stat-card strong { font-family: var(--font); font-size: 1.7rem; display: block; }

.quote-form { border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit;
	color: var(--ink);
	background: #fcfcfa;
	width: 100%;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.form-grid input:focus, .form-grid textarea:focus {
	outline: none;
	border-color: var(--green-700);
	box-shadow: 0 0 0 4px rgba(20,108,46,.12);
}
.form-grid input[dir="ltr"] { text-align: left; }
.form-note { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.is-ok { color: var(--green-700); }
.form-status.is-err { color: #9a3412; }

.site-footer { background: #06140b; color: rgba(255,255,255,.78); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .9fr)); gap: 32px; }
.footer-label { margin: 0 0 12px; color: var(--gold-soft); font-size: 0.82rem; letter-spacing: 0; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.footer-text { color: rgba(255,255,255,.66); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.8); }
.footer-links li { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-links .icon { color: var(--gold-soft); margin: 0; }
.footer-base {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,.08);
	font-size: 0.88rem;
	flex-wrap: wrap;
}

.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

@keyframes rise {
	to { opacity: 1; transform: none; }
}
@keyframes floatCard {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
@keyframes heroDrift {
	from { transform: scale(1.04) translate3d(0,0,0); }
	to { transform: scale(1.1) translate3d(1.5%, -1%, 0); }
}

@media (max-width: 1100px) {
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
	.hero-grid, .family-grid, .split, .product-layout, .quote-wrap, .contact-grid, .about-grid, .cta-inner, .form-grid, .banner-track, .empty-wrap {
		grid-template-columns: 1fr;
	}
	.hero { padding: 52px 0 40px; }
	.section { padding: 56px 0; }
	.hero-visual { max-width: 420px; margin-left: auto; margin-right: auto; }
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 102px;
		background: #07180d;
		padding: 18px 20px 24px;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		border-bottom: 1px solid rgba(255,255,255,.08);
	}
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; gap: 14px; }
	.nav-list a .icon { display: inline-block; }
	.nav-list a.is-current { color: var(--gold-soft); }
	.nav-list a.is-current::after { display: none; }
	.header-cta { width: 100%; }
	.about-aside { grid-template-columns: 1fr 1fr; }
	.product-actions .btn { flex: 1 1 220px; }
}

@media (max-width: 700px) {
	.brand-logo { height: 64px; max-width: 190px; }
	.product-grid, .about-aside { grid-template-columns: 1fr; }
	.trust-grid { justify-content: flex-start; }
	.banner-card img { height: 200px; object-position: center 30%; }
	.page-hero { padding: 40px 0 32px; }
	.family-photo, .product-card-media { min-height: 240px; }
	.filter-row {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
		margin-inline-start: -12px;
		padding-inline-start: 12px;
	}
	.filter-row .chip { flex: none; white-space: nowrap; }
	.spec-table th, .spec-table td { display: block; width: 100%; }
	.spec-table th { padding-bottom: 0; }
	.container { width: min(var(--max), calc(100% - 24px)); }
	.quote-form { padding: 20px; }
	.hero-actions .btn { width: 100%; }
	.footer-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.reveal, .reveal.is-in { opacity: 1; transform: none; animation: none !important; }
}
