/* ==============================================
   ASA GROUP — Section Components
   همه سکشن‌های قابل استفاده در المنتور
   این فایل را بعد از brand-*.css اضافه کن
   ============================================== */

/* ─────────────────────────────────────────────
   HERO — دو حالت (تمام‌عرض / دوستونه)
   ───────────────────────────────────────────── */
.hero-fullwidth {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-split {
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-tag {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-secondary, #C8102E);
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}
.hero-title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ─────────────────────────────────────────────
   TRUST BAR — نوار لوگو
   ───────────────────────────────────────────── */
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-bar-inner img {
    height: 36px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: opacity 0.2s, filter 0.2s;
}
.trust-bar-inner img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.trust-label {
    font-size: 12px;
    color: var(--color-text-muted, #9CA3AF);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   FEATURE CARDS — ویژگی‌ها
   ───────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    text-align: center;
    padding: 36px 24px;
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(27,42,74,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--color-primary, #1B2A4A);
}
.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text, #1A1A1A);
}
.feature-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted, #6B7280);
}

/* ─────────────────────────────────────────────
   STATS — آمار
   ───────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    text-align: center;
}
.stat-item {
    padding: 40px 20px;
    border-inline-start: 1px solid rgba(255,255,255,0.1);   /* منطقی: در RTL و LTR درست */
}
.stat-item:last-child { border-inline-start: none; }
.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: var(--color-secondary, #C8102E);
    line-height: 1;
    display: block;
}
.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary, #C8102E);
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    display: block;
}

/* ─────────────────────────────────────────────
   PRODUCT CARDS — محصولات
   ───────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--color-border, #E5E9F0);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27,42,74,0.12);
}
.product-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.product-card-body {
    padding: 20px;
}
.product-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-secondary, #C8102E);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: block;
}
.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text, #1A1A1A);
}
.product-desc {
    font-size: 14px;
    color: var(--color-text-muted, #6B7280);
    line-height: 1.6;
    margin-bottom: 16px;
}
.product-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary, #1B2A4A);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.product-link::after {
    content: '←';
    transition: transform 0.2s;
}
.product-link:hover::after { transform: translateX(-4px); }

/* ─────────────────────────────────────────────
   TESTIMONIALS — نظر مشتریان
   ───────────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--color-border, #E5E9F0);
    border-radius: 12px;
    padding: 28px;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    inset-inline-end: 24px;   /* منطقی: گوشهٔ آغازینِ درست در RTL و LTR */
    font-size: 64px;
    color: var(--color-secondary, #C8102E);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text, #1A1A1A);
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-bg-alt, #F4F6F9);
}
.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text, #1A1A1A);
}
.testimonial-role {
    font-size: 13px;
    color: var(--color-text-muted, #6B7280);
}
.testimonial-stars {
    color: #F59E0B;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ─────────────────────────────────────────────
   FAQ — سوالات متداول
   ───────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--color-border, #E5E9F0);
    padding: 20px 0;
}
.faq-question {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary, #1B2A4A);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--color-secondary, #C8102E);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted, #6B7280);
    margin-top: 12px;
    display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ─────────────────────────────────────────────
   BLOG CARDS — مطالب بلاگ
   ───────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--color-border, #E5E9F0);
    border-radius: 12px;
    overflow: hidden;
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.blog-card-body { padding: 20px; }
.blog-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-secondary, #C8102E);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: block;
}
.blog-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text, #1A1A1A);
    margin-bottom: 10px;
    line-height: 1.5;
}
.blog-meta {
    font-size: 13px;
    color: var(--color-text-muted, #6B7280);
    display: flex;
    gap: 12px;
}

/* ─────────────────────────────────────────────
   CONTACT FORM SECTION
   ───────────────────────────────────────────── */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(27,42,74,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #1B2A4A);
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-label {
    font-size: 13px;
    color: var(--color-text-muted, #6B7280);
    margin-bottom: 4px;
    display: block;
}
.contact-info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text, #1A1A1A);
}

/* ─────────────────────────────────────────────
   SECTION HEADER — عنوان سکشن
   ───────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}
.section-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-secondary, #C8102E);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    color: var(--color-text, #1A1A1A);
    margin-bottom: 14px;
    line-height: 1.3;
}
.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted, #6B7280);
    line-height: 1.7;
}

/* ─────────────────────────────────────────────
   UTILITY — کلاس‌های عمومی
   ───────────────────────────────────────────── */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.bg-light { background: var(--color-bg-alt, #F4F6F9); }
.bg-dark { background: var(--color-primary, #1B2A4A); }
.text-center { text-align: center; }
.divider {
    width: 60px;
    height: 3px;
    background: var(--color-secondary, #C8102E);
    border-radius: 2px;
    margin: 20px auto;
}
.divider-right { margin: 20px 0; }
