
/* ======= Maan Actions (CTA buttons) — dark theme =======
   این بخش را به انتهای فایل CSS تم dark اضافه کنید */

:root {
    /* پالت اصلی — فقط درجه‌های روشن/تیره‌ی همان #0066ff */
    --maan-blue: #0066ff;
    --maan-blue-light: #3385ff;
    --maan-blue-dark: #0052cc;
    --maan-text-shift: 0px; /* اگر متن کمی پایین/بالا بود: -1px یا 1px */
    --maan-blue-glow: rgba(0, 102, 255, 0.55);
}

.maan-actions {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

    /* قالب قانون `span, a, a:hover { display:inline-block }` دارد؛ در هاور اولویتش
   از .maan-btn بیشتر می‌شد و flex از بین می‌رفت (متن می‌افتاد پایین/زیر آیکون).
   این سلکتور اولویت بالاتر دارد و flex را در همه حالت‌ها نگه می‌دارد. */
    .maan-actions .maan-btn,
    .maan-actions .maan-btn:hover,
    .maan-actions .maan-btn:focus,
    .maan-actions .maan-btn:active {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

/* ---------- Base ---------- */
.maan-btn {
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 8px 28px 8px 8px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-family: 'peyda', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 450ms ease;
}

    /* پرده‌ی رنگی که در هاور از راست به چپ باز می‌شود */
    .maan-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 650ms var(--ease);
    }

    .maan-btn:hover::before,
    .maan-btn:focus-visible::before {
        transform: scaleX(1);
    }

    .maan-btn:hover {
        transform: translateY(-3px);
    }

    .maan-btn:active {
        transform: translateY(-1px) scale(0.985);
        transition-duration: 200ms;
    }

    .maan-btn:focus-visible {
        outline: 2px solid var(--maan-blue);
        outline-offset: 4px;
    }

    .maan-btn .maan-btn-text {
        display: block;
        line-height: 1.4;
        flex: 0 0 auto;
        transform: translateY(var(--maan-text-shift, 0px));
        transition: color 450ms ease;
    }

    /* ---------- Icon badge ---------- */
    .maan-btn .maan-btn-icon {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: background-color 450ms ease, color 450ms ease, transform 600ms var(--ease);
    }

        .maan-btn .maan-btn-icon svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform 600ms var(--ease);
        }

.maan-btn-primary:hover .maan-btn-icon svg {
    transform: translateX(-3px);
}

.maan-btn-outline:hover .maan-btn-icon {
    transform: rotate(-8deg) scale(1.06);
}

