@font-face{font-family:Vazirmatn;src:url(Vazirmatn.woff2) format("woff2");font-weight:100 900;font-display:swap}
/* ترموژن — استایل مشترک (پایه + هدر + فوتر) */
:root{--ink:#0f2c3a;--ink2:#1b4153;--teal:#17706a;--tealbg:#e4f1ef;--bg:#f4f7f6;--card:#fff;--line:#d5e0de;--mut:#546b74;--lt:#7ecfc6;--r:10px}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;font:400 15px/1.9 Vazirmatn,Tahoma,sans-serif;background:var(--bg);color:var(--ink)}
.wrap{width:min(1080px,calc(100% - 40px));margin:auto}
section{padding:84px 0}
h2{font-size:clamp(24px,3vw,32px);line-height:1.5;font-weight:800;margin-bottom:10px}
.lead{color:var(--mut);max-width:600px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:var(--r);font:inherit;font-weight:700;font-size:14px;border:1px solid transparent;cursor:pointer;transition:background .2s;white-space:nowrap;text-decoration:none}
.b1{background:var(--ink);color:#fff}.b1:hover{background:var(--ink2)}
.b2{border-color:#a9bfbc;color:var(--ink)}.b2:hover{background:#fff}
/* ===== هدر ===== */
.tg-h,.tg-f{font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.7;direction:rtl;text-align:right}
.tg-h *,.tg-f *{box-sizing:border-box}
.tg-h a,.tg-f a{color:inherit;text-decoration:none}
.tg-w{width:min(1180px,calc(100% - 40px));margin:0 auto}
.tg-h{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}
.tg-bar{display:flex;align-items:center;gap:20px;min-height:74px}
.tg-logo img{display:block;height:46px;width:auto}
.tg-nav{flex:1;display:flex;justify-content:center;gap:2px}
.tg-nav a{padding:8px 14px;border-radius:8px;font-size:14px;font-weight:600;color:var(--ink2);transition:background .2s,color .2s}
.tg-nav a:hover,.tg-nav a.on{background:var(--tealbg);color:var(--teal)}
.tg-nav .tg-m{display:none}
.tg-act{display:flex;align-items:center;gap:10px}
.tg-tel{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:var(--r);color:var(--teal);font-weight:800;font-size:15px}
.tg-tel:hover{background:var(--tealbg)}
.tg-tel b{direction:ltr;unicode-bidi:isolate;letter-spacing:.3px;white-space:nowrap}
.tg-cta{padding:10px 18px;border-radius:var(--r);background:var(--ink);color:#fff!important;font-size:13px;font-weight:700;white-space:nowrap;transition:background .2s}
.tg-cta:hover{background:var(--ink2)}
.tg-bg{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:var(--r);background:#fff;cursor:pointer;align-items:center;justify-content:center;padding:0}
.tg-bg span,.tg-bg span:before,.tg-bg span:after{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s}
.tg-bg span{position:relative}
.tg-bg span:before,.tg-bg span:after{content:"";position:absolute;right:0}
.tg-bg span:before{top:-6px}.tg-bg span:after{top:6px}
.tg-h.open .tg-bg span{background:transparent}
.tg-h.open .tg-bg span:before{top:0;transform:rotate(45deg)}
.tg-h.open .tg-bg span:after{top:0;transform:rotate(-45deg)}
@media(max-width:1120px){.tg-tel b{display:none}.tg-tel{padding:10px}}
@media(max-width:960px){
.tg-bg{display:flex}.tg-cta{display:none}
.tg-bar{gap:12px}.tg-logo{margin-inline-end:auto}
.tg-nav{display:none;position:absolute;top:100%;right:0;left:0;flex-direction:column;justify-content:flex-start;gap:2px;background:#fff;border-bottom:1px solid var(--line);padding:10px 20px 18px;box-shadow:0 18px 30px #0f2c3a14}
.tg-h.open .tg-nav{display:flex}
.tg-nav a{padding:12px 14px}
.tg-nav .tg-m{display:block;margin-top:8px;background:var(--ink);color:#fff;text-align:center}
.tg-nav .tg-m:hover{background:var(--ink2);color:#fff}}
@media(max-width:420px){.tg-logo img{height:38px}}
/* ===== فوتر ===== */
.tg-f{background:var(--ink);color:#b5ccd3;margin-top:0;font-size:13.5px}
.tg-fg{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:44px;padding:56px 0 40px}
.tg-fl img{display:block;height:48px;width:auto;margin-bottom:16px}
.tg-f p{margin:0;max-width:340px;color:#9bbbc4}
.tg-f h4{margin:0 0 14px;font-size:14px;font-weight:800;color:#fff}
.tg-f ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tg-f li a{transition:color .2s}
.tg-f li a:hover{color:#fff}
.tg-f .tg-ph{direction:ltr;unicode-bidi:isolate;display:inline-block}
.tg-fn{margin-top:14px!important;font-size:12px;color:#8fb0ba!important}
.tg-fb{border-top:1px solid #ffffff22;padding:18px 0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12.5px;color:#8fb0ba}
@media(max-width:900px){.tg-fg{grid-template-columns:1fr 1fr;gap:34px}}
@media(max-width:560px){.tg-fg{grid-template-columns:1fr;padding-top:44px}.tg-fb{flex-direction:column}.mbar~.tg-f{padding-bottom:84px}}
@media(prefers-reduced-motion:reduce){.tg-h *{transition:none!important}}
.tg-main{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:40px 0;min-height:50vh}
/* رنگ‌های قطعی روی زمینه تیره (برابر شدن با استایل قالب) */
.tg-nav .tg-m,.tg-cta{color:#fff!important}
.tg-f,.tg-f p{color:#b5ccd3!important}
.tg-f h4{color:#fff!important}
.tg-f a{color:#b5ccd3!important}
.tg-f a:hover{color:#fff!important}
.tg-fb,.tg-fb span,.tg-fn{color:#8fb0ba!important}
/* کلاس کمکی ویژوال کامپوزر: به ردیف تیره، در Extra class name بدهید */
.tg-dark,.tg-dark :is(h1,h2,h3,h4,h5,h6,p,li,span,div,strong,em,label,td,th,small){color:#fff!important}
.tg-dark a:not(.btn):not(.vc_btn3){color:#7ecfc6!important}
/* صفحات آزاد با ویژوال کامپوزر: زمینهٔ روشن و متن تیره به‌صورت پیش‌فرض */
body.tg-editor-page{background:#f4f7f6!important}
body.tg-editor-page .tg-main :is(h1,h2,h3,h4,h5,h6,p,li,td,th,label){color:#0f2c3a}
