﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #f0ece3;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* HERO fixed */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    background: #0b0a0c;
    perspective: 1200px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.7) saturate(1.1);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(20, 15, 10, 0.2) 0%, rgba(5, 3, 5, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.scenes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.scene-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: min(80%, 760px);
    padding: 2.8rem 3.2rem;
    background: rgba(20, 18, 22, 0.3);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 42px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(212, 175, 55, 0.1) inset, 0 0 40px rgba(212, 175, 55, 0.08);
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity, backdrop-filter;
    pointer-events: none;
}

    .scene-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: 10%;
        width: 80%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #d4af37, #f9e08a, #d4af37, transparent);
        border-radius: 100%;
        filter: blur(2px);
        opacity: 0.6;
    }

    .scene-card::after {
        content: '';
        position: absolute;
        bottom: -3px;
        right: 20%;
        width: 40%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #d4af37, transparent);
        filter: blur(4px);
        opacity: 0.3;
    }

.scene-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(12px);
    will-change: transform, opacity, filter;
    pointer-events: none;
}

    .scene-content h2 {
        font-size: clamp(2.2rem, 6vw, 4.2rem);
        font-weight: 300;
        letter-spacing: -0.02em;
        color: #f5efe6;
        text-shadow: 0 10px 30px rgba(0,0,0,0.5);
        line-height: 1.1;
    }

        .scene-content h2 span {
            font-weight: 600;
            background: linear-gradient(135deg, #f9e08a, #d4af37);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

    .scene-content p {
        font-size: clamp(1rem, 1.6vw, 1.4rem);
        font-weight: 300;
        letter-spacing: 0.04em;
        color: rgba(240, 236, 227, 0.8);
        text-shadow: 0 4px 20px rgba(0,0,0,0.3);
        max-width: 90%;
    }

    .scene-content .sub {
        font-size: clamp(0.7rem, 1vw, 0.9rem);
        text-transform: uppercase;
        letter-spacing: 0.3em;
        color: #d4af37;
        opacity: 0.7;
        margin-bottom: 0.4rem;
    }

.scene-1 {
    z-index: 30;
}

.scene-2 {
    z-index: 20;
}

.scene-3 {
    z-index: 10;
}

/* Scroll spacer: after hero story ends, content below appears */
.scroll-space {
    position: relative;
    z-index: 100;
    height: 300vh; /* enough for 3 scenes */
    pointer-events: none;
}
/* MAIN CONTENT (below hero) */
.main-content {
    background: #242424;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .main-content h2 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        font-weight: 300;
        letter-spacing: -0.02em;
        margin-bottom: 1.5rem;
    }

        .main-content h2 span {
            background: linear-gradient(135deg, #f9e08a, #d4af37);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

    .main-content p {
        font-size: clamp(1rem, 1.4vw, 1.6rem);
        max-width: 700px;
        color: rgba(240, 236, 227, 0.7);
        line-height: 1.8;
    }

    .main-content .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
        width: 100%;
        max-width: 900px;
    }

    .main-content .grid-item {
        background: rgba(255,255,255,0.03);
        padding: 2rem 1.5rem;
        border-radius: 24px;
        border: 1px solid rgba(212, 175, 55, 0.08);
        backdrop-filter: blur(4px);
    }

        .main-content .grid-item h3 {
            font-size: 1.4rem;
            font-weight: 400;
            color: #d4af37;
            margin-bottom: 0.5rem;
        }

        .main-content .grid-item p {
            font-size: 0.9rem;
            color: rgba(240, 236, 227, 0.6);
        }

.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: screen;
}

@media (max-width: 768px) {
    .scene-card {
        width: 88%;
        padding: 2rem 1.8rem;
        border-radius: 32px;
    }

    .scene-content p {
        max-width: 100%;
    }

    .mouse-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .scene-card {
        padding: 1.6rem 1.2rem;
        border-radius: 24px;
    }

    .scene-content h2 {
        font-size: 2rem;
    }
}











/*منوی هدر سایت */
/* ===== GLASS HEADER ===== */
.csvsfpih-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    padding: 14px 30px;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 215, 0, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ===== LEFT (Desktop) ===== */
.csvsfpih-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.csvsfpih-btn {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px 22px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e1e1e;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

    .csvsfpih-btn i {
        color: #b8860b;
        font-size: 1rem;
    }

    .csvsfpih-btn:hover {
        background: rgba(255, 215, 0, 0.25);
        border-color: #d4af37;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(184, 134, 11, 0.15);
    }

.csvsfpih-btn-gold {
    background: linear-gradient(145deg, #f9e5b3, #e6c27a);
    border-color: #c9a84c;
    color: #2c2c2c;
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25);
}

    .csvsfpih-btn-gold i {
        color: #5a3e0b;
    }

    .csvsfpih-btn-gold:hover {
        background: linear-gradient(145deg, #fcefc7, #e9ce7e);
        box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35);
    }

/* ===== CENTER (Logo + Brand) ===== */
.csvsfpih-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.csvsfpih-logo {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle at 30% 30%, #fef7e0, #dbb86c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #1f1f1f;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3), inset 0 -2px 0 #a8873a;
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.csvsfpih-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2b2b2b 0%, #555 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

    .csvsfpih-brand span {
        background: linear-gradient(135deg, #d4af37, #f5d77b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* ===== RIGHT (Desktop) ===== */
.csvsfpih-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.csvsfpih-nav-link {
    text-decoration: none;
    color: #2b2b2b;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 6px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

    .csvsfpih-nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        right: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #d4af37, #f5d77b);
        transition: width 0.3s ease;
    }

    .csvsfpih-nav-link:hover {
        color: #b8860b;
    }

        .csvsfpih-nav-link:hover::after {
            width: 100%;
        }

    .csvsfpih-nav-link i {
        margin-left: 6px;
        color: #b8860b;
    }

/* ===== MOBILE (hidden on desktop) ===== */
.csvsfpih-mobile {
    display: none;
}

.csvsfpih-hamburger {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 215, 0, 0.25);
    width: 50px;
    height: 50px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #1e1e1e;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

    .csvsfpih-hamburger:hover {
        background: rgba(255, 215, 0, 0.2);
        border-color: #d4af37;
        transform: scale(1.02);
    }

/* ===== MOBILE MENU (overlay) ===== */
.csvsfpih-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(255, 215, 0, 0.2);
    padding: 100px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

    .csvsfpih-mobile-menu.open {
        transform: translateX(0);
    }

    .csvsfpih-mobile-menu a {
        text-decoration: none;
        color: #1e1e1e;
        font-size: 1.4rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(184, 134, 11, 0.15);
        padding-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.2s;
    }

        .csvsfpih-mobile-menu a i {
            color: #d4af37;
            width: 28px;
        }

        .csvsfpih-mobile-menu a:hover {
            color: #b8860b;
            padding-right: 8px;
        }

.csvsfpih-mobile-close {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #1e1e1e;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .csvsfpih-mobile-close:hover {
        background: rgba(255, 215, 0, 0.3);
        transform: rotate(90deg);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .csvsfpih-right {
        gap: 12px;
    }

    .csvsfpih-nav-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 820px) {
    .csvsfpih-right {
        display: none;
    }

    .csvsfpih-left {
        display: none;
    }

    .csvsfpih-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .csvsfpih-center {
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .csvsfpih-header {
        padding: 12px 20px;
        height: 74px;
    }
}

@media (max-width: 480px) {
    .csvsfpih-brand {
        font-size: 1.1rem;
    }

    .csvsfpih-logo {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .csvsfpih-header {
        padding: 10px 16px;
        height: 68px;
    }
}























/* ===== هدر ثابت شیشه‌ای ===== */
.csvsfpih .header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 12px 24px;
    background: #fff;
    backdrop-filter: blur(18px) saturate(200%);
    -webkit-backdrop-filter: blur(18px) saturate(200%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.csvsfpih .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ===== لوگو و نام شرکت ===== */
.csvsfpih .brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.csvsfpih .brand-logo {
    font-size: 2.2rem;
    color: #b8860b; /* طلایی */
    filter: drop-shadow(0 0 6px rgba(184, 134, 11, 0.3));
    transition: transform 0.2s;
}

.csvsfpih .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e1e1e 0%, #3d3d3d 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ===== ناوبری دسکتاپ / تبلت ===== */
.csvsfpih .nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

    .csvsfpih .nav-links li a {
        text-decoration: none;
        color: #1e1e1e;
        font-weight: 500;
        font-size: 0.95rem;
        padding: 6px 12px;
        border-radius: 40px;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 215, 0, 0.15);
        transition: all 0.25s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }

        .csvsfpih .nav-links li a i {
            color: #b8860b;
            font-size: 0.9rem;
        }

        .csvsfpih .nav-links li a:hover {
            background: rgba(255, 215, 0, 0.2);
            border-color: #b8860b;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -8px rgba(184, 134, 11, 0.2);
            color: #000;
        }

/* ===== دکمه‌های سمت چپ (تماس و پشتیبانی) ===== */
.csvsfpih .actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.csvsfpih .btn-contact {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #b8860b;
    color: #1e1e1e;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.25s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.08);
    white-space: nowrap;
}

    .csvsfpih .btn-contact i {
        color: #b8860b;
    }

    .csvsfpih .btn-contact:hover {
        background: #b8860b;
        color: #fff;
        border-color: #b8860b;
        box-shadow: 0 8px 18px rgba(184, 134, 11, 0.3);
        transform: scale(1.02);
    }

        .csvsfpih .btn-contact:hover i {
            color: #fff;
        }

.csvsfpih .btn-support {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #f1c40f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    white-space: nowrap;
}

    .csvsfpih .btn-support i {
        color: #f1c40f;
    }

    .csvsfpih .btn-support:hover {
        background: #f1c40f;
        color: #000;
        border-color: #f1c40f;
        box-shadow: 0 8px 24px rgba(241, 196, 15, 0.4);
        transform: scale(1.02);
    }

        .csvsfpih .btn-support:hover i {
            color: #000;
        }

/* ===== موبایل: آیکون همبرگر ویژه (نه سه خط) ===== */
.csvsfpih .hamburger-icon {
    display: none; /* فقط در موبایل */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    position: relative;
}

    .csvsfpih .hamburger-icon:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: #b8860b;
    }

    /* شکل خاص: دایره‌های کوچک (نه سه خط) */
    .csvsfpih .hamburger-icon .dot-grid {
        display: grid;
        grid-template-columns: repeat(2, 8px);
        gap: 5px;
        transition: all 0.3s;
    }

        .csvsfpih .hamburger-icon .dot-grid span {
            display: block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #2c2c2c;
            transition: all 0.3s ease;
            box-shadow: 0 0 4px rgba(184, 134, 11, 0.2);
        }

    /* حالت باز: تبدیل به ضربدر (چرخش 45 درجه با ترکیب) */
    .csvsfpih .hamburger-icon.active .dot-grid {
        gap: 0;
        grid-template-columns: repeat(1, 28px);
        transform: rotate(45deg) scale(0.9);
    }

        .csvsfpih .hamburger-icon.active .dot-grid span {
            width: 28px;
            height: 4px;
            border-radius: 20px;
            background: #b8860b;
            box-shadow: 0 0 12px rgba(184, 134, 11, 0.5);
        }

            .csvsfpih .hamburger-icon.active .dot-grid span:first-child {
                transform: rotate(0deg) translateY(0px);
            }

            .csvsfpih .hamburger-icon.active .dot-grid span:last-child {
                display: none; /* فقط یک خط ضربدری ساده */
            }

/* ===== منوی موبایل (اسلاید شیشه‌ای) ===== */
.csvsfpih .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    padding: 80px 28px 28px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.08);
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 99999;
    overflow-y: auto;
}

    .csvsfpih .mobile-menu.open {
        transform: translateX(0);
        display: block;
    }

    .csvsfpih .mobile-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

        .csvsfpih .mobile-menu ul li a {
            text-decoration: none;
            color: #1e1e1e;
            font-size: 1.2rem;
            font-weight: 500;
            padding: 10px 16px;
            border-radius: 60px;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 215, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 14px;
            transition: 0.2s;
        }

            .csvsfpih .mobile-menu ul li a i {
                color: #b8860b;
                width: 24px;
                text-align: center;
            }

            .csvsfpih .mobile-menu ul li a:hover {
                background: rgba(255, 215, 0, 0.2);
                border-color: #b8860b;
            }

/* دکمه‌های موبایل */
.csvsfpih .mobile-actions {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .csvsfpih .mobile-actions .btn-contact,
    .csvsfpih .mobile-actions .btn-support {
        justify-content: center;
        padding: 14px;
        font-size: 1rem;
        width: 100%;
    }

/* ===== ریسپانسیو ===== */
@media (max-width: 992px) {
    .csvsfpih .nav-links {
        gap: 8px;
    }

        .csvsfpih .nav-links li a {
            font-size: 0.8rem;
            padding: 4px 10px;
        }

    .csvsfpih .brand-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .csvsfpih .nav-links,
    .csvsfpih .actions {
        display: none;
    }

    .csvsfpih .hamburger-icon {
        display: flex;
    }

    .csvsfpih .header-glass {
        padding: 10px 18px;
    }

    .csvsfpih .brand-name {
        font-size: 1.1rem;
    }

    .csvsfpih .brand-logo {
        font-size: 1.8rem;
    }
}

@media (min-width: 769px) {
    .csvsfpih .mobile-menu {
        display: none !important;
    }

    .csvsfpih .hamburger-icon {
        display: none !important;
    }
}

/* ===== دکمه بستن منو (اختیاری) ===== */
.csvsfpih .mobile-close {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 1.6rem;
    color: #b8860b;
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(184,134,11,0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: 0.2s;
}

    .csvsfpih .mobile-close:hover {
        background: rgba(184,134,11,0.15);
        transform: rotate(90deg);
    }

/* فضای خالی برای نمایش ثابت بودن هدر */
.csvsfpih .dummy-space {
    height: 120px;
    background: transparent;
}





























/* ===== اصلی ترین کانتینر ===== */
.nsngsjgallry {
    max-width: 1360px;
    width: 100%;
    background: rgba(255, 251, 245, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 56px;
    padding: 36px 28px 32px;
    box-shadow: 0 30px 60px rgba(80, 60, 40, 0.08), 0 10px 30px rgba(80, 60, 40, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 245, 235, 0.5);
    transition: all 0.3s ease;
}

/* ===== گرید اختصاصی ===== */
.nsngsjgallry-grid {
    display: grid;
    gap: 24px;
    justify-content: center;
}

/* ===== کارت ها ===== */
.nsngsjgallry-card {
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), box-shadow 0.5s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(220, 210, 200, 0.25);
    position: relative;
    cursor: default;
    transform: scale(1);
    will-change: transform;
    background: #fefcf9;
}

    /* ===== تصویر ===== */
    .nsngsjgallry-card img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        background: #dad2c8;
        transition: transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28), filter 0.4s ease;
        filter: saturate(0.98) brightness(1.02);
    }

/* ===== محتوای پایین کارت ===== */
.nsngsjgallry-card-content {
    padding: 18px 14px 20px;
    background: #fefcf9;
    text-align: center;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    transition: background 0.3s ease;
    position: relative;
}

    .nsngsjgallry-card-content h4 {
        font-size: 1.05rem;
        font-weight: 520;
        color: #2c241e;
        letter-spacing: 0.3px;
        line-height: 1.5;
        transition: color 0.3s ease;
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    }

        .nsngsjgallry-card-content h4::after {
            content: "";
            display: inline-block;
            width: 0;
            transition: width 0.3s ease, opacity 0.3s ease;
            opacity: 0;
        }

/* ===== هاور طلایی (دسکتاپ) ===== */
@media (hover: hover) {
    .nsngsjgallry-card:hover {
        transform: scale(0.92) translateY(-8px) rotate(0.5deg);
        box-shadow: 0 32px 56px -12px rgba(180, 140, 70, 0.3), 0 12px 24px -8px rgba(180, 140, 70, 0.12);
        border-color: #d4af37;
        background: #fffbf5;
        z-index: 20;
    }

        .nsngsjgallry-card:hover img {
            transform: scale(0.97) saturate(1.1);
            filter: brightness(1.04) contrast(1.02);
        }

        .nsngsjgallry-card:hover .nsngsjgallry-card-content {
            background: #fffbf5;
        }

            .nsngsjgallry-card:hover .nsngsjgallry-card-content h4 {
                color: #a57a3c;
            }

                .nsngsjgallry-card:hover .nsngsjgallry-card-content h4::after {
                    content: " ✦";
                    width: auto;
                    opacity: 1;
                    color: #d4af37;
                    font-size: 0.9rem;
                    margin-right: 2px;
                }

    /* نشان طلایی کوچک روی کارت */
    .nsngsjgallry-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 32px;
        padding: 2px;
        background: transparent;
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        transition: background 0.4s ease;
    }

    .nsngsjgallry-card:hover::before {
        background: linear-gradient(135deg, #d4af37 0%, #f5e7b2 50%, #d4af37 100%);
    }
}

/* ===== حالت clicked (برای موبایل و تبلت + دسکتاپ با کلیک) ===== */
.nsngsjgallry-card.clicked {
    transform: scale(0.92) translateY(-8px) rotate(0.5deg);
    box-shadow: 0 32px 56px -12px rgba(180, 140, 70, 0.3), 0 12px 24px -8px rgba(180, 140, 70, 0.12);
    border-color: #d4af37;
    background: #fffbf5;
    z-index: 20;
}

    .nsngsjgallry-card.clicked img {
        transform: scale(0.97) saturate(1.1);
        filter: brightness(1.04) contrast(1.02);
    }

    .nsngsjgallry-card.clicked .nsngsjgallry-card-content {
        background: #fffbf5;
    }

        .nsngsjgallry-card.clicked .nsngsjgallry-card-content h4 {
            color: #a57a3c;
        }

            .nsngsjgallry-card.clicked .nsngsjgallry-card-content h4::after {
                content: " ✦";
                width: auto;
                opacity: 1;
                color: #d4af37;
                font-size: 0.9rem;
                margin-right: 2px;
            }

/* ===== شمارنده ===== */
.nsngsjgallry-counter {
    margin-top: 32px;
    text-align: center;
    font-size: 0.95rem;
    color: #4d3e2e;
    background: rgba(240, 235, 230, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 14px 32px;
    border-radius: 80px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    border: 1px solid rgba(200, 185, 170, 0.3);
    letter-spacing: 0.5px;
    font-weight: 450;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

    .nsngsjgallry-counter span {
        font-weight: 700;
        color: #b8893c;
        background: rgba(212, 175, 55, 0.12);
        padding: 2px 12px;
        border-radius: 40px;
        margin: 0 4px;
        font-size: 1.1rem;
    }

.nsngsjgallry-footer {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

/* ===== ریسپانسیو ===== */

/* موبایل: ۲ ستون */
@media (max-width: 639px) {
    .nsngsjgallry {
        padding: 24px 16px 20px;
        border-radius: 40px;
    }

    .nsngsjgallry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .nsngsjgallry-card-content h4 {
        font-size: 0.85rem;
        padding: 2px 0;
    }

    .nsngsjgallry-counter {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
}

/* تبلت: ۴ ستون */
@media (min-width: 640px) and (max-width: 1023px) {
    .nsngsjgallry {
        padding: 30px 22px 26px;
        border-radius: 48px;
    }

    .nsngsjgallry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .nsngsjgallry-card-content h4 {
        font-size: 0.95rem;
    }
}

/* کامپیوتر: ۴ ستون (۲ ردیف) */
@media (min-width: 1024px) {
    .nsngsjgallry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 26px;
    }

    .nsngsjgallry-card-content h4 {
        font-size: 1.05rem;
    }
}

/* گوشی‌های خیلی کوچک */
@media (max-width: 400px) {
    .nsngsjgallry-grid {
        gap: 10px;
    }

    .nsngsjgallry-card-content h4 {
        font-size: 0.75rem;
        padding: 0 2px;
    }

    .nsngsjgallry {
        padding: 16px 10px 16px;
        border-radius: 32px;
    }

    .nsngsjgallry-counter {
        font-size: 0.7rem;
        padding: 8px 14px;
    }
}

/* ===== جلوه ورود ملایم ===== */
.nsngsjgallry-card {
    opacity: 1;
    animation: nsngsjgallryFadeIn 0.6s ease backwards;
}

    .nsngsjgallry-card:nth-child(1) {
        animation-delay: 0.02s;
    }

    .nsngsjgallry-card:nth-child(2) {
        animation-delay: 0.05s;
    }

    .nsngsjgallry-card:nth-child(3) {
        animation-delay: 0.08s;
    }

    .nsngsjgallry-card:nth-child(4) {
        animation-delay: 0.11s;
    }

    .nsngsjgallry-card:nth-child(5) {
        animation-delay: 0.14s;
    }

    .nsngsjgallry-card:nth-child(6) {
        animation-delay: 0.17s;
    }

    .nsngsjgallry-card:nth-child(7) {
        animation-delay: 0.20s;
    }

    .nsngsjgallry-card:nth-child(8) {
        animation-delay: 0.23s;
    }

@keyframes nsngsjgallryFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(16px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== بهبود تاچ (موبایل) ===== */
.nsngsjgallry-card {
    -webkit-tap-highlight-color: transparent;
}




