/* ---------- Primary ---------- */
.maan-btn-primary {
    background: linear-gradient(135deg, var(--maan-blue-light) 0%, var(--maan-blue) 55%, var(--maan-blue-dark) 100%);
    border-color: var(--maan-blue);
    box-shadow: 0 14px 30px -14px var(--maan-blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .maan-btn-primary::before {
        background-color: #fff;
    }

    .maan-btn-primary .maan-btn-text {
        color: #fff;
    }

    .maan-btn-primary .maan-btn-icon {
        background-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .maan-btn-primary:hover {
        border-color: #fff;
        box-shadow: 0 20px 36px -16px rgba(217, 232, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

        .maan-btn-primary:hover .maan-btn-text {
            color: #1b1b1b;
        }

        .maan-btn-primary:hover .maan-btn-icon {
            background-color: var(--maan-blue);
            color: #fff;
        }

/* ---------- Outline ---------- */
.maan-btn-outline {
    background-color: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.45);
}

    .maan-btn-outline::before {
        background-color: var(--maan-blue);
    }

    .maan-btn-outline .maan-btn-text {
        color: #D9E8FF;
    }

    .maan-btn-outline .maan-btn-icon {
        background-color: var(--maan-blue);
        color: #fff;
    }

    .maan-btn-outline:hover {
        border-color: var(--maan-blue);
        box-shadow: 0 20px 36px -16px rgba(0, 102, 255, 0.5);
    }

        .maan-btn-outline:hover .maan-btn-text {
            color: #fff;
        }

        .maan-btn-outline:hover .maan-btn-icon {
            background-color: #fff;
            color: var(--maan-blue);
        }

/* ---------- Mobile ---------- */
@media screen and (max-width: 575px) {
    .maan-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .maan-btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-btn,
    .maan-btn::before,
    .maan-btn .maan-btn-icon,
    .maan-btn .maan-btn-icon svg,
    .maan-btn .maan-btn-text {
        transition: none;
    }

        .maan-btn:hover,
        .maan-btn:active,
        .maan-btn-outline:hover .maan-btn-icon,
        .maan-btn-primary:hover .maan-btn-icon svg {
            transform: none;
        }
}


/* ======= Maan CTA buttons — dark theme =======
   این بخش را فقط به انتهای فایل CSS تم dark اضافه کنید.
   همه‌ی کلاس‌ها با پیشوند maan-cta شروع می‌شوند و با CSS قدیمی (.maan-btn / .maan-actions)
   هیچ تداخلی ندارند؛ متغیرها هم روی خود دکمه تعریف شده‌اند نه روی :root. */

/* ---------- Base ---------- */
.maan-cta {
    --mcta-blue: #0066ff;
    --mcta-blue-light: #3385ff;
    --mcta-blue-dark: #0052cc;
    --mcta-glow: rgba(0, 102, 255, 0.55);
    --mcta-text-shift: 0px; /* اگر متن کمی بالا/پایین بود: -1px یا 1px */
    --mcta-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    direction: rtl;
    gap: 16px;
    min-height: 56px;
    padding: 8px 28px 8px 8px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-family: 'peyda', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--mcta-ease), box-shadow 600ms var(--mcta-ease), border-color 450ms ease;
}

/* قالب قانون "span, a, a:hover { display: inline-block }" دارد که در هاور
   اولویتش از کلاس تنها بیشتر است و flex را خراب می‌کرد. این سلکتورها بالاترند. */
a.maan-cta,
a.maan-cta:hover,
a.maan-cta:focus,
a.maan-cta:active {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    /* تمام‌عرض (جای w-100) */
    a.maan-cta.maan-cta--block,
    a.maan-cta.maan-cta--block:hover,
    a.maan-cta.maan-cta--block:focus,
    a.maan-cta.maan-cta--block:active {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

/* پرده‌ی رنگی هاور (از راست به چپ) */
.maan-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 650ms var(--mcta-ease);
}

.maan-cta:hover::before,
.maan-cta:focus-visible::before {
    transform: scaleX(1);
}

.maan-cta:hover {
    transform: translateY(-3px);
}

.maan-cta:active {
    transform: translateY(-1px) scale(0.985);
    transition-duration: 200ms;
}

.maan-cta:focus-visible {
    outline: 2px solid var(--mcta-blue);
    outline-offset: 4px;
}

/* اگر روی دکمه data-aos باشد، AOS بعد از انیمیشن transform را صفر می‌کند؛
   این دو قانون اولویت بالاتری دارند تا پرش هاور حفظ شود. */
a.maan-cta[data-aos].aos-animate:hover {
    transform: translateY(-3px);
}

a.maan-cta[data-aos].aos-animate:active {
    transform: translateY(-1px) scale(0.985);
}

/* ---------- Text & icon ---------- */
.maan-cta .maan-cta__text {
    display: block;
    flex: 0 0 auto;
    line-height: 1.4;
    transform: translateY(var(--mcta-text-shift, 0px));
    transition: color 450ms ease;
}

.maan-cta .maan-cta__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 450ms ease, color 450ms ease, transform 600ms var(--mcta-ease);
}

    .maan-cta .maan-cta__icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 600ms var(--mcta-ease);
    }

.maan-cta--primary:hover .maan-cta__icon svg {
    transform: translateX(-3px);
}

.maan-cta--outline:hover .maan-cta__icon {
    transform: rotate(-8deg) scale(1.06);
}

/* ---------- Primary ---------- */
.maan-cta--primary {
    background: linear-gradient(135deg, var(--mcta-blue-light) 0%, var(--mcta-blue) 55%, var(--mcta-blue-dark) 100%);
    border-color: var(--mcta-blue);
    box-shadow: 0 14px 30px -14px var(--mcta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .maan-cta--primary::before {
        background-color: #fff;
    }

    .maan-cta--primary .maan-cta__text {
        color: #fff;
    }

    .maan-cta--primary .maan-cta__icon {
        background-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .maan-cta--primary:hover {
        border-color: #fff;
        box-shadow: 0 20px 36px -16px rgba(217, 232, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

        .maan-cta--primary:hover .maan-cta__text {
            color: #1b1b1b;
        }

        .maan-cta--primary:hover .maan-cta__icon {
            background-color: var(--mcta-blue);
            color: #fff;
        }

/* ---------- Outline ---------- */
.maan-cta--outline {
    background-color: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.45);
}

    .maan-cta--outline::before {
        background-color: var(--mcta-blue);
    }

    .maan-cta--outline .maan-cta__text {
        color: #D9E8FF;
    }

    .maan-cta--outline .maan-cta__icon {
        background-color: #0066ff;
        color: #fff;
    }

    .maan-cta--outline:hover {
        border-color: var(--mcta-blue);
        box-shadow: 0 20px 36px -16px rgba(0, 102, 255, 0.5);
    }

        .maan-cta--outline:hover .maan-cta__text {
            color: #fff;
        }

        .maan-cta--outline:hover .maan-cta__icon {
            background-color: #fff;
            color: var(--mcta-blue);
        }

/* ---------- Group (کنار هم؛ در موبایل زیر هم) ---------- */
.maan-cta-group {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

@media screen and (max-width: 575px) {
    .maan-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

        .maan-cta-group .maan-cta {
            width: 100%;
            justify-content: space-between;
        }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-cta,
    .maan-cta::before,
    .maan-cta .maan-cta__icon,
    .maan-cta .maan-cta__icon svg,
    .maan-cta .maan-cta__text {
        transition: none;
    }

        .maan-cta:hover,
        .maan-cta:active,
        a.maan-cta[data-aos].aos-animate:hover,
        a.maan-cta[data-aos].aos-animate:active,
        .maan-cta--outline:hover .maan-cta__icon,
        .maan-cta--primary:hover .maan-cta__icon svg {
            transform: none;
        }
}

/* ======= Maan CTA buttons — dark theme =======
   این بخش را فقط به انتهای فایل CSS تم dark اضافه کنید.
   همه‌ی کلاس‌ها با پیشوند maan-cta شروع می‌شوند و با CSS قدیمی (.maan-btn / .maan-actions)
   هیچ تداخلی ندارند؛ متغیرها هم روی خود دکمه تعریف شده‌اند نه روی :root. */

/* ---------- Base ---------- */
.maan-cta {
    --mcta-blue: #0066ff;
    --mcta-blue-light: #3385ff;
    --mcta-blue-dark: #0052cc;
    --mcta-glow: rgba(0, 102, 255, 0.55);
    --mcta-text-shift: 0px; /* اگر متن کمی بالا/پایین بود: -1px یا 1px */
    --mcta-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    direction: rtl;
    gap: 16px;
    min-height: 56px;
    padding: 8px 28px 8px 8px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-family: 'peyda', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--mcta-ease), box-shadow 600ms var(--mcta-ease), border-color 450ms ease;
}

/* قالب قانون "span, a, a:hover { display: inline-block }" دارد که در هاور
   اولویتش از کلاس تنها بیشتر است و flex را خراب می‌کرد. این سلکتورها بالاترند. */
a.maan-cta,
a.maan-cta:hover,
a.maan-cta:focus,
a.maan-cta:active {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    /* تمام‌عرض (جای w-100) */
    a.maan-cta.maan-cta--block,
    a.maan-cta.maan-cta--block:hover,
    a.maan-cta.maan-cta--block:focus,
    a.maan-cta.maan-cta--block:active {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

/* پرده‌ی رنگی هاور (از راست به چپ) */
.maan-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 650ms var(--mcta-ease);
}

.maan-cta:hover::before,
.maan-cta:focus-visible::before {
    transform: scaleX(1);
}

.maan-cta:hover {
    transform: translateY(-3px);
}

.maan-cta:active {
    transform: translateY(-1px) scale(0.985);
    transition-duration: 200ms;
}

.maan-cta:focus-visible {
    outline: 2px solid var(--mcta-blue);
    outline-offset: 4px;
}

/* اگر روی دکمه data-aos باشد، AOS بعد از انیمیشن transform را صفر می‌کند؛
   این دو قانون اولویت بالاتری دارند تا پرش هاور حفظ شود. */
a.maan-cta[data-aos].aos-animate:hover {
    transform: translateY(-3px);
}

a.maan-cta[data-aos].aos-animate:active {
    transform: translateY(-1px) scale(0.985);
}

/* ---------- Text & icon ---------- */
.maan-cta .maan-cta__text {
    display: block;
    flex: 0 0 auto;
    line-height: 1.4;
    transform: translateY(var(--mcta-text-shift, 0px));
    transition: color 450ms ease;
}

.maan-cta .maan-cta__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 450ms ease, color 450ms ease, transform 600ms var(--mcta-ease);
}

    .maan-cta .maan-cta__icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 600ms var(--mcta-ease);
    }

.maan-cta--primary:hover .maan-cta__icon svg {
    transform: translateX(-3px);
}

.maan-cta--outline:hover .maan-cta__icon {
    transform: rotate(-8deg) scale(1.06);
}

/* ---------- Primary ---------- */
.maan-cta--primary {
    background: linear-gradient(135deg, var(--mcta-blue-light) 0%, var(--mcta-blue) 55%, var(--mcta-blue-dark) 100%);
    border-color: var(--mcta-blue);
    box-shadow: 0 14px 30px -14px var(--mcta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .maan-cta--primary::before {
        background-color: #fff;
    }

    .maan-cta--primary .maan-cta__text {
        color: #fff;
    }

    .maan-cta--primary .maan-cta__icon {
        background-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .maan-cta--primary:hover {
        border-color: #fff;
        box-shadow: 0 20px 36px -16px rgba(217, 232, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

        .maan-cta--primary:hover .maan-cta__text {
            color: #1b1b1b;
        }

        .maan-cta--primary:hover .maan-cta__icon {
            background-color: var(--mcta-blue);
            color: #fff;
        }

/* ---------- Outline ---------- */
.maan-cta--outline {
    background-color: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.45);
}

    .maan-cta--outline::before {
        background-color: var(--mcta-blue);
    }

    .maan-cta--outline .maan-cta__text {
        color: #D9E8FF;
    }

    .maan-cta--outline .maan-cta__icon {
        background-color: #0066ff;
        color: #fff;
    }

    .maan-cta--outline:hover {
        border-color: var(--mcta-blue);
        box-shadow: 0 20px 36px -16px rgba(0, 102, 255, 0.5);
    }

        .maan-cta--outline:hover .maan-cta__text {
            color: #fff;
        }

        .maan-cta--outline:hover .maan-cta__icon {
            background-color: #fff;
            color: var(--mcta-blue);
        }

/* ---------- Group (کنار هم؛ در موبایل زیر هم) ---------- */
.maan-cta-group {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

@media screen and (max-width: 575px) {
    .maan-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

        .maan-cta-group .maan-cta {
            width: 100%;
            justify-content: space-between;
        }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-cta,
    .maan-cta::before,
    .maan-cta .maan-cta__icon,
    .maan-cta .maan-cta__icon svg,
    .maan-cta .maan-cta__text {
        transition: none;
    }

        .maan-cta:hover,
        .maan-cta:active,
        a.maan-cta[data-aos].aos-animate:hover,
        a.maan-cta[data-aos].aos-animate:active,
        .maan-cta--outline:hover .maan-cta__icon,
        .maan-cta--primary:hover .maan-cta__icon svg {
            transform: none;
        }
}


/* ---------- عنوان کال‌تو‌اکشن (بولد و جلب‌توجه) ---------- */
.maan-cta-title {
    direction: rtl;
    text-align: right;
    margin-bottom: 8px;
    padding: 12px 18px;
    border-right: 4px solid #0066ff;
    border-radius: 14px 0 0 14px;
    background-color: rgba(0, 102, 255, 0.15);
    color: #fff;
    font-family: 'peyda', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}

/* ======= Maan Packages (کارت پکیج‌ها) — dark theme =======
   این بخش را به انتهای فایل CSS تم dark اضافه کنید (جایگزین نسخه‌ی قبلی maan-pkg).
   به maan-cta-dark.css هم نیاز دارد (دکمه‌ی پایین کارت). */

.maan-pkg-section {
    position: relative;
}

/* ستون‌ها flex تا همه‌ی کارت‌ها هم‌قد شوند */
.maan-pkg-col {
    display: flex;
}

/* ---------- Card ---------- */
.maan-pkg {
    --mpkg-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --mpkg-blue: #0066ff;
    --mpkg-blue-light: #3385ff;
    --mpkg-blue-dark: #0052cc;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    direction: rtl;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: transform 600ms var(--mpkg-ease), box-shadow 600ms var(--mpkg-ease), border-color 450ms ease;
}

    .maan-pkg:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 102, 255, 0.45);
        box-shadow: 0 24px 40px -22px rgba(0, 102, 255, 0.55);
    }

/* ---------- Head ---------- */
.maan-pkg__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px;
    background: linear-gradient(135deg, var(--mpkg-blue-light) 0%, var(--mpkg-blue) 55%, var(--mpkg-blue-dark) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.maan-pkg__head-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: transform 600ms var(--mpkg-ease);
}

.maan-pkg:hover .maan-pkg__head-icon {
    transform: rotate(-8deg) scale(1.06);
}

.maan-pkg__head-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.maan-pkg__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

/* ---------- List: ردیف‌ها کل ارتفاع کارت را مساوی بین خودشان تقسیم می‌کنند ---------- */
.maan-pkg__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.maan-pkg__item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
    text-align: right;
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.maan-pkg__text {
    display: block;
    flex: 1;
}

.maan-pkg__val {
    display: inline;
}

.maan-pkg__key {
    margin-left: 4px;
    font-weight: 700;
    color: #3385ff;
}

/* ---------- ردیف معمولی: خط‌خطی (zebra) + نشانگر آبی + هاور ---------- */
.maan-pkg__item--row {
    flex: 1 1 auto;
    padding-right: 48px;
    transition: background-color 450ms ease, color 450ms ease;
}

    .maan-pkg__item--row:nth-child(odd) {
        background-color: rgba(255, 255, 255, 0.035);
    }

    .maan-pkg__item--row::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 26px;
        width: 4px;
        height: 22px;
        border-radius: 4px;
        background-color: rgba(0, 102, 255, 0.55);
        transform: translateY(-50%);
        transition: height 450ms var(--mpkg-ease), background-color 450ms ease;
    }

.maan-pkg:hover .maan-pkg__item--row::before {
    background-color: var(--mpkg-blue);
}

.maan-pkg__item--row:hover {
    background-color: rgba(0, 102, 255, 0.18);
    color: #fff;
}

    .maan-pkg__item--row:hover::before {
        height: 34px;
        background-color: var(--mpkg-blue);
    }

/* ---------- عنوان‌های دسته (مثل «ویژگی‌های فنی:») ---------- */
.maan-pkg__item--label {
    flex: 0 0 auto;
    padding-top: 16px;
    padding-bottom: 8px;
    border-bottom: 0;
    font-size: 15px;
    font-weight: 700;
    color: #3385ff;
}

/* ---------- ردیف قیمت: بدون آیکون، بنر قرمز ---------- */
.maan-pkg__item--price {
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(255, 90, 106, 0.4);
    border-bottom: 0;
    background-color: rgba(255, 90, 106, 0.14);
    color: #ff5a6a;
}

    .maan-pkg__item--price .maan-pkg__key,
    .maan-pkg__item--price .maan-pkg__val {
        color: #ff5a6a;
    }

    .maan-pkg__item--price .maan-pkg__val {
        font-size: 15px;
        font-weight: 800;
    }

/* ---------- Foot (CTA) ---------- */
.maan-pkg__foot {
    padding: 22px 26px 26px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-pkg,
    .maan-pkg__head-icon,
    .maan-pkg__item--row,
    .maan-pkg__item--row::before {
        transition: none;
    }

        .maan-pkg:hover,
        .maan-pkg:hover .maan-pkg__head-icon {
            transform: none;
        }
}


/* ---------- فهرست مطالب (کارت یک‌پارچه مثل sidebar-car، چسبان) ---------- */
.maan-doc-toc {
    position: sticky;
    top: 120px;
    direction: rtl;
    overflow: hidden;
    background-color: #222;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
}

.maan-doc-toc__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.maan-doc-toc__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

    .maan-doc-toc__icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.maan-doc-toc__title {
    margin: 0;
    font-family: 'peyda', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.maan-doc-toc__body {
    padding: 18px 18px 22px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0066ff transparent;
    scrollbar-color: rgba(0, 102, 255, 0.6) transparent;
}

.maan-doc-toc ul {
    margin: 0;
    padding: 0;
}

.maan-doc-toc li {
    margin-bottom: 4px;
}

.maan-doc-toc a {
    display: block;
    padding: 9px 14px;
    border-right: 3px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

    .maan-doc-toc a:hover {
        background-color: rgba(0, 102, 255, 0.18);
        border-right-color: #0066ff;
        color: #fff;
        transform: translateX(-4px);
    }

.maan-doc-toc li.is-sub a {
    margin-right: 16px;
    font-size: 13px;
}

@media screen and (max-width: 991px) {
    .maan-doc-toc {
        position: static;
    }

    .maan-doc-toc__body {
        max-height: none;
    }

    .maan-prose {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-prose a,
    .maan-doc-toc a {
        transition: none;
    }

        .maan-doc-toc a:hover {
            transform: none;
        }
}

/* وسط‌چین کردن گروه دکمه‌ها (مثلاً در لندینگ lets-talk) */
.maan-cta-group--center {
    justify-content: center;
}
/* دکمه‌ی outline روی بخش‌های دارای عکس/overlay: پس‌زمینه‌ی نیمه‌مات تا متن خوانا بماند */
[data-overlay-dark] .maan-cta--outline {
    background-color: rgba(27, 27, 27, 0.72);
    border-color: rgba(0, 102, 255, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

    [data-overlay-dark] .maan-cta--outline .maan-cta__text {
        color: #fff;
    }

    [data-overlay-dark] .maan-cta--outline .maan-cta__icon {
        background-color: #0066ff;
        color: #fff;
    }

        [data-overlay-dark] .maan-cta--outline .maan-cta__icon svg {
            stroke: #fff;
        }

    [data-overlay-dark] .maan-cta--outline:hover {
        border-color: #0066ff;
    }

        [data-overlay-dark] .maan-cta--outline:hover .maan-cta__icon {
            background-color: #fff;
            color: #0066ff;
        }

            [data-overlay-dark] .maan-cta--outline:hover .maan-cta__icon svg {
                stroke: #0066ff;
            }

/* ======= Magnific Popup: ریست استایل‌های سراسری قالب روی فلش‌ها و دکمه‌ها ======= */
button.mfp-arrow {
    position: absolute;
    top: 50%;
    width: 90px;
    height: 110px;
    margin: -55px 0 0;
    padding: 0;
    line-height: 0;
    background: transparent;
    border: 0;
    opacity: 0.65;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    cursor: pointer;
    overflow: visible;
    transition: opacity 0.2s ease;
}

    button.mfp-arrow:hover,
    button.mfp-arrow:focus {
        opacity: 1;
        background: transparent;
    }

    button.mfp-arrow:active {
        margin-top: -54px;
    }

.mfp-arrow-left {
    left: 0;
    right: auto;
}

.mfp-arrow-right {
    right: 0;
    left: auto;
}

/* مثلث‌های فلش */
.mfp-arrow::before,
.mfp-arrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow::after {
    top: 8px;
    border-top-width: 13px;
    border-bottom-width: 13px;
}

.mfp-arrow::before {
    opacity: 0.7;
    border-top-width: 21px;
    border-bottom-width: 21px;
}

.mfp-arrow-left::after {
    margin-left: 31px;
    border-right: 17px solid #fff;
}

.mfp-arrow-left::before {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right::after {
    margin-left: 39px;
    border-left: 17px solid #fff;
}

.mfp-arrow-right::before {
    border-left: 27px solid #3f3f3f;
}

/* دکمه‌ی بستن */
button.mfp-close {
    line-height: 44px;
    color: #fff;
    opacity: 0.8;
}

    button.mfp-close:hover {
        color: #fff;
        opacity: 1;
    }

/* تصویر داخل پاپ‌آپ نباید تحت تأثیر قانون img سراسری و transition باشه */
.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    transition: none;
}

@media (max-width: 900px) {
    button.mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }
}



/* استایل‌های شخصی‌سازی شده برای جعبه ناوبری (Section Map) */
.services-box .nav-scroll-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.services-box .item {
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

    .services-box .item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

/* مدال ویدیو */
.video-modal .modal-content {
    background: #000;
    border-radius: 12px;
    overflow: visible;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    position: relative;
}

.video-modal .modal-body {
    border-radius: 12px;
    overflow: hidden;
}

.video-modal .modal-dialog {
    max-width: 900px;
}

.video-modal .ratio iframe,
.video-modal .ratio video {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: -18px;
    inset-inline-end: -18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #1b1b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px #000000;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

    .video-modal-close:hover {
        background: #e63946;
        color: #fff;
        transform: scale(1.08) rotate(90deg);
    }

    .video-modal-close:focus {
        outline: none;
        box-shadow: 0 0 0 3px #e63946;
        box-shadow: 0 0 0 3px rgba(230, 57, 70, .35);
    }

@media (max-width: 576px) {
    .video-modal-close {
        top: -14px;
        inset-inline-end: -8px;
        width: 34px;
        height: 34px;
    }
}

/* ======= Maan Section Nav (دسترسی سریع به بخش‌های صفحه) — dark theme =======
   این بخش را به انتهای فایل CSS تم dark اضافه کنید.
   جایگزین کلاس‌های قدیمی services-box برای این نوار می‌شود. */

.maan-snav {
    --msn-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --msn-blue: #0066ff;
    --msn-blue-light: #3385ff;
    --msn-blue-dark: #0052cc;
    position: relative;
    z-index: 5;
    margin-top: -70px;
    margin-bottom: 30px;
}

/* ---------- Box ---------- */
.maan-snav__box {
    direction: rtl;
    padding: 18px 20px 20px;
    background-color: #222;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 24px 44px -24px #000000;
    box-shadow: 0 24px 44px -24px rgba(0, 0, 0, 0.7);
}

/* ---------- Head (عنوان کلی) ---------- */
.maan-snav__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.maan-snav__head-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--msn-blue-light) 0%, var(--msn-blue) 55%, var(--msn-blue-dark) 100%);
    color: #fff;
}

    .maan-snav__head-icon svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.maan-snav .maan-snav__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
    color: #fff;
}

/* ---------- Grid ---------- */
.maan-snav__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

/* ---------- Item ---------- */
a.maan-snav__item,
a.maan-snav__item:hover,
a.maan-snav__item:focus {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.maan-snav__item {
    gap: 10px;
    padding: 10px 12px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.035);
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    transition: transform 500ms var(--msn-ease), background-color 400ms ease, border-color 400ms ease, box-shadow 500ms var(--msn-ease);
}

    .maan-snav__item:hover,
    .maan-snav__item:focus-visible {
        transform: translateY(-3px);
        background-color: #0066ff;
        background-color: rgba(0, 102, 255, 0.16);
        border-color: #0066ff;
        border-color: rgba(0, 102, 255, 0.45);
        box-shadow: 0 14px 24px -16px #0066ff;
        box-shadow: 0 14px 24px -16px rgba(0, 102, 255, 0.55);
    }

    .maan-snav__item:focus-visible {
        outline: 2px solid var(--msn-blue);
        outline-offset: 3px;
    }

/* آیکون کوچک (themify) داخل دایره */
.maan-snav .maan-snav__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #0066ff;
    background-color: rgba(0, 102, 255, 0.18);
    color: #3385ff;
    font-size: 14px;
    line-height: 1;
    transition: background-color 400ms ease, color 400ms ease, transform 500ms var(--msn-ease);
}

.maan-snav__item:hover .maan-snav__icon,
.maan-snav__item:focus-visible .maan-snav__icon {
    background-color: var(--msn-blue);
    color: #fff;
    transform: scale(1.08);
}

.maan-snav .maan-snav__text {
    display: block;
    min-width: 0;
}

.maan-snav .maan-snav__name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.maan-snav .maan-snav__sub {
    display: block;
    font-size: 11.5px;
    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- روی sidebar-car را نگیرد ----------
   قالب برای sidebar-car مارجین منفی دارد (تا روی بنر بیاید). وقتی این نوار قبل از بخش
   جزئیات است، آن مارجین را خنثی می‌کنیم و فاصله‌ی بالایی بخش را کم می‌کنیم. */
.maan-snav + .car-details {
    padding-top: 80px;
}

    .maan-snav + .car-details .sidebar-car {
        margin-top: 0;
    }

/* ---------- Mobile ---------- */
@media screen and (max-width: 767px) {
    .maan-snav {
        margin-top: -40px;
    }

    .maan-snav__box {
        padding: 14px;
    }

    .maan-snav__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .maan-snav__item {
        padding: 9px 10px;
    }

    .maan-snav .maan-snav__sub {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-snav__item,
    .maan-snav .maan-snav__icon {
        transition: none;
    }

        .maan-snav__item:hover,
        .maan-snav__item:hover .maan-snav__icon {
            transform: none;
        }
}
/* ======= Shared details sidebar actions ======= */
.maan-details-actions {
    display: grid;
    gap: 8px;
}

.maan-details-actions__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 102, 255, 0.16);
    border-radius: 12px;
    background: #1B1B1B;
    color: var(--maside-text, #1b1b1b);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 300ms ease, border-color 300ms ease, background-color 300ms ease;
}

.maan-details-actions__link:hover,
.maan-details-actions__link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--maside-blue, #0066ff);
    background: var(--maside-blue-soft, #d9e8ff);
    color: var(--maside-text, #1b1b1b);
}

/* ======= Shared details section ======= */
.car-details .maan-details__summary {
    margin: 0 0 15px;
    font-family: 'peyda', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.95;
    color: #555;
}

.car-details .maan-details__spec-title {
    margin-top: 10px;
}

@media screen and (max-width: 575px) {
    .car-details .maan-details__summary {
        font-size: 18px;
        line-height: 1.8;
    }
}

/* ======= Maan Motion — انیمیشن ورود با AOS (بدون رنگ؛ برای هر دو تم) =======
   این بخش را به انتهای CSS هر دو تم (یا CSS مشترک سایت) اضافه کنید.
   اصل کار: AOS فقط «ماشه» است (کلاس aos-animate را اضافه می‌کند)؛ خود حرکت‌ها اینجا
   تعریف شده‌اند تا یک زبان حرکتی واحد داشته باشند: یک منحنی، یک مدت، یک فاصله.
   همه‌ی قواعد زیر .maan-motion هستند؛ این کلاس را JS فقط وقتی AOS آماده است
   روی <html> می‌گذارد، پس اگر JS لود نشد، محتوا همیشه دیده می‌شود. */

:root {
    --mm-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --mm-dur: 900ms;
    --mm-dist: 28px;
}

/* ---------- انیمیشن‌های تکی (روی خود عنصر) ---------- */
.maan-motion [data-aos^="maan-"] {
    transition-property: opacity, transform;
    transition-duration: var(--mm-dur) !important;
    transition-timing-function: var(--mm-ease) !important;
}

.maan-motion [data-aos="maan-up"] {
    opacity: 0;
    transform: translate3d(0, var(--mm-dist), 0);
}

.maan-motion [data-aos="maan-left"] {
    opacity: 0;
    transform: translate3d(calc(var(--mm-dist) * -1.4), 0, 0);
}

.maan-motion [data-aos="maan-right"] {
    opacity: 0;
    transform: translate3d(calc(var(--mm-dist) * 1.4), 0, 0);
}

.maan-motion [data-aos="maan-zoom"] {
    opacity: 0;
    transform: scale(0.96);
}

.maan-motion [data-aos="maan-fade"] {
    opacity: 0;
}

.maan-motion [data-aos="maan-line"] {
    opacity: 0;
    transform: scaleY(0.2);
    transform-origin: top center;
}

/* حالت نهایی: transform: none تا stacking-context اضافه نماند
   (برای position: sticky و متن شفاف و بدون تاری مهم است) */
.maan-motion [data-aos^="maan-"].aos-animate {
    opacity: 1;
    transform: none;
}

/* ---------- Stagger: والد را AOS می‌بیند، فرزندها پله‌پله می‌آیند ----------
   فرزندها با keyframes (نه transition) حرکت می‌کنند و fill-mode فقط backwards است؛
   پس بعد از پایان، transform دوباره دست خود فرزند است و هاور کارت‌ها/دکمه‌ها
   خراب نمی‌شود. اندیس هر فرزند (--mm-i) و فاصله (--mm-step) را JS می‌گذارد. */
.maan-motion [data-aos="maan-stagger"]:not(.aos-animate) > *,
.maan-motion [data-aos="maan-stagger-fade"]:not(.aos-animate) > * {
    opacity: 0;
}

.maan-motion [data-aos="maan-stagger"].aos-animate > * {
    animation: mm-rise var(--mm-dur) var(--mm-ease) backwards;
    animation-delay: calc(var(--mm-i, 0) * var(--mm-step, 90ms));
}

.maan-motion [data-aos="maan-stagger-fade"].aos-animate > * {
    animation: mm-fade 700ms ease-out backwards;
    animation-delay: calc(var(--mm-i, 0) * var(--mm-step, 60ms));
}

@keyframes mm-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes mm-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-motion [data-aos^="maan-"],
    .maan-motion [data-aos^="maan-"] > * {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}
/* بنر قیمت: وسط‌چین و برجسته‌تر */
.maan-pkg__item--price {
    justify-content: center;
    text-align: center;
}

    .maan-pkg__item--price .maan-pkg__text {
        text-align: center;
    }

    .maan-pkg__item--price .maan-pkg__val {
        font-size: 17px;
        font-weight: 800;
    }

    .maan-pkg__item--price::before {
        display: none; /* نشانگر آبی ردیف‌های معمولی روی بنر قیمت نباشد */
    }

/* ---------- ردیف قیمت: دقیقاً مثل ردیف معمولی، با رنگ قرمز ---------- */
.maan-pkg__item--price {
    flex: 1 1 auto;
    padding-right: 48px;
    border-bottom: 1px solid #ff5a6a;
    border-bottom: 1px solid rgba(255, 90, 106, 0.18);
    background-color: #ff5a6a;
    background-color: rgba(255, 90, 106, 0.12);
    color: #ff5a6a;
    font-weight: 700;
    transition: background-color 450ms ease;
}

    .maan-pkg__item--price::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 26px;
        width: 4px;
        height: 22px;
        border-radius: 4px;
        background-color: #ff5a6a;
        transform: translateY(-50%);
        transition: height 450ms var(--mpkg-ease);
    }

    .maan-pkg__item--price .maan-pkg__key,
    .maan-pkg__item--price .maan-pkg__val {
        color: #ff5a6a;
        font-weight: 700;
    }

    .maan-pkg__item--price:hover {
        background-color: #ff5a6a;
        background-color: rgba(255, 90, 106, 0.2);
    }

        .maan-pkg__item--price:hover::before {
            height: 34px;
        }
/* ======= Maan Prev/Next (خدمت قبلی و بعدی) ======= */
.maan-pn-section {
    padding: 60px 0;
    overflow: hidden;
}

.maan-pn-wrap {
    direction: rtl;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.maan-pn-slot,
.maan-pn-slot--end {
    display: flex;
    min-width: 0;
}

/* ---------- کارت (هر دو هم‌اندازه) ---------- */
.maan-pn-section a.maan-pn {
    --pn-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    height: 76px;
    padding: 0 12px 0 26px;
    border: 1px solid var(--pn-border);
    border-radius: 40px;
    background-color: var(--pn-bg);
    line-height: 1.5;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--pn-ease), box-shadow 600ms var(--pn-ease), border-color 450ms ease;
}

.maan-pn-section a.maan-pn--prev {
    padding: 0 12px 0 26px;
    flex-direction: row;
}

.maan-pn-section a.maan-pn--next {
    padding: 0 26px 0 12px;
    flex-direction: row;
}

/* پرده‌ی آبی هاور: از لبه‌ی خود کارت باز می‌شود */
.maan-pn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    transform: scaleX(0);
    transition: transform 650ms var(--pn-ease);
}

.maan-pn--prev::before {
    transform-origin: right center;
}

.maan-pn--next::before {
    transform-origin: left center;
}

.maan-pn:hover::before,
.maan-pn:focus-visible::before {
    transform: scaleX(1);
}

.maan-pn-section a.maan-pn:hover {
    transform: translateY(-4px);
    border-color: #0066ff;
    box-shadow: 0 22px 38px -20px rgba(0, 102, 255, 0.6);
}

.maan-pn-section a.maan-pn:active {
    transform: translateY(-1px) scale(0.985);
    transition-duration: 200ms;
}

.maan-pn-section a.maan-pn:focus-visible,
.maan-pn-section a.maan-pn-all:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 4px;
}

/* ---------- آیکون دایره‌ای (شورون) ---------- */
.maan-pn__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: background 450ms ease, color 450ms ease, transform 600ms var(--pn-ease);
}

    .maan-pn__icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        animation: maan-pn-nudge-prev 2.6s ease-in-out infinite;
    }

.maan-pn--next .maan-pn__icon svg {
    animation-name: maan-pn-nudge-next;
}

.maan-pn:hover .maan-pn__icon {
    background: #fff;
    color: #0066ff;
    transform: scale(1.08) rotate(-6deg);
}

    .maan-pn:hover .maan-pn__icon svg {
        animation: none;
        transform: translateX(3px);
        transition: transform 500ms var(--pn-ease);
    }

.maan-pn--next:hover .maan-pn__icon svg {
    transform: translateX(-3px);
}

@keyframes maan-pn-nudge-prev {
    0%, 60%, 100% {
        transform: translateX(0);
    }

    80% {
        transform: translateX(3px);
    }
}

@keyframes maan-pn-nudge-next {
    0%, 60%, 100% {
        transform: translateX(0);
    }

    80% {
        transform: translateX(-3px);
    }
}

/* ---------- متن ---------- */
.maan-pn__text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.maan-pn__label {
    display: block;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--pn-label);
    transition: color 450ms ease;
}

.maan-pn__name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--pn-text);
    transition: color 450ms ease;
}

.maan-pn:hover .maan-pn__label,
.maan-pn:hover .maan-pn__name {
    color: #fff;
}

/* ---------- دکمه‌ی وسط: همه‌ی خدمات ---------- */
.maan-pn-section a.maan-pn-all {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 1px solid var(--pn-border);
    border-radius: 50%;
    background-color: var(--pn-bg);
    color: #fff;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), background-color 450ms ease, color 450ms ease, border-color 450ms ease;
}

.maan-pn-all svg {
    width: 26px;
    height: 26px;
    fill: currentColor; /* برای دایره‌های توپر */
    stroke: none;
}

/* حلقه‌ی پالس */
.maan-pn-all::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid #fff;
    border-radius: 50%;
    opacity: 0;
    animation: maan-pn-pulse 3s ease-out infinite;
}

@keyframes maan-pn-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }

    70% {
        transform: scale(1.7);
        opacity: 0;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.maan-pn-section a.maan-pn-all:hover {
    background-color: #0066ff;
    border-color: #0066ff;
    color: #fff;
    transform: scale(1.08);
}

/* ---------- ریسپانسیو ---------- */
@media screen and (max-width: 767px) {
    .maan-pn-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .maan-pn-all {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }

    .maan-pn-section a.maan-pn {
        height: 68px;
        gap: 10px;
    }

    .maan-pn-section a.maan-pn--prev {
        padding: 0 8px 0 14px;
    }

    .maan-pn-section a.maan-pn--next {
        padding: 0 14px 0 8px;
    }

    .maan-pn__icon {
        width: 44px;
        height: 44px;
    }

        .maan-pn__icon svg {
            width: 20px;
            height: 20px;
        }

    .maan-pn-section a.maan-pn-all {
        width: 60px;
        height: 60px;
    }

    .maan-pn-all svg {
        width: 22px;
        height: 22px;
    }

    .maan-pn__name {
        font-size: 13px;
    }
}

@media screen and (max-width: 479px) {
    .maan-pn-wrap {
        grid-template-columns: 1fr;
    }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-pn,
    .maan-pn::before,
    .maan-pn__icon,
    .maan-pn__icon svg,
    .maan-pn-all {
        transition: none;
        animation: none;
    }

        .maan-pn-all::after {
            animation: none;
            display: none;
        }

    .maan-pn-section a.maan-pn:hover,
    .maan-pn-section a.maan-pn-all:hover {
        transform: none;
    }
}

/* ---------- تم تیره ---------- */
.maan-pn-section {
    background-color: #1b1b1b;
    border-top: 1px solid #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    --pn-bg: #0066ff;
    --pn-border: #0066ff;
    --pn-text: #fff;
    --pn-label: #ffffff;
}


/* موج بالایی گالری باید در فاصله‌ی بین دو سکشن قرار بگیرد، نه روی سکشن قبلی. */
section.maan-gal.maan-band {
    margin-top: var(--mw-h);
}

/* ======= Maan Gallery (کارت کوتیشن + گرید کارت تصاویر) ======= */
.maan-gal {
    --gal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- کارت کوتیشن ---------- */
.maan-gal__quote {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 40px 32px;
    direction: rtl;
    text-align: right;
    border-radius: 20px;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 24px 40px -24px #0066ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 40px -24px rgba(0, 102, 255, 0.6);
}

    /* حلقه‌های تزئینی پس‌زمینه */
    .maan-gal__quote::before,
    .maan-gal__quote::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border: 1px solid #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.14);
        pointer-events: none;
    }

    .maan-gal__quote::before {
        width: 260px;
        height: 260px;
        left: -110px;
        bottom: -120px;
    }

    .maan-gal__quote::after {
        width: 160px;
        height: 160px;
        left: -50px;
        bottom: -60px;
    }

.maan-gal .maan-gal__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 50%;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.maan-gal__mark svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.maan-gal .maan-gal__text {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    padding: 0;
    quotes: none;
    font-family: 'peyda', sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 2.1;
    color: #fff;
    text-align: justify
}

.maan-gal__by {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.maan-gal .maan-gal__by-line {
    display: block;
    flex: 0 0 auto;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.65);
}

.maan-gal .maan-gal__by-name {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    color: rgba(255, 255, 255, 0.88);
}

.maan-gal .maan-gal__count {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: 26px;
    padding: 5px 16px;
    border-radius: 30px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    color: #fff;
}

/* ---------- گرید کارت‌ها ---------- */
.maan-gal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* قانون سراسری قالب (a:hover → inline-block) نباید بلاک بودن کارت را بشکند */
a.maan-gal__card,
a.maan-gal__card:hover,
a.maan-gal__card:focus {
    display: block;
}

a.maan-gal__card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background-color: #222;
    box-shadow: 0 18px 36px -24px #000000;
    box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.55);
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--gal-ease), box-shadow 600ms var(--gal-ease);
}

    /* اولین کارت بزرگ و تمام‌عرض */
    a.maan-gal__card:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }

    /* اگر تعداد کل زوج باشد، آخری تنها می‌ماند؛ تمام‌عرض می‌شود */
    a.maan-gal__card:last-child:nth-child(even) {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 8;
    }

    a.maan-gal__card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 800ms var(--gal-ease);
    }

    /* گرادیان آبی تیره از پایین */
    a.maan-gal__card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to top, rgba(0, 28, 82, 0.82) 0%, rgba(0, 82, 204, 0.25) 55%, transparent 100%);
        opacity: 0;
        transition: opacity 500ms ease;
    }

    a.maan-gal__card:hover,
    a.maan-gal__card:focus-visible {
        transform: translateY(-5px);
        box-shadow: 0 28px 46px -22px #0066ff;
        box-shadow: 0 28px 46px -22px rgba(0, 102, 255, 0.6);
    }

        a.maan-gal__card:hover img,
        a.maan-gal__card:focus-visible img {
            transform: scale(1.07);
        }

        a.maan-gal__card:hover::before,
        a.maan-gal__card:focus-visible::before {
            opacity: 1;
        }

    a.maan-gal__card:focus-visible {
        outline: 2px solid #0066ff;
        outline-offset: 3px;
    }

