/*
Theme Name: ASA Theme
Theme URI: https://ariasaco.ir
Author: Taktaweb Design & Development Group
Author URI: https://taktaweb.ir
Description: ASA Group
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taktaweb
Domain Path: /languages
Tags: responsive-layout, custom-header, featured-images, sticky-post, editor-style
*/
@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/iransans/woff/IRANSansX-Thin.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-Thin.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/iransans/woff/IRANSansX-UltraLight.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-UltraLight.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/iransans/woff/IRANSansX-Light.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/iransans/woff/IRANSansX-Regular.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/iransans/woff/IRANSansX-Medium.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/iransans/woff/IRANSansX-DemiBold.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-DemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/iransans/woff/IRANSansX-Bold.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/iransans/woff/IRANSansX-ExtraBold.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/iransans/woff/IRANSansX-Black.woff') format('woff'),
        url('fonts/iransans/woff2/IRANSansX-Black.woff2') format('woff2');
}

/* ════════════════════════════════════════
   CSS VARIABLES
════════════════════════════════════════ */
:root {
    --green-dark: #0d5c4a;
    --green-mid: #1a6b5a;
    --green-light: #22856e;
    --gold: #c9a84c;
    --gold-light: #dfc07a;
    --gold-pale: #f0dfa0;
    --white: #ffffff;
    --off-white: #f4f2ed;
    --gray-light: #e8e5de;
    --gray-mid: #9a9589;
    --dark: #111a17;
    --gf-color-primary: #0d5c4a!important;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'iransans', sans-serif;
    background: var(--off-white);
    color: var(--dark);
    overflow-x: hidden;
}

/* ════════════════════════════════════════
   UTILITIES
════════════════════════════════════════ */
.diag-bg {
    position: relative;
    overflow: hidden;
}

.diag-bg::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -80px;
    width: 220%;
    height: 220%;
    background: repeating-linear-gradient(-55deg,
            transparent,
            transparent 38px,
            rgba(201, 168, 76, .07) 38px,
            rgba(201, 168, 76, .07) 40px);
    pointer-events: none;
}

.divider-gold {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: none;
    margin: 0;
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar-asa {
    background: var(--green-dark);
    border-bottom: 3px solid var(--gold);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-asa .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 12px 24px;
    text-decoration: none;
}

.brand-logo-box {
    width: 50px;
    height: 50px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--green-dark);
    flex-shrink: 0;
}

.brand-text {
    line-height: 1.1;
}

.brand-text .name-en {
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--white);
    font-weight: 600;
}

.brand-text .name-fa {
    font-size: 11px;
    color: var(--gold-light);
    font-weight: 300;
}

.navbar-asa .nav-link {
    color: rgba(255, 255, 255, .85) !important;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color .2s;
}

.navbar-asa .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    left: 50%;
    height: 3px;
    background: var(--gold);
    transition: right .25s, left .25s;
}

.navbar-asa .nav-link:hover,
.navbar-asa .nav-link.active-link {
    color: var(--gold-light) !important;
}

.navbar-asa .nav-link:hover::after,
.navbar-asa .nav-link.active-link::after {
    right: 0;
    left: 0;
}

.navbar-asa .nav-contact {
    background: var(--gold);
    color: var(--green-dark) !important;
    font-weight: 700;
    padding: 8px 20px !important;
    margin: auto 16px auto 0;
    border-radius: 2px;
    font-size: 13px;
}

.navbar-asa .nav-contact::after {
    display: none;
}

.navbar-asa .nav-contact:hover {
    background: var(--gold-light) !important;
    color: var(--dark) !important;
}

/* ═══ MEGA TRIGGER ═══ */
.mega-trigger {
    position: static !important
}

.mega-trigger>.nav-link {
    display: flex !important;
    align-items: center;
    gap: 5px
}

.mega-arrow {
    font-size: 10px;
    transition: transform .25s;
    color: var(--gold-light)
}

.mega-trigger.open>.nav-link .mega-arrow {
    transform: rotate(180deg)
}

.mega-trigger.open>.nav-link {
    color: var(--gold-light) !important
}

.mega-trigger.open>.nav-link::after {
    right: 0;
    left: 0
}

/* mob-accordion همیشه در دسکتاپ مخفی */
.mob-accordion {
    display: none !important
}

/* ═══ MEGA PANEL — DESKTOP ═══ */
.mega-panel {
    /* فقط دور container — نه full-width */
    position: absolute;
    top: calc(100% + 3px);
    /* راست و چپ رو از container-xl می‌گیریم */
    right: 0;
    left: 0;
    z-index: 998;
    /* پس‌زمینه فقط برای محتوا — نه کل عرض */
    background: transparent;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    display: block !important;
}

.mega-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all
}

/* کانتینر داخلی که پس‌زمینه و سایه دارد */
.mega-panel .mega-inner {
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 20px 56px rgba(0, 0, 0, .18);
    overflow: hidden;
}

/* ستون دسته‌بندی */
.mega-cats {
    background: var(--green-dark);
    min-height: 100%;
    position: relative;
    overflow: hidden
}

.mega-cats::before {
    content: 'ASA';
    position: absolute;
    font-size: 110px;
    font-weight: 700;
    color: rgba(255, 255, 255, .04);
    bottom: -15px;
    left: -8px;
    line-height: 1;
    pointer-events: none
}

.mega-cats::after {
    content: '';
    position: absolute;
    width: 160%;
    height: 50px;
    background: var(--gold);
    opacity: .06;
    top: 42%;
    left: -30%;
    transform: rotate(-8deg)
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .15s;
    position: relative;
    z-index: 2;
    text-decoration: none
}

.cat-item:last-child {
    border-bottom: none
}

.cat-item:hover,
.cat-item.active {
    background: rgba(201, 168, 76, .14)
}

.cat-item.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold)
}

.cat-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(201, 168, 76, .2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--gold);
    flex-shrink: 0;
    transition: background .15s
}

.cat-item:hover .cat-icon,
.cat-item.active .cat-icon {
    background: rgba(201, 168, 76, .18)
}

.cat-label {
    font-size: 13px;
    letter-spacing: .4px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.2
}

.cat-label small {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, .35);
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 1px
}

.cat-count {
    margin-right: auto;
    background: rgba(201, 168, 76, .12);
    color: var(--gold-light);
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 10px;
    flex-shrink: 0
}

