:root {
  --primary: #f5a623;      /* زرد صنعتی هشدار */
  --dark: #1c1f26;         /* مشکی/آنتراسیت */
  --dark2: #2b2f3a;
  --gray: #6b7280;
  --light: #f4f5f7;
  --white: #ffffff;
  --radius: 8px;
  --font: 'Vazirmatn', Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--light);
  color: var(--dark);
  line-height: 1.8;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* هدر */
.site-header { background: var(--dark); color: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px; color: var(--primary); }
.logo img { height: 40px; }
.main-nav ul { display: flex; gap: 25px; list-style: none; }
.main-nav a { font-weight: 500; transition: .3s; }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.phone-btn { background: var(--primary); color: var(--dark); padding: 8px 15px; border-radius: var(--radius); font-weight: bold; }
.lang-switch { border: 1px solid var(--primary); padding: 5px 10px; border-radius: 5px; color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* هیرو */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); color: white; padding: 100px 0; text-align: center; background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center; position: relative; }
.hero::before { content:''; position:absolute; inset:0; background: rgba(28,31,38,.75); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 42px; margin-bottom: 20px; }
.hero p { font-size: 18px; color: #d1d5db; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: bold; transition: .3s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: var(--dark); }
.btn-primary:hover { background: #e0930f; }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--dark); }

/* سکشن‌ها */
.section { padding: 70px 0; }
.section-title { text-align: center; font-size: 30px; margin-bottom: 40px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 15px auto 0; }

.grid { display: grid; gap: 25px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.category-card { background: var(--white); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,.08); transition: .3s; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.category-card img { height: 160px; object-fit: cover; width: 100%; }
.category-card h3 { padding: 15px; font-size: 16px; }

.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,.08); transition: .3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.product-card img, .category-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.main-image-wrap img { aspect-ratio: 1 / 1; object-fit: contain; }
.product-card h3 { padding: 15px 15px 5px; font-size: 16px; }
.product-card .price { padding: 0 15px 15px; font-weight: bold; color: var(--primary); }
.product-card .inquiry { color: var(--gray); font-size: 14px; }

.why-us { background: var(--white); }
.feature-box { text-align: center; font-size: 40px; padding: 30px; background: var(--light); border-radius: var(--radius); }
.feature-box h3 { font-size: 16px; margin-top: 10px; color: var(--dark); }

/* فوتر */
.site-footer { background: var(--dark); color: #d1d5db; padding: 50px 0 0; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-grid h3, .footer-grid h4 { color: var(--primary); margin-bottom: 15px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-bottom { text-align: center; padding: 15px; border-top: 1px solid #374151; font-size: 14px; }

.floating-call { position: fixed; bottom: 25px; left: 25px; background: var(--primary); color: var(--dark); width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 5px 15px rgba(0,0,0,.3); z-index: 99; }

/* ریسپانسیو */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 28px; }
}
/* Breadcrumb */
.breadcrumb-nav { background: var(--white); padding: 15px 0; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.breadcrumb-nav a { color: var(--gray); }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav .current { color: var(--dark); font-weight: 600; }
.breadcrumb-nav span { margin: 0 8px; color: #ccc; }

/* صفحه محصولات */
.page-header { text-align: center; margin-bottom: 40px; }
.page-header h1 { font-size: 32px; margin-bottom: 10px; }
.page-desc { color: var(--gray); max-width: 700px; margin: 0 auto; }

.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }

.filter-sidebar { position: sticky; top: 90px; }
.filter-box { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.filter-box h3 { font-size: 16px; margin-bottom: 15px; }
.search-form { display: flex; }
.search-form input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 6px 0 0 6px; }
.search-form button { padding: 10px 15px; background: var(--primary); border: none; border-radius: 0 6px 6px 0; cursor: pointer; }

.category-filter-list { list-style: none; }
.category-filter-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.category-filter-list li a { color: var(--dark); transition: .2s; }
.category-filter-list li.active a, .category-filter-list li a:hover { color: var(--primary); font-weight: bold; }

.cta-box { background: var(--dark); color: white; text-align: center; }
.cta-box h3 { color: var(--primary); }
.cta-box p { margin-bottom: 15px; color: #d1d5db; font-size: 14px; }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 10px; }

.products-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 10px; }
.result-count { color: var(--gray); font-size: 14px; }
.sort-form select { padding: 8px 12px; border-radius: 6px; border: 1px solid #ddd; }
.mobile-filter-btn { display: none; background: var(--dark); color: white; border: none; padding: 10px 15px; border-radius: 6px; cursor: pointer; }

.product-img-wrap { position: relative; overflow: hidden; }
.product-img-wrap img { transition: transform .4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.badge-inquiry { background: var(--dark); color: var(--primary); }
.product-cat { font-size: 12px; color: var(--gray); }
.short-desc { font-size: 13px; color: var(--gray); padding: 0 15px; }
.inquiry-text { color: var(--gray); font-size: 14px; }

.no-results { text-align: center; padding: 60px 20px; }

/* صفحه‌بندی */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-link { padding: 10px 15px; background: var(--white); border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.page-link.active { background: var(--primary); color: var(--dark); font-weight: bold; }

/* جزئیات محصول */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.main-image-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.08); }
.main-image-wrap img { width: 100%; height: 450px; object-fit: contain; padding: 20px; }
.thumbnail-list { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; }
.thumb { width: 75px; height: 75px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; opacity: .7; flex-shrink: 0; }
.thumb.active, .thumb:hover { border-color: var(--primary); opacity: 1; }

.cat-tag { display: inline-block; background: var(--light); color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 13px; margin-bottom: 15px; }
.product-info-box h1 { font-size: 28px; margin-bottom: 15px; }
.product-short-desc { color: var(--gray); margin-bottom: 20px; }

.spec-quick-list { list-style: none; background: var(--white); border-radius: var(--radius); padding: 15px 20px; margin-bottom: 20px; }
.spec-quick-list li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.spec-quick-list li:last-child { border-bottom: none; }

.price-box { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: 0 3px 10px rgba(0,0,0,.06); }
.fixed-price .price-toman { font-size: 26px; font-weight: bold; color: var(--primary); display: block; }
.fixed-price .price-usd { color: var(--gray); font-size: 14px; }
.inquiry-price .inquiry-label { font-weight: bold; margin-bottom: 15px; }

.btn-lg { padding: 16px; font-size: 16px; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1da851; }
.action-buttons { margin-bottom: 20px; }

.trust-badges { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.trust-badges div { background: var(--white); padding: 10px; border-radius: 6px; flex: 1; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.05); }

.product-full-description { background: var(--white); padding: 30px; border-radius: var(--radius); margin-bottom: 50px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.product-full-description h2 { margin-bottom: 20px; font-size: 22px; }
.description-content { line-height: 2; color: #374151; }

/* مودال مشاوره */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.modal-box { background: white; padding: 30px; border-radius: 10px; width: 100%; max-width: 420px; position: relative; }
.modal-close { position: absolute; top: 10px; left: 15px; background: none; border: none; font-size: 24px; cursor: pointer; }
.modal-product-name { font-size: 14px; color: var(--gray); margin-bottom: 15px; }
.modal-box input, .modal-box textarea { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }
#consultResult { margin-top: 15px; text-align: center; font-weight: bold; }

/* ریسپانسیو */
@media (max-width: 900px) {
  .products-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--light); z-index: 200; overflow-y: auto; padding: 20px; transition: .3s; }
  .filter-sidebar.open { right: 0; }
  .mobile-filter-btn { display: block; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 25px; }
  .main-image-wrap img { height: 300px; }
  .grid-3.products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .grid-3.products-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .products-toolbar { flex-direction: column; align-items: flex-start; }
}
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a { width: 38px; height: 38px; background: var(--dark2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: .2s; }
.social-links a:hover { background: var(--primary); }
/* هیرو کوچک صفحات داخلی */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); color: white; padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 32px; margin-bottom: 10px; color: var(--primary); }
.page-hero p { color: #d1d5db; }

/* کارت‌های اطلاعات تماس */
.contact-info-cards { margin-bottom: 50px; }
.contact-info-card { background: var(--white); padding: 30px 20px; border-radius: var(--radius); text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,.06); transition: .3s; }
.contact-info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,.1); }
.contact-info-card .icon { font-size: 36px; margin-bottom: 12px; }
.contact-info-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--dark); }
.contact-info-card p { color: var(--gray); font-size: 14px; }