/* آیکون بزرگ‌نمایی */
.maan-gal .maan-gal__zoom {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    color: #0066ff;
    opacity: 0;
    transform: scale(0.6) rotate(-45deg);
    transition: opacity 400ms ease, transform 600ms var(--gal-ease);
}

.maan-gal__zoom svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
}

a.maan-gal__card:hover .maan-gal__zoom,
a.maan-gal__card:focus-visible .maan-gal__zoom {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* عنوان تصویر */
.maan-gal .maan-gal__cap {
    position: absolute;
    right: 18px;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: rtl;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 450ms ease, transform 600ms var(--gal-ease);
}

a.maan-gal__card:hover .maan-gal__cap,
a.maan-gal__card:focus-visible .maan-gal__cap {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ریسپانسیو ---------- */
@media screen and (max-width: 991px) {
    .maan-gal__quote {
        padding: 30px 24px;
    }

    .maan-gal .maan-gal__text {
        font-size: 17px;
    }

    /* در لمس هاور نداریم؛ عنوان همیشه دیده شود */
    .maan-gal .maan-gal__cap {
        opacity: 1;
        transform: none;
    }

    a.maan-gal__card::before {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 28, 82, 0.7) 0%, transparent 55%);
    }
}

@media screen and (max-width: 575px) {
    .maan-gal__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    a.maan-gal__card,
    a.maan-gal__card:first-child,
    a.maan-gal__card:last-child:nth-child(even) {
        grid-column: auto;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    a.maan-gal__card,
    a.maan-gal__card img,
    a.maan-gal__card::before,
    .maan-gal .maan-gal__zoom,
    .maan-gal .maan-gal__cap {
        transition: none;
    }

        a.maan-gal__card:hover,
        a.maan-gal__card:hover img {
            transform: none;
        }
}
/* ---------- اصلاح: جلوگیری از روی‌هم‌افتادن کارت‌ها ---------- */
.maan-gal__grid {
    align-items: start;
    grid-auto-rows: auto;
}

a.maan-gal__card,
a.maan-gal__card:first-child,
a.maan-gal__card:last-child:nth-child(even) {
    aspect-ratio: auto;
    height: 0;
    padding-top: 75%; /* نسبت 4:3 */
}

    a.maan-gal__card:first-child {
        padding-top: 56.25%; /* نسبت 16:9 */
    }

    a.maan-gal__card:last-child:nth-child(even) {
        padding-top: 50%; /* نسبت 2:1 */
    }

    a.maan-gal__card img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    }

@media screen and (max-width: 575px) {
    a.maan-gal__card,
    a.maan-gal__card:first-child,
    a.maan-gal__card:last-child:nth-child(even) {
        padding-top: 75%;
    }
}
/* ======= Maan Gallery: موزاییک نامنظم (ساختار مثل تصویر مرجع) ======= */
.maan-gal__mosaic {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.92;
    direction: ltr; /* مختصات از چپ حساب می‌شود؛ ترتیب بصری ثابت می‌ماند */
}

a.maan-gal__tile,
a.maan-gal__tile:hover,
a.maan-gal__tile:focus {
    display: block;
}

a.maan-gal__tile {
    --tile-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: absolute;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    background: linear-gradient(160deg, #3385ff 0%, #0066ff 45%, #0a1fa8 100%);
    box-shadow: 0 16px 30px -18px #00288c;
    box-shadow: 0 16px 30px -18px rgba(0, 40, 140, 0.7);
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--tile-ease), box-shadow 600ms var(--tile-ease), z-index 0s;
}

    a.maan-gal__tile img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        transition: transform 800ms var(--tile-ease);
    }

    /* پرده‌ی آبی و آیکون هاور */
    a.maan-gal__tile::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to top, rgba(0, 28, 82, 0.7), transparent 60%);
        opacity: 0;
        transition: opacity 400ms ease;
    }

    a.maan-gal__tile:hover,
    a.maan-gal__tile:focus-visible {
        z-index: 5;
        transform: translateY(-6px) scale(1.04);
        box-shadow: 0 26px 44px -20px #0066ff;
        box-shadow: 0 26px 44px -20px rgba(0, 102, 255, 0.75);
    }

        a.maan-gal__tile:hover img {
            transform: scale(1.08);
        }

        a.maan-gal__tile:hover::before,
        a.maan-gal__tile:focus-visible::before {
            opacity: 1;
        }

    a.maan-gal__tile:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    a.maan-gal__tile .maan-gal__zoom {
        top: 50%;
        left: 50%;
        width: 38px;
        height: 38px;
        margin: -19px 0 0 -19px;
    }

    a.maan-gal__tile:hover .maan-gal__zoom,
    a.maan-gal__tile:focus-visible .maan-gal__zoom {
        opacity: 1;
        transform: scale(1) rotate(0);
    }

/* ---------- موقعیت و اندازه‌ی هر کارت (درصد از بوم) ---------- */
.maan-gal__tile--1 {
    left: 39%;
    top: 29%;
    width: 26%;
    height: 31%;
    border-radius: 20px;
}
/* بزرگ مرکزی */
.maan-gal__tile--2 {
    left: 68%;
    top: 17%;
    width: 18%;
    height: 21%;
}

.maan-gal__tile--3 {
    left: 33%;
    top: 5%;
    width: 11%;
    height: 12%;
}

.maan-gal__tile--4 {
    left: 89%;
    top: 28%;
    width: 9%;
    height: 13%;
}

.maan-gal__tile--5 {
    left: 68%;
    top: 42%;
    width: 18%;
    height: 26%;
}

.maan-gal__tile--6 {
    left: 89%;
    top: 44%;
    width: 9%;
    height: 13%;
}

.maan-gal__tile--7 {
    left: 31%;
    top: 36%;
    width: 6%;
    height: 12%;
}

.maan-gal__tile--8 {
    left: 13%;
    top: 53%;
    width: 10%;
    height: 14%;
}

.maan-gal__tile--9 {
    left: 25%;
    top: 53%;
    width: 12%;
    height: 22%;
}

.maan-gal__tile--10 {
    left: 39%;
    top: 63%;
    width: 11%;
    height: 12%;
}

.maan-gal__tile--11 {
    left: 52%;
    top: 63%;
    width: 13%;
    height: 25%;
}

.maan-gal__tile--12 {
    left: 13%;
    top: 72%;
    width: 10%;
    height: 14%;
}

.maan-gal__tile--13 {
    left: 25%;
    top: 78%;
    width: 12%;
    height: 18%;
}

.maan-gal__tile--14 {
    left: 68%;
    top: 72%;
    width: 10%;
    height: 14%;
}

/* ---------- ریسپانسیو ---------- */
@media screen and (max-width: 991px) {
    .maan-gal__mosaic {
        margin-top: 10px;
    }
}

@media screen and (max-width: 575px) {
    .maan-gal__mosaic {
        aspect-ratio: 1 / 1.1;
    }

    a.maan-gal__tile {
        border-radius: 10px;
    }

    .maan-gal__tile--1 {
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    a.maan-gal__tile,
    a.maan-gal__tile img {
        transition: none;
    }

        a.maan-gal__tile:hover {
            transform: none;
        }
}

/* ======= Maan Gallery: گرید ساده برای تعداد کم تصویر ======= */
.maan-gal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: stretch;
    grid-auto-rows: auto;
}

/* یک تصویر: تمام‌عرض */
.maan-gal__grid--count-1 {
    grid-template-columns: 1fr;
}

/* کارت: ارتفاع را با aspect-ratio می‌دهیم، نه padding-top قدیمی */
a.maan-gal__card,
a.maan-gal__card:first-child,
a.maan-gal__card:last-child:nth-child(even) {
    position: relative;
    display: block;
    height: auto;
    padding-top: 0;
    grid-column: auto;
    aspect-ratio: 4 / 3;
}

/* اگر تعداد فرد باشد، اولی بزرگ و تمام‌عرض */
.maan-gal__grid--count-3 a.maan-gal__card:first-child,
.maan-gal__grid--count-5 a.maan-gal__card:first-child,
.maan-gal__grid--count-7 a.maan-gal__card:first-child,
.maan-gal__grid--count-1 a.maan-gal__card:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

a.maan-gal__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* ======= Maan Play (دکمه‌ی پخش ویدیو) ======= */
.maan-play,
a.maan-play:hover,
a.maan-play:focus,
a.maan-play:active {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

a.maan-play {
    --play-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --play-size: 96px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* ---------- هسته‌ی دایره‌ای ---------- */
.maan-play__core {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--play-size);
    height: var(--play-size);
    border-radius: 50%;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    color: #fff;
    box-shadow: 0 18px 40px -14px #0066ff, inset 0 1px 0 #ffffff;
    box-shadow: 0 18px 40px -14px rgba(0, 102, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 600ms var(--play-ease), background 450ms ease, color 450ms ease, box-shadow 600ms var(--play-ease);
}

    .maan-play__core svg {
        width: 34px;
        height: 34px;
        margin-left: 4px; /* اصلاح مرکز بصری مثلث */
        fill: currentColor;
        stroke: none;
        transition: transform 600ms var(--play-ease);
    }

/* ---------- حلقه‌های پالس ---------- */
.maan-play__ring {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: var(--play-size);
    height: var(--play-size);
    margin-left: calc(var(--play-size) / -2);
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: maan-play-pulse 3s ease-out infinite;
}

.maan-play__ring--2 {
    animation-delay: 1.5s;
}

@keyframes maan-play-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.9);
        opacity: 0;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* ---------- برچسب ---------- */
.maan-play__label {
    padding: 6px 18px;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    background-color: #1b1b1b;
    background-color: rgba(27, 27, 27, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    color: #fff;
    transition: background-color 450ms ease, border-color 450ms ease, transform 600ms var(--play-ease);
}

/* ---------- هاور / فوکوس ---------- */
a.maan-play:hover .maan-play__core,
a.maan-play:focus-visible .maan-play__core {
    transform: scale(1.1) rotate(-6deg);
    background: #fff;
    color: #0066ff;
    box-shadow: 0 24px 46px -16px #ffffff, inset 0 1px 0 #ffffff;
    box-shadow: 0 24px 46px -16px rgba(255, 255, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

    a.maan-play:hover .maan-play__core svg,
    a.maan-play:focus-visible .maan-play__core svg {
        transform: translateX(3px);
    }

a.maan-play:hover .maan-play__label,
a.maan-play:focus-visible .maan-play__label {
    background-color: #0066ff;
    border-color: #0066ff;
    transform: translateY(-3px);
}

a.maan-play:active .maan-play__core {
    transform: scale(0.96);
    transition-duration: 200ms;
}

a.maan-play:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 8px;
    border-radius: 16px;
}

/* ---------- موبایل ---------- */
@media screen and (max-width: 575px) {
    a.maan-play {
        --play-size: 76px;
    }

    .maan-play__core svg {
        width: 28px;
        height: 28px;
    }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-play__ring {
        animation: none;
        display: none;
    }

    .maan-play__core,
    .maan-play__core svg,
    .maan-play__label {
        transition: none;
    }

    a.maan-play:hover .maan-play__core,
    a.maan-play:hover .maan-play__core svg,
    a.maan-play:hover .maan-play__label {
        transform: none;
    }
}

/* ======= Maan Related Projects ======= */

/* --- فقط این بلوک را مخصوص هر تم بگذارید --- */
/* تم dark: */
.maan-rel {
    --mrel-bg: #222;
    --mrel-border: #ffffff;
    --mrel-border: rgba(255, 255, 255, 0.05);
    --mrel-title: #fff;
}

    /* تم light (به‌جای بلوک بالا):
.maan-rel {
    --mrel-bg: #f2f2f2;
    --mrel-border: rgba(0, 0, 0, 0.05);
    --mrel-title: #1b1b1b;
}
*/

    .maan-rel .item {
        margin-bottom: 0;
        padding: 6px 0 24px; /* جا برای سایه و بالا آمدن هاور */
    }

.maan-rel__card {
    --mrel-ease: cubic-bezier(0.22, 1, 0.36, 1);
    direction: rtl;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--mrel-bg);
    border: 1px solid var(--mrel-border);
    border-radius: 20px;
    transition: transform 600ms var(--mrel-ease), box-shadow 600ms var(--mrel-ease), border-color 450ms ease;
}

    .maan-rel__card:hover {
        transform: translateY(-6px);
        border-color: #0066ff;
        border-color: rgba(0, 102, 255, 0.45);
        box-shadow: 0 24px 40px -22px #0066ff;
        box-shadow: 0 24px 40px -22px rgba(0, 102, 255, 0.55);
    }

/* ---------- تصویر ---------- */
.maan-rel .item a.maan-rel__media,
.maan-rel .item a.maan-rel__media:hover {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 4 / 3;
}

.maan-rel .maan-rel__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 800ms var(--mrel-ease);
}

.maan-rel .item:hover .maan-rel__media img {
    transform: scale(1.07);
}

/* گرادیان آبی از پایین */
.maan-rel__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 28, 82, 0.75) 0%, rgba(0, 82, 204, 0.2) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 500ms ease;
}

