/*
Theme Name: Rokhtara
Description: قالب اختصاصی، سبک و سریع برای آژانس دیجیتال مارکتینگ رخام
Author: Rokham
Version: 1.6.5
*/

/* STREAMING_CHUNK:Defining design system variables... /
/ ============================================================
ROKHAM — DESIGN SYSTEM
Bauhaus-driven identity · Bold 2026 type · RTL Persian
============================================================ /*/
:root {

    --ink: #231F20;
    --ink-soft: #2C2728;
    --paper: #F7F2E6;
    --paper-2: #EFE5D0;
    --line: #E2D7BF;
    --line-ink: rgba(247, 242, 230, .12);

    --yellow: #F4B630;
    --yellow-bright: #F4B630;
    --amber: #EE9B0F;
    --gold: #E3A500;
    --ochre: #D38119;
    --blue-deep: #0C4C68;
    --blue: #286687;

    --marble-50: #FAF9F7;
    --marble-warm-700: #8A6210;
    --marble-warm-600: #C98F14;
    --marble-warm-300: #F8CE74;
    --marble-warm-100: #FCEFD3;

    --neutral-900: #292524;
    --neutral-700: #44403C;
    --neutral-500: #78716C;
    --neutral-300: #D6D3D1;
    --neutral-100: #F5F5F4;

    --status-info: #3B6FA0;
    --status-warning: #E2711D;
    --status-error: #C2402A;
    --status-success: #2E7D4F;

    --text: #343435;
    --muted: #868889;
    --on-ink: #F7F2E6;
    --on-ink-muted: #A39C8B;

    --font-fa: 'YekanBakh', Tahoma, Arial, sans-serif;
    --font-display: 'Pinar', 'YekanBakh', Tahoma, Arial, sans-serif;
    --font-en: 'Space Grotesk', sans-serif;

    /* layout */
    --container: 1320px;
    --gutter: clamp(20px, 5vw, 64px);
    --radius: 18px;

    /* motion */
    --ease: cubic-bezier(.16, 1, .3, 1);
    --port-w: 260px;
    /* عرض مستطیل طلایی */
    --port-h: 420px;
    /* ارتفاع مستطیل طلایی */
}

/* STREAMING_CHUNK:Setting global resets and typography... */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* STREAMING_CHUNK:Adding Font Faces... */
/* ============================================================
   0. TYPOGRAPHY
   دو خانواده فونت:
   - YekanBakh: متن عمومی، پاراگراف‌ها، مقالات، فرم‌ها (همه‌جا)
   - Pinar: هیرو و عناوین خاص (از طریق var(--font-display) یا کلاس .font-display)
   ============================================================ */

/* --- YekanBakh (متن عمومی) --- */

@font-face {
    font-family: 'YekanBakh';
    src: url('./fonts/yekanbakh-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('./fonts/yekanbakh-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('./fonts/yekanbakh-heavy.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- Pinar (هیرو و عناوین خاص) --- */

@font-face {
    font-family: 'Pinar';
    src: url('./fonts/pinar-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pinar';
    src: url('./fonts/pinar-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* فونت هیرو و بخش‌های خاص (وزن مناسب خودتان را در HTML/کلاس تنظیم کنید) */
h1,
h2,
h3,
h4 {
    font-family: var(--font-fa);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.01em;
}

.hero__title,
.section__title {
    font-family: var(--font-display) !important;
}

body {
    margin: 0;
    font-family: var(--font-fa);
    background: var(--paper);
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

svg {
    display: block;
}

button {
    font-family: var(--font-fa);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
}



.ltr {
    direction: ltr;
    unicode-bidi: isolate;
    font-family: var(--font-fa);
}

/* STREAMING_CHUNK:Configuring grid layouts and section headers... /
/ ---------- layout ---------- */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(72px, 11vw, 160px);
    overflow: hidden;
}

.section--ink {
    background: var(--ink);
    color: var(--on-ink);
}

.section--alt {
    background: var(--paper-2);
}

.section--tight {
    padding-block: clamp(48px, 7vw, 96px);
}

/* ---------- kicker / section head ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 1.4em;
}

.section--ink .kicker {
    color: var(--yellow);
}

.kicker__num {
    font-family: var(--font-fa);
    font-weight: 700;
    color: var(--ink);
}

.section--ink .kicker__num {
    color: var(--line);
}

.kicker__shape {
    flex: none;
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section__title {
    font-size: clamp(2.2rem, 5.4vw, 4.4rem);
    max-width: 18ch;
}

.section__desc {
    max-width: 42ch;
    color: var(--muted);
    font-size: 1.05rem;
}

.section--ink .section__desc {
    color: var(--on-ink-muted);
}

.eyebrow-accent {
    color: var(--amber);
}

.section--ink .eyebrow-accent {
    color: var(--yellow);
}

/* STREAMING_CHUNK:Styling buttons and interaction utilities... /
/ ---------- buttons ---------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: 1.05em 2.1em;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1.5px solid var(--btn-bg);
    cursor: pointer;
    white-space: nowrap;
    transition: transform .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.btn svg {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    transition: transform .35s var(--ease);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn--primary {
    --btn-bg: var(--yellow);
    --btn-fg: var(--ink);
}

.btn--primary:hover {
    --btn-bg: var(--ink);
    --btn-fg: var(--yellow);
    box-shadow: 0 14px 30px -12px rgba(244, 182, 48, .55);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--ink);
}

.btn--ghost:hover {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
}

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: var(--on-ink);
    border-color: var(--line-ink);
}

.btn--ghost-light:hover {
    --btn-bg: var(--on-ink);
    --btn-fg: var(--ink);
    border-color: var(--on-ink);
}

.btn--sm {
    padding: .75em 1.5em;
    font-size: .85rem;
}

.btn--lg {
    padding: 1.3em 2.7em;
    font-size: 1.05rem;
}

.btn--block {
    width: 100%;
}

.btn:hover svg {
    transform: translateX(-4px);
}

/* ---------- bauhaus accent shape ---------- */
.shape {
    position: absolute;
    pointer-events: none;
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="scale"] {
    transform: scale(.92);
}

[data-reveal="scale"].is-visible {
    transform: scale(1);
}

[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="right"].is-visible,
[data-reveal="left"].is-visible {
    transform: translateX(0);
}

/* STREAMING_CHUNK:Creating header and navigation navigation... /
/ ============================================================
HEADER / NAV
============================================================ */
.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 200;
    padding-block: 18px;
    transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    padding-block: 10px;
    background: rgba(21, 19, 15, .78);
    backdrop-filter: blur(16px) saturate(140%);
    border-color: var(--line-ink);
}

.site-header--solid {
    background: var(--ink);
    border-color: var(--line-ink);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ... existing code ... */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: .6em;
    flex: none;
}

.nav__logo img {
    height: 40px;
    width: auto;
}

.nav__logo-mark {
    display: flex;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1.4vw, 28px);
    font-size: .96rem;
    font-weight: 700;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: .35em;
    padding: .6em .3em;
    color: var(--on-ink);
    opacity: .86;
    transition: opacity .25s ease, color .25s ease;
    position: relative;
}

.nav__link:hover {
    opacity: 1;
    color: var(--yellow);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: .15em;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__item--dropdown {
    position: relative;
}

.nav__link--toggle svg {
    width: .85em;
    height: .85em;
    transition: transform .3s var(--ease);
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 50%;
    transform: translateX(50%) translateY(8px);
    min-width: 240px;
    background: var(--ink-soft);
    border: 1px solid var(--line-ink);
    border-radius: 14px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-25%) translateY(0);
}

.nav__item--dropdown:hover .nav__link--toggle svg {
    transform: rotate(180deg);
}

.nav__dropdown li a {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .7em .9em;
    border-radius: 10px;
    font-weight: 400;
    color: var(--on-ink-muted);
    transition: background .25s ease, color .25s ease;
}

.nav__dropdown li a:hover {
    background: rgba(244, 182, 48, .1);
    color: var(--yellow);
}

.nav__dropdown li a span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ochre);
    flex: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 115px;
    flex: none;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: .5em;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: .95rem;
    color: var(--on-ink);
    white-space: nowrap;
}

.nav__phone svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1.5px solid var(--line-ink);
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    flex: none;
    transition: background .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}

.nav__toggle:hover {
    border-color: var(--yellow);
    background: rgba(244, 182, 48, .08);
}

.nav__toggle:active {
    transform: scale(.94);
}

.nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--on-ink);
    transition: transform .4s var(--ease), opacity .25s ease, background .3s ease, width .3s var(--ease);
}