/* ستون محصولات */
.mega-products {
    padding: 18px 14px;
    border-left: 1px solid var(--gray-light)
}

.mega-sec-title {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.mega-sec-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-light)
}

.prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px
}

.prod-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, background .15s, transform .15s;
    position: relative;
    overflow: hidden
}

.prod-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s
}

.prod-item:hover {
    border-color: rgba(201, 168, 76, .4);
    background: var(--gold-pale);
    transform: translateY(-2px);
    color: inherit
}

.prod-item:hover::before {
    transform: scaleX(1)
}

.prod-thumb {
    width: 36px;
    height: 36px;
    background: var(--green-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, .6);
    flex-shrink: 0;
    position: relative;
    overflow: hidden
}

.prod-thumb::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 14px;
    background: var(--gold);
    bottom: -5px;
    left: -10%;
    transform: rotate(-4deg);
    opacity: .28
}

.prod-info {
    flex: 1;
    min-width: 0
}

.prod-name {
    font-size: 12px;
    color: var(--green-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2
}

.prod-cap {
    font-size: 10px;
    color: var(--gray-mid);
    margin-top: 2px
}

.prod-arrow {
    color: var(--gray-light);
    font-size: 11px;
    flex-shrink: 0;
    transition: color .15s, transform .15s
}

.prod-item:hover .prod-arrow {
    color: var(--gold);
    transform: translateX(-3px)
}

/* ستون aside */
.mega-aside {
    padding: 18px 14px;
    background: var(--off-white);
    border-left: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    gap: 14px
}

.mega-featured {
    background: var(--green-dark);
    border-radius: 4px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: box-shadow .2s
}

.mega-featured:hover {
    box-shadow: 0 8px 24px rgba(13, 92, 74, .3)
}

.mega-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 16px, rgba(201, 168, 76, .055) 16px, rgba(201, 168, 76, .055) 17px)
}

.mega-featured::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 36px;
    background: var(--gold);
    opacity: .09;
    top: 42%;
    left: -25%;
    transform: rotate(-8deg)
}

.mf-tag {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 5px
}

.mf-tag::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 1px;
    background: var(--gold)
}

.mf-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, .1);
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 7px
}

.mf-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
    line-height: 1.3
}

.mf-cap {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
    position: relative;
    z-index: 2;
    margin-top: 3px
}

.mf-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    transition: background .2s
}

.mega-featured:hover .mf-btn {
    background: var(--gold-light)
}

.quick-links-title {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px
}

.quick-links-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-light)
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: background .15s, color .15s;
    margin-bottom: 1px
}

.quick-link:hover {
    background: var(--gray-light);
    color: var(--green-dark)
}

.quick-link i {
    color: var(--gold);
    font-size: 13px;
    flex-shrink: 0
}

.mega-inner .mega-footer {
    background: var(--green-dark);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.mega-footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    display: flex;
    align-items: center;
    gap: 7px
}

.mega-footer-text i {
    color: var(--gold)
}

.mega-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    letter-spacing: .5px;
    color: var(--gold);
    text-decoration: none;
    transition: color .2s
}

.mega-footer-link:hover {
    color: var(--gold-light)
}

/* ═══ MOBILE ═══ */
@media(max-width:991.98px) {

    /* مخفی کردن مگامنوی desktop در موبایل */
    .mega-panel {
        display: none !important
    }

    /* نشان دادن آکاردئون فقط در موبایل وقتی open باشه */
    .mob-accordion.open {
        display: block !important
    }

    /* navbar در موبایل */
    .navbar-asa .navbar-collapse {
        background: var(--green-dark);
        border-top: 1px solid rgba(255, 255, 255, .08);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    /* nav-link موبایل */
    .navbar-asa .nav-link {
        padding: 13px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        white-space: normal;
    }

    .navbar-asa .nav-link::after {
        display: none
    }

    /* trigger موبایل */
    .mega-trigger>.nav-link {
        justify-content: space-between;
    }

    .mega-arrow {
        transition: transform .25s
    }

    .mega-trigger.mob-open>.nav-link .mega-arrow {
        transform: rotate(180deg)
    }

    .mega-trigger.mob-open>.nav-link {
        background: rgba(0, 0, 0, .12)
    }

    /* آکاردئون موبایل */
    .mob-accordion {
        display: none;
        background: rgba(0, 0, 0, .15);
    }

    .mob-accordion.open {
        display: block
    }

    .mob-cat {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 24px;
        color: rgba(255, 255, 255, .7);
        font-size: 13px;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
        transition: background .15s;
        user-select: none;
    }

    .mob-cat:hover {
        background: rgba(255, 255, 255, .05)
    }

    .mob-cat i.ci {
        color: var(--gold);
        font-size: 14px;
        flex-shrink: 0
    }

    .mob-cat .mob-cat-arrow {
        margin-right: auto;
        font-size: 10px;
        color: rgba(255, 255, 255, .4);
        transition: transform .2s;
        flex-shrink: 0
    }

    .mob-cat.open .mob-cat-arrow {
        transform: rotate(90deg)
    }

    .mob-cat .mob-badge {
        background: rgba(201, 168, 76, .15);
        color: var(--gold-light);
        font-size: 10px;
        padding: 1px 8px;
        border-radius: 10px;
        font-family: 'Oswald', sans-serif
    }

    .mob-prods {
        display: none;
        background: rgba(0, 0, 0, .1)
    }

    .mob-prods.open {
        display: block
    }

    .mob-prod {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 9px 40px;
        color: rgba(255, 255, 255, .55);
        font-size: 13px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, .04);
        transition: background .15s, color .15s;
    }

    .mob-prod:last-child {
        border-bottom: none
    }

    .mob-prod:hover {
        background: rgba(201, 168, 76, .08);
        color: var(--gold-light)
    }

    .mob-prod i {
        color: rgba(201, 168, 76, .5);
        font-size: 11px;
        flex-shrink: 0
    }

    .mob-prod .mp-cap {
        margin-right: auto;
        font-size: 10px;
        color: rgba(255, 255, 255, .25);
        font-family: 'Oswald', sans-serif
    }

    /* لینک همه محصولات */
    .mob-all-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 11px 24px;
        color: var(--gold);

        font-size: 13px;
        letter-spacing: .5px;
        text-decoration: none;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: rgba(0, 0, 0, .15);
        transition: background .15s;
    }

    .mob-all-link:hover {
        background: rgba(0, 0, 0, .2);
        color: var(--gold-light)
    }
}