.maan-rel__card:hover .maan-rel__media::before {
    opacity: 1;
}

/* آیکون گوشه */
.maan-rel .maan-rel__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    color: #0066ff;
    opacity: 0;
    transform: scale(0.6) rotate(-45deg);
    transition: opacity 400ms ease, transform 600ms var(--mrel-ease);
}

.maan-rel__badge svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.maan-rel__card:hover .maan-rel__badge {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* ---------- بدنه ---------- */
.maan-rel__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 22px 24px;
}

.maan-rel .maan-rel__title {
    margin: 0;
    min-height: 3.2em; /* دو خط ثابت تا دکمه‌ها هم‌تراز بمانند */
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--mrel-title);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .maan-rel .maan-rel__title a {
        color: inherit;
        transition: color 400ms ease;
    }

        .maan-rel .maan-rel__title a:hover {
            color: #0066ff;
        }

/* ---------- فلش‌های Owl با همان گرادیان ---------- */
.maan-rel .owl-theme .owl-nav [class*=owl-] {
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(0, 102, 255, 0.7);
}

    .maan-rel .owl-theme .owl-nav [class*=owl-]:hover {
        background: #fff;
        color: #0066ff;
    }

/* ---------- موبایل: هاور نداریم، آیکون و گرادیان همیشه دیده شوند ---------- */
@media screen and (max-width: 991px) {
    .maan-rel__media::before {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 28, 82, 0.6) 0%, transparent 55%);
    }

    .maan-rel .maan-rel__badge {
        opacity: 1;
        transform: none;
    }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-rel__card,
    .maan-rel .maan-rel__media img,
    .maan-rel__media::before,
    .maan-rel .maan-rel__badge {
        transition: none;
    }

        .maan-rel__card:hover,
        .maan-rel .item:hover .maan-rel__media img {
            transform: none;
        }
}

.cars1 .item .con .maan-cta {
    margin-top: 18px;
}

.maan-band {
    --mw-band: #1d2e52;
    --mw-l1-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath fill='%231d2e52' d='M0 30C200 0 400 0 600 30S1000 60 1200 30V60H0Z'/%3E%3C/svg%3E");
    --mw-l2-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 50' preserveAspectRatio='none'%3E%3Cpath fill='%230066ff' fill-opacity='.35' d='M0 25C133 5 267 5 400 25S667 45 800 25V50H0Z'/%3E%3C/svg%3E");
    --mw-l1-page: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath fill='%231b1b1b' d='M0 30C200 0 400 0 600 30S1000 60 1200 30V60H0Z'/%3E%3C/svg%3E");
    --mw-l2-page: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 50' preserveAspectRatio='none'%3E%3Cpath fill='%230066ff' fill-opacity='.35' d='M0 25C133 5 267 5 400 25S667 45 800 25V50H0Z'/%3E%3C/svg%3E");
    --mw-l3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath fill='%233385ff' fill-opacity='.4' d='M0 20C100 4 200 4 300 20S500 36 600 20V40H0Z'/%3E%3C/svg%3E");
}
/* ======= Maan Band: سکشن با لبه‌های موجی متحرک (پررنگ) ======= */
/* ======= Maan Band: موج بالا / پایین / هر دو ======= */
.maan-band,
.maan-band-top,
.maan-band-bottom {
    --mw-w1: 1500px;
    --mw-w2: 900px;
    --mw-w3: 600px;
    --mw-h: 180px;
    --mw-speed: 50s;
}

section.maan-band,
section.maan-band-top,
section.maan-band-bottom {
    position: relative;
    background-color: var(--mw-band);
}

/* پدینگ: هر کلاس فقط سمت خودش را باز می‌کند */
section.maan-band {
    padding-top: 60px;
    padding-bottom: 140px;
}

section.maan-band-top:not(.maan-band) {
    padding-top: 140px;
}

section.maan-band-bottom:not(.maan-band) {
    padding-bottom: 140px;
}

section.maan-band > .container,
section.maan-band-top > .container,
section.maan-band-bottom > .container {
    position: relative;
    z-index: 2;
}

/* ---------- ساختار مشترک موج‌ها ---------- */
section.maan-band::before,
section.maan-band::after,
section.maan-band-top::before,
section.maan-band-bottom::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    height: var(--mw-h);
    pointer-events: none;
    background-repeat: repeat-x;
    background-size: var(--mw-w1) var(--mw-h), var(--mw-w2) calc(var(--mw-h) * 0.83), var(--mw-w3) calc(var(--mw-h) * 0.66);
    background-position: 0 100%, 0 100%, 0 100%;
    animation: maan-wave var(--mw-speed) linear infinite;
}

/* ---------- موج بالا ---------- */
section.maan-band::before,
section.maan-band-top::before {
    top: calc(var(--mw-h) * -1 + 1px);
    background-image: var(--mw-l1-band), var(--mw-l2-band), var(--mw-l3);
}

/* ---------- موج پایین (خلاف جهت) ---------- */
section.maan-band::after,
section.maan-band-bottom::after {
    bottom: -1px;
    background-image: var(--mw-l1-page), var(--mw-l2-page), var(--mw-l3);
    animation-direction: reverse;
}

@keyframes maan-wave {
    to {
        background-position: calc(var(--mw-w1) * -1) 100%;
    }
}

@media screen and (max-width: 767px) {
    .maan-band,
    .maan-band-top,
    .maan-band-bottom {
        --mw-w1: 700px;
        --mw-w2: 460px;
        --mw-w3: 340px;
        --mw-h: 52px;
        --mw-speed: 14s;
    }

    section.maan-band {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    section.maan-band-top:not(.maan-band) {
        padding-top: 90px;
    }

    section.maan-band-bottom:not(.maan-band) {
        padding-bottom: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.maan-band::before,
    section.maan-band::after,
    section.maan-band-top::before,
    section.maan-band-bottom::after {
        animation: none;
    }
}
/* ======= Maan Buttons: امضای طراحی روی دکمه‌های سراسری ======= */
:is(a, button):is(.button-1, .button-2, .button-3, .button-4) {
    --bt-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --bt-curtain: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    --bt-hover-text: #fff;
    --bt-hover-border: #0066ff;
    --bt-icon-bg: rgba(255, 255, 255, 0.2);
    --bt-icon-color: #fff;
    --bt-icon-hover-bg: #fff;
    --bt-icon-hover-color: #0066ff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    direction: rtl;
    gap: 14px;
    min-height: 56px;
    height: auto;
    padding: 8px 34px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-family: 'peyda', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 600ms var(--bt-ease), box-shadow 600ms var(--bt-ease), border-color 450ms ease, color 450ms ease;
}

    /* قانون سراسری a:hover { display:inline-block } نباید flex را بشکند */
    :is(a, button):is(.button-1, .button-2, .button-3, .button-4),
    :is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover,
    :is(a, button):is(.button-1, .button-2, .button-3, .button-4):focus {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

        /* اگر آیکون دارد: پدینگ نامتقارن مثل maan-cta */
        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):has(> span, > i) {
            padding: 8px 30px 8px 8px;
        }

        /* پرده‌ی هاور (از راست به چپ) */
        :is(a, button):is(.button-1, .button-2, .button-3, .button-4)::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            border-radius: inherit;
            background: var(--bt-curtain);
            transform: scaleX(0);
            transform-origin: right center;
            transition: transform 650ms var(--bt-ease);
        }

        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover::before,
        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):focus-visible::before {
            transform: scaleX(1);
        }

        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover,
        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):focus-visible {
            transform: translateY(-3px);
            color: var(--bt-hover-text);
            border-color: var(--bt-hover-border);
            background-color: transparent;
        }

        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):active {
            transform: translateY(-1px) scale(0.985);
            transition-duration: 200ms;
        }

        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):focus-visible {
            outline: 2px solid #0066ff;
            outline-offset: 4px;
        }

        /* ---------- نشان آیکون (دایره) ---------- */
        :is(a, button):is(.button-1, .button-2, .button-3, .button-4)[class] > :is(span, i) {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            margin: 0;
            padding: 0;
            border-radius: 50%;
            font-size: 14px;
            font-style: normal;
            line-height: 1;
            transform: none;
            background-color: var(--bt-icon-bg);
            color: var(--bt-icon-color);
            transition: background-color 450ms ease, color 450ms ease, transform 600ms var(--bt-ease);
        }

/* فلش themify رو به جهت RTL برمی‌گردانیم */
.ti-arrow-top-right::before {
    display: inline-block;
    transform: scaleX(-1);
}

/* هاور آیکون (!important چون قالب برای hover span رنگ !important دارد) */
:is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover[class] > :is(span, i),
:is(a, button):is(.button-1, .button-2, .button-3, .button-4):focus-visible[class] > :is(span, i) {
    background-color: var(--bt-icon-hover-bg);
    color: var(--bt-icon-hover-color) !important;
    transform: rotate(-8deg) scale(1.06);
}

:is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover > span::before {
    color: var(--bt-icon-hover-color) !important;
}

/* ---------- Primary: button-1 و button-4 ---------- */
:is(a, button):is(.button-1, .button-4) {
    color: #fff;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    border-color: #0066ff;
    box-shadow: 0 14px 30px -14px rgba(0, 102, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    --bt-icon-hover-bg: #0066ff;
    --bt-icon-hover-color: #fff;
}

/* ---------- Outline شیشه‌ای: button-2 ---------- */
:is(a, button).button-2 {
    color: #fff;
    background-color: #1b1b1b;
    background-color: rgba(27, 27, 27, 0.55);
    border-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* ---------- تیره: button-3 ---------- */
:is(a, button).button-3 {
    color: #fff;
    background-color: #1b1b1b;
    border-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
}

/* ---------- Submit و دکمه‌ی رزرو (بدون pseudo، پس فقط گرادیان) ---------- */
input[type="submit"],
.booking-button {
    border: 1px solid #0066ff;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    box-shadow: 0 14px 30px -14px #0066ff, inset 0 1px 0 #ffffff;
    box-shadow: 0 14px 30px -14px rgba(0, 102, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms cubic-bezier(0.22, 1, 0.36, 1), background-color 450ms ease, color 450ms ease, border-color 450ms ease;
}

    input[type="submit"]:hover,
    .booking-button:hover {
        background-image: none;
        transform: translateY(-3px);
    }

@media (prefers-reduced-motion: reduce) {
    :is(a, button):is(.button-1, .button-2, .button-3, .button-4),
    :is(a, button):is(.button-1, .button-2, .button-3, .button-4)::before,
    :is(a, button):is(.button-1, .button-2, .button-3, .button-4) > :is(span, i),
    input[type="submit"],
    .booking-button {
        transition: none;
    }

        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover,
        :is(a, button):is(.button-1, .button-2, .button-3, .button-4):hover > :is(span, i),
        input[type="submit"]:hover,
        .booking-button:hover {
            transform: none;
        }
}

:is(a, button):is(.button-1, .button-4) {
    --bt-curtain: #fff;
    --bt-hover-text: #1b1b1b;
    --bt-hover-border: #fff;
}

input[type="submit"]:hover,
.booking-button:hover {
    background-color: #fff;
    color: #1b1b1b;
    border-color: #fff;
}

.car-types4.maan-band .member-card {
    box-shadow: 0 24px 44px -24px #000000;
    box-shadow: 0 24px 44px -24px rgba(0, 0, 0, 0.7);
}

.car-types1.maan-band .curv-butn.icon-bg {
    background: #1d2e52 !important;
}

.car-types1.maan-band .curv-butn svg path {
    fill: #1d2e52;
}

.member-card {
    background-color: #fff;
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 340 / 452;
    container-type: inline-size;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 3px -3px 3px oklch(0% 0 0 / .05), 0 8px 28px oklch(0% 0 0 / .09);
}

/* ======= Pulse فقط برای دکمهٔ پخش ویدیوی درباره ما ======= */
a.vid.maan-vid-pulse {
    --pulse-color: 13, 110, 253; /* RGB رنگ اصلی سایت */
}

    a.vid.maan-vid-pulse .icon {
        position: relative;
        z-index: 1;
    }

        a.vid.maan-vid-pulse .icon::before,
        a.vid.maan-vid-pulse .icon::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: rgba(var(--pulse-color), 0.45);
            z-index: -1;
            pointer-events: none;
            animation: maan-pulse 2.4s ease-out infinite;
        }

        a.vid.maan-vid-pulse .icon::after {
            animation-delay: 1.2s;
        }

@keyframes maan-pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

a.vid.maan-vid-pulse:hover .icon::before,
a.vid.maan-vid-pulse:hover .icon::after {
    animation-duration: 1.4s;
}

@media (prefers-reduced-motion: reduce) {
    a.vid.maan-vid-pulse .icon::before,
    a.vid.maan-vid-pulse .icon::after {
        animation: none;
        display: none;
    }
}

/* ======= انیمیشن دائمی آیکون‌های لیست ======= */
.maan-list .list-icon {
    position: relative;
    z-index: 1;
    animation: maan-icon-beat 2.4s ease-in-out infinite;
    animation-delay: var(--maan-p, 0ms);
}

    /* حلقهٔ درخشان که از آیکون بیرون می‌رود */
    .maan-list .list-icon::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: #0d6efd;
        background: rgba(13, 110, 253, .35);
        z-index: -1;
        pointer-events: none;
        animation: maan-icon-ring 2.4s ease-out infinite;
        animation-delay: var(--maan-p, 0ms);
    }

    /* تیک هم کمی تکان می‌خورد */
    .maan-list .list-icon span {
        display: inline-block;
        animation: maan-check-nudge 2.4s ease-in-out infinite;
        animation-delay: var(--maan-p, 0ms);
    }

@keyframes maan-icon-beat {
    0%, 100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.14);
    }

    30% {
        transform: scale(1);
    }
}

@keyframes maan-icon-ring {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    60% {
        transform: scale(1.9);
        opacity: 0;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@keyframes maan-check-nudge {
    0%, 100% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(0);
    }
}

/* هاور: افکت سریع‌تر و پررنگ‌تر */
.maan-list li:hover .list-icon,
.maan-list li:hover .list-icon::after {
    animation-duration: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
    .maan-list .list-icon,
    .maan-list .list-icon::after,
    .maan-list .list-icon span {
        animation: none;
    }
}


/* ======= Maan Services v2 – horizontal full-width card ======= */
.maan-svc2-grid {
    display: grid;
    grid-template-columns: 1fr; /* هر کارت یک ردیف کامل */
    gap: 32px;
}

.maan-svc2 {
    position: relative;
    isolation: isolate;
    direction: rtl;
    display: grid;
    grid-template-columns: 5fr 6fr; /* راست: تصویر | چپ: متن */
    align-items: center;
    gap: 24px;
    min-height: 300px;
    padding: 24px 24px 24px 40px;
    background: var(--msv-surface);
    border: 1px solid var(--msv-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 48px -20px #000000, 0 8px 18px -10px #000000;
    box-shadow: 0 24px 48px -20px rgba(0,0,0,.65), 0 8px 18px -10px rgba(0,0,0,.5);
    transition: transform 600ms var(--msv-ease), border-color 450ms ease, box-shadow 600ms var(--msv-ease);
}

    .maan-svc2:hover {
        transform: translateY(-6px);
        border-color: #0066ff;
        border-color: rgba(0,102,255,.55);
        box-shadow: 0 32px 60px -22px #000000, 0 0 40px -12px #0066ff;
        box-shadow: 0 32px 60px -22px rgba(0,0,0,.75), 0 0 40px -12px rgba(0,102,255,.35);
    }

    /* گوشه‌ی مورب پایین-چپ (بدون clip-path روی کارت) */
    .maan-svc2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 96px;
        height: 96px;
        background: var(--msv-page-bg);
        clip-path: polygon(0 0, 100% 100%, 0 100%);
        z-index: 3;
        pointer-events: none;
    }

.maan-svc2__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx,50%) var(--my,20%), rgba(0,102,255,.22), transparent 60%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.maan-svc2:hover .maan-svc2__glow {
    opacity: 1;
}

/* ---------- تصویر (راست) ---------- */
.maan-svc2__stage {
    position: relative;
    aspect-ratio: 3 / 2;
    perspective: 900px;
}

.maan-svc2__tilt {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg));
    transition: transform 400ms var(--msv-ease);
}

.maan-svc2__layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .maan-svc2__layer img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        user-select: none;
        -webkit-user-drag: none;
    }

.maan-svc2__base {
    filter: drop-shadow(0 20px 26px rgba(0,50,190,.38));
}

.maan-svc2__chip {
    opacity: 0;
    filter: blur(6px);
    transition: opacity 500ms ease, filter 500ms ease, transform 800ms cubic-bezier(.34,1.56,.64,1);
}

.maan-svc2__chip--1 {
    transform: translate3d(-12px,-10px,0) scale(.9);
    transition-delay: 0ms;
}

.maan-svc2__chip--2 {
    transform: translate3d(-12px,12px,0) scale(.9);
    transition-delay: 120ms;
}

.maan-svc2__chip--3 {
    transform: translate3d(12px,-10px,0) scale(.9);
    transition-delay: 240ms;
}

.maan-svc2:hover .maan-svc2__chip {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0,0,24px) scale(1);
}

/* ---------- متن (چپ) ---------- */
.maan-svc2__body {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    text-align: right;
}

.maan-svc2__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 14px 3px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
    background: var(--msv-pill-bg);
    color: var(--msv-pill-text);
}

    .maan-svc2__pill::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgb(0, 102, 255);
        box-shadow: 0 0 0 3px #0066ff;
        box-shadow: 0 0 0 3px rgba(0,102,255,.25);
    }

.maan-svc2__title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--msv-title);
}

    .maan-svc2__title a {
        color: inherit;
        transition: color 400ms ease;
    }

        .maan-svc2__title a:hover {
            color: #0066ff;
        }