.nav__toggle span:nth-child(1) {
    width: 20px;
}

.nav__toggle span:nth-child(2) {
    width: 14px;
    align-self: flex-end;
    margin-inline-end: 2px;
}

.nav__toggle span:nth-child(3) {
    width: 20px;
}

.nav__toggle[aria-expanded="true"] {
    background: var(--yellow);
    border-color: var(--yellow);
}

.nav__toggle[aria-expanded="true"] span {
    background: var(--ink);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    width: 20px;
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    width: 20px;
    transform: translateY(-7px) rotate(-45deg);
}

/* STREAMING_CHUNK:Making mobile responsive navigation... */
@media (max-width:980px) {

    .nav__list,
    .nav__phone {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    /* تعریف کامل منوی موبایل (کشوی کناری) در بخش «MOBILE MENU SIDE-DRAWER»
       پایین‌تر در همین فایل انجام شده — قبلاً همین‌جا هم یک تعریف دیگر برای
       .nav__menu بود که با آن تداخل داشت (پس‌زمینه سفید/روشن پدیدار می‌شد
       و منو گاهی درست بسته نمی‌شد)، آن تعریف تکراری حذف شد. */
    body.nav-open {
        overflow: hidden;
    }
}

/* STREAMING_CHUNK:Styling hero section and animations... /
/ ============================================================
HERO
============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--ink);
    color: var(--on-ink);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(rgba(247, 242, 230, .05) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.hero__scene {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__scene canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(260deg, var(--ink) 26%, rgba(21, 19, 15, .55) 52%, rgba(21, 19, 15, 0) 78%);
}

.hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-block: 128px 140px;
}

.hero__content {
    max-width: 760px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--on-ink-muted);
    margin: 0 0 2em;
}

.hero__eyebrow-mark {
    width: 22px;
    height: 22px;
    flex: none;
}

.hero__title {
    font-size: clamp(2.6rem, 8vw, 6.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.hero__title-line {
    display: block;
}

.hero__rotator {
    display: inline-grid;
    perspective: 900px;
    vertical-align: bottom;
    margin: .15em 0 .2em;
}

.hero__rotator-item {
    grid-area: 1/1;
    justify-self: start;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: .3em;
    background: var(--yellow);
    color: var(--ink);
    padding: 0.25em .5em .2em;
    border-radius: .16em;
    white-space: nowrap;
    opacity: 0;
    transform: rotateX(-110deg);
    transform-origin: 50% 100%;
    backface-visibility: hidden;
    transition: transform .7s var(--ease), opacity .45s ease;
    pointer-events: none;
}

.hero__rotator-item.is-active {
    opacity: 1;
    transform: rotateX(0deg);
    pointer-events: auto;
}

.hero__rotator-item:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.hero__rotator-dot {
    display: inline-block;
    width: .36em;
    height: .36em;
    border-radius: 50%;
    background: var(--rotator-c, var(--ink));
    flex: none;
}

.hero__lead {
    margin: 1.5em 0 0;
    max-width: 46ch;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    color: var(--line);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 2.6em;
}

.hero__scroll {
    position: absolute;
    bottom: 28px;
    inset-inline-end: var(--gutter);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-fa);
    font-size: .7rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #fff
}

.hero__scroll svg {
    width: 14px;
    height: 22px;
    animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: .4;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

@media (max-width:640px) {
    .hero__inner {
        padding-block: 96px 110px;
    }

    .hero__overlay {
        background: linear-gradient(195deg, rgba(21, 19, 15, .4) 10%, var(--ink) 68%);
    }

    .hero__scroll {
        display: none;
    }

    .hero__title {
        font-size: clamp(2.4rem, 11vw, 3.6rem);
    }
}

/* STREAMING_CHUNK:Configuring marquee components... /
/ ============================================================
MARQUEE TICKER
============================================================ */
.marquee {
    position: relative;
    z-index: 5;
    background: var(--yellow);
    color: var(--ink);
    transform: rotate(-1.2deg) scale(1.03);
    margin-block: -24px;
    overflow: hidden;
    border-block: 3px solid var(--ink);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 42s linear infinite;
    will-change: transform;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    flex-shrink: 0;
}

.marquee__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 30px;
    font-family: var(--font-fa);
    font-weight: 800;
    font-size: 1.15rem;
    white-space: nowrap;
}