/* ═══ DEMO ═══ */
.demo {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--gray-mid)
}

.demo i {
    font-size: 56px;
    color: var(--gray-light)
}

.demo p {
    font-size: 14px
}

.demo small {
    font-size: 12px;
    color: var(--gray-light)
}

/* ════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════ */
.page-breadcrumb {
    background: var(--green-dark);
    padding: 12px 0;
    border-bottom: 2px solid rgba(201, 168, 76, .25);
}

.breadcrumb {
    margin: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--gold-light);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, .55);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .25);
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-gold {
    background: var(--gold);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 2px;
    border: none;
    margin-top: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, transform .2s;

}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    color: var(--green-dark);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    margin-top: 30px;
    margin-right: 12px;

}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--green-dark);
}

.btn-submit {
    background: var(--green-dark);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 36px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background .2s, transform .2s;

}

.btn-submit:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
}

.btn-product {
    color: var(--green-dark);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s, color .2s;

}

.btn-product:hover {
    gap: 10px;
    color: var(--gold);
}

/* ════════════════════════════════════════
   SECTION HEADING
════════════════════════════════════════ */
.section-heading {
    text-align: center;
    margin-bottom: 56px;
}

.section-heading .label {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.section-heading .label::before,
.section-heading .label::after {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--green-dark);
}

.section-heading p {
    color: var(--gray-mid);
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 1.8;
}

.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.section-h {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.15;
}

.body-text {
    font-size: 15px;
    color: #444;
    line-height: 2;
}

/* ════════════════════════════════════════
   PAGE HERO  (about / contact / news)
════════════════════════════════════════ */
.page-hero {
    background: var(--green-dark);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 38px,
            rgba(201, 168, 76, .055) 38px, rgba(201, 168, 76, .055) 40px);
}

.page-hero .tag {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.page-hero .tag::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 2;
    line-height: 1.1;
}

.page-hero h1 span {
    color: var(--gold);
}

.page-hero p {
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    line-height: 1.9;
    position: relative;
    z-index: 2;
    margin-top: 12px;
    max-width: 520px;
}

/* ─── hero-letter: اندازه متفاوت برای هر صفحه ─── */
.hero-letter {
    position: absolute;
    font-weight: 700;
    color: rgba(255, 255, 255, .04);
    line-height: 1;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
}

.page-hero .hero-letter {
    font-size: clamp(140px, 22vw, 280px);
}

.product-hero .hero-letter {
    font-size: clamp(140px, 22vw, 300px);
    top: 50%;
    transform: translateY(-50%);
}

.article-hero .hero-letter {
    font-size: clamp(120px, 18vw, 240px);
    top: 20%;
    transform: none;
}

.hero-stripe {
    position: absolute;
    width: 140%;
    height: 52px;
    background: var(--gold);
    opacity: .15;
    top: 50%;
    left: -20%;
    transform: translateY(-50%) rotate(-8deg);
}

/* ════════════════════════════════════════
   HERO SLIDER  (index)
════════════════════════════════════════ */
#heroCarousel .carousel-item {
    height: 90vh;
    min-height: 540px;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    inset: 0;
}

.slide-1 {
    background: var(--green-dark);
}

.slide-2 {
    background: #0a4535;
}

.slide-3 {
    background: #0e3d2e;
}

.slide-letter {
    position: absolute;
    font-size: clamp(200px, 35vw, 420px);
    font-weight: 700;
    color: rgba(255, 255, 255, .04);
    line-height: 1;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: -10px;
    pointer-events: none;
    user-select: none;
}

.slide-stripe {
    position: absolute;
    width: 160%;
    height: 90px;
    background: var(--gold);
    top: 50%;
    left: -30%;
    transform: translateY(-50%) rotate(-12deg);
    opacity: .85;
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 250px;
}

.slide-tag {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slide-tag::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.slide-content h1 {
    font-size: clamp(36px, 5vw, 68px);
    color: var(--white);
    font-weight: 700;
    line-height: 1.05;
    max-width: 640px;
}

.slide-content h1 span {
    color: var(--gold);
}

.slide-content p {
    color: rgba(255, 255, 255, .7);
    margin-top: 18px;
    font-size: 16px;
    max-width: 520px;
    line-height: 1.8;
}

.carousel-indicators [data-bs-target] {
    width: 20px;
    height: 8px;
    border-radius: 2px;
    border: 2px solid var(--gold);
    background: transparent;
    transition: background .3s;
}

.carousel-indicators .active {
    background: var(--gold);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(75%) sepia(60%) saturate(500%) hue-rotate(5deg);
}

.slide-image-panel {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    z-index: 8;
}

.slide-image-panel .img-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(201, 168, 76, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(201, 168, 76, .4);
}

/* ════════════════════════════════════════
   ABOUT SECTION  (index)
════════════════════════════════════════ */
#about {
    padding: 100px 0;
    background: var(--white);
}

.about-box-green {
    background: var(--green-dark);
    border-radius: 4px;
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-box-green::after {
    content: 'ASA';

    position: absolute;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, .05);
    bottom: -20px;
    left: -10px;
    line-height: 1;
    pointer-events: none;
}

.about-box-green .stat-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.about-box-green .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    margin-top: 4px;

}

.about-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--green-dark), var(--gold), var(--green-dark));
    border-radius: 3px;
    margin: 24px 0;
}

.about-text h3 {
    font-size: 32px;
    color: var(--green-dark);
    margin-bottom: 20px;
}

.about-text p {
    line-height: 2;
    color: #444;
    margin-bottom: 16px;
    font-size: 15px;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 8px 16px;
    margin: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-dark);

}

.cert-badge i {
    color: var(--gold);
    font-size: 18px;
}

/* ════════════════════════════════════════
   PRODUCT CARDS  — یک تعریف واحد
════════════════════════════════════════ */
#products {
    padding: 100px 0;
    background: var(--off-white);
}

.product-card {
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13, 92, 74, .12);
}

.product-card-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-header .post-thumbnail img,
.news-grid-thumb .post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-card-header .model-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(201, 168, 76, .2);
    border: 1px solid rgba(201, 168, 76, .4);
    color: var(--gold-light);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 2px;

    letter-spacing: 1px;
}