.maan-svc2__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--msv-text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- دکمه: همیشه با متن، پایین-چپ ---------- */
a.maan-svc2__go,
a.maan-svc2__go:hover {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 18px 0 14px;
    border-radius: 30px;
    background: linear-gradient(135deg,#3385ff 0%,#0066ff 55%,#0052cc 100%);
    box-shadow: 0 14px 28px -12px rgba(0,102,255,.75), inset 0 1px 0 rgba(255,255,255,.25);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: filter 300ms ease, box-shadow 400ms ease;
}

.maan-svc2__go svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 500ms var(--msv-ease);
}

a.maan-svc2__go:hover {
    filter: brightness(1.1);
}

.maan-svc2:hover .maan-svc2__go svg {
    transform: translateX(-4px);
}

a.maan-svc2__go:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (hover: none) {
    .maan-svc2__chip {
        opacity: 1;
        filter: none;
        transform: translate3d(0,0,16px);
    }
}

/* ---------- موبایل: تصویر بالا، متن پایین ---------- */
@media screen and (max-width: 767px) {
    .maan-svc2 {
        grid-template-columns: 1fr;
        padding: 20px 20px 84px;
        gap: 8px;
    }

    .maan-svc2__title {
        font-size: 22px;
    }

    a.maan-svc2__go {
        left: 20px;
        bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-svc2, .maan-svc2__tilt, .maan-svc2__chip, .maan-svc2__glow,
    a.maan-svc2__go, .maan-svc2__go svg {
        transition: none;
    }

        .maan-svc2:hover {
            transform: none;
        }
}
/* ======= Maan Services v2 – horizontal full-width card ======= */
.maan-svc2-grid {
    display: grid;
    grid-template-columns: 1fr; /* هر کارت یک ردیف کامل */
    gap: 32px;
}

.maan-svc2 {
    position: relative;
    isolation: isolate;
    direction: rtl;
    display: grid;
    grid-template-columns: 5fr 6fr; /* راست: تصویر | چپ: متن */
    align-items: center;
    gap: 24px;
    min-height: 300px;
    padding: 24px 24px 24px 40px;
    background: var(--msv-surface);
    border: 1px solid var(--msv-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 48px -20px rgba(0,0,0,.65), 0 8px 18px -10px rgba(0,0,0,.5);
    transition: transform 600ms var(--msv-ease), border-color 450ms ease, box-shadow 600ms var(--msv-ease);
}

    .maan-svc2:hover {
        transform: translateY(-6px);
        border-color: rgba(0,102,255,.55);
        box-shadow: 0 32px 60px -22px rgba(0,0,0,.75), 0 0 40px -12px rgba(0,102,255,.35);
    }

    /* گوشه‌ی مورب پایین-چپ (بدون clip-path روی کارت) */
    .maan-svc2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 96px;
        height: 96px;
        background: #1D2E52;
        clip-path: polygon(0 0, 100% 100%, 0 100%);
        z-index: 3;
        pointer-events: none;
    }

.maan-svc2__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx,50%) var(--my,20%), rgba(0,102,255,.22), transparent 60%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.maan-svc2:hover .maan-svc2__glow {
    opacity: 1;
}

/* ---------- تصویر (راست) ---------- */
.maan-svc2__stage {
    position: relative;
    aspect-ratio: 3 / 2;
    perspective: 900px;
}

.maan-svc2__tilt {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg));
    transition: transform 400ms var(--msv-ease);
}

.maan-svc2__layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .maan-svc2__layer img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        user-select: none;
        -webkit-user-drag: none;
    }

.maan-svc2__base {
    filter: drop-shadow(0 20px 26px rgba(0,50,190,.38));
}

.maan-svc2__chip {
    opacity: 0;
    filter: blur(6px);
    transition: opacity 500ms ease, filter 500ms ease, transform 800ms cubic-bezier(.34,1.56,.64,1);
}

.maan-svc2__chip--1 {
    transform: translate3d(-12px,-10px,0) scale(.9);
    transition-delay: 0ms;
}

.maan-svc2__chip--2 {
    transform: translate3d(-12px,12px,0) scale(.9);
    transition-delay: 120ms;
}

.maan-svc2__chip--3 {
    transform: translate3d(12px,-10px,0) scale(.9);
    transition-delay: 240ms;
}

.maan-svc2:hover .maan-svc2__chip {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0,0,24px) scale(1);
}

/* ---------- متن (چپ) ---------- */
.maan-svc2__body {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    text-align: right;
}

.maan-svc2__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 14px 3px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
    background: var(--msv-pill-bg);
    color: var(--msv-pill-text);
}

    .maan-svc2__pill::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #0066ff;
        box-shadow: 0 0 0 3px rgba(0,102,255,.25);
    }

.maan-svc2__title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--msv-title);
}

    .maan-svc2__title a {
        color: inherit;
        transition: color 400ms ease;
    }

        .maan-svc2__title a:hover {
            color: #0066ff;
        }

.maan-svc2__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--msv-text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- دکمه: ظاهر از تم (maan-cta)، اینجا فقط جایگاه ---------- */
.maan-svc2 .maan-svc2__cta {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 5;
    width: auto;
}

@media (hover: none) {
    .maan-svc2__chip {
        opacity: 1;
        filter: none;
        transform: translate3d(0,0,16px);
    }
}

/* ---------- موبایل: تصویر بالا، متن پایین ---------- */
@media screen and (max-width: 767px) {
    .maan-svc2 {
        grid-template-columns: 1fr;
        padding: 20px 20px 84px;
        gap: 8px;
    }

    .maan-svc2__title {
        font-size: 22px;
    }

    .maan-svc2 .maan-svc2__cta {
        left: 20px;
        bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-svc2, .maan-svc2__tilt, .maan-svc2__chip, .maan-svc2__glow {
        transition: none;
    }

        .maan-svc2:hover {
            transform: none;
        }
}
/* ======= Maan Counter Bar ======= */
.maan-cnt-section {
    --msv-surface: linear-gradient(160deg, #262626 0%, #1c1c1c 100%);
    --msv-border: rgba(255, 255, 255, 0.06);
    --msv-title: #fff;
    --msv-pill-bg: rgba(0, 102, 255, 0.18);
    --msv-pill-text: #D9E8FF;
    --msv-page-bg: #1D2E52; /* همان رنگ پس‌زمینه‌ی صفحه‌ی شما */
    --msv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.maan-cnt {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 44px 24px;
    background: var(--msv-surface);
    border: 1px solid var(--msv-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 48px -20px rgba(0,0,0,.65), 0 8px 18px -10px rgba(0,0,0,.5);
    transition: border-color 450ms ease, box-shadow 600ms var(--msv-ease);
}

    .maan-cnt:hover {
        border-color: rgba(0,102,255,.55);
        box-shadow: 0 32px 60px -22px rgba(0,0,0,.75), 0 0 40px -12px rgba(0,102,255,.35);
    }

    /* خط نورانی بالای کارت */
    .maan-cnt::before {
        content: "";
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #0066ff, transparent);
        opacity: .7;
        pointer-events: none;
    }

    /* گوشه‌ی مورب پایین-چپ، همانند کارت‌های خدمات */
    .maan-cnt::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 64px;
        height: 64px;
        background: var(--msv-page-bg);
        clip-path: polygon(0 0, 100% 100%, 0 100%);
        pointer-events: none;
    }

/* نوری که دنبال ماوس می‌آید */
.maan-cnt__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(0,102,255,.22), transparent 60%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.maan-cnt:hover .maan-cnt__glow {
    opacity: 1;
}

/* ---------- هر آیتم ---------- */
.maan-cnt__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    text-align: center;
}

    .maan-cnt__item + .maan-cnt__item {
        border-inline-start: 1px solid var(--msv-border);
    }

.maan-cnt__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 14px 3px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    background: var(--msv-pill-bg);
    color: var(--msv-pill-text);
}

    .maan-cnt__pill::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #0066ff;
        box-shadow: 0 0 0 3px rgba(0,102,255,.25);
    }

.maan-cnt__number {
    margin: 0;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--msv-title);
    font-variant-numeric: tabular-nums;
    transition: color 400ms ease, text-shadow 400ms ease;
}

.maan-cnt__item:hover .maan-cnt__number {
    color: #3385ff;
    text-shadow: 0 0 28px rgba(0,102,255,.55);
}

/* ---------- تبلت و موبایل ---------- */
@media screen and (max-width: 991px) {
    .maan-cnt__number {
        font-size: 48px;
    }
}

@media screen and (max-width: 767px) {
    .maan-cnt {
        grid-template-columns: 1fr;
        padding: 28px 20px 40px;
        gap: 8px;
    }

    .maan-cnt__item {
        padding: 18px 8px;
    }

        .maan-cnt__item + .maan-cnt__item {
            border-inline-start: 0;
            border-top: 1px solid var(--msv-border);
        }

    .maan-cnt__number {
        font-size: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-cnt, .maan-cnt__glow, .maan-cnt__number {
        transition: none;
    }
}
/* ======= Maan Why-Choose Cards ======= */
.maan-why-section {
    --msv-surface: linear-gradient(160deg, #262626 0%, #1c1c1c 100%);
    --msv-border: rgba(255, 255, 255, 0.06);
    --msv-title: #fff;
    --msv-text: rgba(255, 255, 255, 0.68);
    --msv-page-bg: #1D2E52; /* همان رنگ پس‌زمینه‌ی صفحه‌ی شما */
    --msv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.maan-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* ---------- کارت ---------- */
.maan-why {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 280px;
    padding: 30px 28px 34px;
    background: var(--msv-surface);
    border: 1px solid var(--msv-border);
    border-radius: 28px;
    overflow: hidden;
    text-align: start;
    box-shadow: 0 24px 48px -20px rgba(0,0,0,.65), 0 8px 18px -10px rgba(0,0,0,.5);
    transition: transform 600ms var(--msv-ease), border-color 450ms ease, box-shadow 600ms var(--msv-ease);
}

    .maan-why:hover {
        transform: translateY(-6px);
        border-color: rgba(0,102,255,.55);
        box-shadow: 0 32px 60px -22px rgba(0,0,0,.75), 0 0 40px -12px rgba(0,102,255,.35);
    }

    /* گوشه‌ی مورب پایین-چپ */
    .maan-why::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 64px;
        height: 64px;
        background: var(--msv-page-bg);
        clip-path: polygon(0 0, 100% 100%, 0 100%);
        pointer-events: none;
    }

/* نور دنبال‌کننده‌ی ماوس */
.maan-why__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(360px circle at var(--mx, 70%) var(--my, 20%), rgba(0,102,255,.22), transparent 60%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.maan-why:hover .maan-why__glow {
    opacity: 1;
}

/* آیکن بزرگ کم‌رنگ پشت متن */
.maan-why__ghost {
    position: absolute;
    top: -18px;
    inset-inline-end: -18px;
    z-index: -1;
    width: 150px;
    height: 150px;
    object-fit: contain;
    opacity: .06;
    filter: grayscale(1) brightness(2);
    pointer-events: none;
    user-select: none;
    transition: opacity 500ms ease, transform 800ms var(--msv-ease);
}

.maan-why:hover .maan-why__ghost {
    opacity: .12;
    transform: scale(1.08) rotate(-4deg);
}

/* ---------- آیکن اصلی ---------- */
.maan-why__icon {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 6px;
    filter: drop-shadow(0 14px 20px rgba(0,50,190,.35));
    transition: transform 600ms var(--msv-ease);
}

.maan-why:hover .maan-why__icon {
    transform: translateY(-4px) scale(1.05);
}

.maan-why__icon-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.maan-why__icon-img {
    position: relative;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* ---------- متن ---------- */
.maan-why .maan-why__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--msv-title);
    transition: color 400ms ease;
}

.maan-why:hover .maan-why__title {
    color: #3385ff;
}

.maan-why .maan-why__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--msv-text);
}

/* ---------- ریسپانسیو ---------- */
@media screen and (max-width: 991px) {
    .maan-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 575px) {
    .maan-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .maan-why {
        min-height: 0;
        padding: 26px 22px 40px;
    }

        .maan-why .maan-why__title {
            font-size: 20px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .maan-why, .maan-why__glow, .maan-why__ghost, .maan-why__icon, .maan-why__title {
        transition: none;
    }

        .maan-why:hover {
            transform: none;
        }
}
/* ======= Car Types 2: رنگ‌بندی هم‌خانواده با button-1 / button-4 =======
   بعد از car-types2-fixed.css اضافه کنید.
   گرادیان با transition انیمیت نمی‌شود، پس روی یک لایه‌ی ::before می‌گذاریم
   و opacity آن را محو/ظاهر می‌کنیم. */

/* لایه‌ی گرادیان (زیر متن و زیر آیکن بزرگ پس‌زمینه) */
.car-types2 .item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

/* هاور: زمینه‌ی ساده‌ی آبی حذف می‌شود و گرادیان جایش را می‌گیرد */
.car-types2 .item:hover {
    background-color: #f2f2f2;
    border-color: #0066ff;
    box-shadow: 0 14px 30px -14px rgba(0, 102, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .car-types2 .item:hover::before {
        opacity: 1;
    }

    /* متن سفید روی گرادیان */
    .car-types2 .item:hover h5 {
        color: #fff;
    }

    .car-types2 .item:hover p {
        color: rgba(255, 255, 255, 0.88);
    }

    /* حلقه‌ی دور آیکن، هم‌رنگ دکمه‌ها */
    .car-types2 .item:hover .why-icon {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28);
    }

@media (prefers-reduced-motion: reduce) {
    .car-types2 .item::before {
        transition: none;
    }
}


.car-types2 .item::before {
    opacity: 1;
}

.car-types2 .item h5, .car-types2 .item p {
    color: #fff;
}
/* ======= حلقه‌ی هاور دور آیکن: گرد (به انتهای CSS اضافه کنید) =======
   box-shadow روی span از border-radius همان span پیروی می‌کند و اگر یک قانون
   دیگر آن را صفر کند مربع می‌شود. حلقه را با ::after و شعاع اجباری می‌سازیم. */

.car-types2 .item .why-icon {
    border-radius: 50% !important;
    box-shadow: none !important; /* ریشه‌ی حلقه‌ی مربعی قبلی */
}

    .car-types2 .item .why-icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        opacity: 0;
        transform: scale(0.88);
        pointer-events: none;
        transition: opacity .5s, transform .6s cubic-bezier(0.22, 1, 0.36, 1);
    }

.car-types2 .item:hover .why-icon::after {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .car-types2 .item .why-icon::after {
        transition: none;
    }
}

/* ======= Maan – Light theme + رنگ‌بندی گرادیان (هم‌خانواده با button-1 / button-4) =======
   پالت: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%)
   - نوار شمارنده: از ابتدا گرادیانی
   - کارت‌های «چرا ما»: با هاور گرادیانی (مثل car-types2)
   دو بلوک متغیر قدیمی را با این‌ها جایگزین کنید و بخش «اصلاحات» را زیرشان بگذارید. */

/* ---------- متغیرهای لایت: نوار شمارنده (گرادیان آبی) ---------- */
.maan-cnt-section {
    --msv-surface: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    --msv-border: rgba(255, 255, 255, 0.22); /* جداکننده‌ی آیتم‌ها */
    --msv-title: #fff;
    --msv-pill-bg: rgba(255, 255, 255, 0.2);
    --msv-pill-text: #fff;
    --msv-page-bg: #1D2E52; /* رنگ پس‌زمینه‌ی صفحه (گوشه‌ی مورب) */
    --msv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- متغیرهای لایت: کارت‌های «چرا ما» ---------- */
.maan-why-section {
    --msv-surface: linear-gradient(160deg, #f7f7f7 0%, #ececec 100%);
    --msv-border: rgba(0, 0, 0, 0.07);
    --msv-title: #1b1b1b;
    --msv-text: #555;
    --msv-page-bg: #1D2E52;
    --msv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- متغیر گمشده‌ی کارت‌های خدمات ---------- */
.maan-svc-section {
    --msv-border: rgba(0, 0, 0, 0.07);
}

/* ======= اصلاحات: مقدارهای ثابتِ مخصوص دارک ======= */

/* سایه‌ی نرم و آبی‌مایل به‌جای سایه‌ی مشکی سنگین */
.maan-cnt,
.maan-why,
.maan-svc2 {
    box-shadow: 0 24px 48px -24px rgba(20, 30, 60, .28), 0 8px 18px -12px rgba(20, 30, 60, .18);
}

    .maan-cnt:hover,
    .maan-why:hover,
    .maan-svc2:hover {
        box-shadow: 0 32px 60px -26px rgba(20, 30, 60, .35), 0 0 40px -14px rgba(0, 102, 255, .35);
    }

/* نور دنبال‌کننده‌ی ماوس: روی روشن کم‌رنگ‌تر */
.maan-why__glow,
.maan-svc2__glow {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(0, 102, 255, .14), transparent 60%);
}

/* ======= نوار شمارنده: گرادیان از ابتدا ======= */
.maan-cnt {
    border-color: #0066ff;
    box-shadow: 0 14px 30px -14px rgba(0, 102, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .maan-cnt:hover {
        border-color: #0066ff;
        box-shadow: 0 24px 44px -18px rgba(0, 102, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    /* خط نورانی بالا: سفید روی آبی */
    .maan-cnt::before {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    }

/* روی آبی، نور ماوس سفید می‌شود */
.maan-cnt__glow {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .16), transparent 60%);
}

.maan-cnt__pill::before {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
}

.maan-cnt__item:hover .maan-cnt__number {
    color: #fff;
    text-shadow: 0 0 28px rgba(255, 255, 255, .55);
}

/* ======= «چرا ما»: گرادیان با هاور (مثل car-types2) ======= */

/* لایه‌ی گرادیان؛ زیر متن، زیر نور و زیر آیکن بزرگ پشت کارت */
.maan-why::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms ease;
}

.maan-why:hover {
    border-color: #0066ff;
    box-shadow: 0 14px 30px -14px rgba(0, 102, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .maan-why:hover::before {
        opacity: 1;
    }

    /* متن سفید روی گرادیان (قانون قبلیِ عنوان آبی حذف شد) */
    .maan-why:hover .maan-why__title {
        color: #fff;
    }

    .maan-why:hover .maan-why__text {
        color: rgba(255, 255, 255, 0.88);
    }

    /* نور ماوس سفید */
    .maan-why:hover .maan-why__glow {
        background: radial-gradient(360px circle at var(--mx, 70%) var(--my, 20%), rgba(255, 255, 255, .16), transparent 60%);
    }

/* آیکن بزرگ پشت کارت */
.maan-why__ghost {
    filter: none;
    opacity: .07;
}

.maan-why:hover .maan-why__ghost {
    filter: brightness(0) invert(1); /* روی آبی سفید می‌شود */
    opacity: .16;
}

/* آیکن اصلی + حلقه‌ی گرد دورش در هاور */
.maan-why__icon {
    filter: drop-shadow(0 12px 18px rgba(0, 60, 200, .25));
}

    .maan-why__icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        opacity: 0;
        transform: scale(0.88);
        pointer-events: none;
        transition: opacity .5s, transform .6s var(--msv-ease);
    }

.maan-why:hover .maan-why__icon::after {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .maan-why::before,
    .maan-why__icon::after {
        transition: none;
    }
}
/* ======= Maan Services Grid (maan-sg) – DARK – standalone ======= */
.maan-sg-section {
    --sg-surface: linear-gradient(160deg, #262626 0%, #1c1c1c 100%);
    --sg-border: rgba(255, 255, 255, .06);
    --sg-title: #ffffff;
    --sg-text: #b8bdc7;
    --sg-tag-bg: rgba(0, 102, 255, .18);
    --sg-tag-text: #D9E8FF;
    --sg-accent: #3385ff;
    --sg-accent-soft: rgba(51, 133, 255, .30);
    --sg-page-bg: #1D2E52;
    --sg-shadow: 0 24px 48px -20px rgba(0, 0, 0, .65), 0 8px 18px -10px rgba(0, 0, 0, .5);
    --sg-shadow-hover: 0 32px 60px -22px rgba(0, 0, 0, .75), 0 0 40px -12px rgba(0, 102, 255, .35);
    --sg-ease: cubic-bezier(.22, 1, .36, 1);
    background: transparent;
}

/* ---------- Grid ---------- */
.maan-sg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

/* ---------- Card ---------- */
.maan-sg__card {
    position: relative;
    isolation: isolate;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 84px;
    background: var(--sg-surface);
    border: 1px solid var(--sg-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--sg-shadow);
    transition: transform 600ms var(--sg-ease), border-color 450ms ease, box-shadow 600ms var(--sg-ease);
}

    .maan-sg__card:hover,
    .maan-sg__card:focus-within {
        transform: translateY(-6px);
        border-color: rgba(0, 102, 255, .55);
        box-shadow: var(--sg-shadow-hover);
    }

    .maan-sg__card::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 64px;
        height: 64px;
        background: var(--sg-page-bg);
        clip-path: polygon(0 0, 100% 100%, 0 100%);
        z-index: 3;
        pointer-events: none;
    }

.maan-sg__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at 50% 20%, rgba(0, 102, 255, .22), transparent 60%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.maan-sg__card:hover .maan-sg__glow,
.maan-sg__card:focus-within .maan-sg__glow {
    opacity: 1;
}

/* ---------- Media ---------- */
.maan-sg__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    flex: 0 0 auto;
    isolation: isolate;
}

.maan-sg__layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .maan-sg__layer img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: none;
        user-select: none;
        -webkit-user-drag: none;
    }

.maan-sg__main {
    z-index: 1;
    filter: drop-shadow(0 20px 26px rgba(0, 50, 190, .38));
    transition: transform 600ms var(--sg-ease);
}

.maan-sg__card:hover .maan-sg__main,
.maan-sg__card:focus-within .maan-sg__main {
    transform: translateY(-4px) scale(1.02);
}

.maan-sg__chip {
    z-index: 2;
    opacity: 0;
    filter: blur(6px);
    transition: opacity 500ms ease, filter 500ms ease, transform 800ms cubic-bezier(.34, 1.56, .64, 1);
}

.maan-sg__chip--1 {
    transform: translate(-12px, -10px) scale(.9);
    transition-delay: 0ms;
}

.maan-sg__chip--2 {
    transform: translate(-12px, 12px) scale(.9);
    transition-delay: 120ms;
}

.maan-sg__chip--3 {
    transform: translate(12px, -10px) scale(.9);
    transition-delay: 240ms;
}

.maan-sg__card:hover .maan-sg__chip,
.maan-sg__card:focus-within .maan-sg__chip {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) scale(1);
}

/* ---------- Content ---------- */
.maan-sg__content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 12px;
    text-align: right;
}

.maan-sg__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 14px 3px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
    background: var(--sg-tag-bg);
    color: var(--sg-tag-text);
}

    .maan-sg__tag::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--sg-accent);
        box-shadow: 0 0 0 3px var(--sg-accent-soft);
    }

