/* ==============================================
   ASA GROUP — Global Base Styles
   نصب: WordPress Customizer > Additional CSS
   (این فایل در همه سایت‌ها یکسان است)
   ============================================== */

/* فونت فارسی — Vazirmatn سلف‌هاست (woff2 محلی؛ بدونِ وابستگی به گوگل که از ایران کند/فیلتر است) */
@font-face { font-family: 'Vazirmatn'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/Vazirmatn-Light.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: 700; font-display: swap; src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'); }

/* ریست پایه RTL */
html, body {
    direction: rtl;
    font-family: 'Vazirmatn', 'IRANSansXFaNum', sans-serif;
}

html[lang="en"], html[lang="en"] * {
    direction: ltr;
    font-family: 'Inter', sans-serif;
}

/* تایپوگرافی پایه */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
}

p, li, td, th, label, input, textarea, select {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}

/* باز کردن Container المنتور */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1240px;
}

/* اصلاح منو برای RTL */
.elementor-nav-menu--layout-horizontal .elementor-nav-menu {
    flex-direction: row-reverse;
}

/* دکمه‌های پایه */
.elementor-button {
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* فرم‌ها */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
    font-family: inherit;
    border-radius: 6px;
    border: 1.5px solid #E0E0E0;
    padding: 12px 14px;
    transition: border-color 0.2s;
}
.elementor-field-group input:focus,
.elementor-field-group textarea:focus {
    outline: none;
    border-color: var(--color-primary, #1B2A4A);
}

/* تصاویر */
img {
    max-width: 100%;
    height: auto;
}

/* موبایل */
@media (max-width: 767px) {
    h1 { font-size: 28px !important; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 18px !important; }
    .elementor-section { padding: 40px 16px !important; }
}
