/* ============================================================
   Navigation + Home Upgrade
   مرحله شانزدهم
   ============================================================ */

.ht-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229,231,235,.9);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 8px 28px rgba(15,23,42,.05);
}

.ht-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ht-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #052e24 !important;
    font-weight: 900;
    white-space: nowrap;
}

.ht-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: linear-gradient(135deg, #064e3b, #d6a84f);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(6,78,59,.18);
}

.ht-brand small {
    display: block;
    color: #64748b;
    font-weight: 600;
    margin-top: -4px;
}

.ht-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ht-nav a {
    color: #1e293b;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 700;
}

.ht-nav a:hover {
    background: #ecfdf5;
    color: #14532d;
}

.ht-nav .nav-highlight {
    background: #14532d;
    color: #fff !important;
}

.ht-nav .nav-highlight:hover {
    background: #064e3b;
    color: #fff !important;
}

.ht-menu-toggle {
    display: none;
    border: 0;
    background: #14532d;
    color: #fff;
    border-radius: 12px;
    padding: 9px 13px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
}

.home-quality-strip {
    margin: 26px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(15,23,42,.055);
}

.home-fast-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin-top: 18px;
}

.home-fast-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-right: 5px solid #14532d;
    border-radius: 18px;
    padding: 17px;
    transition: .2s ease;
}

.home-fast-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(15,23,42,.08);
}

.home-fast-card strong {
    color: #052e24;
    display: block;
    margin-bottom: 6px;
}

.home-fast-card span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}

.home-trust-panel {
    background: linear-gradient(135deg, #ecfdf5, #fffbeb);
    border: 1px solid #bbf7d0;
    border-right: 6px solid #16a34a;
    border-radius: 24px;
    padding: 22px;
    margin-top: 28px;
}

.home-trust-panel h2 {
    margin-top: 0;
    color: #052e24;
}

.home-trust-panel li {
    line-height: 2.1;
}

@media (max-width: 980px) {
    .ht-header-inner {
        align-items: flex-start;
    }

    .ht-menu-toggle {
        display: inline-block;
    }

    .ht-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 12px;
    }

    .ht-nav.show {
        display: flex;
    }

    .ht-nav a {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        padding: 11px 13px;
    }

    .ht-header-inner {
        flex-wrap: wrap;
    }

    .home-fast-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    .home-fast-grid {
        grid-template-columns: 1fr;
    }

    .ht-brand small {
        display: none;
    }
}