.maan-sg__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--sg-title);
}

    .maan-sg__title a {
        color: inherit;
        transition: color 400ms ease;
    }

        .maan-sg__title a:hover {
            color: var(--sg-accent);
        }

.maan-sg__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.95;
    color: var(--sg-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.95em * 3);
    text-align: justify;
}

/* ---------- دکمه ---------- */
.maan-sg__card .maan-sg__cta {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 5;
    width: auto;
}

/* ---------- Responsive ---------- */
@media (hover: none) {
    .maan-sg__chip {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

@media screen and (max-width: 991px) {
    .maan-sg {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media screen and (max-width: 575px) {
    .maan-sg {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .maan-sg__title {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-sg__card,
    .maan-sg__main,
    .maan-sg__chip,
    .maan-sg__glow {
        transition: none;
    }

        .maan-sg__card:hover,
        .maan-sg__card:focus-within,
        .maan-sg__card:hover .maan-sg__main {
            transform: none;
        }
}

/* ---------- Service cards (maan-sg): ورود پله‌ای آیکن‌های دور تصویر اصلی ----------
   تأخیر هر chip = تأخیر خود کارت (--mm-i × --mm-step، ارث‌بری از کارت)
                  + شروع chipها (--sg-chip-start) + ترتیب chip (--i × --sg-chip-step) */
.maan-sg {
    --sg-chip-start: 450ms;
    --sg-chip-step: 110ms;
}

.maan-motion .maan-sg[data-aos="maan-stagger"]:not(.aos-animate) .maan-sg__chip {
    opacity: 0;
}

.maan-motion .maan-sg[data-aos="maan-stagger"].aos-animate .maan-sg__chip {
    animation: maan-sg-chip-in 600ms var(--mm-ease) backwards;
    animation-delay: calc( var(--mm-i, 0) * var(--mm-step, 90ms) + var(--sg-chip-start) + var(--i, 0) * var(--sg-chip-step) );
}

/* scale و translate مستقل از transform هستند و موقعیت/چرخش فعلی chipها را خراب نمی‌کنند */
@keyframes maan-sg-chip-in {
    from {
        opacity: 0;
        scale: .55;
        translate: 0 16px;
    }

    to {
        opacity: 1;
        scale: 1;
        translate: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-motion .maan-sg .maan-sg__chip {
        opacity: 1 !important;
        animation: none !important;
    }
}
/* ======= Maan Portfolio (فیلتر + کارت نمونه‌کار + صفحه‌بندی) — dark theme =======
   این بخش را به انتهای فایل CSS تم dark اضافه کنید.
   به maan-cta-dark.css هم نیاز دارد (دکمه‌ی پایین کارت). */

.maan-pf-section {
    --mpf-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --mpf-blue: #0066ff;
    --mpf-blue-light: #3385ff;
    --mpf-blue-dark: #0052cc;
    --mpf-grad: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    position: relative;
}

/* ---------- Filter ---------- */
.maan-pf-filter {
    margin: 0 0 44px;
    direction: rtl;
}

.maan-pf-filter__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

a.maan-pf-chip,
a.maan-pf-chip:hover,
a.maan-pf-chip:focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.maan-pf-chip {
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 500ms var(--mpf-ease), background-color 400ms ease, border-color 400ms ease, color 400ms ease, box-shadow 500ms var(--mpf-ease);
}

    .maan-pf-chip:hover,
    .maan-pf-chip:focus-visible {
        transform: translateY(-2px);
        background-color: rgba(0, 102, 255, 0.16);
        border-color: rgba(0, 102, 255, 0.45);
        color: rgba(255, 255, 255, 0.8);
    }

    .maan-pf-chip:focus-visible {
        outline: 2px solid var(--mpf-blue);
        outline-offset: 3px;
    }

.maan-pf-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 12px;
    background-color: rgba(0, 102, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #3385ff;
    transition: background-color 400ms ease, color 400ms ease;
}

.maan-pf-chip.is-active,
.maan-pf-chip.is-active:hover {
    background: var(--mpf-grad);
    border-color: var(--mpf-blue);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 28px -14px rgba(0, 102, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .maan-pf-chip.is-active .maan-pf-chip__count {
        background-color: rgba(255, 255, 255, 0.22);
        color: #fff;
    }

/* ---------- Card ---------- */
.maan-pf-col {
    display: flex;
}

.maan-pf {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    direction: rtl;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 600ms var(--mpf-ease), box-shadow 600ms var(--mpf-ease), border-color 450ms ease;
}

    .maan-pf:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 102, 255, 0.45);
        box-shadow: 0 24px 40px -22px rgba(0, 102, 255, 0.55);
    }

/* ---------- Media ---------- */
a.maan-pf__media,
a.maan-pf__media:hover,
a.maan-pf__media:focus {
    display: block;
}

.maan-pf__media {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

    .maan-pf__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 900ms var(--mpf-ease);
    }

.maan-pf:hover .maan-pf__media img {
    transform: scale(1.06);
}

.maan-pf__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: opacity 600ms ease;
}

.maan-pf:hover .maan-pf__media::after {
    opacity: 1;
}

.maan-pf__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mpf-grad);
    color: #fff;
    box-shadow: 0 10px 20px -8px rgba(0, 102, 255, 0.8);
    opacity: 0;
    transform: translate3d(-8px, 8px, 0) scale(0.9);
    transition: opacity 500ms ease, transform 600ms var(--mpf-ease);
}

.maan-pf:hover .maan-pf__badge {
    opacity: 1;
    transform: none;
}

.maan-pf__badge svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Body ---------- */
.maan-pf__body {
    flex: 1;
    padding: 22px 24px 8px;
}

.maan-pf .maan-pf__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
    color: #fff;
}

.maan-pf__title a {
    display: inline;
    color: inherit;
    transition: color 400ms ease;
}

    .maan-pf__title a:hover {
        color: #3385ff;
    }

.maan-pf .maan-pf__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.7);
}

.maan-pf__foot {
    padding: 18px 24px 24px;
}

/* ---------- Empty ---------- */
.maan-pf-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 24px;
    direction: rtl;
    text-align: center;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.maan-pf-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(0, 102, 255, 0.18);
    color: #3385ff;
}

    .maan-pf-empty__icon svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.maan-pf-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Pager ---------- */
.maan-pager {
    margin-top: 44px;
}

.maan-pager__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

a.maan-pager__btn,
a.maan-pager__btn:hover,
a.maan-pager__btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.maan-pager__btn {
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 23px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    transition: transform 500ms var(--mpf-ease), background-color 400ms ease, border-color 400ms ease, box-shadow 500ms var(--mpf-ease);
}

    .maan-pager__btn:hover,
    .maan-pager__btn:focus-visible {
        transform: translateY(-3px);
        background-color: rgba(0, 102, 255, 0.16);
        border-color: rgba(0, 102, 255, 0.5);
        color: #fff;
    }

    .maan-pager__btn:focus-visible {
        outline: 2px solid var(--mpf-blue);
        outline-offset: 3px;
    }

    .maan-pager__btn.is-active,
    .maan-pager__btn.is-active:hover {
        background: #0066ff;
        border-color: var(--mpf-blue);
        color: #fff;
        box-shadow: 0 14px 28px -14px rgba(0, 102, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .maan-pager__btn svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ---------- Mobile ---------- */
@media screen and (max-width: 575px) {
    .maan-pf-filter {
        margin-bottom: 30px;
    }

    .maan-pf__body {
        padding: 18px 18px 6px;
    }

    .maan-pf__foot {
        padding: 16px 18px 20px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .maan-pf,
    .maan-pf__media img,
    .maan-pf__media::after,
    .maan-pf__badge,
    .maan-pf-chip,
    .maan-pager__btn {
        transition: none;
    }

        .maan-pf:hover,
        .maan-pf:hover .maan-pf__media img,
        .maan-pf-chip:hover,
        .maan-pager__btn:hover {
            transform: none;
        }
}
/* ======= Maan Cars Grid (کارت cars1 به‌صورت گرید) — dark theme =======
   این بخش را به انتهای فایل CSS تم dark اضافه کنید.
   رنگ و ظاهر خود کارت (.cars1 .item .img / .con) همان قالب است؛ اینجا فقط چیدمان گرید،
   هم‌قد شدن کارت‌ها، دکمه‌ی چسبیده به ته کارت و استایل قیمت اضافه می‌شود. */

/* ستون‌ها flex تا همه‌ی کارت‌ها هم‌قد شوند */
.maan-cars-grid > [class*="col-"] {
    display: flex;
}

.cars1 .maan-cars-grid .item {
    --mcg-ease: cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    transition: transform 600ms var(--mcg-ease);
}

    .cars1 .maan-cars-grid .item:hover {
        transform: translateY(-6px);
    }

    /* ---------- تصویر با نسبت ثابت ---------- */
    .cars1 .maan-cars-grid .item .img {
        flex: 0 0 auto;
        aspect-ratio: 4 / 3;
    }

        .cars1 .maan-cars-grid .item .img a,
        .cars1 .maan-cars-grid .item .img a:hover {
            display: block;
            width: 100%;
            height: 100%;
        }

        .cars1 .maan-cars-grid .item .img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    /* ---------- پنل متن (روی تصویر می‌نشیند، از قالب) ---------- */
    .cars1 .maan-cars-grid .item .con {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: right;
        transition: box-shadow 600ms var(--mcg-ease), transform 600ms var(--mcg-ease);
    }

    .cars1 .maan-cars-grid .item:hover .con {
        box-shadow: 0 24px 40px -22px rgba(0, 102, 255, 0.55);
    }

    .cars1 .maan-cars-grid .item .con .title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        width: 100%;
        min-height: 3.2em; /* دو خط ثابت تا دکمه‌ها هم‌تراز بمانند */
        font-size: 19px;
        font-weight: 800;
        line-height: 1.6;
    }

        .cars1 .maan-cars-grid .item .con .title a {
            display: inline;
            font-size: inherit;
            line-height: inherit;
            transition: color 400ms ease;
        }

            .cars1 .maan-cars-grid .item .con .title a:hover {
                color: #0066ff;
            }

    /* ---------- قیمت ---------- */
    .cars1 .maan-cars-grid .item .con .price {
        display: inline-flex;
        align-items: center;
        padding: 2px 14px;
        border-radius: 30px;
        background-color: rgba(255, 90, 106, 0.14);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.9;
        color: #ff5a6a;
    }

    /* ---------- دکمه: همیشه ته کارت ---------- */
    .cars1 .maan-cars-grid .item .con .maan-cta {
        margin-top: auto;
    }

/* ---------- موبایل: قالب مارجین پنل را صفر می‌کند؛ کارت یکپارچه بماند ---------- */
@media screen and (max-width: 991px) {
    .cars1 .maan-cars-grid .item .con {
        margin-top: -40px;
        margin-right: 16px;
        margin-left: 16px;
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cars1 .maan-cars-grid .item,
    .cars1 .maan-cars-grid .item .con {
        transition: none;
    }

        .cars1 .maan-cars-grid .item:hover {
            transform: none;
        }
}

.pt-20 {
    padding-top: 20px !important;
}

.maan-empty {
    max-width: 520px;
    margin: 40px auto;
    padding: 50px 30px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .03);
}

.maan-empty__icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0066ff;
    background: rgba(0, 102, 255, .1);
    box-shadow: 0 0 0 10px rgba(0, 102, 255, .05);
    animation: maanEmptyFloat 3s ease-in-out infinite;
}

    .maan-empty__icon svg {
        width: 56px;
        height: 56px;
    }

.maan-empty__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.maan-empty__text {
    font-size: 14px;
    line-height: 1.9;
    opacity: .7;
    margin-bottom: 24px;
}

@keyframes maanEmptyFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-empty__icon {
        animation: none;
    }
}

.maan-comments-scroll {
    max-height: 520px;
    overflow-y: auto;
    overscroll-behavior: contain;
    direction: ltr;
    padding-right: 12px;
    padding-left: 0;
    /* فایرفاکس */
    scrollbar-width: thin;
    scrollbar-color: #78A6FF transparent;
}

    .maan-comments-scroll > * {
        direction: rtl;
        text-align: right;
    }

    /* کروم، اج، سافاری */
    .maan-comments-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .maan-comments-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .maan-comments-scroll::-webkit-scrollbar-thumb {
        background: #78A6FF;
        border-radius: 3px;
    }

        .maan-comments-scroll::-webkit-scrollbar-thumb:hover {
            background: #0066ff;
        }

    .maan-comments-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .maan-comments-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .maan-comments-scroll .loading-note {
        text-align: center;
        padding: 10px;
        color: #0066ff;
        font-size: 14px;
    }

@media (min-width: 992px) {
    .maan-comments-scroll {
        max-height: 520px;
        overflow-y: auto;
    }
}
/* ───── جداکننده بین کامنت‌ها و فرم ───── */
/* ───── دکمه نمایش بیشتر ───── */
.maan-loadmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    color: #0066ff;
    border: 2px solid #0066ff;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, color .25s;
}

    .maan-loadmore:hover:not(:disabled) {
        background: #0066ff;
        color: #fff;
    }

    .maan-loadmore:disabled {
        opacity: .6;
        cursor: wait;
    }

.maan-loadmore__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s;
}

.maan-loadmore:hover:not(:disabled) .maan-loadmore__icon svg {
    transform: translateY(3px);
}

.maan-loadmore.is-loading .maan-loadmore__icon svg {
    animation: maan-bounce .8s infinite ease-in-out;
}

@keyframes maan-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}
/* ======= Maan Aside (سایدبار مقالات) — dark theme =======
   فایل مستقل: هیچ وابستگی‌ای به .maan-art-section، maan-cta یا .maan-pager ندارد.
   متغیرها روی خود .maan-aside تعریف شده‌اند.
   ساختار: aside.maan-aside > .maan-wd (ویجت‌ها) */

/* ====================== ریشه سایدبار + متغیرها ====================== */
.maan-aside {
    --maside-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --maside-blue: #0066ff;
    --maside-blue-light: #3385ff;
    --maside-blue-soft: rgba(0, 102, 255, 0.16);
    --maside-blue-chip: rgba(0, 102, 255, 0.25);
    --maside-grad: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
    --maside-bg: #222;
    --maside-item-bg: rgba(255, 255, 255, 0.035);
    --maside-text: #fff;
    --maside-text-soft: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 24px;
    direction: rtl;
}

/* ====================== ویجت (کارت پایه) ====================== */
.maan-wd {
    padding: 24px;
    direction: rtl;
    background-color: var(--maside-bg, #222);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.maan-wd__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.maan-wd__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--maside-grad);
    color: #fff;
}

    .maan-wd__icon svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.maan-wd .maan-wd__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--maside-text);
}