.marquee__item .ltr {
    font-weight: 700;
    letter-spacing: .04em;
}

.marquee__shape {
    flex: none;
    opacity: .85;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── Hero Logo 3D interactive ── */
.logo-3d-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-inline-end: 4vw;
    pointer-events: none;
}

#rokhamLogoSvg {
    width: clamp(320px, 45vw, 680px);
    height: auto;
    opacity: 0;
    animation: logoFadeIn 1.2s 0.4s var(--ease) forwards;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 40px rgba(244, 182, 48, 0.15));
    transition: filter 0.4s ease;
    pointer-events: auto;
    cursor: crosshair;
    will-change: transform;
}

#rokhamLogoSvg:hover {
    filter: drop-shadow(0 0 60px rgba(244, 182, 48, 0.35));
}

.logo-layer--white path {
    fill: rgba(255, 255, 255, 0.9);
}

.logo-layer--yellow path {
    fill: #F4B630;
}

.logo-layer--yellow {
    animation: yellowPulse 3s ease-in-out infinite;
}

@keyframes yellowPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.logo-cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F4B630;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 4px rgba(244, 182, 48, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.logo-3d-wrap:hover .logo-cursor-dot {
    opacity: 1;
}

@media (max-width: 768px) {
    .logo-3d-wrap {
        justify-content: center;
        padding-inline-end: 0;
        opacity: 0.18;
    }

    #rokhamLogoSvg {
        width: 90vw;
    }
}

/* STREAMING_CHUNK:Section index and about configurations... /
/ ============================================================
SHARED: big section index numbers
============================================================ */
.section__bignum {
    position: absolute;
    top: -2%;
    inset-inline-end: 0%;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: clamp(7rem, 24vw, 19rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--yellow);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.section--ink .section__bignum,
.section--alt .section__bignum {
    -webkit-text-stroke-color: var(--line-ink);
}

.section--alt .section__bignum {
    -webkit-text-stroke-color: #E2D7BF;
}

.section>.container {
    position: relative;
    z-index: 1;
}

/* ============================================================
ABOUT (01)
============================================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(40px, 6vw, 110px);
    align-items: center;
}

.about__text>*+* {
    margin-top: 1.5em;
}

.about__text p {
    font-size: 1.05rem;
}

.hl {
    color: var(--amber);
    font-weight: 800;
}

.about__cta-row {
    display: flex;
    align-items: center;
    gap: 1.8em;
    flex-wrap: wrap;
    margin-top: 2.4em !important;
}

.about__note {
    font-size: .92rem;
    color: var(--muted);
    max-width: 32ch;
}

.about__note a {
    color: var(--ochre);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.stat-card {
    position: relative;
    border-radius: var(--radius);
    padding: clamp(34px, 5vw, 58px) clamp(26px, 4vw, 48px);
    overflow: hidden;
    background: var(--ink);
    color: var(--on-ink);
}

.stat-card__rhombus {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--yellow);
    opacity: .1;
    transform: rotate(45deg);
    top: -90px;
    inset-inline-end: -90px;
}

.stat-card__number {
    position: relative;
    font-family: var(--font-fa);
    font-size: 12rem;
    font-weight: 700;
    color: var(--paper);
    line-height: 1;
}

.lozi {
    width: 17vh;
    height: 17vh;
    border: 12px solid var(--yellow);
    transform: rotate(45deg);
    position: absolute;
    top: 60px;
    right: 60px;
}

.stat-card__label {
    position: relative;
    margin-top: .5em;
    font-size: 1.2rem;
    font-weight: 800;
}

.stat-card__sub {
    position: relative;
    margin-top: .4em;
    font-size: .92rem;
    color: var(--on-ink-muted);
}

.stat-card--alt {
    background: var(--paper-2);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 32px;
}

.stat-card--alt .stat-card__offices {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-card--alt .stat-card__icon {
    flex: none;
    width: 46px;
    height: 46px;
    color: var(--blue-deep);
}

.stat-card--alt .stat-card__label {
    font-size: 1rem;
    margin-top: .15em;
}

.stat-card--alt .stat-card__title {
    font-weight: 800;
    font-size: 1.1rem;
}

.stat-card--alt .stat-card__title .ltr {
    color: var(--ochre);
}

@media (max-width:880px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__stats {
        flex-direction: row;
    }

    .stat-card--alt {
        flex-direction: column;
        align-items: flex-start;
        text-align: start;
    }
}

@media (max-width:560px) {
    .about__stats {
        flex-direction: column;
    }

    .lozi {
        top: 40px;
        right: 40px;
    }
}

/* ============================================================
SERVICES (02) - REDESIGNED
============================================================ /
/ STREAMING_CHUNK:Styling the new services grid... */
.srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.srv-card {
    background: var(--paper-2);
    border-radius: var(--radius);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s var(--ease);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-color: var(--gold);
}

.srv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease);
}

