 /* ==========================================================
           1. ROOT VARIABLES
        ========================================================== */
        :root {
            --primary: #f97316;
            --primary-dark: #ea580c;
            --primary-deep: #c2410c;
            --primary-soft: #fdba74;
            --bg: #faf7f2;
            --surface: #ffffff;
            --text: #18181b;
            --text-soft: #52525b;
            --text-muted: #71717a;
            --border: rgba(249, 115, 22, .12);
            --radius-xl: 32px;
            --radius-lg: 24px;
            --radius-md: 18px;
            --radius-sm: 14px;
            --container: 1320px;
            --gap-section: 28px;
            --gap-card: 20px;
            --shadow-section: 0 6px 30px rgba(249, 115, 22, 0.07);
        }

        /* ==========================================================
           2. RESET & BASE
        ========================================================== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 30px;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
            background: var(--bg);
            color: var(--text);
            direction: rtl;
            overflow-x: hidden;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        img {
            display: block;
            max-width: 100%;
            height: auto;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        :focus-visible {
            outline: 3px solid rgba(249, 115, 22, .45);
            outline-offset: 3px;
        }

        ::selection {
            background: rgba(249, 115, 22, .18);
        }

        /* ==========================================================
           3. SKIP LINK
        ========================================================== */
        .skip-link {
            position: fixed;
            top: -100px;
            right: 20px;
            z-index: 10000;
            padding: 11px 18px;
            background: #18181b;
            color: #fff;
            border-radius: 12px;
            font-weight: 700;
        }

        .skip-link:focus {
            top: 20px;
        }

        /* ==========================================================
           4. LAYOUT
        ========================================================== */
        .site-wrapper {
            width: min(100% - 32px, var(--container));
            margin: 0 auto;
            padding: 18px 0 28px;
        }

        .section {
            margin-bottom: var(--gap-section);
            padding: 48px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-section);
            transition: box-shadow .3s ease, transform .3s ease;
        }

        .section:hover {
            box-shadow: 0 8px 40px rgba(249, 115, 22, 0.12);
            transform: translateY(-2px);
        }

        .section:last-of-type {
            margin-bottom: 0;
        }

        /* ==========================================================
           5. HEADER
        ========================================================== */
        .header {
            position: relative;
            z-index: 1000;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            padding: 13px 18px;
            margin-bottom: var(--gap-section);
            box-shadow: var(--shadow-section);
            transition: box-shadow .3s ease;
        }

        .header:hover {
            box-shadow: 0 8px 35px rgba(249, 115, 22, 0.10);
        }

        .header-top {
            min-height: 58px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        /* ===== LOGO ===== */
        .logo {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            border-radius: 15px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-size: 1.35rem;
            transition: transform .25s ease;
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
        }

        .logo:hover .logo-icon {
            transform: translateY(-2px) rotate(-4deg);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .brand {
            font-size: 1.3rem;
            font-weight: 900;
            letter-spacing: -.4px;
        }

        .brand span {
            color: var(--primary);
        }

        .logo-sub {
            margin-top: 4px;
            color: var(--text-muted);
            font-size: .68rem;
            font-weight: 500;
        }

        /* ===== NAV ===== */
        .main-nav {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-item {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 9px 13px;
            color: var(--text-soft);
            border-radius: var(--radius-sm);
            font-size: .88rem;
            font-weight: 600;
            transition: background .2s ease, color .2s ease, box-shadow .2s ease;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .nav-item i {
            color: var(--primary);
        }

        .nav-item:hover {
            color: var(--primary-deep);
            background: #fff7ed;
            box-shadow: 0 2px 12px rgba(249, 115, 22, 0.08);
        }

        .nav-item.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.30);
        }

        .nav-item.active i {
            color: #fff;
        }

        /* ===== ACTIONS ===== */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .btn-project {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 43px;
            padding: 0 18px;
            border-radius: var(--radius-sm);
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            font-size: .86rem;
            font-weight: 800;
            transition: transform .22s ease, box-shadow .22s ease;
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .btn-project:hover {
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(249, 115, 22, 0.35);
        }

        /* ===== HAMBURGER ===== */
        .hamburger {
            display: none;
            width: 45px;
            height: 45px;
            padding: 9px;
            border: 1px solid #fed7aa;
            border-radius: var(--radius-sm);
            background: #fffaf5;
            cursor: pointer;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 2.5px;
            margin: 4px 0;
            background: #3f3f46;
            border-radius: 10px;
            transition: .25s ease;
        }

        /* ===== MOBILE MENU ===== */
        .mobile-menu {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            right: 10px;
            left: 10px;
            padding: 12px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            animation: menuIn .22s ease;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        }

        .mobile-menu.show {
            display: grid;
        }

        .mobile-menu .nav-item {
            width: 100%;
            padding: 13px 15px;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .mobile-menu .btn-project {
            margin-top: 5px;
            width: 100%;
        }

        @keyframes menuIn {
            from {
                opacity: 0;
                transform: translateY(-7px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ==========================================================
           6. SECTION HEADING
        ========================================================== */
        .section-heading {
            max-width: 720px;
            margin: 0 auto 32px;
            text-align: center;
        }

        .section-heading h2 {
            margin: 0 0 9px;
            font-size: clamp(1.65rem, 3vw, 2.3rem);
            line-height: 1.45;
            font-weight: 900;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .section-heading h2 span {
            color: var(--primary);
        }

        .section-heading p {
            margin: 0;
            color: var(--text-muted);
            font-size: .92rem;
            line-height: 1.9;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 13px;
            background: #fff7ed;
            color: var(--primary-deep);
            border: 1px solid #fed7aa;
            border-radius: 100px;
            font-size: .75rem;
            font-weight: 800;
            margin-bottom: 14px;
            box-shadow: 0 2px 10px rgba(249, 115, 22, 0.08);
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        /* ==========================================================
           7. HERO
        ========================================================== */
        .hero-section {
            display: grid;
            grid-template-columns: 1.05fr .95fr;
            align-items: center;
            gap: 55px;
            padding: 56px;
            margin-bottom: var(--gap-section);
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-section);
            transition: box-shadow .3s ease, transform .3s ease;
        }

        .hero-section:hover {
            box-shadow: 0 8px 45px rgba(249, 115, 22, 0.10);
            transform: translateY(-2px);
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-content h1 {
            margin: 0 0 17px;
            max-width: 720px;
            font-size: clamp(2rem, 4vw, 3.4rem);
            line-height: 1.35;
            font-weight: 950;
            letter-spacing: -1.2px;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .hero-content h1 span {
            color: var(--primary);
        }

        .hero-description {
            max-width: 700px;
            margin: 0 0 20px;
            color: var(--text-soft);
            font-size: 1rem;
            line-height: 2;
            font-weight: 450;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .hero-description strong {
            color: var(--text);
            font-weight: 800;
        }

        .hero-highlight {
            display: grid;
            gap: 8px;
            padding: 15px 18px;
            margin-bottom: 19px;
            background: #fffaf5;
            border-right: 3px solid var(--primary);
            border-radius: var(--radius-sm);
            color: var(--text-soft);
            font-size: .88rem;
            line-height: 1.8;
            box-shadow: 0 2px 12px rgba(249, 115, 22, 0.06);
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .hero-highlight strong {
            color: var(--text);
        }

        .hero-contact {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 20px;
            margin-bottom: 21px;
        }

        .contact-item {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: var(--text-soft);
            font-size: .82rem;
            font-weight: 600;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .contact-item i {
            color: var(--primary);
        }

        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .hero-btn {
            min-height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            padding: 0 23px;
            border-radius: var(--radius-sm);
            font-size: .9rem;
            font-weight: 800;
            transition: .22s ease;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .hero-btn.primary {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            box-shadow: 0 4px 18px rgba(249, 115, 22, 0.30);
        }

        .hero-btn.primary:hover {
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 28px rgba(249, 115, 22, 0.40);
        }

        .hero-btn.secondary {
            color: var(--primary-deep);
            background: #fff;
            border: 1px solid #fdba74;
            box-shadow: 0 2px 12px rgba(249, 115, 22, 0.08);
        }

        .hero-btn.secondary:hover {
            background: #fff7ed;
            transform: translateY(-2px);
            box-shadow: 0 4px 18px rgba(249, 115, 22, 0.15);
        }

        /* ===== HERO IMAGE ===== */
        .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .hero-image img {
            display: block;
            width: 100%;
            max-width: 680px;
            height: auto;
            object-fit: contain;
            border-radius: var(--radius-lg);
        }

        /* ==========================================================
           8. SERVICES GRID
        ========================================================== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--gap-card);
        }

        .service-card {
            position: relative;
            padding: 24px;
            border: 1px solid #f4e6da;
            border-radius: var(--radius-md);
            background: #fffaf7;
            transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
            box-shadow: 0 2px 12px rgba(249, 115, 22, 0.04);
        }

        .service-card:hover {
            transform: translateY(-5px);
            border-color: #fdba74;
            box-shadow: 0 8px 30px rgba(249, 115, 22, 0.15);
        }

        .service-icon {
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            margin-bottom: 15px;
            border-radius: var(--radius-sm);
            background: #fff7ed;
            color: var(--primary);
            font-size: 1.3rem;
            box-shadow: 0 2px 10px rgba(249, 115, 22, 0.08);
        }

        .service-card h3 {
            margin: 0 0 8px;
            font-size: 1rem;
            font-weight: 850;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .service-card p {
            margin: 0;
            color: var(--text-muted);
            font-size: .84rem;
            line-height: 1.9;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        /* ==========================================================
           9. ABOUT
        ========================================================== */
        .about-grid {
            display: grid;
            grid-template-columns: .95fr 1.05fr;
            gap: 48px;
            align-items: center;
        }

        .about-image img {
            width: 100%;
            max-width: 680px;
            height: auto;
            aspect-ratio: 7 / 5;
            object-fit: cover;
            border-radius: var(--radius-lg);
            box-shadow: 0 6px 25px rgba(249, 115, 22, 0.08);
        }

        .about-content h2 {
            margin: 0 0 14px;
            font-size: clamp(1.7rem, 3vw, 2.35rem);
            line-height: 1.45;
            font-weight: 900;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .about-content h2 span {
            color: var(--primary);
        }

        .about-content p {
            margin: 0 0 12px;
            color: var(--text-soft);
            font-size: .92rem;
            line-height: 2;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .about-content strong {
            color: var(--text);
            font-weight: 800;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 9px;
            margin-top: 18px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 10px 12px;
            background: #fffaf5;
            border: 1px solid #f7e8dc;
            border-radius: var(--radius-sm);
            color: var(--text-soft);
            font-size: .8rem;
            font-weight: 650;
            transition: transform .2s ease, box-shadow .2s ease;
            box-shadow: 0 2px 8px rgba(249, 115, 22, 0.04);
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .feature-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.10);
        }

        .feature-item i {
            color: var(--primary);
            font-size: 1rem;
        }

        /* ==========================================================
           10. STATS
        ========================================================== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 13px;
        }

        .stat-card {
            padding: 23px 16px;
            text-align: center;
            border-radius: var(--radius-md);
            background: #fffaf5;
            border: 1px solid #f4e6da;
            transition: transform .25s ease, box-shadow .25s ease;
            box-shadow: 0 2px 12px rgba(249, 115, 22, 0.04);
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(249, 115, 22, 0.12);
        }

        .stat-number {
            display: block;
            margin-bottom: 5px;
            color: var(--primary);
            font-size: 1.65rem;
            font-weight: 950;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .stat-label {
            color: var(--text-muted);
            font-size: .78rem;
            font-weight: 650;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        /* ==========================================================
           11. PORTFOLIO
        ========================================================== */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--gap-card);
        }

        .portfolio-item {
            position: relative;
            width: 100%;
            padding: 0;
            overflow: hidden;
            aspect-ratio: 4 / 3;
            border: none;
            border-radius: var(--radius-md);
            background: transparent;
            cursor: pointer;
            transition: transform .3s ease;
        }

        .portfolio-item:hover {
            transform: translateY(-4px);
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .45s ease;
            display: block;
        }

        .portfolio-item:hover img {
            transform: scale(1.03);
        }

        /* ==========================================================
           12. FAQ
        ========================================================== */
        .faq-section {
            margin-bottom: var(--gap-section);
            padding: 48px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-section);
            transition: box-shadow .3s ease, transform .3s ease;
        }

        .faq-section:hover {
            box-shadow: 0 8px 40px rgba(249, 115, 22, 0.10);
            transform: translateY(-2px);
        }

        .faq-list {
            max-width: 900px;
            margin: 0 auto;
            display: grid;
            gap: 10px;
        }

        .faq-item {
            overflow: hidden;
            background: #fffaf5;
            border: 1px solid #f1e3d8;
            border-radius: var(--radius-md);
            transition: border-color .25s ease, box-shadow .25s ease;
            box-shadow: 0 2px 8px rgba(249, 115, 22, 0.03);
        }

        .faq-item:hover {
            box-shadow: 0 4px 18px rgba(249, 115, 22, 0.06);
        }

        .faq-item.open {
            border-color: #fdba74;
            box-shadow: 0 4px 20px rgba(249, 115, 22, 0.10);
        }

        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 19px 21px;
            border: 0;
            background: transparent;
            color: var(--text);
            text-align: right;
            cursor: pointer;
            font-size: .92rem;
            font-weight: 800;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .faq-question-text {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .faq-question-text i {
            color: var(--primary);
        }

        .faq-icon {
            width: 31px;
            height: 31px;
            flex: 0 0 31px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: #fff7ed;
            color: var(--primary);
            transition: transform .3s ease;
            box-shadow: 0 2px 8px rgba(249, 115, 22, 0.06);
        }

        .faq-item.open .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows .3s ease;
        }

        .faq-answer-inner {
            min-height: 0;
            overflow: hidden;
        }

        .faq-answer p {
            margin: 0;
            padding: 0 21px 20px;
            color: var(--text-muted);
            font-size: .86rem;
            line-height: 2;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .faq-item.open .faq-answer {
            grid-template-rows: 1fr;
        }

        /* ==========================================================
           13. TESTIMONIALS
        ========================================================== */
        .testimonials-section {
            margin-bottom: var(--gap-section);
            padding: 48px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-section);
            transition: box-shadow .3s ease, transform .3s ease;
        }

        .testimonials-section:hover {
            box-shadow: 0 8px 40px rgba(249, 115, 22, 0.10);
            transform: translateY(-2px);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .testimonial-card {
            background: #faf7f2;
            border: 1px solid #f1e9e2;
            border-radius: var(--radius-md);
            padding: 20px 18px;
            transition: border-color .25s ease, transform .25s ease;
            text-align: center;
        }

        .testimonial-card:hover {
            border-color: var(--primary-soft);
            transform: translateY(-3px);
        }

        .testimonial-stars {
            color: #f59e0b;
            font-size: .85rem;
            margin-bottom: 8px;
        }

        .testimonial-text {
            color: var(--text-soft);
            font-size: .82rem;
            line-height: 1.9;
            margin: 0 0 10px;
            font-weight: 450;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .testimonial-name {
            font-weight: 800;
            color: var(--text);
            font-size: .78rem;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .testimonial-name i {
            color: var(--primary);
            margin-left: 5px;
        }

        /* ==========================================================
           14. CTA
        ========================================================== */
        .cta {
            position: relative;
            overflow: hidden;
            margin-bottom: var(--gap-section);
            padding: 40px;
            text-align: center;
            border-radius: var(--radius-xl);
            background: linear-gradient(135deg, #f97316, #c2410c);
            color: #fff;
            box-shadow: 0 6px 30px rgba(249, 115, 22, 0.25);
            transition: transform .3s ease, box-shadow .3s ease;
        }

        .cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 45px rgba(249, 115, 22, 0.35);
        }

        .cta h2 {
            margin: 0 0 9px;
            font-size: clamp(1.5rem, 3vw, 2.1rem);
            font-weight: 900;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .cta p {
            max-width: 680px;
            margin: 0 auto 20px;
            color: rgba(255, 255, 255, .88);
            font-size: .9rem;
            line-height: 1.9;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 9px;
        }

        .cta-btn {
            min-height: 45px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0 20px;
            border-radius: var(--radius-sm);
            font-size: .85rem;
            font-weight: 800;
            transition: .22s ease;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .cta-btn.light {
            background: #fff;
            color: var(--primary-deep);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
        }

        .cta-btn.light:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        }

        .cta-btn.outline {
            color: #fff;
            border: 1px solid rgba(255, 255, 255, .55);
        }

        .cta-btn.outline:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.08);
        }

        /* ==========================================================
           15. LIGHTBOX
        ========================================================== */
        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 30px;
            background: rgba(9, 9, 11, .91);
            backdrop-filter: blur(10px);
        }

        .lightbox.show {
            display: flex;
        }

        .lightbox-content {
            max-width: min(1000px, 94vw);
            max-height: 80vh;
            border-radius: var(--radius-md);
            object-fit: contain;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.30);
        }

        .lightbox-close {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 46px;
            height: 46px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 50%;
            background: rgba(255, 255, 255, .08);
            color: #fff;
            cursor: pointer;
            font-size: 1.1rem;
            transition: background .2s ease, transform .2s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, .15);
            transform: rotate(90deg);
        }

        .lightbox-caption {
            position: fixed;
            bottom: 22px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 90%;
            padding: 9px 18px;
            border-radius: 100px;
            background: rgba(0, 0, 0, .65);
            color: #fff;
            font-size: .82rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        /* ==========================================================
           16. FOOTER
        ========================================================== */
        .footer {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 20px;
            padding: 27px 32px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            margin-top: var(--gap-section);
            box-shadow: var(--shadow-section);
            transition: box-shadow .3s ease;
        }

        .footer:hover {
            box-shadow: 0 8px 35px rgba(249, 115, 22, 0.08);
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 9px;
            font-size: .95rem;
            font-weight: 900;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .footer-brand span {
            color: var(--primary);
        }

        .footer-icon {
            width: 39px;
            height: 39px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: 0 4px 12px rgba(249, 115, 22, 0.20);
        }

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 16px;
        }

        .footer-links a {
            color: var(--text-muted);
            font-size: .76rem;
            font-weight: 650;
            transition: color .2s ease;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-social {
            display: flex;
            gap: 7px;
        }

        .footer-social a {
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            border-radius: 11px;
            background: #fff7ed;
            color: var(--primary);
            transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
            box-shadow: 0 2px 8px rgba(249, 115, 22, 0.06);
        }

        .footer-social a:hover {
            color: #fff;
            background: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
        }

        .footer-copy {
            grid-column: 1 / -1;
            padding-top: 15px;
            border-top: 1px solid #f1e9e2;
            text-align: center;
            color: #a1a1aa;
            font-size: .7rem;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
        }

        /* ==========================================================
           17. RESPONSIVE
        ========================================================== */
        @media (max-width: 1100px) {
            .main-nav {
                gap: 2px;
            }
            .nav-item {
                padding: 8px 9px;
                font-size: .8rem;
            }
            .hero-section {
                gap: 35px;
                padding: 42px;
            }
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 900px) {
            .main-nav,
            .header-actions .btn-project {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .hero-section {
                grid-template-columns: 1fr;
            }
            .hero-image {
                order: -1;
            }
            .about-grid {
                grid-template-columns: 1fr;
            }
            .about-image {
                order: -1;
            }
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .footer-brand,
            .footer-social {
                justify-content: center;
            }
            .footer-copy {
                grid-column: auto;
            }
        }

        @media (max-width: 650px) {
            .site-wrapper {
                width: min(100% - 18px, var(--container));
                padding-top: 9px;
            }
            .header {
                border-radius: var(--radius-lg);
                margin-bottom: 14px;
            }
            .logo-icon {
                width: 42px;
                height: 42px;
            }
            .brand {
                font-size: 1.1rem;
            }
            .logo-sub {
                font-size: .59rem;
            }
            .hero-section,
            .section,
            .faq-section,
            .testimonials-section {
                padding: 25px 18px;
                border-radius: var(--radius-lg);
            }
            .hero-section {
                gap: 25px;
            }
            .hero-content h1 {
                font-size: 1.85rem;
                letter-spacing: -.6px;
            }
            .hero-description {
                font-size: .87rem;
            }
            .hero-buttons {
                display: grid;
                grid-template-columns: 1fr;
            }
            .hero-btn {
                width: 100%;
            }
            .hero-image img {
                max-width: 100%;
            }
            .services-grid {
                grid-template-columns: 1fr;
            }
            .features-grid {
                grid-template-columns: 1fr;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 9px;
            }
            .portfolio-item {
                border-radius: var(--radius-sm);
            }
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .testimonial-card {
                padding: 16px 14px;
            }
            .testimonial-text {
                font-size: .78rem;
            }
            .faq-question {
                padding: 16px 14px;
                font-size: .82rem;
            }
            .faq-question-text {
                gap: 7px;
            }
            .faq-answer p {
                padding: 0 14px 16px;
                font-size: .78rem;
            }
            .cta {
                padding: 30px 18px;
                border-radius: var(--radius-lg);
            }
            .cta-buttons {
                display: grid;
                grid-template-columns: 1fr;
            }
            .cta-btn {
                width: 100%;
            }
            .footer {
                padding: 22px 16px;
                border-radius: var(--radius-lg);
            }
            .footer-links {
                gap: 10px 14px;
            }
        }

        /* ==========================================================
           18. REDUCED MOTION
        ========================================================== */
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }
            *,
            *::before,
            *::after {
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .01ms !important;
            }
        }