.product-icon {
    font-size: 56px;
    color: rgba(255, 255, 255, .82);
    position: relative;
    z-index: 2;
}

.product-card-body {
    padding: 23px;
    flex: 1;
}

.product-card-body h5 {
    font-size: 20px;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.product-card-body .capacity,
.capacity-badge {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;

}

.product-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 13px;
    color: #555;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.feature-list li i {
    color: var(--green-dark);
    font-size: 12px;
}

.product-card-footer {
    padding: 16px 23px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ip-badge {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    color: var(--gray-mid);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;

}

/* ════════════════════════════════════════
   PARTNERS TICKER
════════════════════════════════════════ */
#partners {
    padding: 70px 0;
    background: var(--green-dark);
    overflow: hidden;
}

#partners .section-heading h2 {
    color: var(--white);
}

#partners .section-heading p {
    color: rgba(255, 255, 255, .6);
}

#partners .section-heading .label {
    color: var(--gold-light);
}

#partners .section-heading .label::before,
#partners .section-heading .label::after {
    background: var(--gold-light);
}

.partner-logo {
    width: 128px;
    height: 128px;
    margin: 0 20px;
    background: #ffffff;
    border: 1px solid #c9a84c40;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .3s, border-color .3s;
    cursor: default;
    padding: 16px;
}

.partner-logo:hover {
    background: rgba(201, 168, 76, .15);
    border-color: var(--gold);
}

.partner-logo img {
    width: 128px;
    height: 128px;
}

.partner-logo span {
    font-size: 15px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .7);
    text-align: center;
    line-height: 1.3;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-slide {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 28s linear infinite;
    width: max-content;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ticker-track:hover {
    animation-play-state: paused;
}

/* ════════════════════════════════════════
   NEWS CARDS
════════════════════════════════════════ */
#news {
    padding: 100px 0;
    background: var(--white);
}

.news-card {
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .3s;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 12px 36px rgba(13, 92, 74, .1);
}

.news-card-img {
    background: var(--green-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img .news-icon {
    font-size: 60px;
    color: rgba(255, 255, 255, .15);
}

.news-card-img .news-date {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;

}

.news-stripe {
    height: 3px;
    background: linear-gradient(90deg, var(--green-dark) 60%, var(--gold) 100%);
}

.news-card-body {
    padding: 22px;
}

.news-cat {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;

}

.news-card-body h5 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.news-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    margin-top: 14px;
    transition: gap .2s, color .2s;

}

.news-read:hover {
    gap: 10px;
    color: var(--gold);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .75);
    padding-top: 70px;
}

.footer-brand .name-en {
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--white);
    font-weight: 600;
}

.footer-brand .name-fa {
    font-size: 13px;
    color: var(--gold-light);

}

.footer-brand p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .5);
}

.footer-heading {
    font-size: 16px;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 168, 76, .3);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

footer ul li a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

footer ul li a:hover {
    color: var(--gold-light);
}

footer ul li a i {
    color: var(--gold);
    font-size: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.footer-contact-item i {
    color: var(--gold);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 20px 0;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, .35);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 168, 76, .3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .5);
    font-size: 15px;
    text-decoration: none;
    transition: all .2s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* ════════════════════════════════════════
   STATS BAR  (about)
════════════════════════════════════════ */
.stats-bar {
    background: var(--gold);
    padding: 28px 0;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-left: 1px solid rgba(13, 92, 74, .2);
}

.stat-item:last-child {
    border-left: none;
}

.stat-num {
    font-size: 40px;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(13, 92, 74, .75);
    margin-top: 4px;
    font-weight: 500;

}

/* ════════════════════════════════════════
   VALUE CARDS  (about)
════════════════════════════════════════ */
.value-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13, 92, 74, .1);
}

.value-icon {
    width: 52px;
    height: 52px;
    background: var(--green-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 16px;
}

.value-card h5 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ════════════════════════════════════════
   TIMELINE  (about)
════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-right: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--green-dark), var(--gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-dot {
    position: absolute;
    right: -32px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--green-dark);
    border: 3px solid var(--gold);
    border-radius: 50%;
}

.timeline-year {
    font-size: 13px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.timeline-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ════════════════════════════════════════
   TEAM CARDS  (about)
════════════════════════════════════════ */
.team-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(13, 92, 74, .1);
}

.team-avatar {
    background: var(--green-dark);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-avatar::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: -10%;
    width: 120%;
    height: 40px;
    background: var(--off-white);
    transform: rotate(-3deg);
}

.team-avatar i {
    font-size: 60px;
    color: rgba(255, 255, 255, .2);
}

.team-avatar .avatar-letter {

    font-size: 52px;
    font-weight: 700;
    color: rgba(255, 255, 255, .7);
    position: relative;
    z-index: 2;
}

.team-body {
    padding: 24px 16px;
}

.team-body h6 {
    font-size: 17px;
    color: var(--green-dark);
}

.team-body .role {
    font-size: 12px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 4px 0 10px;

}

.team-body p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
}

/* ════════════════════════════════════════
   CERT CARDS  (about)
════════════════════════════════════════ */
.cert-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 24px;
    text-align: center;
    height: 100%;
    transition: transform .3s;
}

.cert-card:hover {
    transform: translateY(-4px);
}

.cert-logo {
    width: 70px;
    height: 70px;
    background: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
}

.cert-card h6 {
    font-size: 15px;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.cert-card p {
    font-size: 13px;
    color: #777;
}

/* ════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════ */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 28px;
    text-align: center;
    height: 100%;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13, 92, 74, .1);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--gold);
}

.contact-info-card h6 {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    line-height: 1.8;
}

.contact-info-card a:hover {
    color: var(--green-dark);
}

.contact-form {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 40px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1px solid var(--gray-light);
    border-radius: 4px;

    font-size: 14px;
    padding: 11px 14px;
    transition: border .2s, box-shadow .2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(13, 92, 74, .1);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-mid);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.map-box {
    background: var(--green-dark);
    border-radius: 4px;
    overflow: hidden;
    height: 380px;
    position: relative;
}

.map-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 28px,
            rgba(201, 168, 76, .05) 28px, rgba(201, 168, 76, .05) 29px);
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.map-placeholder i {
    font-size: 56px;
    color: rgba(255, 255, 255, .2);
}