.srv-card:hover::before {
    transform: scaleY(1);
}

.srv-card:hover {
    border-color: var(--line-ink);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* STREAMING_CHUNK:Configuring service card elements... */
.srv-card__title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--ink);
    transition: color 0.4s ease;
}

.srv-card__desc {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    transition: color 0.4s ease;
    margin-bottom: 32px;
    flex: 1;
}

.srv-card:hover .srv-card__title {
    color: var(--on-ink);
}

.srv-card:hover .srv-card__desc {
    color: var(--on-ink-muted);
}

.srv-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--c, var(--yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: transform 0.5s var(--ease), border-radius 0.5s var(--ease);
}

.srv-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--ink);
}

.srv-card:hover .srv-icon {
    transform: rotate(-10deg) scale(1.1);
    border-radius: 50% 16px 50% 50%;
}

.srv-card__link {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-weight: 800;
    font-size: .95rem;
    color: var(--yellow);
    margin-top: auto;
    border: 1px solid var(--ink);
    background-color: var(--ink);
    padding: 5px 30px;
    border-radius: 20px;
}

.srv-card__link svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .3s var(--ease);
}

.srv-card:hover .srv-card__link svg {
    transform: translateX(-6px);
}



/* ============================================================
TRUSTED BRANDS MARQUEE (HIGHLIGHT BAND)
============================================================ /
/ STREAMING_CHUNK:Defining the highlight brands marquee... */
.brands-band {
    background: var(--yellow);
    padding-block: 80px;
    border-top: 4px solid var(--ink);
    border-bottom: 4px solid var(--ink);
    overflow: hidden;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(244, 182, 48, 0.15);
}

.brands-band:hover {
    cursor: pointer;
}

.brands-band__header {
    text-align: center;
    margin-bottom: 50px;
}

.brands-band__title {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--ink);
    display: inline-block;
    position: relative;
    letter-spacing: -0.02em;
}

.brands-band__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: var(--ink);
    border-radius: 3px;
}

.brands-marquee {
    display: flex;
    width: max-content;
    animation: brandsScroll 30s linear infinite;
}

.brands-marquee:hover {
    animation-play-state: paused;
}

.brands-group {
    display: flex;
    align-items: center;
    gap: clamp(60px, 10vw, 160px);
    padding-inline-end: clamp(60px, 10vw, 160px);
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--ink);
    opacity: .82;
    transition: opacity .25s ease, transform .25s ease;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.08) translateY(-4px);
}

.brand-logo svg,
.brand-logo img {
    width: clamp(36px, 6vw, 56px);
    height: clamp(36px, 6vw, 56px);
    object-fit: contain;
    flex-shrink: 0;
}

.brand-logo svg {
    fill: var(--ink);
}

.brand-logo__tag {
    display: inline-block;
    background: var(--ink);
    color: var(--yellow);
    font-size: .72rem;
    font-weight: 700;
    padding: .35em .9em;
    border-radius: 999px;
    white-space: nowrap;
}

@keyframes brandsScroll {

    /* حرکت از راست به چپ در سایت فارسی */
    0% {
        transform: translateX(25%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ============================================================
WHY ROKHAM (03) - BENTO BOX DESIGN
============================================================ /
/ STREAMING_CHUNK:Styling the Why Us bento box layout... */
.promise {
    padding-block: clamp(80px, 12vw, 180px);
}

.why-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 60px;
}

.wb-card {
    background: var(--ink-soft);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--line-ink);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.wb-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 204, 0, 0.4);
}

.wb-card--feature {
    grid-column: span 2;
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wb-card--feature:hover {
    border-color: var(--ink);
}

.wb-card--feature .wb-title {
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    max-width: 18ch;
}

.wb-card--feature .wb-desc {
    color: rgba(21, 19, 15, 0.85);
    font-size: 1.15rem;
    max-width: 36ch;
    margin-top: 20px;
    font-weight: 700;
}

.wb-icon {
    color: var(--yellow);
    margin-bottom: 24px;
    width: 56px;
    height: 56px;
}

.wb-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.wb-desc {
    font-size: 1rem;
    color: var(--on-ink-muted);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .why-bento {
        grid-template-columns: 1fr 1fr;
    }

    .wb-card--feature {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .why-bento {
        grid-template-columns: 1fr;
    }

    .wb-card--feature {
        grid-column: span 1;
        padding: 36px;
    }

    .srv-card {
        padding: 36px 24px;
    }
}

/* ============================================================
   04. PORTFOLIO - HORIZONTAL SCROLL & AUTO-SCROLL
   ============================================================ */

/* استایل کانتینر برای کنتراست و رنگ تیره */
.portfolio {
    background-color: #0d0e12;
    color: #fff;
    border-top: 1px solid var(--yellow);
}

.portfolio .section__title,
.portfolio .section__desc {
    color: #fff;
    /* خوانایی روی پس‌زمینه تیره */
}

.port-slider {
    width: 100%;
    margin-top: 50px;
}

.port-slider__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* جادوی هم‌ترازی: کارت اول با متن‌ها تراز می‌شود اما به بیرون صفحه اسکرول می‌شود! */
    padding-inline: max(20px, calc((100vw - 1200px) / 2));
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    /* برای دسکتاپ: قابلیت کشیدن با ماوس */
    user-select: none;
}

.port-slider__track,
.port-card,
.port-card img {
    -webkit-user-drag: none;
    /* جلوگیری از افکت زشت کشیدن‌ تصویر (ghost) هنگام درگ کردن با ماوس */
}

.port-card img {
    pointer-events: none;
    /* کلیک/درگ همیشه به لینک والد کارت می‌رسد، نه مستقیم به خود تصویر */
}

.port-slider__track:active {
    cursor: grabbing;
}

.port-slider__track.is-dragging {
    scroll-snap-type: none;
    /* حین کشیدن با ماوس، اسنپ خودکار موقتاً خاموش می‌شود تا حرکت روان بماند */
}

.port-slider__track::-webkit-scrollbar {
    display: none;
}

.port-card {
    flex: 0 0 var(--port-w);
    height: var(--port-h);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
    /* در موبایل کارت‌ها در مرکز صفحه قفل می‌شوند */
    background-color: var(--brand-color, #010101);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none;
    /* فریم و چارچوب ظریف */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 980px) {
    .port-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }
}

/* جادوی اسکرول نرم فیزیکی */
.port-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* ارتفاع را آزاد گذاشتیم تا کل عکس طولی لود شود */
    transform: translateY(0);
    /* سرعت ثابت و خطی برای حس اسکرول واقعی (۶ ثانیه) */
    transition: transform 6s linear;
    z-index: 1;
}

