 :root {
            --bg-950: #0c1918;
            --bg-900: #0f2120;
            --bg-800: #132524;
            --bg-700: #1c3936;
            --bg-600: #274d48;

            --gold-deep: #c9a04f;
            --gold: #e9c576;
            --gold-pale: #f3dba0;

            --text: #fbf3de;
            --muted: #a9beba;
            --line: rgba(233, 197, 118, .2);

            --ease: cubic-bezier(.16, 1, .3, 1);
        }

        * {
            box-sizing: border-box
        }

        html {
            scroll-behavior: smooth
        }

        body {
            margin: 0;
            color: var(--text);
            background: var(--bg-950);
            font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
            line-height: 1.9;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            -webkit-tap-highlight-color: transparent
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit
        }

        button {
            -webkit-tap-highlight-color: transparent;
            background: none;
            border: 0
        }

        img {
            max-width: 100%;
            display: block
        }

        .container {
            width: min(1180px, calc(100% - 40px));
            margin: auto
        }

        .section {
            padding: 100px 0;
            position: relative
        }

        .gold {
            color: var(--gold-pale)
        }

        .icon {
            width: 1em;
            height: 1em;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex: none;
            display: inline-block;
            vertical-align: -.15em
        }

        .eyebrow {
            display: flex;
            align-items: center;
            gap: 9px;
            color: var(--gold-pale);
            font-weight: bold;
            font-size: 12px;
            letter-spacing: .3px;
            margin-bottom: 12px;
        }

        .eyebrow:before {
            content: "";
            width: 30px;
            height: 1px;
            background: var(--gold);
            box-shadow: 0 0 12px var(--gold);
        }

        .section-title {
            font-size: clamp(24px, 2.8vw, 38px);
            line-height: 1.42;
            letter-spacing: -.5px;
            margin: 0 0 14px;
            font-weight: 900;
        }

        .section-desc {
            max-width: 710px;
            color: var(--muted);
            font-size: 16px;
            margin: 0
        }

        .button {
            position: relative;
            overflow: hidden;
            border: 0;
            border-radius: 9px;
            padding: 13px 22px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            font-weight: 800;
            font-size: 14px;
            color: var(--bg-950);
            background: linear-gradient(135deg, var(--gold-pale), var(--gold));
            box-shadow: 0 12px 30px rgba(233, 197, 118, .22);
            transition: transform .25s var(--ease), box-shadow .25s var(--ease);
        }

        .button:before {
            content: "";
            position: absolute;
            top: 0;
            left: -60%;
            width: 35%;
            height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .4), transparent);
            transform: skewX(20deg);
            transition: left .55s ease;
        }

        .button:hover:before {
            left: 130%
        }

        .button:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 36px rgba(233, 197, 118, .34)
        }

        .button:active {
            transform: translateY(-1px)
        }

        .button-outline {
            color: var(--text);
            background: rgba(251, 243, 222, .04);
            border: 1px solid rgba(251, 243, 222, .25);
            box-shadow: none;
        }

        .button-outline:hover {
            color: var(--text);
            background: rgba(233, 197, 118, .1);
            border-color: var(--gold);
            transform: translateY(-3px)
        }

        .button-row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px
        }

        .brand-mini {
            display: inline-flex;
            align-items: center;
            gap: 10px
        }

        .brand-mini img {
            height: 32px;
            width: auto
        }

        /* نشانگر سفارشی ماوس */
        .cursor-dot,
        .cursor-ring {
            position: fixed;
            top: 0;
            left: 0;
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
            will-change: transform;
            opacity: 0;
            transition: opacity .25s ease;
        }

        .cursor-dot {
            width: 6px;
            height: 6px;
            background: var(--gold)
        }

        .cursor-ring {
            width: 30px;
            height: 30px;
            border: 1px solid rgba(233, 197, 118, .55);
            transition: width .25s var(--ease), height .25s var(--ease), border-color .25s ease, background .25s ease, opacity .25s ease;
        }

        .cursor-ring.hovering {
            width: 64px;
            height: 64px;
            background: rgba(233, 197, 118, .1);
            border-color: var(--gold)
        }

        body.custom-cursor-active .cursor-dot,
        body.custom-cursor-active .cursor-ring {
            opacity: 1
        }

        body.custom-cursor-active,
        body.custom-cursor-active a,
        body.custom-cursor-active button {
            cursor: none
        }

        body.custom-cursor-active input,
        body.custom-cursor-active textarea,
        body.custom-cursor-active select {
            cursor: text
        }

        /* ============ Hero سینمایی، ویدیو تمام‌صفحه ============ */
        .hero-cinematic {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .hero-bg-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            z-index: 1;
            background:
                linear-gradient(to bottom, rgba(9, 19, 18, .55) 0%, rgba(9, 19, 18, .72) 55%, var(--bg-950) 96%),
                linear-gradient(to left, rgba(9, 19, 18, .35), transparent 45%);
        }

        .hero-top {
            position: relative;
            z-index: 2;
            padding: 26px 0 0;
        }

        .hero-cinematic .container {
            position: relative;
            z-index: 2
        }

        .hero-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px 0 90px;
        }

        .hero-title {
            font-size: clamp(34px, 5.6vw, 68px);
            font-weight: 900;
            line-height: 1.22;
            letter-spacing: -1.5px;
            margin: 16px 0 20px;
            max-width: 820px;
        }

        .hero-text {
            max-width: 560px;
            color: #d7e2de;
            font-size: 16.5px;
            margin: 0 0 28px
        }

        .hero-scroll-cue {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding-bottom: 28px;
            color: var(--muted);
            font-size: 11px;
            letter-spacing: .5px;
        }

        .hero-scroll-cue .icon {
            animation: bounceDown 1.8s ease-in-out infinite
        }

        @keyframes bounceDown {

            0%,
            100% {
                transform: translateY(0)
            }

            50% {
                transform: translateY(6px)
            }
        }

        /* ============ نوار متحرک خدمات ============ */
        .marquee {
            position: relative;
            overflow: hidden;
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            background: rgba(233, 197, 118, .045);
            padding: 16px 0;
        }

        .marquee-track {
            display: flex;
            width: max-content;
            gap: 36px;
            animation: marqueeScroll 26s linear infinite;
        }

        .marquee-track span {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            font-weight: 700;
            color: var(--gold-pale);
            white-space: nowrap;
        }

        .marquee-track span i {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--gold);
            opacity: .6
        }

        @keyframes marqueeScroll {
            from {
                transform: translateX(0)
            }

            to {
                transform: translateX(-50%)
            }
        }

        /* Reveal */
        .reveal {
            opacity: 0;
            transform: translateY(35px);
            transition: opacity .8s ease, transform .8s ease
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0)
        }

        .delay-1 {
            transition-delay: .12s
        }

        .delay-2 {
            transition-delay: .24s
        }

        .delay-3 {
            transition-delay: .36s
        }

        /* ============ درباره ما - سبک ادیتوریال ============ */
        .about-inner {
            display: grid;
            grid-template-columns: 60px 1fr;
            gap: 32px;
        }

        .about-rule {
            width: 1px;
            background: linear-gradient(to bottom, var(--gold), transparent);
            margin: 6px auto 0;
        }

        .about-statement {
            font-size: clamp(21px, 2.6vw, 32px);
            font-weight: 800;
            line-height: 1.65;
            max-width: 900px;
            margin: 0 0 34px;
            color: #eef4f1;
        }

        .about-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px
        }

        .about-item {
            padding: 22px 0;
            border-top: 1px solid var(--line)
        }

        .about-item .icon {
            width: 22px;
            height: 22px;
            color: var(--gold-pale);
            margin-bottom: 12px
        }

        .about-item h3 {
            margin: 0 0 6px;
            font-size: 15px
        }

        .about-item p {
            margin: 0;
            color: var(--muted);
            font-size: 13px
        }

        /* ============ سکشن مراحل همکاری (Process Section) ============ */
        .process-section {
            position: relative;
            overflow: hidden;
        }

        .process-head {
            text-align: center;
            max-width: 680px;
            margin: 0 auto 48px;
        }

        .process-head .section-desc {
            font-size: 14px;
            color: #a7b7b2;
            margin-top: 14px;
            line-height: 1.7;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            position: relative;
        }

        .process-card {
            position: relative;
            display: flex;
            flex-direction: column;
            padding: 26px 22px;
            border-radius: 18px;
            border: 1px solid rgba(251, 243, 222, .12);
            background: linear-gradient(165deg, rgba(28, 57, 54, 0.45) 0%, rgba(8, 20, 19, 0.75) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color .35s ease,
                box-shadow .35s ease;
        }

        .process-card:hover {
            transform: translateY(-6px);
            border-color: rgba(233, 197, 118, 0.6);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(233, 197, 118, 0.08);
        }

        .process-card-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .process-step {
            font-size: 13px;
            font-weight: 700;
            color: #e9c576;
            letter-spacing: 0.5px;
        }

        .process-badge {
            font-size: 10.5px;
            color: #cbd7d2;
            background: rgba(251, 243, 222, 0.06);
            border: 1px solid rgba(251, 243, 222, 0.12);
            border-radius: 30px;
            padding: 3px 10px;
        }

        .process-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: rgba(233, 197, 118, 0.08);
            border: 1px solid rgba(233, 197, 118, 0.22);
            display: grid;
            place-items: center;
            margin-bottom: 20px;
            color: #e9c576;
            transition: background .3s ease, border-color .3s ease, transform .3s ease;
        }

        .process-card:hover .process-icon-box {
            background: #e9c576;
            border-color: #e9c576;
            color: #071817;
            transform: scale(1.05);
        }

        .process-icon-box .icon {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .process-card h3 {
            font-size: 16px;
            font-weight: 600;
            color: #f7f2e5;
            line-height: 1.5;
            margin: 0 0 10px;
        }

        .process-card p {
            font-size: 12.5px;
            color: #b8c7c2;
            line-height: 1.7;
            margin: 0 0 18px;
            flex-grow: 1;
        }

        .process-deliverables {
            list-style: none;
            padding: 14px 0 0;
            margin: 0;
            border-top: 1px solid rgba(251, 243, 222, 0.08);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .process-deliverables li {
            font-size: 11.5px;
            color: #e3ece8;
            position: relative;
            padding-right: 14px;
        }

        .process-deliverables li::before {
            content: "";
            position: absolute;
            right: 0;
            top: 6px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #e9c576;
        }

        /* واکنش‌گرایی (Responsive) */
        @media (max-width: 1100px) {
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 18px;
            }
        }

        @media (max-width: 600px) {
            .process-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .process-card {
                padding: 22px 18px;
            }
        }

        /* ============ خدمات - لیست شماره‌دار ============ */
        #services {
            border-top: 1px solid var(--line)
        }

        .service-row {
            display: grid;
            grid-template-columns: 80px 1fr auto;
            align-items: center;
            gap: 24px;
            padding: 32px 10px;
            border-bottom: 1px solid var(--line);
            border-radius: 14px;
            transition: background-color .35s var(--ease), padding-right .35s var(--ease);
            position: relative;
        }

        .service-row:hover {
            background: rgba(233, 197, 118, .05);
            padding-right: 26px
        }

        .service-no {
            font-size: 15px;
            font-weight: 800;
            color: var(--gold-deep);
            font-variant-numeric: tabular-nums;
            transition: color .3s;
        }

        .service-row:hover .service-no {
            color: var(--gold)
        }

        .service-main {
            display: flex;
            align-items: center;
            gap: 18px;
            min-width: 0
        }

        .service-icon {
            width: 52px;
            height: 52px;
            flex: none;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: rgba(233, 197, 118, .08);
            border: 1px solid rgba(233, 197, 118, .25);
            transition: background .3s, border-color .3s, transform .3s var(--ease);
        }

        .service-row:hover .service-icon {
            border-color: var(--gold);
            transform: rotate(-6deg) scale(1.05)
        }

        .service-icon .icon {
            width: 24px;
            height: 24px;
            color: var(--gold-pale);
            transition: color .3s
        }

        .service-row:hover .service-icon .icon {
            color: var(--bg-950)
        }

        .service-text h3 {
            margin: 0 0 5px;
            font-size: clamp(17px, 2vw, 21px)
        }

        .service-text p {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            max-width: 520px
        }

        .service-arrow {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid rgba(251, 243, 222, .2);
            display: grid;
            place-items: center;
            color: var(--muted);
            transform: translateX(10px) rotate(180deg);
            opacity: 0;
            transition: transform .35s var(--ease), opacity .35s var(--ease), border-color .3s, color .3s;
        }

        .service-row:hover .service-arrow {
            transform: translateX(0) rotate(180deg);
            opacity: 1;
            border-color: var(--gold);
            color: var(--gold-pale)
        }

        /* ============ نمونه‌کار - گالری افقی و کاروسل ============ */
        #portfolio {
            overflow: hidden;
            /* فضای لازم برای بیرون‌زدگی کارت‌ها هنگام هاور */
            padding-top: 20px;
            margin-top: -20px;
        }

        .portfolio-head {
            display: flex;
            justify-content: space-between;
            gap: 25px;
            align-items: flex-end;
            margin-bottom: 36px;
            position: relative;
            z-index: 1;
        }

        .portfolio-nav {
            display: flex;
            gap: 10px;
        }

        .nav-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid rgba(251, 243, 222, .22);
            background: transparent;
            display: grid;
            place-items: center;
            color: #f7f2e5;
            cursor: pointer;
            transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
        }

        .nav-btn:hover {
            background: #e9c576;
            border-color: #e9c576;
            color: #071817;
            transform: translateY(-2px);
        }

        .nav-btn:active {
            transform: translateY(0);
        }

        .nav-btn .icon {
            width: 19px;
            height: 19px;
            stroke-width: 2;
            fill: none;
            stroke: currentColor;
        }

        .portfolio-track {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            overflow-y: visible;
            scroll-snap-type: x mandatory;
            /* فضای بالا و پایین برای هاور کارت‌ها؛ با مارجین منفی جبران شده تا چیدمان جابه‌جا نشود */
            padding-top: 20px;
            margin-top: -12px;
            padding-bottom: 24px;
            margin-inline: -20px;
            padding-inline: 20px;
            scrollbar-width: none;
            cursor: grab;
            user-select: none;
            -webkit-overflow-scrolling: touch;
        }

        .portfolio-track::-webkit-scrollbar {
            display: none;
        }

        /* حالتی که کاربر ماوس را نگه داشته و در حال کشیدن است */
        .portfolio-track.is-dragging {
            cursor: grabbing;
            scroll-snap-type: none;
            /* غیرفعال شدن اسنپ حین درگ برای روانی حرکت */
            scroll-behavior: auto;
        }

        .project {
            flex: 0 0 auto;
            width: min(320px, 78vw);
            scroll-snap-align: start;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(251, 243, 222, .14);
            border-radius: 16px;
            background: linear-gradient(160deg, rgba(28, 57, 54, .55), rgba(9, 20, 19, .55));
            transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
            user-select: none;
        }

        .project:hover {
            transform: translateY(-8px);
            border-color: #e9c576;
            box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
        }

        .portfolio-track.is-dragging .project {
            pointer-events: none;
            /* جلوگیری از کلیک ناخواسته حین درگ */
        }

        .project-image {
            position: relative;
            aspect-ratio: 1/1;
            width: 100%;
            overflow: hidden;
            background: linear-gradient(160deg, rgba(16, 40, 38, 0.9), rgba(7, 24, 23, 0.9));
            border-bottom: 1px solid rgba(251, 243, 222, .1);
        }

        .project-image img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
            /* جلوگیری از درگ شدن پیش‌فرض عکس */
            transition: transform .5s ease;
        }

        .project:hover .project-image img {
            transform: scale(1.05);
        }

        .project-content {
            padding: 18px 20px 22px;
        }

        .tag {
            font-size: 10px;
            color: #e9c576;
            border: 1px solid rgba(233, 197, 118, .4);
            border-radius: 20px;
            padding: 3px 8px;
            display: inline-block;
        }

        .project h3 {
            font-size: 17px;
            color: #f7f2e5;
            margin: 10px 0 6px;
        }

        .project p {
            font-size: 12px;
            color: #d9e3df;
            line-height: 1.6;
            margin: 0;
        }

        /* ============ Fix: remove pink focus/active state on carousel nav buttons ============ */
        .nav-btn:focus,
        .nav-btn:focus-visible,
        .nav-btn:active,
        .nav-btn:focus:hover,
        .nav-btn:active:hover {
            background: #e9c576 !important;
            background-image: none !important;
            border-color: #e9c576 !important;
            color: #071817 !important;
            outline: none !important;
            box-shadow: none !important;
            -webkit-tap-highlight-color: transparent;
        }

        /* اگر دکمه با کلیک ماوس فوکوس گرفت، ظاهر عادی را حفظ کند */
        .nav-btn:focus:not(:hover):not(:active) {
            background: transparent !important;
            border-color: rgba(251, 243, 222, .22) !important;
            color: #f7f2e5 !important;
            box-shadow: none !important;
            outline: none !important;
        }

        /* فوکس صفحه‌کلید (Tab): هاله طلایی ملایم برای دسترسی‌پذیری */
        .nav-btn:focus-visible {
            box-shadow: 0 0 0 3px rgba(233, 197, 118, 0.4) !important;
        }

        /* آیکون داخل دکمه: مرکزچینی دقیق */
        .nav-btn {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            line-height: 0 !important;
        }

        .nav-btn .icon,
        .nav-btn svg {
            display: block !important;
            margin: 0 auto !important;
            line-height: 0 !important;
            stroke: currentColor !important;
            fill: none !important;
        }

        /* ============ سکشن سوالات متداول (FAQ Section) ============ */
        .faq-section {
            position: relative;
            padding-bottom: 80px;
        }

        .faq-head {
            text-align: center;
            max-width: 650px;
            margin: 0 auto 44px;
        }

        .faq-head .section-desc {
            font-size: 14px;
            color: #a7b7b2;
            margin-top: 14px;
            line-height: 1.7;
        }

        .faq-accordion {
            max-width: 860px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            border: 1px solid rgba(251, 243, 222, .12);
            border-radius: 16px;
            background: linear-gradient(165deg, rgba(28, 57, 54, 0.35) 0%, rgba(8, 20, 19, 0.65) 100%);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            overflow: hidden;
            transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
        }

        .faq-item:hover {
            border-color: rgba(233, 197, 118, 0.4);
        }

        .faq-item.active {
            border-color: rgba(233, 197, 118, 0.7);
            background: linear-gradient(165deg, rgba(28, 57, 54, 0.55) 0%, rgba(8, 20, 19, 0.85) 100%);
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(233, 197, 118, 0.05);
        }

        .faq-trigger {
            width: 100%;
            background: transparent;
            border: none;
            outline: none;
            padding: 22px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            text-align: right;
            cursor: pointer;
            font-family: inherit;
            user-select: none;
        }

        .faq-question {
            font-size: 15.5px;
            font-weight: 600;
            color: #f7f2e5;
            line-height: 1.6;
            transition: color .3s ease;
        }

        .faq-item.active .faq-question {
            color: #e9c576;
        }

        .faq-icon {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid rgba(251, 243, 222, .2);
            background: rgba(251, 243, 222, .04);
            display: grid;
            place-items: center;
            color: #e9c576;
            transition: transform .35s ease, background .3s ease, border-color .3s ease;
        }

        .faq-icon svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
            background: #e9c576;
            border-color: #e9c576;
            color: #071817;
        }

        /* مدیریت باز و بسته شدن انیمیشنی ارتفاع */
        .faq-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height .4s cubic-bezier(0, 1, 0, 1);
        }

        .faq-content {
            padding: 0 24px 22px;
            border-top: 1px solid rgba(251, 243, 222, .08);
            padding-top: 16px;
        }

        .faq-content p {
            font-size: 13.5px;
            color: #b8c7c2;
            line-height: 1.85;
            margin: 0;
        }

        /* باکس مشاوره انتهای FAQ */
        .faq-cta {
            margin-top: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            padding: 20px;
            background: rgba(28, 57, 54, .25);
            border: 1px dashed rgba(233, 197, 118, .3);
            border-radius: 14px;
            text-align: center;
        }

        .faq-cta p {
            margin: 0;
            font-size: 14px;
            color: #cbd7d2;
        }

        .btn-gold-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 22px;
            font-size: 13px;
            font-weight: 600;
            color: #e9c576;
            border: 1px solid #e9c576;
            border-radius: 30px;
            text-decoration: none;
            transition: background .25s ease, color .25s ease, transform .2s ease;
        }

        .btn-gold-outline:hover {
            background: #e9c576;
            color: #071817;
            transform: translateY(-2px);
        }

        /* ============ اصلاح رنگ‌های هاور/کلیک FAQ (جلوگیری از استایل سراسری المنتور) ============ */
        .faq-trigger,
        .faq-trigger:hover,
        .faq-trigger:focus,
        .faq-trigger:active,
        .faq-item.active .faq-trigger,
        .faq-trigger:focus-visible {
            background: transparent;
            background-image: none;
            outline: none;
            box-shadow: none;
            border: none;
            color: inherit;
            -webkit-tap-highlight-color: transparent;
        }

        /* حالت فوکس (دسترسی‌پذیری): فقط یک هاله طلایی ملایم */
        .faq-trigger:focus-visible {
            box-shadow: 0 0 0 2px rgba(233, 197, 118, 0.45);
        }

        /* سوال در حالت هاور و فعال: طلایی برند */
        .faq-trigger:hover .faq-question,
        .faq-item.active .faq-question {
            color: #e9c576;
        }

        /* آیکن + */
        .faq-icon {
            color: #e9c576;
            background: rgba(251, 243, 222, .04);
            border: 1px solid rgba(251, 243, 222, .2);
        }

        .faq-item.active .faq-icon,
        .faq-trigger:hover .faq-icon {
            background: #e9c576;
            border-color: #e9c576;
            color: #071817;
        }


        /* ============================================
   FAQ Mobile Responsive Fix
   ============================================ */
        @media (max-width: 768px) {

            /* دکمه / سربرگ آکاردئون */
            .faq-trigger {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                width: 100% !important;
                height: auto !important;
                min-height: 58px !important;
                padding: 14px 16px !important;
                gap: 12px !important;
                text-align: right !important;
                box-sizing: border-box !important;
            }

            /* متن سوال: شکستن خودکار خطوط و جلوگیری از بیرون‌زدگی */
            .faq-question {
                font-size: 13.5px !important;
                line-height: 1.65 !important;
                white-space: normal !important;
                word-break: break-word !important;
                overflow-wrap: anywhere !important;
                flex: 1 1 auto !important;
                margin: 0 !important;
            }

            /* آیکون فلش/مثبت در گوشه */
            .faq-icon {
                flex-shrink: 0 !important;
                width: 28px !important;
                height: 28px !important;
                margin-right: auto !important;
            }

            /* محتوای پاسخ بازشونده */
            .faq-content {
                padding: 0 16px 16px !important;
                box-sizing: border-box !important;
            }

            .faq-content p {
                font-size: 13px !important;
                line-height: 1.75 !important;
                white-space: normal !important;
                word-break: break-word !important;
            }

            /* باکس دعوت به اقدام (CTA) انتهای بخش */
            .faq-cta {
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
                gap: 14px !important;
                padding: 24px 16px !important;
            }

            .faq-cta .button,
            .faq-cta a {
                width: 100% !important;
                max-width: 280px !important;
                text-align: center !important;
                justify-content: center !important;
            }
        }


        /* ============ CTA نهایی ============ */
        .cta {
            position: relative;
            overflow: hidden;
            padding: 110px 0;
            text-align: center;
            border-top: 1px solid var(--line);
        }

        .cta:before {
            content: "فلات";
            position: absolute;
            bottom: -4%;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(233, 197, 118, .05);
            font-size: clamp(90px, 18vw, 260px);
            font-weight: 900;
            line-height: 1;
            white-space: nowrap;
            pointer-events: none;
        }

        .cta>* {
            position: relative
        }

        .cta h2 {
            font-size: clamp(26px, 3.4vw, 44px);
            line-height: 1.4;
            margin: 0 0 14px;
            font-weight: 900
        }

        .cta p {
            max-width: 600px;
            color: var(--muted);
            margin: 0 auto 30px
        }

        /* ============ پاپ‌آپ فرم مشاوره ============ */
        .modal {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(4, 10, 9, .8);
            backdrop-filter: blur(8px);
            opacity: 0;
            transition: opacity .3s ease;
        }

        .modal.show {
            display: flex
        }

        .modal.show.in {
            opacity: 1
        }

        .modal-box {
            position: relative;
            width: min(560px, 100%);
            max-height: 92vh;
            overflow: auto;
            border-radius: 20px;
            background: linear-gradient(160deg, var(--bg-700), var(--bg-950));
            box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
            transform: translateY(26px) scale(.96);
            transition: transform .4s var(--ease);
        }

        .modal.show.in .modal-box {
            transform: translateY(0) scale(1)
        }

        .modal-head {
            position: relative;
            padding: 26px 28px 22px;
            background: radial-gradient(circle at 15% -20%, rgba(233, 197, 118, .35), transparent 55%), linear-gradient(135deg, rgba(233, 197, 118, .16), transparent 60%);
            border-bottom: 1px solid rgba(251, 243, 222, .1);
        }

        .modal-head img {
            height: 28px;
            width: auto;
            margin-bottom: 14px
        }

        .modal-box h2 {
            font-size: clamp(19px, 2.6vw, 23px);
            margin: 0 0 4px
        }

        .modal-box .modal-head p {
            font-size: 13px;
            color: var(--muted);
            margin: 0
        }

        .modal-body {
            padding: 24px 28px 28px
        }

        /* داخلی‌کمه: حذف هرگونه فاصله و جابه‌جایی ناخواسته */
        .modal .close .icon,
        .modal .close svg {
            width: 15px !important;
            height: 15px !important;
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            line-height: 0 !important;
            stroke: currentColor !important;
            fill: none !important;
            transform: none !important;
            overflow: visible;
        }

        /* دکمه بستن مودال - مرکزچینی دقیق آیکون */
        .modal .close {
            position: absolute;
            top: 14px;
            left: 14px;
            width: 34px !important;
            height: 34px !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 1px solid var(--line) !important;
            color: var(--gold-pale) !important;
            border-radius: 50% !important;
            background: rgba(9, 20, 19, .5) !important;
            cursor: pointer;
            z-index: 5;

            /* مرکزچینی هندسی دقیق */
            display: grid !important;
            place-items: center !important;
            line-height: 0 !important;

            outline: none !important;
            box-shadow: none !important;
            -webkit-tap-highlight-color: transparent;
            transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease !important;
        }

        .modal .close:hover {
            background: var(--gold) !important;
            border-color: var(--gold) !important;
            color: #071817 !important;
            transform: scale(1.05) !important;
        }

        .modal .close:active {
            transform: scale(0.95) !important;
        }

        /* جلوگیری از صورتی ماندن بعد از کلیک */
        .modal .close:focus,
        .modal .close:focus-visible {
            outline: none !important;
            box-shadow: none !important;
        }

        .modal .close:focus:not(:hover):not(:active) {
            background: rgba(9, 20, 19, .5) !important;
            border-color: var(--line) !important;
            color: var(--gold-pale) !important;
        }

        .modal-fields {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px
        }

        .modal-fields .full {
            grid-column: 1/-1
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 12px;
            color: var(--text);
            background: rgba(0, 8, 7, .4);
            border: 1px solid rgba(251, 243, 222, .12);
            border-radius: 8px;
            outline: none;
            font-size: 13px;
            transition: border-color .2s, box-shadow .2s;
        }

        select option {
            background: var(--bg-800)
        }

        input::placeholder,
        textarea::placeholder {
            color: #87a09a
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(233, 197, 118, .12)
        }

        textarea {
            min-height: 90px;
            resize: vertical
        }

        .modal-body .button {
            width: 100%;
            margin-top: 12px
        }

        .success-message {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            padding: 12px 14px;
            border-radius: 10px;
            background: rgba(102, 201, 166, .16);
            border: 1px solid rgba(102, 201, 166, .35);
            color: #c3ecda;
            font-size: 12px;
        }

        .success-message.show {
            display: flex
        }

        .success-message .icon {
            width: 18px;
            height: 18px;
            color: #7fd8ae
        }

        /* استایل اعتبارسنجی و خطاهای فرم */
        .input-wrap {
            display: flex;
            flex-direction: column;
            position: relative;
        }

        input.is-invalid,
        select.is-invalid,
        textarea.is-invalid {
            border-color: #ff6b6b !important;
            background: rgba(255, 107, 107, 0.08) !important;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
        }

        .field-error {
            color: #ff8585;
            font-size: 11px;
            margin-top: 4px;
            padding-right: 4px;
            display: block;
            animation: fadeInError .2s ease;
        }

        @keyframes fadeInError {
            from {
                opacity: 0;
                transform: translateY(-3px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ============ واکنش‌گرا ============ */
        @media(max-width:900px) {
            .about-inner {
                grid-template-columns: 1fr
            }

            .about-rule {
                display: none
            }

            .about-grid {
                grid-template-columns: 1fr
            }

            .service-row {
                grid-template-columns: 50px 1fr;
                row-gap: 12px
            }

            .service-arrow {
                display: none
            }

            .service-main {
                grid-column: 1/-1
            }
        }

        @media(max-width:560px) {
            .container {
                width: calc(100% - 28px)
            }

            .brand-mini img {
                height: 26px
            }

            .section {
                padding: 70px 0
            }

            .modal-head,
            .modal-body {
                padding-left: 20px;
                padding-right: 20px
            }

            .modal-fields {
                grid-template-columns: 1fr
            }

            .button-row {
                flex-direction: column;
                align-items: stretch
            }

            .hero-cinematic {
                min-height: 92vh
            }

            .service-main {
                gap: 12px
            }

            .service-icon {
                width: 44px;
                height: 44px
            }
        }

        @media (hover:none),
        (pointer:coarse) {

            .cursor-dot,
            .cursor-ring {
                display: none
            }
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: .001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .001ms !important;
                scroll-behavior: auto !important
            }

            .cursor-dot,
            .cursor-ring {
                display: none
            }
        }