/* گرید اصلی فرم و نقشه */
.contact-main-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin-bottom: 60px; }

.contact-form-box { background: var(--white); padding: 35px; border-radius: var(--radius); box-shadow: 0 3px 15px rgba(0,0,0,.06); }
.contact-form-box h2 { font-size: 22px; margin-bottom: 8px; }
.form-subtitle { color: var(--gray); font-size: 14px; margin-bottom: 25px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form-box .form-group { margin-bottom: 18px; }
.contact-form-box label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.contact-form-box .optional { color: var(--gray); font-weight: normal; font-size: 12px; }
.contact-form-box input, .contact-form-box textarea {
  width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 14px;
}
.contact-form-box textarea { resize: vertical; }
#contactFormResult { margin-top: 15px; text-align: center; font-weight: bold; padding: 10px; border-radius: 6px; }
#contactFormResult.success { background: #dcfce7; color: #16a34a; }
#contactFormResult.error { background: #fee2e2; color: #dc2626; }

/* نقشه و باکس ارتباط سریع */
.contact-side-box { display: flex; flex-direction: column; gap: 20px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.06); height: 250px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { background: var(--white); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); padding: 20px; }

.quick-contact-box { background: var(--white); padding: 25px; border-radius: var(--radius); box-shadow: 0 3px 15px rgba(0,0,0,.06); }
.quick-contact-box h3 { margin-bottom: 15px; font-size: 17px; }
.quick-contact-box .btn { margin-bottom: 12px; }

.working-hours { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; font-size: 14px; }
.working-hours p { color: var(--gray); margin-top: 5px; }