.port-card:hover .port-card__img {
    /* عکس را دقیقاً به اندازه اختلاف قدِ عکس و کارت به بالا می‌کشد */
    transform: translateY(calc(-100% + var(--port-h)));
}

/* گرادیانت روی عکس */
.port-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--brand-color) 2%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.port-card--light .port-card__overlay {
    background: linear-gradient(to top, var(--brand-color) 2%, rgba(255, 255, 255, 0.2) 60%);
}

.port-card:hover .port-card__overlay {
    opacity: 0;
}

/* بخش اطلاعات پایین کارت */
.port-card__info {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.port-card:hover .port-card__info {
    opacity: 0;
    transform: translateY(10px);
}

.port-card__tag {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.port-card--light .port-card__tag {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

/* دکمه "مشاهده پروژه" */
.port-card__view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: #010101;
    color: var(--yellow);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    z-index: 4;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    width: 140px
}

.port-card--light .port-card__view {
    background-color: var(--yellow);
    color: #010101;
}

.port-card:hover .port-card__view {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
TEAM SPOTLIGHT SLIDER  (ts-*) - Optimized (GPU-Accelerated)
============================================================ */
.ts-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-block: 40px;
    perspective: 1200px;
}

.ts-track {
    position: relative;
    width: 280px;
    height: 380px;
    flex: none;
}

.ts-card {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    /* توجه: overflow: hidden از اینجا برداشته شد تا سایه لایه قبل از کارت بیرون بزند و برش نخورد */
    cursor: pointer;
    background: #111;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(.16, 1, .3, 1), opacity 0.45s ease, filter 0.45s ease;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

/* لایه کاذب برای سایه سنگین حالت فعال (انیمیت شده با opacity روی GPU) */
.ts-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
    pointer-events: none;
    will-change: opacity;
}

.ts-card__img-wrap {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    /* انتقال overflow به اینجا برای حفظ گوشه‌های گرد عکس */
}

.ts-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(1) brightness(.88);
    transition: filter 0.5s ease, transform 0.6s ease;
}

.ts-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 20px 20px;
    background: linear-gradient(to top, rgba(15, 12, 8, .92) 60%, transparent);
    color: #fff;
    transform: translateY(4px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 3;
}

.ts-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}

.ts-card__role {
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
    margin: 0;
}

.ts-card.ts--active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1) rotateY(0deg);
    z-index: 5;
}

/* روشن شدن سایه سنگین بدون ایجاد Jank */
.ts-card.ts--active::before {
    opacity: 1;
}

.ts-card.ts--active .ts-card__info {
    opacity: 1;
    transform: translateY(0);
}

.ts-card.ts--active:hover .ts-card__img-wrap img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.04);
}

.ts-card.ts--active:hover .ts-card__info {
    background: linear-gradient(to top, rgba(15, 12, 8, .85) 60%, transparent);
}

.ts-card.ts--active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--amber));
    z-index: 4;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.ts-card.ts--prev {
    opacity: 0.55;
    pointer-events: auto;
    cursor: pointer;
    z-index: 4;
    transform: translateX(calc(100% + 24px)) scale(0.82) rotateY(18deg);
}

.ts-card.ts--prev:hover {
    opacity: 0.75;
}

.ts-card.ts--next {
    opacity: 0.55;
    pointer-events: auto;
    cursor: pointer;
    z-index: 4;
    transform: translateX(calc(-100% - 24px)) scale(0.82) rotateY(-18deg);
}

.ts-card.ts--next:hover {
    opacity: 0.75;
}

.ts-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex: none;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}

.ts-nav svg {
    width: 20px;
    height: 20px;
}

.ts-nav:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--yellow);
}

.ts-nav--prev {
    right: 0;
}

.ts-nav--next {
    left: 0;
}

.ts-nav--prev:hover {
    transform: translateY(-50%) translateX(3px);
}

.ts-nav--next:hover {
    transform: translateY(-50%) translateX(-3px);
}

.ts-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* spacing between large touch targets */
    margin-top: 32px;
}

.ts-dot {
    position: relative;
    width: 44px;
    /* minimum 44px touch target */
    height: 44px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    /* remove negative margins */
}