.map-placeholder .map-label {
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: 1px;
}

.map-pin {
    position: absolute;
    z-index: 3;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 6px;

}

.map-pin::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--gold);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
}

.hours-row:last-child {
    border: none;
}

.hours-row .day {
    color: #555;
    width: 100px;
}

.hours-row .time {
    font-size: 14px;
    color: var(--green-dark);
    font-weight: 600;
}

.hours-row .badge-open {
    background: rgba(13, 92, 74, .1);
    color: var(--green-dark);
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.hours-row .badge-closed {
    background: rgba(154, 149, 137, .15);
    color: var(--gray-mid);
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
}

.success-msg {
    display: none;
    background: rgba(13, 92, 74, .08);
    border: 1px solid var(--green-mid);
    border-radius: 4px;
    padding: 16px 20px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.success-msg.show {
    display: flex;
}

/* ════════════════════════════════════════
   FILTER BAR  (products list)
════════════════════════════════════════ */
.filter-bar {
    background: #fff;
    border-bottom: 2px solid var(--gray-light);
    padding: 16px 0;
    position: sticky;
    top: 75px;
    z-index: 99;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--gray-light);
    color: var(--gray-mid);
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s;

}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.search-box {
    position: relative;
}

.search-box input {
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 8px 36px 8px 16px;
    font-size: 13px;

    width: 240px;
    outline: none;
    transition: border .2s;
}

.search-box input:focus {
    border-color: var(--green-dark);
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-mid);
}

.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    border-radius: 4px;
    transition: all .2s;
    margin-bottom: 4px;
}

.cat-list li a:hover,
.cat-list li a.active {
    background: var(--green-dark);
    color: #fff;
}

.cat-list li a .count {
    background: rgba(255, 255, 255, .15);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.cat-list li a:not(.active) .count {
    background: var(--gray-light);
    color: var(--gray-mid);
}

/* ════════════════════════════════════════
   PRODUCT SINGLE PAGE
════════════════════════════════════════ */
.product-hero {
    background: var(--green-dark);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 38px,
            rgba(201, 168, 76, .055) 38px, rgba(201, 168, 76, .055) 40px);
}

.product-tag {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.product-tag::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.product-hero h1 {
    font-size: clamp(30px, 4vw, 52px);
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 2;
    line-height: 1.1;
}

.product-hero h1 span {
    color: var(--gold);
}

.product-hero p {
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    margin-top: 12px;
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(201, 168, 76, .4);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--gold-light);
    margin: 4px;
    position: relative;
    z-index: 2;

}

.product-image-box {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(201, 168, 76, .2);
    border-radius: 4px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.product-image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(201, 168, 76, .04) 20px, rgba(201, 168, 76, .04) 21px);
}

.product-image-box .product-icon-large {
    font-size: 120px;
    color: rgba(255, 255, 255, .15);
    position: relative;
    z-index: 2;
}

.product-image-box .model-label {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 2px;
}

.content-section {
    padding: 10px 0 50px 0;
    background: #fff;
}

.content-section.alt {
    background: var(--off-white);
}

.product-tabs .nav-link {
    letter-spacing: .5px;
    color: var(--gray-mid);
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 14px 22px;
    font-size: 15px;
    transition: all .2s;
    font-weight: 700;
}

.product-tabs .nav-link.active {
    color: var(--green-dark);
    border-bottom-color: var(--gold);
    background: transparent;
}

.product-tabs .nav-link:hover {
    color: var(--green-dark);
}

.product-tabs {
    border-bottom: 2px solid var(--gray-light);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table thead tr {
    background: var(--green-dark);
    color: #fff;
}

.spec-table thead th {
    padding: 12px 18px;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 14px;
}

.spec-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: background .15s;
}

.spec-table tbody tr:hover {
    background: var(--gold-pale);
}

.spec-table tbody tr:nth-child(even) {
    background: var(--off-white);
}

.spec-table tbody tr:nth-child(even):hover {
    background: var(--gold-pale);
}

.spec-table td {
    padding: 11px 18px;
    vertical-align: middle;
}

.spec-table td:first-child {
    color: var(--green-dark);
    font-weight: 600;
}

.spec-table td:last-child {
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: var(--green-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(201, 168, 76, .2);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(201, 168, 76, .04) 16px, rgba(201, 168, 76, .04) 17px);
}

.gallery-item i {
    font-size: 40px;
    color: rgba(255, 255, 255, .15);
    position: relative;
    z-index: 2;
}

.gallery-item .gallery-label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 2px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 92, 74, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    z-index: 3;
}

.gallery-overlay i {
    font-size: 28px;
    color: #fff;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px 10px;
}

.app-icon-box {
    width: 72px;
    height: 72px;
    background: var(--green-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--gold);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.app-icon-box::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 36px;
    height: 36px;
    background: rgba(201, 168, 76, .15);
    border-radius: 50%;
}

.app-item span {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

.wiring-box {
    background: var(--green-dark);
    border-radius: 4px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.wiring-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 20px, rgba(201, 168, 76, .05) 20px, rgba(201, 168, 76, .05) 21px);
}

.wiring-title {
    font-size: 28px;
    color: var(--gold);
    letter-spacing: 2px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.wire-diagram {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(201, 168, 76, .25);
    border-radius: 4px;
    padding: 24px;
    position: relative;
    z-index: 2;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.wire-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.wire-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wire-name {
    min-width: 100px;
}

.related-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13, 92, 74, .1);
    color: inherit;
}

.related-card-header {
    background: var(--green-dark);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.related-card-header::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 40px;
    background: var(--gold);
    bottom: -14px;
    left: -10%;
    transform: rotate(-3deg);
    opacity: .4;
}

.related-card-header i {
    font-size: 44px;
    color: rgba(255, 255, 255, .8);
    position: relative;
    z-index: 2;
}

.related-card-body {
    padding: 18px;
}