.social-links-box { display: flex; gap: 12px; margin-top: 15px; flex-wrap: wrap; }
.social-links-box a { font-size: 13px; color: var(--gray); background: var(--light); padding: 8px 14px; border-radius: 20px; transition: .2s; }
.social-links-box a:hover { background: var(--primary); color: var(--dark); }

/* سوالات متداول */
.faq-section { margin-top: 40px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); overflow: hidden; }
.faq-question { width: 100%; text-align: right; background: none; border: none; padding: 18px 20px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; color: var(--dark); }
.faq-question span { font-size: 22px; color: var(--primary); transition: .3s; }
.faq-question.active span { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 20px; }
.faq-answer p { padding-bottom: 18px; color: var(--gray); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 300px; }

/* ریسپانسیو */
@media (max-width: 900px) {
  .contact-main-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-cards.grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .contact-info-cards.grid-4 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 24px; }
}
/* هیرو صفحه درباره ما */
.about-hero { background-image: linear-gradient(rgba(28,31,38,.85), rgba(28,31,38,.85)), url('../img/about-bg.jpg'); background-size: cover; background-position: center; }

/* لیبل بخش */
.section-label { display: inline-block; background: #fff8ec; color: var(--primary); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 15px; }
.section-label.center { display: block; text-align: center; width: fit-content; margin: 0 auto 15px; }

/* معرفی اصلی */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.about-intro-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.about-intro-text h2 { font-size: 28px; margin-bottom: 20px; line-height: 1.5; }
.about-intro-text p { color: var(--gray); margin-bottom: 15px; line-height: 2; }
.about-rich-text p { color: var(--gray); margin-bottom: 15px; line-height: 2; }

.about-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.about-badges span { background: var(--light); padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--dark); }

/* آمار و ارقام */
.stats-section { background: var(--dark); color: white; }
.stats-grid { text-align: center; }
.stat-item { padding: 20px; }
.stat-number { font-size: 42px; font-weight: 800; color: var(--primary); }
.stat-plus { font-size: 32px; font-weight: 800; color: var(--primary); }
.stat-item p { color: #d1d5db; margin-top: 8px; font-size: 15px; }

/* چرا ما */
.why-choose-section { background: var(--white); }
.why-choose-grid { margin-top: 40px; }
.why-choose-card { text-align: center; padding: 35px 20px; border-radius: 12px; background: var(--light); transition: .3s; }
.why-choose-card:hover { background: var(--dark); transform: translateY(-5px); }
.why-choose-card:hover h3, .why-choose-card:hover p { color: white; }
.why-choose-card .icon { font-size: 42px; margin-bottom: 15px; }
.why-choose-card h3 { font-size: 17px; margin-bottom: 10px; transition: .3s; }
.why-choose-card p { color: var(--gray); font-size: 14px; line-height: 1.8; transition: .3s; }

/* تایم‌لاین */
.timeline-section { background: var(--light); }
.timeline { position: relative; max-width: 800px; margin: 50px auto 0; padding-right: 30px; border-right: 3px solid var(--primary); }
.timeline-item { position: relative; padding-bottom: 40px; padding-right: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; right: -40px; top: 0; width: 16px; height: 16px; background: var(--primary); border-radius: 50%; border: 4px solid var(--light); }
.timeline-content { background: white; padding: 20px 25px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.06); }
.timeline-year { display: inline-block; background: var(--dark); color: var(--primary); padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: bold; margin-bottom: 10px; }
.timeline-content h3 { font-size: 17px; margin-bottom: 8px; }
.timeline-content p { color: var(--gray); font-size: 14px; }

/* CTA پایانی */
.about-cta-section { background: linear-gradient(135deg, var(--primary) 0%, #e0930f 100%); color: var(--dark); padding: 70px 0; text-align: center; }
.about-cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.about-cta-section p { margin-bottom: 25px; font-size: 16px; color: #3f2c05; }
.about-cta-section .btn-outline { color: var(--dark); border-color: var(--dark); }
.about-cta-section .btn-outline:hover { background: var(--dark); color: white; }

/* ریسپانسیو */
@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-choose-grid.grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid.grid-4 { grid-template-columns: 1fr 1fr; }
  .timeline { padding-right: 20px; }
  .timeline-item { padding-right: 20px; }
  .timeline-dot { right: -30px; }
}

@media (max-width: 500px) {
  .why-choose-grid.grid-3, .stats-grid.grid-4 { grid-template-columns: 1fr; }
  .about-intro-text h2 { font-size: 22px; }
}
/* اضافه به assets/css/style.css */
.description-content ul, .description-content ol { padding-right: 25px; margin-bottom: 15px; }
.description-content li { margin-bottom: 8px; }
.description-content h2, .description-content h3 { margin: 20px 0 10px; color: var(--dark); }
.description-content a { color: var(--primary); text-decoration: underline; }
.description-content blockquote { border-right: 4px solid var(--primary); padding-right: 15px; color: var(--gray); margin: 15px 0; }