.ts-dot::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 7px;
    border-radius: 10px;
    background: var(--line);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(0.27);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .25s ease;
    will-change: transform;
}

.ts-dot.is-active::after {
    transform: translate(-50%, -50%) scaleX(1);
    background: var(--amber);
}

@media (max-width: 680px) {
    .ts-track {
        width: 240px;
        height: 340px;
    }

    .ts-nav--prev {
        right: -48px;
    }

    .ts-nav--next {
        left: -48px;
    }

    .ts-card.ts--prev,
    .ts-card.ts--next {
        opacity: 0.35;
        transform: translateX(0) scale(0.78);
    }

    .ts-card.ts--prev {
        transform: translateX(calc(88% + 8px)) scale(0.76);
    }

    .ts-card.ts--next {
        transform: translateX(calc(-88% - 8px)) scale(0.76);
    }
}

@media (max-width: 420px) {
    .ts-nav--prev {
        right: -40px;
    }

    .ts-nav--next {
        left: -40px;
    }
}

/* STREAMING_CHUNK:Review slider components... /
/ ============================================================
REVIEWS SECTION (08)
============================================================ */
.reviews {
    background: var(--ink);
    color: var(--on-ink);
    border-top: 1px solid var(--yellow);
}

.reviews__summary {
    direction: ltr;
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    flex-wrap: wrap;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.reviews__score-big {
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: clamp(4.5rem, 11vw, 7.5rem);
    color: var(--yellow);
    line-height: 1;
}

.reviews__score-meta {
    display: flex;
    flex-direction: column;
    gap: .4em;
}

.reviews__stars {
    display: flex;
    gap: 3px;
}

.reviews__stars svg {
    width: 22px;
    height: 22px;
    fill: var(--yellow);
}

.reviews__stars svg.half {
    fill: url(#halfStar);
}

.reviews__count {
    font-size: .9rem;
    color: var(--on-ink-muted);
}

.reviews__level {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .4em .9em;
    border-radius: 999px;
    background: rgba(244, 182, 48, .15);
    border: 1px solid rgba(244, 182, 48, .3);
    font-size: .78rem;
    font-weight: 700;
    color: var(--yellow);
}

.rv-slider {
    position: relative;
}

.rv-viewport {
    overflow: hidden;
}

.rv-track {
    display: flex;
    gap: 18px;
    transition: transform .55s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
    align-items: start;
}

.rv-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.rv-card {
    flex: none;
    width: 340px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-ink);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .3s ease, background .3s ease;
    height: 454px;
}

.rv-card:hover {
    background: rgba(244, 182, 48, .06);
    border-color: rgba(244, 182, 48, .3);
}

.rv-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex: none;
    background: var(--ac, var(--blue-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    overflow: hidden;
}

.rv-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv-card__meta {
    flex: 1;
    min-width: 0;
}

.rv-card__name {
    font-weight: 800;
    font-size: .95rem;
}

.rv-card__service {
    font-size: .78rem;
    color: var(--on-ink-muted);
    margin-top: 2px;
}

.rv-card__stars {
    display: flex;
    gap: 2px;
}

.rv-card__stars svg {
    width: 14px;
    height: 14px;
    fill: var(--yellow);
}

.rv-card__badge {
    margin-inline-start: auto;
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 700;
    padding: .28em .7em;
    border-radius: 999px;
    background: rgba(244, 182, 48, .18);
    color: var(--yellow);
}

.rv-card__text {
    font-size: .93rem;
    color: var(--on-ink-muted);
    line-height: 1.75;
}

.rv-card__media {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--ink);
    position: relative;
    cursor: pointer;
}

.rv-card__media img,
.rv-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rv-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 19, 15, .45);
}

.rv-card__play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yellow);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s var(--ease), background .2s ease;
}

.rv-card__play-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.rv-card__play-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--ink);
    margin-right: -2px;
}

.rv-card__media.is-playing .rv-card__play {
    display: none;
}

.rv-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
    color: var(--on-ink-muted);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line-ink);
}

.rv-card__date {
    font-family: var(--font-fa);
}

.rv-card__helpful {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--line-ink);
    border-radius: 999px;
    padding: .25em .7em;
    color: var(--on-ink-muted);
    font-size: .78rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    font-family: var(--font-fa);
}

.rv-card__helpful:hover {
    background: rgba(244, 182, 48, .15);
    color: var(--yellow);
    border-color: rgba(244, 182, 48, .4);
}

.rv-card__helpful.is-liked {
    background: rgba(244, 182, 48, .2);
    color: var(--yellow);
    border-color: var(--yellow);
}

.rv-card__helpful svg {
    width: 13px;
    height: 13px;
}

.rv-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 14px;
}

.rv-dots {
    display: flex;
    gap: 6px;
}

.rv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    background: var(--line-ink);
    transition: width .3s var(--ease), background .25s ease;
}

.rv-dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: var(--yellow);
}

.rv-btn-group {
    display: flex;
    gap: 10px;
}

.rv-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-ink);
    background: transparent;
    color: var(--on-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.rv-btn svg {
    width: 18px;
    height: 18px;
}

.rv-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink);
}

.rv-btn:disabled {
    opacity: .3;
    pointer-events: none;
}

@media (max-width:640px) {
    .rv-card {
        width: 280px;
    }
}

/* STREAMING_CHUNK:Final CTA band and Footer styling... /
/ ============================================================
FINAL CTA BAND
============================================================ */
.cta-band {
    text-align: center;
}

.cta-band__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: clamp(5rem, 26vw, 18rem);
    color: transparent;
    -webkit-text-stroke: 1px var(--line-ink);
    white-space: nowrap;
    letter-spacing: .04em;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin-inline: auto;
}