.related-card-body .capacity {
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.related-card-body h6 {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.related-card-body p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.sidebar-card-header {
    background: var(--green-dark);
    padding: 13px 18px;
    font-size: 15px;
    color: #fff;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-header i {
    color: var(--gold);
}

.sidebar-card-body {
    padding: 16px;
}

.spec-quick {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
}

.spec-quick:last-child {
    border: none;
}

.spec-quick .val {
    font-weight: 700;
    color: var(--green-dark);
}

/* ════════════════════════════════════════
   SIDEBAR BOX  (shared)
════════════════════════════════════════ */
.sidebar-box {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.sidebar-box-header {
    background: var(--green-dark);
    padding: 12px 18px;
    font-size: 15px;
    color: #fff;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-box-header i {
    color: var(--gold);
}

.sidebar-box-body {
    padding: 16px;
}

/* ════════════════════════════════════════
   NEWS SINGLE  (article)
════════════════════════════════════════ */
.article-hero {
    background: var(--green-dark);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 38px, rgba(201, 168, 76, .055) 38px, rgba(201, 168, 76, .055) 40px);
}

.article-cat {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.article-cat::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.article-hero h1 {
    font-size: clamp(26px, 3.5vw, 46px);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    max-width: 780px;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.meta-item i {
    color: var(--gold);
}

.meta-item strong {
    color: rgba(255, 255, 255, .85);
}

.article-image-bar {
    height: 320px;
    background: var(--green-mid);
    position: relative;
    overflow: hidden;
}

.article-image-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(201, 168, 76, .05) 24px, rgba(201, 168, 76, .05) 25px);
}

.article-image-bar .img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.article-image-bar .img-placeholder i {
    font-size: 72px;
    color: rgba(255, 255, 255, .12);
}

.article-image-bar .img-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    backdrop-filter: blur(4px);
    text-align: center;
}

.gold-stripe-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--green-dark), var(--gold) 50%, var(--green-dark));
}

.article-body {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.article-body h2 {
    font-size: 24px;
    color: var(--green-dark);
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.article-body h3 {
    font-size: 20px;
    color: var(--green-dark);
    margin: 28px 0 10px;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
    padding-right: 24px;
    margin-bottom: 18px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    background: var(--gold-pale);
    border-right: 4px solid var(--gold);
    padding: 20px 24px;
    border-radius: 4px;
    margin: 24px 0;
    font-style: italic;
    color: #555;
}

.article-body blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-dark);
}

.article-body .highlight-box {
    background: var(--green-dark);
    color: #fff;
    padding: 24px 28px;
    border-radius: 4px;
    margin: 28px 0;
    position: relative;
    overflow: hidden;
}

.article-body .highlight-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 20px, rgba(201, 168, 76, .06) 20px, rgba(201, 168, 76, .06) 21px);
}

.article-body .highlight-box p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    position: relative;
    z-index: 2;
}

.article-body .highlight-box .hb-title {
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all .2s;
    margin: 3px;
}

.tag-pill:hover {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: transform .2s;
}

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

.related-news-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}

.related-news-item:last-child {
    border: none;
    padding-bottom: 0;
}

.related-news-item:hover .rni-title {
    color: var(--gold);
}

.rni-thumb {
    width: 70px;
    height: 56px;
    background: var(--green-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    color: rgba(255, 255, 255, .3);
}

.rni-body .rni-date {
    font-size: 11px;
    color: var(--gray-mid);
    margin-bottom: 4px;
}

.rni-body .rni-title {
    font-size: 14px;
    color: var(--green-dark);
    line-height: 1.3;
    transition: color .2s;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
    cursor: pointer;
    color: #555;
    transition: color .2s;
}

.toc-item:last-child {
    border: none;
}

.toc-item:hover {
    color: var(--green-dark);
}

.toc-num {
    width: 24px;
    height: 24px;
    background: var(--green-dark);
    color: var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

#readProgress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 3px;
    background: var(--gold);
    z-index: 9999;
    transition: width .1s;
}



/* FEATURED NEWS */
.featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--green-dark);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 420px;
    transition: box-shadow .3s;
}

.featured-card:hover {
    box-shadow: 0 20px 60px rgba(13, 92, 74, .25);
    color: inherit;
}

.featured-card-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 38px, rgba(201, 168, 76, .055) 38px, rgba(201, 168, 76, .055) 40px);
}

.featured-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 60%, transparent 100%);
}

.featured-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 100px;
    color: rgba(255, 255, 255, .07);
    z-index: 1;
}

.featured-stripe {
    position: absolute;
    width: 150%;
    height: 60px;
    background: var(--gold);
    opacity: .12;
    top: 35%;
    left: -25%;
    transform: rotate(-8deg);
    z-index: 1;
}

.featured-card-body {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 28px 32px;
    z-index: 2;
}

.featured-cat {

    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.featured-cat::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.featured-card-body h2 {

    font-size: clamp(20px, 2.5vw, 30px);
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.featured-card-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.featured-meta span {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-meta span i {
    color: var(--gold);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 2px;
    z-index: 2;
}

/* SMALL FEATURED CARDS (right column) */
.featured-sm {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--green-dark);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 198px;
    transition: box-shadow .3s;
}

.featured-sm:hover {
    box-shadow: 0 12px 32px rgba(13, 92, 74, .2);
    color: inherit;
}

.featured-sm-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-55deg, transparent, transparent 28px, rgba(201, 168, 76, .05) 28px, rgba(201, 168, 76, .05) 29px);
}

.featured-sm-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .05) 70%);
}

.featured-sm-icon {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -60%);
    font-size: 56px;
    color: rgba(255, 255, 255, .08);
    z-index: 1;
}

.featured-sm-body {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 16px 20px;
    z-index: 2;
}

.featured-sm-cat {

    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.featured-sm-body h5 {

    font-size: 15px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-sm-date {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-sm-date i {
    color: var(--gold);
    font-size: 10px;
}

/* FILTER BAR */
.news-filter-bar {
    background: #fff;
    border-bottom: 2px solid var(--gray-light);
    padding: 14px 0;
    position: sticky;
    top: 95px;
    z-index: 99;
}

.cat-filter-btn {
    background: transparent;
    border: 1px solid var(--gray-light);
    color: var(--gray-mid);
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.news-search-box {
    position: relative;
}

.news-search-box input {
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 7px 36px 7px 16px;
    font-size: 13px;
    width: 220px;
    outline: none;
    transition: border .2s;
}

.news-search-box input:focus {
    border-color: var(--green-dark);
}

.news-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-mid);
}

/* NEWS GRID CARD */
.news-grid-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13, 92, 74, .1);
    color: inherit;
}