/* ====================== ویجت ۱: جستجو ====================== */
.maan-search {
    position: relative;
}

.maan-wd .maan-search__input {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 22px 0 66px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 300;
    color: var(--maside-text);
    direction: rtl;
    outline: 0;
    transition: border-color 400ms ease, box-shadow 400ms ease;
}

    .maan-wd .maan-search__input::placeholder {
        color: rgba(255, 255, 255, 0.5);
        font-size: 14px;
    }

    .maan-wd .maan-search__input:focus {
        border-color: var(--maside-blue);
        box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
    }

.maan-search .maan-search__btn {
    position: absolute;
    top: 6px;
    left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--maside-grad);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgba(0, 102, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 600ms var(--maside-ease), box-shadow 600ms var(--maside-ease);
}

    .maan-search .maan-search__btn:hover {
        color: #fff;
        background: var(--maside-grad);
        transform: scale(1.08) rotate(-8deg);
    }

    .maan-search .maan-search__btn:focus-visible {
        outline: 2px solid var(--maside-blue);
        outline-offset: 3px;
    }

.maan-search__btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ====================== ویجت ۲: آخرین مقالات ====================== */
.maan-late-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

a.maan-late,
a.maan-late:hover,
a.maan-late:focus {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

a.maan-late {
    padding: 8px;
    background-color: var(--maside-item-bg);
    border: 1px solid transparent;
    border-radius: 16px;
    transition: transform 500ms var(--maside-ease), background-color 400ms ease, border-color 400ms ease;
}

    a.maan-late:hover,
    a.maan-late:focus-visible {
        transform: translateX(-4px);
        background-color: var(--maside-blue-soft);
        border-color: rgba(0, 102, 255, 0.35);
    }

.maan-late .maan-late__thumb {
    flex: 0 0 auto;
    display: block;
    width: 78px;
    height: 64px;
    overflow: hidden;
    border-radius: 12px;
}

.maan-late__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--maside-ease);
}

a.maan-late:hover .maan-late__thumb img {
    transform: scale(1.1);
}

.maan-late .maan-late__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--maside-text);
    text-align: right;
}

/* ====================== ویجت ۳: دسته‌بندی‌ها ====================== */
.maan-cat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

a.maan-cat,
a.maan-cat:hover,
a.maan-cat:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
}

a.maan-cat {
    position: relative;
    padding: 11px 38px 11px 14px;
    background-color: var(--maside-item-bg);
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--maside-text-soft);
    transition: transform 500ms var(--maside-ease), background-color 400ms ease, border-color 400ms ease, color 400ms ease;
}

    /* نشانگر آبی سمت راست */
    a.maan-cat::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 16px;
        width: 4px;
        height: 18px;
        border-radius: 4px;
        background-color: rgba(0, 102, 255, 0.55);
        transform: translateY(-50%);
        transition: height 450ms var(--maside-ease), background-color 450ms ease;
    }

    a.maan-cat:hover,
    a.maan-cat:focus-visible {
        transform: translateX(-4px);
        background-color: var(--maside-blue-soft);
        border-color: rgba(0, 102, 255, 0.35);
        color: var(--maside-text);
    }

        a.maan-cat:hover::before {
            height: 26px;
            background-color: var(--maside-blue);
        }

.maan-cat .maan-cat__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 13px;
    background-color: var(--maside-blue-chip);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: var(--maside-blue-light);
    transition: background-color 400ms ease, color 400ms ease;
}

/* حالت فعال */
a.maan-cat.is-active,
a.maan-cat.is-active:hover {
    background: var(--maside-grad);
    border-color: var(--maside-blue);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 28px -14px rgba(0, 102, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    a.maan-cat.is-active::before {
        background-color: #fff;
    }

.maan-cat.is-active .maan-cat__count {
    background-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ====================== ریسپانسیو ====================== */
@media screen and (max-width: 991px) {
    .maan-aside {
        margin-top: 32px;
    }
}

/* ====================== کاهش حرکت ====================== */
@media (prefers-reduced-motion: reduce) {
    .maan-search .maan-search__btn,
    a.maan-late,
    .maan-late__thumb img,
    a.maan-cat,
    a.maan-cat::before {
        transition: none;
    }

        .maan-search .maan-search__btn:hover,
        a.maan-late:hover,
        a.maan-late:hover .maan-late__thumb img,
        a.maan-cat:hover {
            transform: none;
        }
}
/* ===== متای کارت مقاله ===== */
.maan-art__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    color: #d4d4d4;
    margin: 10px;
}

.maan-art__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.maan-art__meta-item svg {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    margin-inline-end: .4em; /* برای RTL و LTL هر دو درسته */
    vertical-align: -0.15em;
    opacity: .8;
}
    

    .maan-art__meta-item a {
        color: inherit;
        text-decoration: none;
        transition: color 400ms ease;
    }

        .maan-art__meta-item a:hover {
            color: #0066ff; /* دارک: #3385ff */
        }

/* ======= Maan Article Details (صفحه‌ی جزئیات مقاله) — dark theme =======
   این بخش را به انتهای فایل CSS تم dark اضافه کنید و بلوک <style> داخل صفحه را حذف کنید.
   وابسته به: maan-cta، maan-share، maan-articles (maan-late)، maan-blog (maan-bl)، maan-doc، maan-gal. */

/* ====================== کاور مقاله ====================== */
.maan-cover {
    position: relative;
    overflow: hidden;
    margin: 0 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 24px 44px -26px rgba(0, 102, 255, 0.35);
}

    .maan-cover img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .maan-cover:hover img {
        transform: scale(1.03);
    }

/* ====================== نوار اطلاعات (دسته، تاریخ، نویسنده، ...) ====================== */
.maan-metabar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin: 0 0 24px;
    padding: 14px 20px;
    direction: rtl;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

    .maan-metabar .maan-metabar__item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

.maan-metabar__item svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #3385ff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.maan-metabar a,
.maan-metabar a:hover {
    display: inline;
}

.maan-metabar a {
    font-weight: 700;
    color: #fff;
    transition: color 400ms ease;
}

    .maan-metabar a:hover {
        color: #3385ff;
    }

/* ====================== برچسب‌ها ====================== */
.maan-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    direction: rtl;
}

a.maan-tag,
a.maan-tag:hover,
a.maan-tag:focus {
    display: inline-flex;
    align-items: center;
}

a.maan-tag {
    gap: 6px;
    padding: 6px 16px;
    background-color: rgba(0, 102, 255, 0.18);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: #D9E8FF;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), background 400ms ease, color 400ms ease, box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

    a.maan-tag::before {
        content: "#";
        font-weight: 700;
        opacity: 0.7;
    }

    a.maan-tag:hover,
    a.maan-tag:focus-visible {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
        color: #fff;
        box-shadow: 0 12px 22px -12px rgba(0, 102, 255, 0.7);
    }

/* ====================== دکمه‌ی <button> با کلاس maan-cta ====================== */
button.maan-cta {
    display: inline-flex;
    align-items: center;
    margin: 0;
    text-align: right;
}

    button.maan-cta.maan-cta--block {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

/* ====================== شبکه‌های اجتماعی (آیکن تصویری) ====================== */
.maan-share a.has-img::after {
    display: none;
}

.maan-share .maan-share__img {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 1;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    padding: 8px;
    object-fit: contain;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.maan-share a:hover .maan-share__img {
    transform: scale(1.08) rotate(-8deg);
}

/* ====================== نظرات ====================== */
.maan-cmt-section h4 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.maan-cmt-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.maan-cmt {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    direction: rtl;
}

    .maan-cmt .maan-cmt__avatar {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #3385ff 0%, #0066ff 55%, #0052cc 100%);
        box-shadow: 0 10px 20px -10px rgba(0, 102, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        color: #fff;
    }

.maan-cmt__body {
    flex: 1;
    min-width: 0;
    padding: 16px 22px 18px;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px 20px 20px 20px;
    transition: border-color 400ms ease, box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.maan-cmt:hover .maan-cmt__body {
    border-color: rgba(0, 102, 255, 0.35);
    box-shadow: 0 18px 30px -22px rgba(0, 102, 255, 0.5);
}

.maan-cmt__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
}

    .maan-cmt__head strong {
        font-size: 15px;
        font-weight: 800;
        color: #fff;
    }

    .maan-cmt__head time {
        font-size: 12px;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.55);
    }

.maan-cmt .maan-cmt__text {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 2;
    color: rgba(255, 255, 255, 0.72);
    white-space: pre-line;
}

/* ---------- فرم ---------- */
.maan-cmt-section .maan-cmt-form {
    display: grid;
    gap: 14px;
    padding: 24px;
    direction: rtl;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

    .maan-cmt-section .maan-cmt-form input,
    .maan-cmt-section .maan-cmt-form textarea {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0 22px;
        height: 54px;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 30px;
        font-family: 'peyda', sans-serif;
        font-size: 14px;
        font-weight: 300;
        color: #fff;
        transition: border-color 400ms ease, box-shadow 400ms ease;
    }

    .maan-cmt-section .maan-cmt-form textarea {
        height: auto;
        min-height: 140px;
        padding: 16px 22px;
        border-radius: 20px;
        line-height: 1.9;
        resize: vertical;
    }

        .maan-cmt-section .maan-cmt-form input::placeholder,
        .maan-cmt-section .maan-cmt-form textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .maan-cmt-section .maan-cmt-form input:focus,
        .maan-cmt-section .maan-cmt-form textarea:focus {
            border-color: #0066ff;
            box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
        }

.maan-cmt-form .maan-cmt-form__note {
    display: block;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

/* ====================== مقالات مرتبط (کارت maan-bl داخل گرید) ====================== */
.maan-rel-col {
    display: flex;
}

    .maan-rel-col > .maan-bl {
        width: 100%;
    }

.maan-bl .maan-bl__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 10px 0 0;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
}

/* ====================== ریسپانسیو ====================== */
@media screen and (max-width: 575px) {
    .maan-metabar {
        padding: 12px 16px;
        gap: 8px 16px;
    }

    .maan-cmt {
        gap: 12px;
    }

        .maan-cmt .maan-cmt__avatar {
            width: 40px;
            height: 40px;
            font-size: 16px;
        }

    .maan-cmt-section .maan-cmt-form {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maan-cover img,
    a.maan-tag,
    .maan-cmt__body,
    .maan-share .maan-share__img {
        transition: none;
    }

        .maan-cover:hover img,
        a.maan-tag:hover {
            transform: none;
        }
}

/* ==================================================
   MAAN — ARTICLE DETAILS
   Theme: data-theme="light" | data-theme="dark"
   ================================================== */

/* Article Details — Dark Theme */
.maan-article-page {
    --ma-blue: #0066ff;
    --ma-accent: #78a6ff;
    --ma-grad: linear-gradient( 135deg, #3385ff 0%, #0066ff 55%, #0052cc 100% );
    --ma-bg: #1b1b1b;
    --ma-surface: #222;
    --ma-raised: #292929;
    --ma-soft: rgba(0, 102, 255, .15);
    --ma-text: #f5f7fb;
    --ma-muted: #b4bac5;
    --ma-border: rgba(255, 255, 255, .08);
    --ma-border-hover: rgba(51, 133, 255, .45);
    --ma-shadow: 0 24px 44px -28px rgba(0, 102, 255, .4);
    --ma-ease: cubic-bezier(.22, 1, .36, 1);
    --ma-anchor-offset: 110px;
    direction: rtl;
    background: var(--ma-bg);
    color: var(--ma-text);
    font-family: "peyda", sans-serif;
    text-align: start;
}



    .maan-article-page,
    .maan-article-page *,
    .maan-article-page *::before,
    .maan-article-page *::after {
        box-sizing: border-box;
    }

        .maan-article-page :where( #details-section, #description, #gallery-section, #comments-section, #related-articles, #contact-us-section, .maan-prose h2, .maan-prose h3 ) {
            scroll-margin-top: var(--ma-anchor-offset);
        }

        .maan-article-page :where(a, button, input, textarea):focus-visible {
            outline: 2px solid var(--ma-accent);
            outline-offset: 4px;
        }

       
        .maan-article-page .line-vr-section {
            background-color: var(--ma-border);
        }

        /* ================= SECTION MAP ================= */

.details-hero__category {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.8;
    text-transform: uppercase;
    color: #0066ff !important;
}

        /* ================= COVER & INTRO ================= */

        .maan-article-page .maan-art__cover {
            overflow: hidden;
            margin: 0 0 24px;
            border: 1px solid var(--ma-border);
            border-radius: 24px;
            background: var(--ma-surface);
            box-shadow: var(--ma-shadow);
        }

            .maan-article-page .maan-art__cover img {
                display: block;
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                object-fit: cover;
                transition: transform 900ms var(--ma-ease);
            }

            .maan-article-page .maan-art__cover:hover img {
                transform: scale(1.025);
            }

        .maan-article-page .maan-article-intro {
            position: relative;
            margin-bottom: 24px;
            padding: 24px 28px;
            border: 1px solid var(--ma-border);
            border-inline-start: 3px solid var(--ma-blue);
            border-radius: 18px;
            background: var(--ma-surface);
        }

        .maan-article-page .maan-article-intro__label {
            display: block;
            margin-bottom: 8px;
            color: var(--ma-accent);
            font-size: 13px;
            font-weight: 800;
        }

        .maan-article-page .maan-article-intro p {
            margin: 0;
            color: var(--ma-text);
            font-size: 15px;
            font-weight: 400;
            line-height: 2.1;
        }

        .maan-article-page .maan-cta-group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
        }

        .maan-article-page .maan-cta--outline {
            border-color: var(--ma-accent);
            color: var(--ma-accent);
        }

        /* ================= SHARE ================= */

        .maan-article-share {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        .maan-article-page a.maan-article-share__link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            min-height: 44px;
            padding: 10px;
            border: 1px solid var(--ma-border);
            border-radius: 12px;
            background: var(--ma-raised);
            color: var(--ma-text);
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: transform 400ms var(--ma-ease), background-color 300ms ease, border-color 300ms ease;
        }

            .maan-article-page a.maan-article-share__link:hover {
                transform: translateY(-2px);
                background: var(--ma-soft);
                border-color: var(--ma-border-hover);
            }

        .maan-article-page .maan-article-share__icon {
            display: inline-flex;
            flex: 0 0 auto;
            color: var(--ma-accent);
        }

            .maan-article-page .maan-article-share__icon svg,
            .maan-article-page .maan-article-copy svg {
                width: 17px;
                height: 17px;
                fill: none;
                stroke: currentColor;
                stroke-width: 1.8;
                stroke-linecap: round;
                stroke-linejoin: round;
            }

        .maan-article-page .maan-article-copy {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            min-height: 46px;
            margin-top: 12px;
            padding: 10px 16px;
            border: 1px dashed var(--ma-border-hover);
            border-radius: 999px;
            background: var(--ma-soft);
            color: var(--ma-accent);
            font: inherit;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 300ms ease, color 300ms ease;
        }

            .maan-article-page .maan-article-copy:hover {
                background: var(--ma-blue);
                color: #fff;
            }

        /* ================= SOCIAL LINKS ================= */

        .maan-article-page .maan-article-socials {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .maan-article-page a.maan-article-socials__link {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 48px;
            padding: 10px 12px;
            border: 1px solid var(--ma-border);
            border-radius: 14px;
            background: var(--ma-raised);
            color: var(--ma-text);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 300ms ease, border-color 300ms ease;
        }

            .maan-article-page a.maan-article-socials__link:hover {
                background: var(--ma-soft);
                border-color: var(--ma-border-hover);
            }

        .maan-article-page .maan-article-socials__icon {
            display: grid;
            flex: 0 0 auto;
            place-items: center;
            width: 32px;
            height: 32px;
            padding: 6px;
            border-radius: 50%;
            background: #fff;
        }

            .maan-article-page .maan-article-socials__icon img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

        /* ================= META BAR ================= */

        .maan-article-page #description > .container > .maan-art__meta {
            gap: 12px 22px;
            margin-bottom: 28px;
            padding: 16px 22px;
            border: 1px solid var(--ma-border);
            border-radius: 16px;
            background: var(--ma-surface);
        }

        .maan-article-page .maan-art__meta {
            color: var(--ma-muted);
        }

.maan-article-page .maan-art__meta-item svg {
    fill: #0066ff;
}

.maan-article-page .maan-art__meta-item a:hover {
            color: var(--ma-accent);
        }

        /* ================= ARTICLE CONTENT ================= */

        .maan-article-page .maan-prose {
            min-width: 0;
            color: var(--ma-text);
            font-size: 16px;
            font-weight: 400;
            line-height: 2.2;
            overflow-wrap: anywhere;
        }

            .maan-article-page .maan-prose > :first-child {
                margin-top: 0;
            }

            .maan-article-page .maan-prose :where(p, li) {
                color: var(--ma-text);
                font-size: inherit;
                font-weight: inherit;
                line-height: inherit;
            }

            .maan-article-page .maan-prose p {
                margin: 0 0 22px;
            }

            .maan-article-page .maan-prose :where(h2, h3, h4, h5, h6) {
                color: var(--ma-text);
                font-weight: 800;
                line-height: 1.8;
            }

            .maan-article-page .maan-prose h2 {
                margin: 42px 0 18px;
                padding-inline-start: 16px;
                border-inline-start: 4px solid var(--ma-blue);
                font-size: clamp(22px, 2.2vw, 28px);
            }

            .maan-article-page .maan-prose h3 {
                margin: 32px 0 14px;
                font-size: clamp(19px, 1.8vw, 23px);
            }

            .maan-article-page .maan-prose h4 {
                margin: 26px 0 12px;
                font-size: 18px;
            }

            .maan-article-page .maan-prose a {
                display: inline;
                color: var(--ma-accent);
                text-decoration: underline;
                text-decoration-color: var(--ma-border-hover);
                text-underline-offset: 5px;
            }

                .maan-article-page .maan-prose a:hover {
                    text-decoration-color: currentColor;
                }

            .maan-article-page .maan-prose :where(ul, ol) {
                margin: 18px 0 24px;
                padding-inline-start: 26px;
            }

            .maan-article-page .maan-prose ul {
                list-style: disc;
            }

            .maan-article-page .maan-prose ol {
                list-style: decimal;
            }

            .maan-article-page .maan-prose li {
                margin-bottom: 8px;
            }

                .maan-article-page .maan-prose li::marker {
                    color: var(--ma-accent);
                    font-weight: 700;
                }

            .maan-article-page .maan-prose blockquote {
                margin: 28px 0;
                padding: 24px 28px;
                border: 1px solid var(--ma-border);
                border-inline-start: 4px solid var(--ma-blue);
                border-radius: 18px;
                background: var(--ma-soft);
                color: var(--ma-text);
                font-size: 17px;
                line-height: 2;
            }

                .maan-article-page .maan-prose blockquote p:last-child {
                    margin-bottom: 0;
                }

            .maan-article-page .maan-prose img {
                max-width: 100%;
                height: auto;
                border-radius: 18px;
            }

            .maan-article-page .maan-prose figure {
                max-width: 100%;
                margin: 28px 0;
            }

            .maan-article-page .maan-prose figcaption {
                margin-top: 10px;
                color: var(--ma-muted);
                font-size: 12px;
                text-align: center;
            }

            .maan-article-page .maan-prose .maan-table-scroll {
                overflow-x: auto;
                margin: 26px 0;
                border: 1px solid var(--ma-border);
                border-radius: 16px;
            }

            .maan-article-page .maan-prose table {
                width: 100%;
                margin: 0;
                border-collapse: collapse;
                background: var(--ma-raised);
                font-size: 14px;
            }

            .maan-article-page .maan-prose :where(th, td) {
                padding: 14px 18px;
                border: 1px solid var(--ma-border);
                text-align: start;
                vertical-align: top;
            }

            .maan-article-page .maan-prose th {
                background: var(--ma-soft);
                color: var(--ma-accent);
                font-weight: 800;
            }

            .maan-article-page .maan-prose pre {
                max-width: 100%;
                overflow-x: auto;
                padding: 22px;
                border: 1px solid var(--ma-border);
                border-radius: 16px;
                background: var(--ma-surface);
                color: var(--ma-text);
                direction: ltr;
                text-align: left;
                font-size: 13px;
                line-height: 1.9;
            }
        /* ================= TAGS ================= */

        .maan-article-page .maan-art__tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--ma-border);
        }

            .maan-article-page .maan-art__tags a {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 7px 16px;
                border: 1px solid var(--ma-border);
                border-radius: 999px;
                background: var(--ma-soft);
                color: var(--ma-accent);
                font-size: 12px;
                line-height: 1.8;
                text-decoration: none;
                transition: transform 400ms var(--ma-ease), background-color 300ms ease, color 300ms ease;
            }

                .maan-article-page .maan-art__tags a::before {
                    content: "#";
                    opacity: .65;
                }

                .maan-article-page .maan-art__tags a:hover {
                    transform: translateY(-2px);
                    background: var(--ma-blue);
                    color: #fff;
                }

        /* ================= COMMENTS ================= */

        .maan-article-page .maan-cmt-section h4,
        .maan-article-page .maan-cmt__head strong {
            color: var(--ma-text);
        }

        .maan-article-page .maan-cmt__body {
            background: var(--ma-surface);
            border-color: var(--ma-border);
        }

        .maan-article-page .maan-cmt:hover .maan-cmt__body {
            border-color: var(--ma-border-hover);
        }

        .maan-article-page .maan-cmt__head time,
        .maan-article-page .maan-cmt-form .maan-cmt-form__note {
            color: var(--ma-muted);
        }

        .maan-article-page .maan-cmt .maan-cmt__text {
            color: var(--ma-text);
            overflow-wrap: anywhere;
        }

        .maan-article-page .maan-cmt-section .maan-cmt-form {
            background: var(--ma-surface);
            border-color: var(--ma-border);
        }

            .maan-article-page .maan-cmt-section .maan-cmt-form input,
            .maan-article-page .maan-cmt-section .maan-cmt-form textarea {
                background: var(--ma-raised);
                border-color: var(--ma-border);
                color: var(--ma-text);
            }

                .maan-article-page .maan-cmt-section .maan-cmt-form input::placeholder,
                .maan-article-page .maan-cmt-section .maan-cmt-form textarea::placeholder {
                    color: var(--ma-muted);
                }

                .maan-article-page .maan-cmt-section .maan-cmt-form input:focus,
                .maan-article-page .maan-cmt-section .maan-cmt-form textarea:focus {
                    border-color: var(--ma-blue);
                    box-shadow: 0 0 0 4px rgba(0, 102, 255, .12);
                }

        /* ================= RELATED ARTICLES ================= */

        .maan-article-page #related-articles .row.g-4 > [class*="col-"] {
            display: flex;
        }

        .maan-article-page #related-articles .item {
            display: flex;
            flex-direction: column;
            width: 100%;
            margin: 0;
            overflow: hidden;
            border: 1px solid var(--ma-border);
            border-radius: 20px;
            background: var(--ma-surface);
            transition: transform 600ms var(--ma-ease), border-color 400ms ease, box-shadow 600ms var(--ma-ease);
        }

            .maan-article-page #related-articles .item:hover {
                transform: translateY(-6px);
                border-color: var(--ma-border-hover);
                box-shadow: var(--ma-shadow);
            }

        .maan-article-page #related-articles .post-img {
            flex: 0 0 auto;
            overflow: hidden;
            margin: 0;
            border-radius: 0;
        }

            .maan-article-page #related-articles .post-img a {
                display: block;
            }

            .maan-article-page #related-articles .post-img img {
                display: block;
                width: 100%;
                height: auto;
                aspect-ratio: 3 / 2;
                object-fit: cover;
                transition: transform 900ms var(--ma-ease);
            }

        .maan-article-page #related-articles .item:hover .post-img img {
            transform: scale(1.05);
        }

        .maan-article-page #related-articles .post-cont {
            position: relative;
            inset: auto;
            display: flex;
            flex: 1;
            flex-direction: column;
            align-items: stretch;
            width: 100%;
            margin: 0;
            padding: 24px;
            border-radius: 0;
            background: transparent;
            text-align: start;
            transform: none;
        }

            .maan-article-page #related-articles .post-cont h5 {
                margin: 12px 0 10px;
                font-size: 19px;
                font-weight: 800;
                line-height: 1.8;
            }

                .maan-article-page #related-articles .post-cont h5 a {
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    color: var(--ma-text);
                    font-size: inherit;
                    line-height: inherit;
                }

                    .maan-article-page #related-articles .post-cont h5 a:hover {
                        color: var(--ma-accent);
                    }

            .maan-article-page #related-articles .post-cont p {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
                margin-bottom: 22px;
                color: var(--ma-muted);
                font-size: 13.5px;
                line-height: 2;
            }

            .maan-article-page #related-articles .post-cont .maan-cta {
                margin-top: auto !important;
            }