.cta-band__title {
    font-size: clamp(2.4rem, 6.6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.22;
}

.cta-band__title .hl-yellow {
    color: var(--yellow);
}

.cta-band__actions {
    margin-top: 2.6em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.cta-band__phone {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--on-ink);
    transition: color .25s ease;
}

.cta-band__phone svg {
    width: 24px;
    height: 24px;
    color: var(--yellow);
    position: relative;
    top: -3px;
}

.cta-band__phone:hover {
    color: var(--yellow);
}

/* ============================================================
FOOTER
============================================================ */
.site-footer {
    background: var(--ink-soft);
    color: var(--on-ink);
    padding-block: clamp(64px, 8vw, 110px) 30px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr;
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: clamp(48px, 6vw, 80px);
    border-bottom: 1px solid var(--line-ink);
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5em;
}

.footer__desc {
    color: var(--on-ink-muted);
    font-size: .95rem;
    max-width: 30ch;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 1.8em;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s var(--ease);
}

.footer__social a:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink);
    transform: translateY(-3px);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.5em;
    color: var(--yellow);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: .95em;
}

.footer__links a {
    color: var(--on-ink-muted);
    font-size: .95rem;
    transition: color .25s ease;
}

.footer__links a:hover {
    color: var(--on-ink);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-bottom: 1.6em;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: .75em;
    color: var(--on-ink-muted);
    font-size: .92rem;
}

.footer__contact svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--yellow);
    margin-top: .15em;
}

.footer__contact a {
    color: var(--on-ink-muted);
    transition: color .25s ease;
}

.footer__contact a:hover {
    color: var(--yellow);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
}

.footer__copy {
    font-size: .86rem;
    color: var(--on-ink-muted);
}

.footer__trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__badge {
    height: 52px;
    width: 52px;
    border-radius: 8px;
}

.footer__union {
    font-size: .8rem;
    color: var(--on-ink-muted);
    max-width: 22ch;
    line-height: 1.6;
}

@media (max-width:980px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: span 2;
    }
}

@media (max-width:560px) {
    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* STREAMING_CHUNK:Blog Teaser and Float widgets... /
/ ============================================================
BLOG TEASER (08)
============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 22px;
}

.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper-2);
    display: flex;
    flex-direction: column;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px -20px rgba(21, 19, 15, .15);
}

.blog-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--ink);
    flex: none;
}

.blog-card--feature .blog-card__thumb {
    aspect-ratio: 4/3;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.06);
}

.blog-card__body {
    padding: clamp(20px, 3vw, 30px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__cat {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: .8em;
}

.blog-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
}

.blog-card--feature .blog-card__title {
    font-size: 1.5rem;
}

.blog-card__excerpt {
    color: var(--text);
    font-size: .93rem;
    margin-top: .7em;
    flex: 1;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    margin-top: 1.4em;
    font-weight: 800;
    font-size: .9rem;
    color: var(--amber);
}

.blog-card__link svg {
    width: 1em;
    height: 1em;
    transition: transform .3s var(--ease);
}

.blog-card:hover .blog-card__link svg {
    transform: translateX(-4px);
}

.blog__footer {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

@media (max-width:980px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-card--feature {
        grid-column: span 2;
    }
}

@media (max-width:620px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card--feature {
        grid-column: span 1;
    }
}

/* ============================================================
FLOATING CONTACT WIDGET
============================================================ */
.float-contact {
    position: fixed;
    bottom: 28px;
    inset-inline-start: 28px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.float-contact__btn {
    display: flex;
    align-items: center;
    gap: .7em;
    padding: .7em 1.2em .7em .9em;
    border-radius: 999px;
    font-weight: 700;
    font-size: .88rem;
    color: #000;
    cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    white-space: nowrap;
    border: none;
}

.float-contact__btn--wa {
    background: var(--yellow);
    box-shadow: 0 6px 20px -6px var(--yellow-bright);
}

.float-contact__btn--ph {
    background: var(--yellow);
    box-shadow: 0 6px 20px -6px rgba(12, 76, 104, .55);
}

.float-contact__btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
}

.float-contact__btn svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.float-contact__btn span.ltr {
    direction: ltr;
    unicode-bidi: isolate;
}

@media (max-width:540px) {
    .float-contact__btn span:not(.ltr) {
        display: none;
    }
}

/* STREAMING_CHUNK:Global utilities and MVP Content styles... /
/ ============================================================
CUSTOM CURSOR & BACK TO TOP
============================================================ */
@media (pointer:fine) {
    body {
        cursor: none;
    }

    a,
    button,
    label,
    [role="button"] {
        cursor: none;
    }

    .cursor-dot,
    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        will-change: transform;
        border-radius: 50%;
        transition: opacity .3s ease;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background: var(--yellow);
    }

    .cursor-ring {
        width: 36px;
        height: 36px;
        border: 2px solid var(--yellow);
        opacity: .6;
        transition: width .3s var(--ease), height .3s var(--ease), border-color .3s ease, opacity .3s ease;
    }

    .cursor-ring.is-hover {
        width: 54px;
        height: 54px;
        border-color: var(--amber);
        opacity: .4;
    }

    .cursor-ring.is-click {
        width: 24px;
        height: 24px;
        opacity: .9;
    }
}

.back-top {
    position: fixed;
    bottom: 28px;
    inset-inline-end: 28px;
    z-index: 300;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--yellow);
    border: 1px solid var(--line-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .35s ease, visibility .35s, transform .35s var(--ease), background .25s ease;
}

.back-top svg {
    width: 20px;
    height: 20px;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--yellow);
    color: var(--ink);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    padding: .7em 1.5em;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1000;
    transition: top .3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ============================================================
GENERIC CONTENT AREA (MVP for Blog, Pages, Portfolio)
============================================================ */
.generic-content {
    max-width: 840px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--text);
}