.news-grid-thumb {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-grid-thumb i {
    font-size: 52px;
    color: rgba(255, 255, 255, .12);
    position: relative;
    z-index: 1;
}

.news-grid-thumb .thumb-cat {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 2px;
}

.news-grid-thumb .thumb-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .45);
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.news-grid-thumb .thumb-date i {
    font-size: 10px;
    color: var(--gold);
}

.news-grid-stripe {
    height: 3px;
    background: linear-gradient(90deg, var(--green-dark) 50%, var(--gold) 100%);
    flex-shrink: 0;
}

.news-grid-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-grid-body h5 {

    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-light);
}

.read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--green-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s, color .2s;
}

.news-grid-card:hover .read-more {
    gap: 9px;
    color: var(--gold);
}

.view-count {
    font-size: 12px;
    color: var(--gray-mid);
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-count i {
    font-size: 11px;
}

/* LIST VIEW */
.news-list-card {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .3s;
    display: flex;
    text-decoration: none;
    color: inherit;
}

.news-list-card:hover {
    box-shadow: 0 8px 28px rgba(13, 92, 74, .1);
    color: inherit;
}

.news-list-thumb {
    width: 230px;
    flex-shrink: 0;
    background: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-list-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(201, 168, 76, .04) 16px, rgba(201, 168, 76, .04) 17px);
}

.news-list-thumb i {
    font-size: 44px;
    color: rgba(255, 255, 255, .12);
    position: relative;
    z-index: 1;
}

.news-list-stripe {
    width: 3px;
    background: linear-gradient(to bottom, var(--green-dark), var(--gold));
    flex-shrink: 0;
}

.news-list-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-list-meta .lm-cat {

    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    background: rgba(201, 168, 76, .1);
    border: 1px solid rgba(201, 168, 76, .3);
    padding: 2px 10px;
    border-radius: 2px;
}

.news-list-meta .lm-date {
    font-size: 12px;
    color: var(--gray-mid);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-list-meta .lm-date i {
    color: var(--gold);
    font-size: 11px;
}

.news-list-body h5 {

    font-size: 19px;
    color: var(--green-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-list-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.news-list-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-list-footer .read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--green-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s, color .2s;
}

.news-list-card:hover .read-more {
    gap: 9px;
    color: var(--gold);
}

.news-list-footer .view-count {
    font-size: 12px;
    color: var(--gray-mid);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* PAGINATION */
.asa-pagination .page-link {
    border: 1px solid var(--gray-light);
    color: var(--green-dark);

    font-size: 14px;
    padding: 8px 16px;
    border-radius: 2px !important;
    margin: 0 3px;
    transition: all .2s;
}

.asa-pagination .page-link:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.asa-pagination .page-item.active .page-link {
    background: var(--green-dark);
    border-color: var(--gold);
    color: #fff;
}

.asa-pagination .page-item.disabled .page-link {
    color: var(--gray-mid);
    border-color: var(--gray-light);
}

/* SIDEBAR */
.sidebar-box {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.sidebar-box-header {
    background: var(--green-dark);
    padding: 12px 18px;

    font-size: 15px;
    color: #fff;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-box-header i {
    color: var(--gold);
}

.sidebar-box-body {
    padding: 16px;
}

.popular-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}

.popular-item:last-child {
    border: none;
    padding-bottom: 0;
}

.popular-item:hover .pi-title {
    color: var(--gold);
}

.pi-num {
    width: 28px;
    height: 28px;
    background: var(--green-dark);
    color: var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.pi-body {
    flex: 1;
}

.pi-title {

    font-size: 14px;
    color: var(--green-dark);
    line-height: 1.3;
    margin-bottom: 3px;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pi-date {
    font-size: 11px;
    color: var(--gray-mid);
}

.archive-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-light);
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color .2s;
}

.archive-month:last-child {
    border: none;
}

.archive-month:hover {
    color: var(--green-dark);
}

.archive-month .am-count {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    color: var(--gray-mid);
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 10px;

}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-cloud a {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    color: #555;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all .2s;
}

.tag-cloud a:hover {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
}

/* VIEW TOGGLE */
.view-toggle-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--gray-light);
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-mid);
    transition: all .2s;
}

.view-toggle-btn.active,
.view-toggle-btn:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

/* NO RESULTS */
#noResults {
    display: none;
    text-align: center;
    padding: 80px 20px;
}

#noResults i {
    font-size: 60px;
    color: var(--gray-light);
}

#noResults h5 {
    color: var(--gray-mid);
    margin-top: 16px;
}

#noResults p {
    font-size: 14px;
    color: var(--gray-mid);
    margin-top: 6px;
}

.nav-links {
    margin: 10px 0;
}