/* ================= RESPONSIVE ================= */

@media (max-width: 1199.98px) {

    .maan-article-share {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {

    .maan-article-share {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maan-doc-toc {
        position: static;
    }

    /* فهرست مطالب در موبایل، پیش از متن مقاله قرار می‌گیرد */
    .maan-article-page #description > .container > .row.g-4 > aside {
        order: -1;
    }

    .maan-doc-toc__body {
        max-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .maan-article-page .maan-art__cover {
        border-radius: 18px;
    }

    .maan-article-page .maan-article-intro {
        padding: 20px;
    }

    .maan-article-page .maan-cta-group > .maan-cta {
        width: 100%;
        justify-content: space-between;
    }

    .maan-article-page #description > .container > .maan-art__meta {
        gap: 10px 16px;
        padding: 14px 16px;
    }

    .maan-article-page .maan-prose {
        font-size: 15px;
        line-height: 2.15;
    }

        .maan-article-page .maan-prose blockquote {
            padding: 20px;
            font-size: 15px;
        }

    .maan-article-page #related-articles .post-cont {
        padding: 20px;
    }
}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {
    .maan-article-page *,
    .maan-article-page *::before,
    .maan-article-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .maan-article-page .maan-art__cover:hover img,
    .maan-article-page a.maan-article-share__link:hover,
    .maan-article-page .maan-art__tags a:hover,
    .maan-article-page #related-articles .item:hover,
    .maan-article-page #related-articles .item:hover .post-img img {
        transform: none;
    }
}
.line-vr-section {
    position: relative;
    margin: -25px auto;
    border: 0;
    border-right: 3px solid;
    border-color: #2A80FF;
    width: 5px;
    height: 50px;
    z-index: 10;
    opacity: 1;
}

/* Footer tokens follow the active Maan light/dark theme. */
:root {
    --maan-footer-bg: #0b1220;
    --maan-footer-surface: rgba(20, 34, 58, 0.78);
    --maan-footer-surface-strong: #101a2e;
    --maan-footer-text: #f4f7ff;
    --maan-footer-muted: rgba(217, 232, 255, 0.72);
    --maan-footer-border: rgba(217, 232, 255, 0.14);
    --maan-footer-accent: #0066ff;
    --maan-footer-accent-light: #3385ff;
    --maan-footer-accent-dark: #0052cc;
    --maan-footer-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.footer {
    position: relative;
    overflow: hidden;
    background: var(--maan-footer-bg);
    color: var(--maan-footer-text);
}

    .footer::before {
        position: absolute;
        inset: 0;
        content: "";
        pointer-events: none;
        background: radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--maan-footer-accent) 12%, transparent), transparent 34%), radial-gradient(circle at 92% 92%, color-mix(in srgb, var(--maan-footer-accent-light) 10%, transparent), transparent 30%);
    }

    .footer > .container {
        position: relative;
        z-index: 1;
    }

    .footer .first-footer {
        padding-top: 64px;
    }

    .footer .links.dark.footer-contact-links {
        padding: 18px 22px;
        border: 1px solid var(--maan-footer-border);
        border-radius: 24px;
        background: var(--maan-footer-surface);
        box-shadow: var(--maan-footer-shadow);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .footer .footer-contact-link-wrapper {
        color: var(--maan-footer-text);
    }

    .footer .icon-footer {
        width: 56px;
        min-width: 56px;
        min-height: 56px;
        max-height: 56px;
        border: 0;
        background: linear-gradient(135deg, var(--maan-footer-accent-light), var(--maan-footer-accent) 55%, var(--maan-footer-accent-dark));
        color: #fff;
        box-shadow: 0 12px 24px -12px rgba(0, 102, 255, 0.65);
        transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease;
    }

    .footer .footer-contact-link-wrapper:hover .icon-footer {
        transform: translateY(-3px) rotate(-6deg);
        box-shadow: 0 16px 28px -12px rgba(0, 102, 255, 0.75);
    }

    .footer .footer-contact-link-wrapper h6,
    .footer .widget .widget-title {
        color: #0066ff;
    }

    .footer .footer-contact-link-wrapper p,
    .footer .second-footer .widget-area .widget p {
        color: var(--maan-footer-muted);
    }

    .footer .footer-contact-links-divider,
    .footer .second-footer {
       
        border-color: var(--maan-footer-border);
    }

    .footer .second-footer {
        border-bottom: 1px solid var(--maan-footer-border);
    }

    .footer .usful-links ul li a {
        color: var(--maan-footer-muted);
        transition: color 300ms ease;
    }

        .footer .usful-links ul li a::after {
            background: var(--maan-footer-accent);
        }

        .footer .usful-links ul li a:hover {
            color: var(--maan-footer-accent-light);
        }

    .footer .social-icons ul {
        gap: 10px;
    }

    .footer .social-icons li {
        width: 48px;
        height: 48px;
        margin-left: 0;
        border: 1px solid var(--maan-footer-border);
        background: var(--maan-footer-surface-strong);
        box-shadow: 0 8px 18px rgba(31, 67, 125, 0.08);
        transition: transform 350ms ease, border-color 350ms ease, background-color 350ms ease, box-shadow 350ms ease;
    }

        .footer .social-icons li:hover {
            transform: translateY(-4px);
            border-color: var(--maan-footer-accent);
            background: var(--maan-footer-accent);
            box-shadow: 0 12px 24px -10px rgba(0, 102, 255, 0.7);
        }

        .footer .social-icons li a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

        .footer .social-icons li img {
            width: 24px !important;
            height: 24px !important;
            object-fit: contain;
            transition: transform 350ms ease;
        }

        .footer .social-icons li:hover img {
            transform: scale(1.1);
        }

    .footer .copyright p {
        color: var(--maan-footer-muted);
    }

        .footer .copyright p a {
            color: var(--maan-footer-text);
            background-image: linear-gradient(to bottom, var(--maan-footer-accent), var(--maan-footer-accent));
        }

@media screen and (max-width: 767px) {
    .footer .first-footer {
        padding-top: 40px;
    }

    .footer .links.dark.footer-contact-links {
        padding: 16px;
    }

    .footer .footer-contact-links-divider {
        margin: 14px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer .icon-footer,
    .footer .social-icons li,
    .footer .social-icons li img {
        transition: none;
    }
}
.navbar .dropdown-menu .dropdown-item .menu-icon {
    font-size: 1.35rem;
    width: 1.75rem;
    text-align: center;
    vertical-align: middle;
    margin-inline-end: .5rem;
}

/* Contact page styles moved from Pages/ContactUs/ContactUs.cshtml */
.contact-box--enhanced,
.contact.contact--enhanced {
    --contact-blue: #0066ff;
    --contact-blue-light: #3385ff;
    --contact-blue-dark: #0052cc;
    --contact-surface: #222;
    --contact-surface-soft: #1b1b1b;
    --contact-text: #f4f7ff;
    --contact-muted: #b6c0d0;
    --contact-border: rgba(51, 133, 255, .28);
    --contact-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

/* Contact page: scoped tokens derived from maan-design-light/dark.css */
        .contact-box--enhanced,
        .contact.contact--enhanced {
            --contact-blue: #0066ff;
            --contact-blue-light: #3385ff;
            --contact-blue-dark: #0052cc;
            --contact-surface: #fff;
            --contact-surface-soft: #f4f8ff;
            --contact-text: #17263d;
            --contact-muted: #58677d;
            --contact-border: rgba(0, 102, 255, .14);
            --contact-shadow: 0 18px 45px rgba(23, 38, 61, .10);
        }
.contact-box--enhanced {
            margin-top: -108px;
            padding-bottom: 18px;
            position: relative;
            z-index: 3;
        }

        .contact-box--enhanced .item {
            min-height: 218px;
            height: calc(100% - 30px);
            margin-bottom: 30px;
            padding: 34px 28px 30px;
            border: 1px solid var(--contact-border);
            border-radius: 24px;
            background: var(--contact-surface);
            box-shadow: var(--contact-shadow);
            transition: transform 350ms cubic-bezier(.22, 1, .36, 1), box-shadow 350ms ease, background-color 350ms ease;
        }

        .contact-box--enhanced .item::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 4px;
            background: linear-gradient(90deg, var(--contact-blue-dark), var(--contact-blue-light));
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 350ms ease;
        }

        .contact-box--enhanced .item:hover,
        .contact-box--enhanced .item:focus-within {
            background: var(--contact-blue);
            box-shadow: 0 24px 48px rgba(0, 102, 255, .25);
            transform: translateY(-8px);
        }

        .contact-box--enhanced .item:hover::after,
        .contact-box--enhanced .item:focus-within::after,
        .contact-box--enhanced .item.active::after { transform: scaleX(1); }

        .contact-box--enhanced .item.active {
            background: linear-gradient(135deg, var(--contact-blue-light), var(--contact-blue-dark));
            box-shadow: 0 20px 44px rgba(0, 102, 255, .28);
        }

        .contact-box--enhanced .item .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 54px;
            height: 54px;
            margin-bottom: 22px;
            border: 1px solid rgba(0, 102, 255, .18);
            border-radius: 16px;
            background: rgba(0, 102, 255, .10);
            color: var(--contact-blue);
            font-size: 26px;
            transition: transform 350ms ease, background-color 350ms ease, color 350ms ease;
        }

        .contact-box--enhanced .item:hover .icon,
        .contact-box--enhanced .item:focus-within .icon,
        .contact-box--enhanced .item.active .icon {
            background: rgba(255, 255, 255, .18);
            color: #fff;
            transform: rotate(-5deg) scale(1.05);
        }

        .contact-box--enhanced .item h5 {
            position: relative;
            z-index: 1;
            margin-bottom: 10px;
            color: var(--contact-text);
            font-size: 19px;
            font-weight: 700;
        }

        .contact-box--enhanced .item p,
        .contact-box--enhanced .item p a {
            position: relative;
            z-index: 1;
            display: block;
            max-width: 100%;
            overflow-wrap: anywhere;
            color: var(--contact-muted);
            font-size: 14px;
            line-height: 1.9;
            text-decoration: none;
        }

        .contact-box--enhanced .item:hover h5,
        .contact-box--enhanced .item:hover p,
        .contact-box--enhanced .item:hover p a,
        .contact-box--enhanced .item:focus-within h5,
        .contact-box--enhanced .item:focus-within p,
        .contact-box--enhanced .item:focus-within p a,
        .contact-box--enhanced .item.active h5,
        .contact-box--enhanced .item.active p,
        .contact-box--enhanced .item.active p a { color: #fff; }

        .contact-box--enhanced .item i.numb {
            color: var(--contact-blue);
            opacity: .08;
            transition: color 350ms ease, opacity 350ms ease, transform 350ms ease;
        }

        .contact-box--enhanced .item:hover i.numb,
        .contact-box--enhanced .item:focus-within i.numb,
        .contact-box--enhanced .item.active i.numb {
            color: #fff;
            opacity: .16;
            transform: scale(1.08) rotate(-7deg);
        }

        .contact--enhanced { padding-top: 68px; }
        .contact__msg { margin: 0 auto 30px; border-radius: 14px; }
        .contact__form-shell,
        .contact__map-card {
            height: 100%;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }
        .contact__form-shell h5,
        .contact__map-card h5 { color: var(--contact-text); }
        .contact__form-shell p { color: var(--contact-muted); }
        .contact__form-shell .maan-cmt-form { padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
        .contact__form-shell .maan-cmt-form input,
        .contact__form-shell .maan-cmt-form textarea { color: var(--contact-text); }
        .captcha-row { display: flex; align-items: center; gap: 12px; }
        .captcha-row img { height: 45px; flex: 1 1 50%; min-width: 0; object-fit: contain; cursor: pointer; border-radius: 8px; }
        .captcha-row input { flex: 1 1 50%; min-width: 0; }
        .contact__map-card { display: flex; flex-direction: column; }
        .contact__map-card h5 { margin-bottom: 20px; }
        .contact__map-card .google-map { flex: 1; min-height: 340px; border-radius: 18px; }
        .contact__map-card .google-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

        @media (max-width: 991px) {
            .contact-box--enhanced { margin-top: -64px; }
            .contact--enhanced { padding-top: 38px; }
            .contact__form-shell { margin-bottom: 0; }
        }
        @media (max-width: 575px) {
            .contact-box--enhanced { margin-top: -34px; padding-bottom: 0; }
            .contact-box--enhanced .item { min-height: 0; height: auto; padding: 26px 22px; }
            .contact-box--enhanced .item .icon { margin-bottom: 16px; }
            .captcha-row { align-items: stretch; flex-direction: column; }
            .captcha-row img { width: 100%; height: 52px; }
            .contact__map-card .google-map,
            .contact__map-card .google-map iframe { min-height: 270px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .contact-box--enhanced .item,
            .contact-box--enhanced .item::after,
            .contact-box--enhanced .item .icon,
            .contact-box--enhanced .item i.numb { transition: none; }
        }