.generic-content h1,
.generic-content h2,
.generic-content h3 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: var(--ink);
}

.generic-content img {
    border-radius: var(--radius);
    margin-block: 2em;
}

.generic-content a {
    color: var(--blue);
    text-decoration: underline;
}

.generic-content ul,
.generic-content ol {
    padding-inline-start: 1.5em;
    margin-bottom: 1.5em;
    list-style: disc;
}

.generic-content li {
    margin-bottom: 0.5em;
}

/* ============================================================
   1. GLOBAL RESET & SCROLL FIX
   ============================================================ */
html,
body {
    overflow-x: clip;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ============================================================
   2. FLUID TYPOGRAPHY (Fixing H1 & Titles)
   ============================================================ */
/* استفاده از clamp برای جلوگیری از غول‌پیکر شدن تیترها در دسکتاپ و ریز شدن در موبایل */
.hero__title {
    font-size: clamp(2.2rem, 8vw, 4rem) !important;
    line-height: 1.2 !important;
}

.cta-band__title {
    font-size: clamp(2rem, 6vw, 3.2rem) !important;
}

/* ============================================================
   3. MOBILE HEADER FIXES
   ============================================================ */
@media (max-width: 980px) {
    .site-header {
        padding-block: 14px;
    }

    .nav__logo img {
        height: 32px !important;
    }
}

/* ============================================================
   4. FLOATING CONTACT BUTTONS (Bottom-Left on Mobile)
   ============================================================ */
.float-contact {
    position: fixed;
    bottom: 20px;
    right: 28px !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    transition: opacity .25s ease, visibility .25s ease;
}

/* وقتی منوی موبایل باز است، دکمه‌های شناور تماس/واتساپ مخفی و غیرقابل‌کلیک شوند */
body.nav-open .float-contact {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 640px) {
    .float-contact {
        right: 20px !important;
        bottom: 20px;
        gap: 14px;
    }

    .float-contact__btn {
        width: 56px !important;
        height: 56px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }

    /* مخفی کردن متن و فقط نمایش آیکون در موبایل */
    .float-contact__btn span {
        display: none !important;
    }

    .float-contact__btn svg {
        margin: 0 !important;
        width: 28px !important;
        height: 28px !important;
    }
}

/* ============================================================
   5. MOBILE MENU SIDE-DRAWER & CLOSE BUTTON
   (این تنها تعریف .nav__menu برای موبایل است — قبلاً یک نسخه دیگر هم در
   بالای فایل بود که با این یکی تداخل داشت و باعث پس‌زمینه سفید و بسته
   نشدن گاه‌به‌گاه منو می‌شد؛ آن نسخه حذف شد.)
   ============================================================ */
@media (max-width: 980px) {
    .nav__toggle {
        z-index: 10001;
        position: relative;
    }

    .nav__toggle span {
        transition: transform .3s var(--ease), opacity .3s ease;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 84vw);
        height: 100vh;
        background: var(--ink);
        box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
        padding: 24px 24px 40px;
        transition: right .4s cubic-bezier(.4, 0, .2, 1);
        z-index: 10000;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .nav__menu.is-open {
        right: 0;
    }

    .nav__menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        margin-bottom: 16px;
        border-bottom: 1px solid var(--line-ink);
    }

    .nav__menu-brand {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.3rem;
        color: var(--yellow);
        letter-spacing: -.01em;
    }

    .nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 11px;
        border: 1.5px solid var(--line-ink);
        background: transparent;
        color: var(--on-ink);
        cursor: pointer;
        transition: border-color .25s ease, color .25s ease, background .25s ease, transform .2s ease;
    }

    .nav__close svg {
        width: 18px;
        height: 18px;
    }

    .nav__close:hover {
        border-color: var(--yellow);
        color: var(--yellow);
        background: rgba(244, 182, 48, .08);
    }

    .nav__close:active {
        transform: scale(.92);
    }

    /* پرده تیره پشت منو — کلیک روی آن هم منو را می‌بندد (توسط جاوااسکریپت) */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease, visibility .35s ease;
        z-index: 99;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* حالت باز/بسته دکمه همبرگر حالا با [aria-expanded="true"] در بخش اصلی
       .nav__toggle کنترل می‌شود (بالای فایل) — نیازی به قانون جدا اینجا نیست */

    /* لیست لینک‌ها داخل کشو — قبلاً هیچ استایل تایپوگرافی نداشت (به شکل لیست خام دیده می‌شد) */
    .nav__menu .nav__list {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 4px;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .nav__menu .nav__list>li {
        width: 100%;
        border-bottom: 1px solid var(--line-ink);
    }

    .nav__menu .nav__link {
        width: 100%;
        padding: 16px 4px;
        color: var(--on-ink);
        opacity: 1;
    }

    .nav__menu .nav__link:hover {
        color: var(--yellow);
    }

    .nav__menu .nav__link::after {
        display: none;
    }

    .nav__menu .nav__dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 12px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .nav__menu .nav__dropdown li a {
        font-size: .95rem;
        font-weight: 400;
        padding: .6em .5em;
        color: var(--on-ink-muted);
    }

    .nav__menu .nav__dropdown li a:hover {
        color: var(--yellow);
        background: rgba(244, 182, 48, .08);
    }

    .nav__menu .nav__phone {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--line-ink);
        justify-content: center;
    }
}

/* ============================================================
   6. TWO-COLUMN FOOTER OPTIMIZATION FOR MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .footer__top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        text-align: right;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer__col:nth-child(2),
    .footer__col:nth-child(3) {
        grid-column: span 1;
    }

    .footer__col:last-child {
        grid-column: 1 / -1;
        background: rgba(255, 255, 255, 0.03);
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .footer__title {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
}