.nav-links .page-numbers {
    padding: 10px 15px;
    background-color: #c9a84c;
    color: #0d5c4a;
    border-radius: 3px;
    height: 30px;
    width: 30px;
    line-height: 2em;
    text-decoration: none;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    color: #c9a84c;
    background-color: #0d5c4a;
}

    /* ── HERO ── */
    .about-hero{background:var(--green-dark);padding:80px 0;position:relative;overflow:hidden}
    .about-hero::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-55deg,transparent,transparent 38px,rgba(201,168,76,.055) 38px,rgba(201,168,76,.055) 40px)}
    .hero-letter{position:absolute;font-size:clamp(160px,24vw,320px);font-weight:700;color:rgba(255,255,255,.04);line-height:1;left:-10px;top:50%;transform:translateY(-50%);pointer-events:none}
    .hero-stripe{position:absolute;width:140%;height:60px;background:var(--gold);opacity:.14;top:50%;left:-20%;transform:translateY(-50%) rotate(-8deg)}
    .hero-tag{font-size:13px;letter-spacing:4px;color:var(--gold);text-transform:uppercase;display:flex;align-items:center;gap:10px;margin-bottom:16px;position:relative;z-index:2}
    .hero-tag::before{content:'';display:inline-block;width:32px;height:2px;background:var(--gold)}
    .about-hero h1{font-size:clamp(32px,5vw,58px);color:#fff;font-weight:700;position:relative;z-index:2;line-height:1.1;margin-bottom:16px}
    .about-hero h1 span{color:var(--gold)}
    .about-hero p{color:rgba(255,255,255,.65);font-size:15px;line-height:1.95;position:relative;z-index:2;max-width:620px}
    .hero-since{display:inline-flex;align-items:center;gap:10px;background:rgba(201,168,76,.15);border:1px solid rgba(201,168,76,.35);border-radius:2px;padding:8px 18px;margin-top:20px;position:relative;z-index:2}
    .hero-since span{font-size:13px;color:var(--gold-light);letter-spacing:1px}

    /* ── STATS BAR ── */
    .stats-bar{background:var(--gold);padding:30px 0}
    .stat-item{text-align:center;padding:0 24px;border-left:1px solid rgba(13,92,74,.2)}
    .stat-item:last-child{border-left:none}
    .stat-num{font-size:42px;font-weight:700;color:var(--green-dark);line-height:1}
    .stat-label{font-size:13px;color:rgba(13,92,74,.7);margin-top:5px;font-weight:500}

    /* ── SECTION LABELS ── */
    .sec-label{font-size:13px;letter-spacing:4px;color:var(--gold);text-transform:uppercase;display:flex;align-items:center;gap:10px;margin-bottom:12px}
    .sec-label::before{content:'';display:inline-block;width:32px;height:2px;background:var(--gold)}
    .sec-h{font-size:clamp(26px,3.5vw,40px);font-weight:700;color:var(--green-dark);line-height:1.15}
    .body-text{font-size:15px;color:#444;line-height:2.05}

    /* ── ABOUT BOX ── */
    .about-green-box{background:var(--green-dark);border-radius:4px;padding:44px;position:relative;overflow:hidden}
    .about-green-box::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-55deg,transparent,transparent 28px,rgba(201,168,76,.055) 28px,rgba(201,168,76,.055) 29px)}
    .about-green-box::after{content:'ASA';position:absolute;font-size:130px;font-weight:700;color:rgba(255,255,255,.04);bottom:-20px;left:-8px;line-height:1;pointer-events:none}
    .about-green-box blockquote{position:relative;z-index:2;font-size:16px;color:rgba(255,255,255,.8);line-height:2.1;font-style:italic;border-right:3px solid var(--gold);padding-right:20px;margin:0}
    .about-green-box .quote-footer{margin-top:18px;font-size:13px;color:var(--gold);letter-spacing:1px;position:relative;z-index:2}

    /* ── VISION / MISSION / GOALS ── */
    .vmg-card{background:#fff;border:1px solid var(--gray-light);border-radius:4px;padding:32px;height:100%;position:relative;overflow:hidden;transition:transform .3s,box-shadow .3s}
    .vmg-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(13,92,74,.1)}
    .vmg-card::before{content:'';position:absolute;top:0;right:0;width:4px;height:100%;background:var(--gold)}
    .vmg-icon{width:56px;height:56px;background:var(--green-dark);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:24px;color:var(--gold);margin-bottom:18px;position:relative;overflow:hidden}
    .vmg-icon::after{content:'';position:absolute;width:130%;height:18px;background:var(--gold);bottom:-7px;left:-15%;transform:rotate(-5deg);opacity:.2}
    .vmg-icon i{position:relative;z-index:2}
    .vmg-card h4{font-size:20px;color:var(--green-dark);margin-bottom:12px}
    .vmg-card p{font-size:14px;color:#666;line-height:1.9}
    .vmg-tag{display:inline-block;font-size:10px;letter-spacing:2px;color:var(--gold);text-transform:uppercase;background:rgba(201,168,76,.1);border:1px solid rgba(201,168,76,.25);border-radius:2px;padding:3px 10px;margin-bottom:12px}

    /* ── ACHIEVEMENTS ── */
    .achievement-card{background:#fff;border:1px solid var(--gray-light);border-radius:4px;padding:28px 24px;height:100%;text-align:center;transition:transform .3s,box-shadow .3s;position:relative;overflow:hidden}
    .achievement-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(13,92,74,.1)}
    .achievement-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--green-dark),var(--gold));transform:scaleX(0);transition:transform .3s;transform-origin:right}
    .achievement-card:hover::after{transform:scaleX(1)}
    .ach-icon{width:64px;height:64px;background:var(--green-dark);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:26px;color:var(--gold)}
    .ach-title{font-size:16px;color:var(--green-dark);margin-bottom:8px}
    .ach-desc{font-size:13px;color:#666;line-height:1.7}

    /* counter */
    .counter-section{background:var(--green-dark);padding:64px 0;position:relative;overflow:hidden}
    .counter-section::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-55deg,transparent,transparent 38px,rgba(201,168,76,.055) 38px,rgba(201,168,76,.055) 40px)}
    .counter-item{text-align:center;position:relative;z-index:2}
    .counter-num{font-size:52px;font-weight:700;color:var(--gold);line-height:1;display:block}
    .counter-label{font-size:14px;color:rgba(255,255,255,.65);margin-top:8px}
    .counter-divider{width:1px;background:rgba(201,168,76,.2);height:60px;margin:auto}

    /* tl-badge (هنوز در modal استفاده می‌شه) */
    .tl-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(13,92,74,.08);border:1px solid rgba(13,92,74,.15);border-radius:2px;padding:3px 10px;font-size:13px;color:var(--green-dark);font-weight:700;margin-top:10px}

    /* ── CAPABILITIES ── */
    .cap-item{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid var(--gray-light);border-radius:4px;background:#fff;transition:border-color .2s,background .2s}
    .cap-item:hover{border-color:rgba(201,168,76,.4);background:var(--off-white)}
    .cap-icon{width:42px;height:42px;background:var(--green-dark);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--gold);flex-shrink:0}
    .cap-text h6{font-size:15px;color:var(--green-dark);margin-bottom:3px}
    .cap-text p{font-size:13px;color:#666;margin:0;line-height:1.6}


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
    .slide-content {
        padding: 0 24px;
    }

    .slide-image-panel {
        display: none;
    }

    #heroCarousel .carousel-item {
        height: 70vh;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.featured {
        grid-column: span 2;
    }

    .filter-bar {
        top: 68px;
    }

    .search-box input {
        width: 180px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 24px 16px;
    }

    .product-tabs .nav-link {
        padding: 12px 12px;
        font-size: 13px;
    }

    .navbar-asa .nav-link {
        padding: 8px 10px !important;
    }

    .navbar-asa .nav-contact {
        margin: 15px 10px;
        border-radius: 4px;
    }
}