*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --flame:#e85d04;--flame-dark:#9d0208;--flame-light:#f48c06;--gold:#faa307;
  --steel:#1a1a2e;--steel-mid:#16213e;--steel-light:#0f3460;
  --bg:#f8f7f4;--white:#fff;--text:#1a1a2e;--text-light:#6b7280;--border:#e5e7eb;
  --radius:12px;--shadow:0 2px 16px rgba(0,0,0,.07);
}
html{scroll-behavior:smooth}
body{font-family:'Vazirmatn',sans-serif;background:var(--bg);color:var(--text);line-height:1.8;font-size:16px}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* TOPBAR */
.topbar{background:var(--steel);color:rgba(255,255,255,.7);font-size:13px;padding:9px 0;border-bottom:1px solid rgba(232,93,4,.3)}
.topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.topbar-links{display:flex;gap:20px;flex-wrap:wrap}
.topbar-links a{color:rgba(255,255,255,.7);display:flex;align-items:center;gap:6px;transition:color .2s}
.topbar-links a:hover{color:var(--flame-light)}
.topbar-links i{color:var(--flame);font-size:12px}

/* HEADER */
.site-header{background:var(--steel-mid);position:sticky;top:0;z-index:100;border-bottom:2px solid rgba(232,93,4,.4);box-shadow:0 2px 20px rgba(0,0,0,.3)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.site-logo{display:flex;align-items:center;gap:12px;color:#fff}
.logo-icon{width:42px;height:42px;background:linear-gradient(135deg,var(--flame),var(--gold));border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.logo-text strong{display:block;font-size:15px;font-weight:800;color:#fff;line-height:1.2}
.logo-text span{display:block;font-size:11px;color:rgba(255,255,255,.55);font-weight:400}
.site-nav{display:flex;align-items:center;gap:4px}
.site-nav a{color:rgba(255,255,255,.75);padding:8px 14px;border-radius:8px;font-size:14px;font-weight:500;transition:all .2s;white-space:nowrap}
.site-nav a:hover,.site-nav a.active{background:rgba(232,93,4,.15);color:var(--flame-light)}
.header-cta{display:flex;gap:8px;flex-shrink:0}
.btn-call{background:var(--flame);color:#fff;padding:9px 18px;border-radius:8px;font-size:13px;font-weight:700;transition:background .2s;white-space:nowrap}
.btn-call:hover{background:var(--flame-dark)}
.mobile-toggle{display:none;background:none;border:none;color:#fff;font-size:22px;cursor:pointer;padding:4px}
@media(max-width:900px){
  .site-nav{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(26,26,46,.97);flex-direction:column;justify-content:center;align-items:center;gap:12px;z-index:200}
  .site-nav.open{display:flex}
  .site-nav a{font-size:20px;padding:12px 32px}
  .mobile-toggle{display:block}
  .header-cta{display:none}
  .nav-close{position:absolute;top:20px;left:20px;background:none;border:none;color:#fff;font-size:28px;cursor:pointer}
}

/* PAGE HERO */
.page-hero{background:linear-gradient(135deg,var(--steel) 0%,var(--steel-light) 100%);color:#fff;padding:56px 0 48px;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e85d04' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.5}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{font-size:clamp(24px,4vw,38px);font-weight:800;margin-bottom:10px;line-height:1.3}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.6);margin-top:10px;flex-wrap:wrap}
.breadcrumb a{color:rgba(255,255,255,.7);transition:color .2s}
.breadcrumb a:hover{color:var(--flame-light)}
.breadcrumb i{font-size:10px;color:rgba(255,255,255,.3)}
.page-tag{display:inline-block;background:rgba(232,93,4,.2);color:var(--flame-light);border:1px solid rgba(232,93,4,.3);padding:4px 14px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:14px}

/* MAIN CONTENT */
.page-body{padding:60px 0}
.content-card{background:var(--white);border-radius:var(--radius);padding:40px 48px;box-shadow:var(--shadow)}
@media(max-width:600px){.content-card{padding:24px 20px}}
.prose h1,.prose h2,.prose h3,.prose h4{color:var(--steel);margin:28px 0 12px;line-height:1.4;font-weight:700}
.prose h1{font-size:28px}.prose h2{font-size:22px}.prose h3{font-size:18px}
.prose p{margin-bottom:16px;color:#374151;line-height:1.9}
.prose ul,.prose ol{padding-right:24px;margin-bottom:16px}
.prose li{margin-bottom:8px;color:#374151;line-height:1.8}
.prose a{color:var(--flame);border-bottom:1px solid rgba(232,93,4,.3)}
.prose a:hover{border-color:var(--flame)}
.prose img{border-radius:var(--radius);margin:20px 0}
.prose table{width:100%;border-collapse:collapse;margin:20px 0}
.prose th,.prose td{border:1px solid var(--border);padding:10px 14px;text-align:right}
.prose th{background:var(--bg);font-weight:700}

/* GRID LAYOUTS */
.two-col{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:start}
@media(max-width:768px){.two-col{grid-template-columns:1fr}}

/* CARDS */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.item-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;border:1px solid var(--border)}
.item-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.12)}
.card-img{width:100%;height:200px;object-fit:cover;background:linear-gradient(135deg,var(--steel),var(--steel-light))}
.card-img-placeholder{width:100%;height:200px;background:linear-gradient(135deg,var(--steel),var(--steel-light));display:flex;align-items:center;justify-content:center;font-size:48px}
.card-body{padding:20px}
.card-label{font-size:11px;font-weight:700;color:var(--flame);text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}
.card-title{font-size:17px;font-weight:700;margin-bottom:8px;line-height:1.4;color:var(--steel)}
.card-excerpt{font-size:14px;color:var(--text-light);line-height:1.7;margin-bottom:16px}
.card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid var(--border)}
.card-meta{font-size:12px;color:var(--text-light)}
.btn-card{background:var(--flame);color:#fff;padding:7px 16px;border-radius:7px;font-size:13px;font-weight:600;transition:background .2s}
.btn-card:hover{background:var(--flame-dark)}
.btn-outline-card{border:1.5px solid var(--flame);color:var(--flame);padding:7px 16px;border-radius:7px;font-size:13px;font-weight:600;transition:all .2s}
.btn-outline-card:hover{background:var(--flame);color:#fff}

/* SIDEBAR */
.sidebar-card{background:var(--white);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);margin-bottom:20px}
.sidebar-title{font-size:15px;font-weight:700;color:var(--steel);margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--flame)}
.contact-box{background:linear-gradient(135deg,var(--flame),var(--gold));border-radius:var(--radius);padding:24px;color:#fff;margin-bottom:20px}
.contact-box h3{font-size:16px;font-weight:800;margin-bottom:6px}
.contact-box p{font-size:13px;opacity:.9;margin-bottom:14px}
.contact-box a{display:block;background:rgba(255,255,255,.2);color:#fff;padding:10px 16px;border-radius:8px;font-weight:700;text-align:center;margin-bottom:8px;transition:background .2s}
.contact-box a:hover{background:rgba(255,255,255,.35)}

/* PRODUCT DETAIL */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
@media(max-width:768px){.product-detail{grid-template-columns:1fr}}
.product-img-box{background:linear-gradient(135deg,var(--steel),var(--steel-light));border-radius:var(--radius);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;font-size:80px}
.product-info h1{font-size:26px;font-weight:800;color:var(--steel);margin-bottom:12px}
.product-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.badge{padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600}
.badge-flame{background:rgba(232,93,4,.1);color:var(--flame);border:1px solid rgba(232,93,4,.25)}
.badge-steel{background:rgba(26,26,46,.08);color:var(--steel);border:1px solid var(--border)}
.product-desc{color:#374151;line-height:1.9;margin-bottom:24px}
.inquiry-box{background:var(--bg);border:2px solid var(--border);border-radius:var(--radius);padding:20px}
.inquiry-box h4{font-size:14px;font-weight:700;margin-bottom:12px;color:var(--steel)}
.btn-inquiry{display:block;background:var(--flame);color:#fff;padding:13px;border-radius:9px;font-size:15px;font-weight:700;text-align:center;transition:background .2s;width:100%;margin-bottom:10px}
.btn-inquiry:hover{background:var(--flame-dark)}
.btn-inquiry-outline{display:block;border:2px solid var(--flame);color:var(--flame);padding:11px;border-radius:9px;font-size:14px;font-weight:600;text-align:center;transition:all .2s;width:100%}
.btn-inquiry-outline:hover{background:var(--flame);color:#fff}

/* POST */
.post-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--text-light);margin-bottom:24px}
.post-meta i{color:var(--flame);margin-left:4px}
.post-img{width:100%;border-radius:var(--radius);margin-bottom:28px;max-height:420px;object-fit:cover}

/* SECTION TAGS */
.section-tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--flame);text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.section-tag::before{content:'';width:18px;height:2px;background:var(--flame)}

/* FOOTER */
.site-footer{background:var(--steel);color:rgba(255,255,255,.65);padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:40px;margin-bottom:40px}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}}
.footer-logo{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:15px;margin-bottom:14px}
.footer-logo-icon{width:38px;height:38px;background:linear-gradient(135deg,var(--flame),var(--gold));border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px}
.footer-desc{font-size:13px;line-height:1.8;margin-bottom:16px}
.footer-title{font-size:13px;font-weight:700;color:#fff;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-links{list-style:none}
.footer-links li{margin-bottom:9px}
.footer-links a{font-size:13px;color:rgba(255,255,255,.6);transition:color .2s;display:flex;align-items:center;gap:6px}
.footer-links a:hover{color:var(--flame-light)}
.footer-links a::before{content:'›';color:var(--flame)}
.footer-contact-item{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin-bottom:12px;line-height:1.6}
.footer-contact-item i{color:var(--flame);margin-top:3px;width:14px;flex-shrink:0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}
.footer-bottom a{color:rgba(255,255,255,.5);margin-right:16px}
.footer-bottom a:hover{color:var(--flame-light)}

/* UTILITIES */
.text-center{text-align:center}
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-32{margin-bottom:32px}
.empty-state{text-align:center;padding:80px 24px;color:var(--text-light)}
.empty-state i{font-size:48px;margin-bottom:16px;color:var(--border)}
.empty-state p{font-size:16px}
