

@import url('fonts/gilroy-font/gilroy.css');
:root {
    --white: #FFFFFF;
    --cool-gray: #CDCDCD;
    --charcoal: #4C4D4A;
    --kraft: #C1B7AF;
    --red: #8C0A0A;
    --red-soft: color-mix(in srgb, var(--red) 82%, black);
    --ink: #4C4D4A;
    --radius: 2px;
    --unit-x: clamp(20px, 2.2vw, 34px);
    /* سطوح مشتق‌شده از پالت رسمی برند - بدون افزودن هیچ رنگ جدید */
    --surface-kraft-tint: color-mix(in srgb, var(--kraft) 12%, var(--white));
    --surface-charcoal-tint: color-mix(in srgb, var(--charcoal) 4%, var(--white));
    --surface-dark: var(--charcoal);
    --shadow-subtle: 0 2px 10px rgba(76,77,74,.10);
    --shadow-hover: 0 4px 16px rgba(76,77,74,.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%
}

body {
    font-family: 'Vazirmatn','Gilroy','Inter',sans-serif;
    background: var(--white);
    color: var(--ink);
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased
}

.en {
    font-family: 'Gilroy','Inter','Vazirmatn',sans-serif
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--unit-x)
}

.grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: var(--unit-x)
}

.col-7 {
    grid-column: span 7
}

.col-5 {
    grid-column: span 5
}

.col-6 {
    grid-column: span 6
}

.col-4 {
    grid-column: span 4
}

.col-8 {
    grid-column: span 8
}

.col-3 {
    grid-column: span 3
}

.col-9 {
    grid-column: span 9
}

.col-12 {
    grid-column: span 12
}

section {
    position: relative
}

.panel {
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius);
    background: var(--white)
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em
}

p {
    line-height: 1.9;
    color: #4C4D4A
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px
}

    .eyebrow::before {
        content: "";
        width: 22px;
        height: 2px;
        background: var(--red);
        display: inline-block
    }

.section {
    padding: 120px 0
}

.section-tight {
    padding: 80px 0
}

.section-dark {
    background: var(--charcoal);
    color: var(--white)
}

    .section-dark p {
        color: rgba(255,255,255,0.65)
    }

    .section-dark .panel {
        border-color: rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.03)
    }

.section-gray {
    background: var(--cool-gray)
}

.section-head {
    margin-bottom: 56px
}

    .section-head h2 {
        font-size: clamp(28px,3.4vw,44px);
        margin-top: 14px
    }

    .section-head .num {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 12px;
        color: var(--red);
        font-weight: 700
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .25s ease,color .25s ease,border-color .25s ease
}

.btn-primary {
    background: var(--red);
    color: var(--white)
}

    .btn-primary:hover {
        background: var(--red-soft)
    }

.btn-outline {
    background: transparent;
    border-color: rgba(76,77,74,0.25);
    color: var(--ink)
}

    .btn-outline:hover {
        border-color: var(--ink)
    }

.btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.35);
    color: var(--white)
}

    .btn-outline-light:hover {
        border-color: var(--white)
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo-mark {
    width: 32px;
    height: 32px;
    position: relative;
    display: block;
    flex-shrink: 0
}

    .logo-mark svg {
        width: 100%;
        height: 100%;
        display: block
    }

.logo-text {
    font-family: 'Gilroy','Inter',sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .04em;
    line-height: 1
}

    .logo-text span {
        color: var(--red)
    }

.logo-sub {
    font-family: 'Gilroy','Inter',sans-serif;
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: .7;
    margin-top: 3px;
    font-weight: 500
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: background .35s ease,padding .35s ease,border-color .35s ease;
    border-bottom: 1px solid transparent
}

    header.scrolled {
        background: rgba(255,255,255,0.96);
        padding: 14px 0;
        border-bottom: 1px solid rgba(76,77,74,0.15)
    }

    header .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    header.on-dark .logo-text, header.on-dark .logo-sub {
        color: var(--white);
        opacity: 1
    }

nav ul {
    display: flex;
    gap: 34px;
    list-style: none
}

nav a {
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    color: var(--ink)
}

header.on-dark nav a {
    color: var(--white)
}

header.scrolled nav a {
    color: var(--ink)
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width .3s ease
}

nav a:hover::after {
    width: 100%
}

.nav-mobile-btn {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102
}

    .nav-mobile-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--ink);
        transition: all .3s ease;
        transform-origin: center
    }

header.on-dark .nav-mobile-btn span {
    background: var(--white)
}

header.scrolled .nav-mobile-btn span {
    background: var(--ink)
}

.nav-mobile-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.nav-mobile-btn.is-open span:nth-child(2) {
    opacity: 0
}

.nav-mobile-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(76,77,74,0.97);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease
}

    .mobile-nav.is-open {
        opacity: 1;
        pointer-events: auto
    }

    .mobile-nav a {
        color: var(--white);
        font-size: 20px;
        font-weight: 700;
        padding: 10px 20px;
        position: relative;
        transition: color .25s
    }

        .mobile-nav a:hover {
            color: var(--red)
        }

.hero {
    min-height: 100vh;
    background: var(--charcoal);
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding-top: 140px;
    padding-bottom: var(--unit-x);
    position: relative;
    overflow: hidden
}

.hero-simple {
    min-height: 50vh;
    background: var(--charcoal);
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding-top: 140px;
    padding-bottom: var(--unit-x);
    position: relative;
    overflow: hidden
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    z-index: 1
}

    .hero-grid-bg .line {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255,255,255,0.08)
    }

.hero-panel-deco {
    position: absolute;
    top: 130px;
    left: var(--unit-x);
    width: 180px;
    height: 230px;
    border: 2px solid rgba(255,255,255,0.2);
    z-index: 2
}

    .hero-panel-deco::before {
        content: "";
        position: absolute;
        inset: 16px;
        border: 1px solid var(--red);
        clip-path: polygon(15% 0,100% 8%,88% 100%,0 92%)
    }

.hero-content {
    position: relative;
    z-index: 3
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden
}

    .hero-slide.is-active {
        opacity: 1
    }

    .hero-slide .media {
        position: absolute;
        inset: -4%;
        width: 108%;
        height: 108%;
        object-fit: cover;
        background-size: cover;
        background-position: center;
        filter: grayscale(0.55) contrast(1.08) brightness(0.62)
    }

    .hero-slide video.media {
        object-fit: cover
    }

    .hero-slide .wipe {
        position: absolute;
        inset: 0;
        background: var(--ink);
        transform-origin: left center;
        z-index: 2
    }

.hero-slider-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(76,77,74,0.55) 0%,rgba(76,77,74,0.35) 40%,rgba(76,77,74,0.92) 100%);
    z-index: 1
}

.hero-slide-caption {
    position: absolute;
    bottom: 28%;
    right: var(--unit-x);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Gilroy','Inter',sans-serif;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7)
}

    .hero-slide-caption .dot {
        width: 6px;
        height: 6px;
        background: var(--red)
    }

.hero-slider-ui {
    position: absolute;
    left: var(--unit-x);
    bottom: calc(var(--unit-x) + 44px);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px
}

.hs-count {
    font-family: 'Gilroy','Inter',sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: .05em
}

    .hs-count b {
        color: #fff;
        font-weight: 700
    }

.hs-tracks {
    display: flex;
    gap: 8px
}

.hs-track {
    width: 44px;
    height: 2px;
    background: rgba(255,255,255,0.25);
    position: relative;
    cursor: pointer;
    overflow: hidden
}

    .hs-track i {
        position: absolute;
        inset: 0;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: right center
    }

.hs-arrows {
    display: flex;
    gap: 6px;
    margin-right: 6px
}

.hs-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s,background .2s;
    background: transparent
}

    .hs-arrow:hover {
        border-color: var(--red);
        background: var(--red)
    }

.hero-title {
    font-size: clamp(40px,6.4vw,92px);
    overflow: hidden
}

    .hero-title .line-wrap {
        overflow: hidden
    }

    .hero-title .line-in {
        display: block
    }

.hero-sub {
    max-width: 520px;
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    margin-top: 22px
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 22px
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .hero-meta-item b {
        font-size: 26px;
        font-family: 'Gilroy','Inter',sans-serif
    }

    .hero-meta-item span {
        font-size: 12px;
        color: rgba(255,255,255,0.55);
        letter-spacing: .05em
    }

.scroll-indicator {
    position: absolute;
    bottom: var(--unit-x);
    left: var(--unit-x);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55)
}

    .scroll-indicator .bar {
        width: 1px;
        height: 34px;
        background: rgba(255,255,255,0.3);
        position: relative;
        overflow: hidden
    }

        .scroll-indicator .bar i {
            position: absolute;
            top: -100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--red);
            animation: scrollmove 1.8s ease-in-out infinite
        }

@keyframes scrollmove {
    0% {
        top: -100%
    }

    50% {
        top: 0
    }

    100% {
        top: 100%
    }
}

.intro-figure {
    position: relative
}

    .intro-figure img {
        width: 100%;
        border-radius: var(--radius)
    }

.frame-line {
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(76,77,74,0.28);
    border-radius: var(--radius);
    pointer-events: none
}

.corner-tag {
    position: absolute;
    bottom: -8px;
    left: 20px;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 6px 12px;
    border-radius: var(--radius)
}

.kicker-list {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

    .kicker-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        border-bottom: 1px solid rgba(76,77,74,0.12);
        font-size: 15px;
        font-weight: 600
    }

        .kicker-list li span {
            font-family: 'Gilroy','Inter',sans-serif;
            color: var(--red);
            font-size: 13px;
            font-weight: 700
        }

.value-panels {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--unit-x)
}

.value-card {
    padding: 34px 28px;
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--white);
    position: relative;
    transition: border-color .35s ease;
}

    .value-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 3px;
        height: 100%;
        background: var(--kraft);
        opacity: .6;
        border-radius: 0 var(--radius) var(--radius) 0;
        transition: opacity .35s ease,width .35s ease
    }

    .value-card:hover {
        border-color: rgba(140,10,10,.4)
    }

        .value-card:hover::before {
            opacity: 1;
            width: 4px;
            background: var(--red)
        }

.value-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

.value-card .idx {
    font-family: 'Gilroy','Inter',sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--red)
}

.v-progress {
    width: 38px;
    height: 2px;
    background: rgba(76,77,74,.18);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto
}

    .v-progress::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 1s cubic-bezier(.22,1,.36,1)
    }

.value-card.in .v-progress::after {
    transform: scaleX(1)
}

.value-card h3 {
    font-size: 19px
}

.value-card p {
    font-size: 14px;
    color: rgba(76,77,74,.72)
}

.value-stat {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(76,77,74,.14);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px
}

    .value-stat .count {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: clamp(26px,2.4vw,32px);
        font-weight: 800;
        color: var(--ink);
        line-height: 1
    }

    .value-stat .v-unit {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: var(--red)
    }

    .value-stat .v-stat-label {
        flex: 1 1 100%;
        font-size: 12px;
        color: rgba(76,77,74,.6);
        margin-top: 2px
    }

.prod-grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-auto-rows: minmax(140px,auto);
    gap: var(--unit-x)
}

.prod-card {
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: var(--white);
    transition: border-color .25s ease
}

    .prod-card:hover {
        border-color: var(--red)
    }

    .prod-card .tag {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 11px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--charcoal);
        opacity: .6
    }

    .prod-card h3 {
        font-size: 22px;
        margin-top: 14px
    }

    .prod-card .foot {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 24px
    }

        .prod-card .foot span {
            font-size: 13px;
            color: rgba(76,77,74,.62)
        }

    .prod-card .arrow {
        width: 30px;
        height: 30px;
        border: 1px solid rgba(76,77,74,0.3);
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: background .25s,border-color .25s,color .25s
    }

    .prod-card:hover .arrow {
        background: var(--red);
        border-color: var(--red);
        color: var(--white)
    }

.p1 {
    grid-column: span 7;
    grid-row: span 2
}

.p2 {
    grid-column: span 5
}

.p3 {
    grid-column: span 3
}

.p4 {
    grid-column: span 4
}

.p5 {
    grid-column: span 4
}

.p6 {
    grid-column: span 4
}

.p12 {
    grid-column: span 12
}

.feat-list {
    list-style: none;
    margin-top: 10px
}

.feat-row {
    display: grid;
    grid-template-columns: 1fr 5fr 3fr;
    gap: var(--unit-x);
    align-items: center;
    padding: 26px 0;
    border-top: 1px solid rgba(255,255,255,0.15)
}

    .feat-row:last-child {
        border-bottom: 1px solid rgba(255,255,255,0.15)
    }

    .feat-row .fn {
        font-family: 'Gilroy','Inter',sans-serif;
        color: var(--kraft);
        font-weight: 700;
        font-size: 13px
    }

    .feat-row h4 {
        font-size: 19px;
        font-weight: 600
    }

    .feat-row p {
        font-size: 13px;
        margin: 0;
        color: rgba(255,255,255,0.55)
    }

    .feat-row .val {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 26px;
        font-weight: 700;
        text-align: left
    }

        .feat-row .val small {
            display: block;
            font-size: 11px;
            font-weight: 400;
            color: rgba(255,255,255,0.5);
            margin-top: 4px
        }

.process-strip {
    display: flex;
    overflow-x: auto;
    gap: 1px;
    background: rgba(76,77,74,0.3);
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius)
}

.process-step {
    min-width: 260px;
    flex: 1;
    background: var(--white);
    padding: 30px 24px;
    position: relative
}

    .process-step::before {
        content: "";
        position: absolute;
        top: 16px;
        left: 16px;
        width: 28px;
        height: 3px;
        background: var(--kraft);
        border-radius: var(--radius)
    }

    .process-step .step-num {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 34px;
        font-weight: 800;
        color: var(--kraft)
    }

    .process-step h4 {
        font-size: 16px;
        margin-top: 14px
    }

    .process-step p {
        font-size: 13px;
        margin-top: 8px
    }

.accordion {
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white)
}

.acc-item {
    position: relative;
    border-bottom: 1px solid rgba(76,77,74,0.18)
}

    .acc-item:last-child {
        border-bottom: none
    }

.acc-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    text-align: right;
    transition: color .25s ease
}

    .acc-header:hover {
        color: var(--red)
    }

    .acc-header .acc-title {
        line-height: 1.4
    }

    .acc-header .acc-icon {
        width: 16px;
        height: 16px;
        position: relative;
        flex-shrink: 0;
        margin-right: 16px
    }

.acc-icon .acc-line-h, .acc-icon .acc-line-v {
    position: absolute;
    background: var(--charcoal);
    transition: transform .35s ease,background .25s ease
}

.acc-line-h {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%)
}

.acc-line-v {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%)
}

.acc-item.is-open .acc-line-v {
    transform: translateX(-50%) scaleY(0)
}

.acc-item.is-open .acc-line-h {
    background: var(--red)
}

.acc-body {
    height: 0;
    overflow: hidden;
    transition: height .35s ease
}

.acc-body-inner {
    padding: 0 28px 24px;
    color: #4C4D4A;
    font-size: 15px;
    line-height: 1.9;
    max-width: 860px
}

.acc-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: center top;
    pointer-events: none;
    transition: transform .35s ease
}

.acc-item.is-open .acc-accent {
    transform: scaleY(1)
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: rgba(76,77,74,0.3);
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius);
    overflow: hidden
}

.stat-cell {
    background: var(--white);
    padding: 34px 24px
}

    .stat-cell b {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 38px;
        font-weight: 800;
        color: var(--ink);
        display: block
    }

    .stat-cell span {
        font-size: 13px;
        color: rgba(76,77,74,.62);
        margin-top: 8px;
        display: block
    }

.client-strip {
    display: flex;
    gap: var(--unit-x);
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(76,77,74,0.18)
}

    .client-strip span {
        font-family: 'Gilroy','Inter',sans-serif;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: .03em;
        color: rgba(76,77,74,.45);
        text-transform: uppercase
    }

.cta-panel {
    background: var(--charcoal);
    border-radius: var(--radius);
    padding: 70px var(--unit-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden
}

    .cta-panel::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 6px;
        background: var(--red)
    }

    .cta-panel h2 {
        font-size: clamp(24px,3vw,38px);
        max-width: 560px
    }

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: var(--unit-x)
}

.form-field {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px
}

    .form-field.col-12 {
        grid-column: span 12
    }

    .form-field label {
        font-size: 13px;
        font-weight: 600;
        color: var(--ink)
    }

    .form-field input, .form-field textarea, .form-field select {
        padding: 14px 16px;
        border: 2px solid rgba(76,77,74,0.32);
        border-radius: var(--radius);
        font-family: inherit;
        font-size: 14px;
        background: var(--white);
        color: var(--ink);
        transition: border-color .2s ease
    }

        .form-field input:focus, .form-field textarea:focus, .form-field select:focus {
            outline: none;
            border-color: var(--red)
        }

    .form-field textarea {
        min-height: 140px;
        resize: vertical
    }

.form-note {
    font-size: 13px;
    color: rgba(76,77,74,.62);
    margin-top: 8px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: var(--unit-x)
}

.blog-card {
    grid-column: span 4;
    border: 2px solid rgba(76,77,74,0.3);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: border-color .25s ease
}

    .blog-card:hover {
        border-color: var(--red)
    }

    .blog-card .thumb {
        aspect-ratio: 16/10;
        background: var(--cool-gray);
        position: relative;
        overflow: hidden
    }

        .blog-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.3) contrast(1.05);
            transition: transform .6s ease
        }

    .blog-card:hover .thumb img {
        transform: scale(1.04)
    }

    .blog-card .body {
        padding: 22px
    }

    .blog-card .meta {
        font-size: 11px;
        color: rgba(76,77,74,.62);
        font-family: 'Gilroy','Inter',sans-serif;
        margin-bottom: 10px
    }

    .blog-card h3 {
        font-size: 17px;
        margin-bottom: 10px
    }

    .blog-card p {
        font-size: 14px;
        line-height: 1.7
    }

footer {
    background: var(--ink);
    color: rgba(255,255,255,0.6);
    padding: 70px 0 26px
}

    footer .foot-top {
        display: grid;
        grid-template-columns: repeat(12,1fr);
        gap: var(--unit-x);
        padding-bottom: 50px;
        border-bottom: 1px solid rgba(255,255,255,0.12)
    }

    footer .foot-brand {
        grid-column: span 4
    }

        footer .foot-brand p {
            color: rgba(255,255,255,0.5);
            font-size: 13px;
            margin-top: 16px;
            max-width: 280px
        }

    footer h5 {
        color: #fff;
        font-size: 13px;
        margin-bottom: 16px;
        letter-spacing: .05em
    }

    footer .foot-col {
        grid-column: span 2
    }

        footer .foot-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px
        }

        footer .foot-col a {
            font-size: 13px;
            color: rgba(255,255,255,0.55);
            transition: color .2s
        }

            footer .foot-col a:hover {
                color: var(--white)
            }

    footer .foot-bottom {
        display: flex;
        justify-content: space-between;
        padding-top: 26px;
        font-size: 12px
    }

@media (max-width:1024px) {
    .value-panels {
        grid-template-columns: repeat(2,1fr)
    }

    .p1 {
        grid-column: span 6;
        grid-row: span 2
    }

    .p2 {
        grid-column: span 6
    }

    .p3 {
        grid-column: span 6
    }

    .p4 {
        grid-column: span 4
    }

    .p5 {
        grid-column: span 4
    }

    .p6 {
        grid-column: span 4
    }

    .hero-title {
        font-size: clamp(32px,5vw,60px)
    }

    .hero-meta-item b {
        font-size: 22px
    }
}

@media (max-width:900px) {
    .col-7, .col-5, .col-6, .col-4, .col-8, .col-3, .col-9 {
        grid-column: span 12
    }

    .value-panels {
        grid-template-columns: 1fr
    }

    .value-card {
        grid-column: auto
    }

    .p1, .p2, .p3, .p4, .p5, .p6 {
        grid-column: span 12;
        grid-row: auto
    }

    .feat-row {
        grid-template-columns: 1fr;
        gap: 8px
    }

        .feat-row .val {
            text-align: right
        }

    .stat-strip {
        grid-template-columns: repeat(2,1fr)
    }

    footer .foot-brand, footer .foot-col {
        grid-column: span 6
    }

    nav {
        display: none
    }

    .nav-mobile-btn {
        display: flex
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start
    }

    .acc-header {
        padding: 20px 22px;
        font-size: 15px
    }

    .acc-body-inner {
        padding: 0 22px 20px
    }

    .form-field {
        grid-column: span 12
    }

    .blog-card {
        grid-column: span 12
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 20px
    }

    .hero-simple {
        min-height: 40vh
    }

    .hero-slider-ui {
        bottom: calc(var(--unit-x) + 80px)
    }

    .hero-slide-caption {
        bottom: 22%
    }
}

@media (max-width:600px) {
    :root {
        --unit-x: 16px
    }

    .section {
        padding: 80px 0
    }

    .section-tight {
        padding: 50px 0
    }

    .hero-title {
        font-size: clamp(28px,8vw,44px)
    }

    .hero-sub {
        font-size: 14px
    }

    .hero-meta-item b {
        font-size: 20px
    }

    .hero-meta-item span {
        font-size: 11px
    }

    .hero-meta {
        gap: 16px
    }

    .hero-slider-ui {
        gap: 10px
    }

    .hs-track {
        width: 32px
    }

    .hs-arrow {
        width: 30px;
        height: 30px
    }

    .process-step {
        min-width: 220px;
        padding: 24px 18px
    }

    .stat-strip {
        grid-template-columns: 1fr 1fr
    }

    .stat-cell {
        padding: 24px 16px
    }

        .stat-cell b {
            font-size: 28px
        }

    .cta-panel {
        padding: 50px var(--unit-x)
    }

        .cta-panel h2 {
            font-size: clamp(20px,5vw,28px)
        }

    .cta-actions {
        flex-direction: column;
        width: 100%
    }

        .cta-actions .btn {
            width: 100%;
            justify-content: center
        }

    .client-strip {
        gap: 12px
    }

        .client-strip span {
            font-size: 12px
        }

    footer .foot-brand, footer .foot-col {
        grid-column: span 12
    }

    footer .foot-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }

    .mobile-nav a {
        font-size: 18px
    }
}

@media (max-width:400px) {
    .hero-title {
        font-size: clamp(24px,7vw,36px)
    }

    .hero-meta-item b {
        font-size: 18px
    }

    .btn {
        padding: 12px 18px;
        font-size: 13px
    }

    .section-head h2 {
        font-size: clamp(22px,5vw,32px)
    }

    .value-card {
        padding: 24px 18px
    }

    .prod-card {
        padding: 20px
    }

        .prod-card h3 {
            font-size: 18px
        }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important
    }
}

/* =========================================================
   NAVIGATION SYSTEM — persistent top bar / mega menu / mobile accordion
   The original OPAL visual system and page sections remain unchanged.
   ========================================================= */
:root {
    --topbar-height: 30px
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    z-index: 120;
    background: var(--ink);
    color: rgba(255,255,255,.62);
    border-bottom: 1px solid rgba(255,255,255,.10);
    font-size: 10px;
    line-height: 1;
    direction: rtl
}

    .topbar .wrap {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px
    }

.topbar-note {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

    .topbar-note span {
        color: var(--red)
    }

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap
}

    .topbar-contact .en {
        color: rgba(255,255,255,.9);
        font-size: 10px
    }

.topbar-separator {
    height: 11px;
    width: 1px;
    background: rgba(255,255,255,.22)
}

.topbar-languages {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin-right: auto !important
}

    .topbar-languages a {
        display: flex;
        align-items: center;
        gap: 5px;
        color: rgba(255,255,255,.58);
        font-size: 10px;
        transition: color .2s ease;
        white-space: nowrap
    }

        .topbar-languages a::before {
            content: "";
            display: block;
            width: 4px;
            height: 4px;
            border: 1px solid currentColor;
            border-radius: 50%;
            opacity: .7
        }

        .topbar-languages a:hover, .topbar-languages a.is-active {
            color: #fff
        }

.lang-short {
    display: none
}

header {
    top: var(--topbar-height);
    z-index: 110
}

    header.scrolled {
        top: var(--topbar-height)
    }

    header .wrap {
        min-height: 68px
    }

    header nav {
        margin-right: auto
    }

        header nav > ul {
            display: flex;
            align-items: center;
            gap: clamp(14px,1.7vw,28px);
            list-style: none
        }

            header nav > ul > li {
                position: relative;
                list-style: none
            }

                header nav > ul > li:not(.nav-item) > a, header nav .nav-item > a {
                    display: inline-flex;
                    align-items: center;
                    gap: 6px;
                    position: relative;
                    white-space: nowrap;
                    padding: 9px 0;
                    font-size: 13px;
                    font-weight: 500
                }

                    header nav > ul > li:not(.nav-item) > a::after, header nav .nav-item > a::after {
                        bottom: 0;
                        right: 0;
                        left: auto;
                        width: 0;
                        height: 2px;
                        background: var(--red);
                        transition: width .25s ease
                    }

                header nav > ul > li:hover > a::after, header nav > ul > li:focus-within > a::after {
                    width: 100%
                }

.nav-caret {
    font: 700 14px/1 Arial,sans-serif;
    color: currentColor;
    transition: transform .25s ease;
    position: relative;
    top: -1px
}

.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret, .nav-item.menu-open .nav-caret {
    transform: rotate(180deg)
}

header nav .mega-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: -20px;
    width: 600px;
    display: grid;
    grid-template-columns: 185px minmax(0,1fr);
    gap: 0;
    padding: 0;
    border: 2px solid rgba(76,77,74,.22);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .25s ease,transform .25s ease,visibility .25s ease;
    z-index: 150;
    overflow: hidden;
    direction: rtl
}

header nav .nav-item:hover > .mega-menu, header nav .nav-item:focus-within > .mega-menu, header nav .nav-item.menu-open > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0)
}

header nav .mega-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 30px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid rgba(76,77,74,.16);
    border-right: 1px solid rgba(76,77,74,.16);
    transform: rotate(-45deg)
}

header nav .mega-menu-head {
    padding: 23px 19px;
    background: var(--charcoal);
    color: #fff;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden
}

    header nav .mega-menu-head::after {
        content: "";
        position: absolute;
        left: -41px;
        bottom: -44px;
        width: 130px;
        height: 155px;
        pointer-events: none;
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: contain;
        background-image: url('assets/opal-monogram-white-faint.png')
    }

    header nav .mega-menu-head span {
        position: relative;
        z-index: 1;
        color: var(--kraft);
        font: 700 10px/1 'Gilroy','Inter',sans-serif;
        letter-spacing: .12em
    }

    header nav .mega-menu-head strong {
        position: relative;
        z-index: 1;
        font-size: 20px;
        line-height: 1.4
    }

    header nav .mega-menu-head small {
        position: relative;
        z-index: 1;
        color: rgba(255,255,255,.58);
        font-size: 10px;
        line-height: 1.7
    }

header nav .mega-menu-body {
    padding: 17px 22px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-content: center;
    gap: 1px 20px
}

    header nav .mega-menu-body a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 9px 0;
        color: var(--ink) !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        white-space: normal;
        line-height: 1.5;
        transition: color .2s ease,transform .2s ease
    }

        header nav .mega-menu-body a::before {
            content: "↙";
            color: var(--red);
            font: 15px/1 Arial,sans-serif;
            opacity: 0;
            transform: translateX(4px);
            transition: opacity .2s ease,transform .2s ease
        }

        header nav .mega-menu-body a:hover {
            color: var(--red) !important;
            transform: translateX(-3px)
        }

            header nav .mega-menu-body a:hover::before {
                opacity: 1;
                transform: translateX(0)
            }

header nav .mega-menu-left {
    right: auto;
    left: -18px
}

.mega-menu-left::before {
    right: auto !important;
    left: 30px;
    transform: rotate(45deg) !important
}

header.scrolled .btn-outline-light {
    border-color: rgba(76,77,74,.28);
    color: var(--ink)
}

    header.scrolled .btn-outline-light:hover {
        border-color: var(--ink)
    }

/* mobile navigation */
.mobile-nav {
    position: fixed;
    inset: var(--topbar-height) 0 0;
    z-index: 105;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 88px var(--unit-x) 36px;
    background: rgba(76,77,74,.985);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease,transform .3s ease,visibility .3s ease
}

    .mobile-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: none
    }

.mobile-nav-inner {
    width: min(100%,720px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    direction: rtl
}

.mobile-nav-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.48);
    font-size: 11px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.13)
}

    .mobile-nav-heading .en {
        color: var(--red);
        font: 700 10px/1 'Gilroy','Inter',sans-serif;
        letter-spacing: .14em
    }

.mobile-home-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.13)
}

    .mobile-home-link .en {
        font: 700 10px/1 'Gilroy','Inter',sans-serif;
        letter-spacing: .12em;
        color: rgba(255,255,255,.42)
    }

.mobile-group {
    border-bottom: 1px solid rgba(255,255,255,.13)
}

.mobile-group-row {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

    .mobile-group-row > a {
        flex: 1;
        display: flex !important;
        align-items: center;
        color: #fff !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        padding: 10px 0 !important;
        line-height: 1.45
    }

        .mobile-group-row > a::before {
            content: "/";
            color: var(--red);
            font: 700 14px/1 Arial,sans-serif;
            margin-left: 10px
        }

.mobile-group-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    position: relative;
    display: block
}

    .mobile-group-toggle span {
        position: absolute;
        top: 50%;
        left: 8px;
        width: 16px;
        height: 1px;
        background: #fff;
        transition: transform .25s ease
    }

        .mobile-group-toggle span:first-child {
            transform: translateY(-50%)
        }

        .mobile-group-toggle span:last-child {
            transform: translateY(-50%) rotate(90deg)
        }

.mobile-group.is-open .mobile-group-toggle span:last-child {
    transform: translateY(-50%) rotate(0)
}

.mobile-group.is-open .mobile-group-toggle {
    border-color: var(--red);
    background: var(--red)
}

.mobile-submenu {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease,opacity .25s ease;
    padding: 0
}

.mobile-group.is-open .mobile-submenu {
    max-height: 420px;
    opacity: 1;
    padding: 0 0 13px
}

.mobile-submenu a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.63) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 8px 0 !important;
    line-height: 1.55
}

    .mobile-submenu a::before {
        content: "↙";
        color: var(--red);
        font: 14px/1 Arial,sans-serif
    }

    .mobile-submenu a:hover {
        color: #fff !important
    }

.mobile-nav-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 26px
}

    .mobile-nav-bottom .btn {
        min-height: 44px;
        padding: 11px 18px
    }

.mobile-phone {
    color: rgba(255,255,255,.62);
    font-size: 11px;
    border-bottom: 1px solid rgba(255,255,255,.22);
    padding-bottom: 4px
}

@media (max-width:1150px) {
    header nav > ul {
        gap: 13px
    }

        header nav > ul > li > a, header nav .nav-item > a {
            font-size: 12px !important
        }

    .mega-menu {
        width: 560px
    }
}

@media (max-width:1040px) {
    header nav {
        display: none
    }

    .headerCta {
        display: none
    }

    #headerCta {
        display: none
    }

    .nav-mobile-btn {
        display: flex
    }

    .mobile-nav {
        padding-top: 82px
    }
}

@media (max-width:600px) {
    :root {
        --topbar-height: 28px
    }

    .topbar {
        height: var(--topbar-height)
    }

        .topbar .wrap {
            padding: 0 12px
        }

    .topbar-note, .topbar-contact {
        display: none
    }

    .topbar-languages {
        width: 100%;
        justify-content: center;
        gap: 12px;
        margin: 0 !important
    }

        .topbar-languages a {
            font-size: 9px
        }

        .topbar-languages .lang-wide {
            display: inline
        }

        .topbar-languages .lang-short {
            display: none
        }

    header {
        top: var(--topbar-height)
    }

        header.scrolled {
            top: var(--topbar-height)
        }

        header .wrap {
            min-height: 64px
        }

    .mobile-nav {
        inset: var(--topbar-height) 0 0;
        padding: 80px 16px 28px
    }

    .mobile-nav-heading {
        font-size: 10px
    }

    .mobile-group-row {
        min-height: 57px
    }

        .mobile-group-row > a {
            font-size: 16px !important
        }

    .mobile-submenu {
        grid-template-columns: 1fr;
        gap: 0
    }

    .mobile-nav-bottom {
        flex-direction: column;
        align-items: stretch
    }

        .mobile-nav-bottom .btn {
            width: 100%
        }

    .mobile-phone {
        text-align: center;
        align-self: center
    }
}

@media (prefers-reduced-motion:reduce) {
    .mobile-nav, .mobile-submenu, .mobile-group-toggle span {
        transition: none
    }
}
/* FIX: عرض امن Mobile menu و تاپ‌بار */
.mobile-nav {
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0
}

.mobile-nav-inner {
    max-width: 100%
}

.topbar .wrap, .mobile-nav-inner, .mobile-search {
    min-width: 0
}

    .mobile-search input {
        width: 100%;
        min-width: 0
    }



/* 08 / همراه شما — kraft treatment + OPAL watermark */
#cta {
    position: relative;
    background-color: var(--kraft);
    overflow: hidden;
    scroll-margin-top: calc(var(--topbar-height) + 76px)
}

    #cta::before {
        content: "OPAL";
        position: absolute;
        left: -18px;
        bottom: -10px;
        color: rgba(76,77,74,.12);
        font-family: 'Gilroy','Inter',Arial,sans-serif;
        font-size: clamp(120px,22vw,300px);
        font-weight: 900;
        letter-spacing: -.10em;
        line-height: .82;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;
        z-index: 0
    }

    #cta .wrap {
        position: relative;
        z-index: 1
    }

    #cta .cta-panel {
        background: transparent;
        padding: clamp(44px,6vw,72px) clamp(22px,4vw,58px);
        gap: clamp(28px,5vw,76px);
        align-items: center;
        box-shadow: none
    }

        #cta .cta-panel::after {
            width: 5px;
            background: var(--red)
        }

    #cta .cta-copy {
        flex: 1 1 560px;
        min-width: 0;
        position: relative;
        z-index: 1
    }

    #cta .cta-eyebrow {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--red);
        margin-bottom: 15px;
        letter-spacing: .04em
    }

        #cta .cta-eyebrow::before {
            background: var(--red);
            width: 22px;
            flex: 0 0 22px
        }

        #cta .cta-eyebrow .en {
            font-size: 11px;
            letter-spacing: .08em
        }

    #cta .cta-copy h2 {
        max-width: 680px;
        margin: 0;
        color: var(--ink);
        font-size: clamp(25px,3.2vw,42px);
        line-height: 1.35
    }

    #cta .cta-copy p {
        max-width: 570px;
        margin-top: 15px;
        color: rgba(76,77,74,.66);
        font-size: 14px;
        line-height: 1.95
    }

    #cta .cta-actions {
        flex: 0 0 min(100%,310px);
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        position: relative;
        z-index: 1
    }

        #cta .cta-actions .btn {
            min-height: 46px;
            padding: 12px 17px;
            font-size: 13px;
            flex: 1 1 140px;
            justify-content: center;
            text-align: center
        }

        #cta .cta-actions .btn-outline-light {
            color: var(--ink);
            border-color: rgba(76,77,74,.35)
        }

            #cta .cta-actions .btn-outline-light:hover {
                color: var(--white);
                background: var(--ink);
                border-color: var(--ink)
            }

@media (max-width:900px) {
    #cta .cta-panel {
        align-items: flex-start;
        gap: 28px
    }

    #cta .cta-copy {
        flex-basis: auto;
        width: 100%
    }

    #cta .cta-actions {
        flex-basis: auto;
        width: 100%;
        max-width: 520px
    }
}

@media (max-width:600px) {
    #cta {
        padding-top: 72px;
        padding-bottom: 72px
    }

        #cta::before {
            left: -8px;
            bottom: -22px;
            font-size: 150px
        }

        #cta .cta-panel {
            padding: 42px 20px;
            gap: 24px
        }

        #cta .cta-copy h2 {
            font-size: clamp(22px,7vw,30px)
        }

        #cta .cta-copy p {
            font-size: 13px;
            margin-top: 12px
        }

        #cta .cta-actions {
            display: grid;
            grid-template-columns: 1fr;
            width: 100%;
            max-width: none;
            gap: 9px
        }

            #cta .cta-actions .btn {
                width: 100%;
                min-height: 45px
            }
}



/* Final desktop menu polish + hero controls separation */
@media (min-width:1041px) {
    header nav > ul {
        gap: clamp(12px,1.45vw,23px)
    }

    header nav .nav-item {
        padding-bottom: 1px
    }

    header nav .mega-menu {
        top: calc(100% + 9px);
        width: min(720px,calc(100vw - 38px));
        grid-template-columns: 205px minmax(0,1fr);
        border-radius: 3px;
        box-shadow: var(--shadow-hover)
    }

    header nav .mega-menu-head {
        min-height: 190px;
        padding: 24px 21px;
        border-left: 3px solid var(--red)
    }

        header nav .mega-menu-head strong {
            font-size: 21px;
            line-height: 1.45
        }

    header nav .mega-menu-body {
        padding: 20px 25px;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 0 28px;
        align-content: start
    }

        header nav .mega-menu-body a {
            min-height: 45px;
            padding: 9px 0;
            border-bottom: 1px solid rgba(76,77,74,.11)
        }

            header nav .mega-menu-body a:nth-last-child(-n+2) {
                border-bottom: 0
            }
    /* Keep menus attached to the correct side of the viewport. */
    header nav .nav-item:nth-child(n+6) .mega-menu {
        right: auto;
        left: -10px
    }

        header nav .nav-item:nth-child(n+6) .mega-menu::before {
            right: auto;
            left: 30px;
            transform: rotate(45deg)
        }
}

@media (min-width:1041px) and (max-width:1180px) {
    header nav > ul {
        gap: 9px
    }

        header nav > ul > li > a, header nav .nav-item > a {
            font-size: 11px !important
        }

    header nav .mega-menu {
        width: min(660px,calc(100vw - 28px));
        grid-template-columns: 180px minmax(0,1fr)
    }

    header nav .mega-menu-body {
        gap: 0 18px;
        padding-inline: 19px
    }
}

/* The slider controls belong to the hero footer, not to the metric row. */
.hero-content {
    padding-bottom: 78px
}

.hero-slider-ui {
    left: var(--unit-x);
    bottom: 18px
}

.scroll-indicator {
    left: auto;
    right: var(--unit-x);
    bottom: var(--unit-x)
}

@media (max-width:900px) {
    .hero-content {
        padding-bottom: 86px
    }

    .hero-slider-ui {
        left: var(--unit-x);
        bottom: 16px
    }

    .scroll-indicator {
        left: auto;
        right: var(--unit-x);
        bottom: 16px
    }
}

@media (max-width:600px) {
    .hero-content {
        padding-bottom: 82px
    }

    .hero-slider-ui {
        left: var(--unit-x);
        bottom: 12px
    }

    .scroll-indicator {
        right: var(--unit-x);
        bottom: 12px
    }
}


/* Final RTL header order + refined mega-menu chevron */
header .wrap {
    direction: rtl
}

header .logo {
    order: 1
}

header nav {
    order: 2;
    margin: 0 auto !important;
    direction: rtl
}

    header nav > ul {
        direction: rtl;
        flex-direction: row
    }

header #headerCta {
    order: 3;
    margin-right: 0;
    margin-left: 0
}

header #mobileMenuBtn {
    order: 3
}

header nav .chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    margin-top: -3px;
    color: currentColor;
    font-size: 0;
    line-height: 1;
    transition: transform .28s ease,color .2s ease
}

    header nav .chevron::before {
        content: "";
        display: block;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform .28s ease
    }

header nav .nav-item:hover .chevron::before, header nav .nav-item:focus-within .chevron::before, header nav .nav-item.menu-open .chevron::before {
    transform: rotate(225deg)
}

header nav .nav-item:hover .chevron, header nav .nav-item:focus-within .chevron, header nav .nav-item.menu-open .chevron {
    color: var(--red)
}

@media (max-width:1040px) {
    header nav {
        margin: 0 !important
    }

    header .wrap {
        direction: rtl
    }
}


/* Supplied OPAL SVG logo in the hero slider */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.hero-slide-caption {
    gap: 0;
    bottom: 25%;
    right: var(--unit-x);
    z-index: 3
}

.hero-logo-plate {
    display: flex;
    align-items: center;
    width: clamp(190px,23vw,300px);
    padding: 10px 14px;
    background: rgba(255,255,255,.94);
    border-right: 3px solid var(--red);
    box-shadow: var(--shadow-subtle)
}

.hero-slide-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 92px;
    object-fit: contain
}

@media (max-width:900px) {
    .hero-slide-caption {
        bottom: 26%
    }

    .hero-logo-plate {
        width: clamp(180px,31vw,250px);
        padding: 8px 11px
    }
}

@media (max-width:600px) {
    .hero-slide-caption {
        bottom: 27%;
        right: var(--unit-x)
    }

    .hero-logo-plate {
        width: 190px;
        padding: 7px 9px;
        border-right-width: 2px
    }

    .hero-slide-logo {
        max-height: 64px
    }
}


/* Supplied OPAL SVG replaces the previous geometric brand mark */
.opal-brand-logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0
}

.opal-logo-wrap {
    display: block;
    width: 242px;
    height: 74px;
    padding: 9px 12px;
    background: rgba(255,255,255,.96);
    border-right: 3px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow-subtle)
}

.opal-logo-svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain
}

.hero-slide-caption {
    gap: 12px;
    bottom: 28%
}

@media (max-width:600px) {
    .opal-logo-wrap {
        width: 190px;
        height: 58px;
        padding: 6px 9px;
        border-right-width: 2px
    }

    .hero-slide-caption {
        gap: 10px;
        bottom: 28%
    }
}


/* Header logo states: transparent/white over hero, original colors after scroll */
.opal-logo-wrap {
    background: transparent;
    border: 0;
    box-shadow: none
}

header.on-dark:not(.scrolled) .opal-logo-svg {
    filter: brightness(0) invert(1)
}

header.scrolled .opal-logo-svg, header:not(.on-dark) .opal-logo-svg {
    filter: none
}

footer .opal-logo-wrap {
    box-shadow: var(--shadow-subtle)
}

@media (max-width:600px) {
    footer .opal-logo-wrap {
        border-right-width: 2px
    }
}




/* White-on-hero logo variant: keep the dark inner tile, turn the remaining marks white */
header.on-dark:not(.scrolled) .opal-logo-svg {
    filter: none
}

    header.on-dark:not(.scrolled) .opal-logo-svg .s0 {
        fill: var(--charcoal)
    }

    header.on-dark:not(.scrolled) .opal-logo-svg .s1,
    header.on-dark:not(.scrolled) .opal-logo-svg .s2,
    header.on-dark:not(.scrolled) .opal-logo-svg .s3,
    header.on-dark:not(.scrolled) .opal-logo-svg .s4,
    header.on-dark:not(.scrolled) .opal-logo-svg .s5,
    header.on-dark:not(.scrolled) .opal-logo-svg .s6 {
        fill: #fff
    }

    header.on-dark:not(.scrolled) .opal-logo-svg .s6 {
        stroke: #fff
    }


/* Two logo states: exact white-on-image mark, original mark on white header */
.opal-logo-light {
    display: none
}

.opal-logo-color {
    display: block
}

header.on-dark:not(.scrolled) .opal-logo-light {
    display: block
}

header.on-dark:not(.scrolled) .opal-logo-color {
    display: none
}

header.scrolled .opal-logo-light, header:not(.on-dark) .opal-logo-light {
    display: none
}

header.scrolled .opal-logo-color, header:not(.on-dark) .opal-logo-color {
    display: block;
    filter: none
}


/* Supplied replacement SVG is used only over the image hero */
.opal-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain
}

header.on-dark:not(.scrolled) .opal-logo-image.opal-logo-light {
    display: block;
    filter: none
}

header.scrolled .opal-logo-image.opal-logo-light, header:not(.on-dark) .opal-logo-image.opal-logo-light {
    display: none
}


/* One inline SVG for every logo location/state — no external logo file required */
.opal-logo-inline {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain
}

.opal-logo-wrap {
    background: transparent;
    border: 0;
    box-shadow: none
}

header.on-dark:not(.scrolled) .opal-logo-inline {
    filter: none
}

header.scrolled .opal-logo-inline, header:not(.on-dark) .opal-logo-inline {
    filter: grayscale(1) brightness(.52);
    opacity: .92
}

footer .opal-logo-inline {
    filter: none;
    opacity: 1
}


/* One inline SVG with two internal states: white over hero / brand colors after scroll */
.opal-logo-inline .logo-light {
    display: block
}

.opal-logo-inline .logo-color {
    display: none
}

header.on-dark:not(.scrolled) .opal-logo-inline .logo-light {
    display: block
}

header.on-dark:not(.scrolled) .opal-logo-inline .logo-color {
    display: none
}

header.scrolled .opal-logo-inline .logo-light, header:not(.on-dark) .opal-logo-inline .logo-light {
    display: none
}

header.scrolled .opal-logo-inline .logo-color, header:not(.on-dark) .opal-logo-inline .logo-color {
    display: block
}

header.on-dark:not(.scrolled) .opal-logo-inline, header.scrolled .opal-logo-inline, header:not(.on-dark) .opal-logo-inline, footer .opal-logo-inline {
    filter: none;
    opacity: 1
}


/* =========================================================
   OPAL BRAND BOOK / GRID GUIDE ALIGNMENT
   Palette: #FFFFFF #CDCDCD #C1B7AF #4C4D4A #8C0A0A
   ========================================================= */
:root {
    --ink: #4C4D4A;
    --red-soft: #8C0A0A; /* خطوط ضخیم صنعتی - بند 5a */
    --border-industrial: 3px;
    --border-heavy: 4px;
    --border-ultra: 6px;
    /* سایه کارت‌ها - بند 9 */
    --shadow-card: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    /* رنگ overlay پترن گچ - بند 8 (مشتق از پالت رسمی، نه رنگ جدید) */
    --overlay-plaster: color-mix(in srgb, var(--kraft) 60%, var(--cool-gray));
    --overlay-plaster-light: color-mix(in srgb, var(--kraft) 30%, var(--white));
    /* رنگ فریم قرمز تیره - بند 26 (نسخه‌ی تیره‌تر همان قرمز برند) */
    --frame-red-dark: var(--red-soft);
}

body {
    color: var(--charcoal)
}

p {
    color: rgba(76,77,74,.78)
}
/* Keep the component language rectangular and restrained. */
.btn, .panel, .value-card, .prod-card, .accordion, .stat-strip, .cta-panel, .form-field input, .form-field textarea, .form-field select, .process-strip {
    border-radius: 2px
}

header nav .mega-menu {
    box-shadow: var(--shadow-hover)
}

.topbar-languages a::before {
    border-radius: 0;
    transform: rotate(45deg)
}
/* A stable four-column metric grid; two columns below tablet width. */
.hero-meta {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: var(--unit-x)
}
/* The CTA follows the prescribed 7 / 5 panel split. */
#cta .cta-panel {
    display: grid !important;
    grid-template-columns: repeat(12,minmax(0,1fr));
    gap: var(--unit-x);
    align-items: center
}

#cta .cta-copy {
    grid-column: span 7;
    flex: none;
    width: auto
}

#cta .cta-actions {
    grid-column: span 5;
    flex: none;
    width: auto;
    max-width: none
}

@media (max-width:900px) {
    .hero-meta {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 16px 20px
    }

    #cta .cta-copy, #cta .cta-actions {
        grid-column: 1/-1
    }
}

@media (max-width:600px) {
    .hero-meta {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px 16px
    }
}


/* Brand font family: Vazir for Persian, Gilroy for Latin */
body {
    font-family: 'Vazir','Vazirmatn','Gilroy','Inter',sans-serif
}

.en {
    font-family: 'Gilroy','Inter','Vazir','Vazirmatn',sans-serif
}
/* Keep the requested OPAL watermark as a restrained monogram-like cue. */
#cta::before {
    color: rgba(76,77,74,.07)
}
/* FIX: Desktop mega menu hover gap */
@media (min-width:1041px) {
    header nav .nav-item.has-mega::after {
        content: "";
        position: absolute;
        right: -28px;
        left: -28px;
        top: 100%;
        height: 20px;
        z-index: 149;
        pointer-events: auto;
    }

    header nav .nav-item.has-mega > .mega-menu {
        top: calc(100% + 6px) !important;
        z-index: 150;
    }
}

/* ===== مقاومسازی برای محیطهای بدون CDN (پیشنمایش) ===== */
/* اگر ویدیو/تصویر هدر لود نشد، پسزمینهی آماده نمایش بده */
.hero-slider {
    background: var(--charcoal);
}

.hero-slide.is-active .media {
    background-image: url("assets/step1.png");
    background-size: cover;
    background-position: center;
}


<style id="opal-pcard-media" >
/* =========================================================
   PRODUCT CARDS — photographic backgrounds
   ========================================================= */
.prod-card.prod-card-media {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,255,255,.25)
}

.prod-card.prod-card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--pcard-img) center/cover no-repeat;
    z-index: 0;
    transition: transform .9s cubic-bezier(.16,.6,.25,1)
}

.prod-card.prod-card-media:hover::before {
    transform: scale(1.07)
}

.prod-card.prod-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,rgba(76,77,74,.30) 0%,rgba(76,77,74,.52) 45%,rgba(42,43,41,.92) 100%)
}

.prod-card.prod-card-media > * {
    position: relative;
    z-index: 2
}

.prod-card-media .tag {
    color: #fff;
    opacity: .85;
    text-shadow: 0 1px 3px rgba(0,0,0,.4)
}

.prod-card-media h3 {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.35)
}

.prod-card-media p {
    color: rgba(255,255,255,.85) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.35)
}

.prod-card-media .foot span {
    color: rgba(255,255,255,.82);
    text-shadow: 0 1px 2px rgba(0,0,0,.35)
}

.prod-card-media .arrow {
    border-color: rgba(255,255,255,.55);
    color: #fff;
    background: rgba(255,255,255,.08)
}

.prod-card.prod-card-media:hover {
    border-color: var(--red)
}

.prod-card-media:hover .arrow {
    background: var(--red);
    border-color: var(--red);
    color: #fff
}

@media (prefers-reduced-motion:reduce) {
    .prod-card.prod-card-media::before {
        transition: none
    }
}




/* ============================================================
   ماژول اسکرولی «خدمات» — ۰۴ — (استک ۳ گام)
   هماهنگ با دیزاین‌سیستم قالب: قرمز #8C0A0A، وزیرمتن، radius 2px
   ============================================================ */
/* (مقدمه‌ی اختصاصی حذف شد — سربرگ با کلاس‌های Standard قالب است) */
/* پشته‌ی گام‌ها */
.stk {
    position: relative;
    height: 276vh;
    height: 276svh;
    background: var(--white);
}

.stk-card {
    position: sticky;
    top: 12vh;
    height: 88vh;
    height: 88svh;
    display: grid;
    grid-template-columns: 1.05fr 1fr; /* RTL: راست = تصویر */
    overflow: hidden;
    background: var(--white);
    will-change: transform;
    border: 1px solid rgba(76,77,74,.10);
}

    .stk-card + .stk-card {
        box-shadow: var(--shadow-subtle);
    }

/* تصویر */
.stk-media {
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
}

    .stk-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.stk-card:nth-child(odd) .stk-media img {
    filter: grayscale(1) contrast(1.06);
}

.stk-card:nth-child(even) .stk-media img {
    filter: saturate(1.15) contrast(1.02);
}

.stk-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to left, rgba(76,77,74,.40), rgba(76,77,74,.08) 45%, rgba(76,77,74,.16)), linear-gradient(to top, rgba(76,77,74,.58), transparent 40%);
}

.stk-media-caption {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 2;
    color: #fff;
    background: rgba(76,77,74,.72);
    border: 1px solid rgba(255,255,255,.18);
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 13.5px;
}

    .stk-media-caption b {
        color: var(--red);
        font-size: 16px;
        margin: 0 4px;
    }

/* متن */
.stk-content {
    position: relative;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 clamp(28px,6vw,110px);
}

.stk-card:nth-child(even) .stk-content {
    background: var(--surface-charcoal-tint);
}

.stk-big {
    position: absolute;
    top: clamp(30px,6vh,90px);
    left: clamp(16px,3vw,48px);
    font-family: 'Gilroy','Inter',sans-serif;
    font-size: clamp(7rem,15vw,13rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(140,10,10,.06); /* واترمارک خیلی کمرنگ مثل مرجع */
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.stk-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.stk-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: .3px;
}

    .stk-tag::before {
        content: "";
        width: 24px;
        height: 2px;
        background: var(--red);
        border-radius: 2px;
    }

.stk-title {
    font-size: clamp(1.8rem,4vw,3rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 16px 0 14px;
}

.stk-desc {
    color: var(--ink);
    opacity: .78;
    font-size: clamp(.98rem,1.25vw,1.12rem);
}

.stk-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    background: var(--red);
    color: #fff;
    padding: 13px 24px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 15px;
    transition: background .25s ease, box-shadow .25s ease;
    box-shadow: var(--shadow-subtle);
}

    .stk-btn:hover {
        background: var(--red-soft);
        box-shadow: var(--shadow-hover);
    }

    .stk-btn .s-arrow {
        width: 26px;
        height: 26px;
        border-radius: var(--radius);
        background: rgba(255,255,255,.16);
        display: grid;
        place-items: center;
        font-size: 14px;
    }

/* نوار پیشرفت */

/* تبلت: دو ستون اما جمع‌وجورتر */
@media (min-width:901px) and (max-width:1180px) {
    .stk-content {
        padding: 0 clamp(22px,4vw,64px);
    }

    .stk-title {
        font-size: clamp(1.55rem,3.2vw,2.4rem);
    }

    .stk-big {
        font-size: clamp(5rem,10vw,8rem);
        top: 5vh;
        left: clamp(12px,3vw,36px);
    }

    .stk-desc {
        font-size: .98rem;
    }
}

@media (max-width:900px) {
    /* موبایل/تبلت: عکس High، پنل متن سفید زیر آن — استک vertical */
    .stk-card {
        grid-template-columns: 1fr;
        grid-template-rows: 42vh auto;
        top: 12vh;
        height: 88vh;
        height: 88svh;
        will-change: auto;
    }

        .stk-card + .stk-card {
            box-shadow: var(--shadow-subtle);
        }

    .stk-media {
        position: relative;
        min-height: 0;
    }

    .stk-content {
        align-items: flex-start;
        padding: 28px clamp(24px,6vw,44px) 32px;
    }

    .stk-inner {
        max-width: 640px;
    }

    .stk-title {
        font-size: clamp(1.3rem,3.6vw,1.9rem);
        line-height: 1.5;
        margin: 10px 0 8px;
    }

    .stk-desc {
        font-size: clamp(.85rem,2.2vw,1rem);
        line-height: 1.85;
    }

    .stk-tag {
        font-size: 13px;
    }

    .stk-btn {
        margin-top: 20px;
        padding: 12px 22px;
        font-size: 14px;
    }

    .stk-big {
        font-size: clamp(4rem,13vw,6.5rem);
        top: calc(var(--topbar-height) + 12px);
        left: clamp(12px,4vw,30px);
    }

    .stk-media-caption {
        bottom: 18px;
        right: 14px;
        top: auto;
        left: auto;
        font-size: 11.5px;
        padding: 6px 12px;
    }
}
/* صفحه‌های کوتاه (لنداسکیپ موبایل/تبلت) */
@media (max-height:600px) and (max-width:900px) {
    /* لنداسکیپ: تصویر High (کوچک‌تر) + متن زیر */
    .stk-card {
        grid-template-rows: 44vh auto;
        top: 12vh;
        height: 88vh;
        height: 88svh;
    }

    .stk-content {
        padding: 18px 24px 20px;
    }

    .stk-title {
        font-size: 1.05rem;
        margin: 6px 0 4px;
        line-height: 1.4;
    }

    .stk-desc {
        font-size: .8rem;
        line-height: 1.6;
    }

    .stk-btn {
        margin-top: 10px;
        padding: 9px 16px;
        font-size: 12px;
    }

    .stk-tag {
        font-size: 11px;
    }

    .stk-big {
        font-size: clamp(2.6rem,7vw,3.4rem);
        top: calc(var(--topbar-height) + 6px);
        left: 14px;
    }

    .stk-media-caption {
        font-size: 10.5px;
        padding: 5px 10px;
    }
}
/* گوشی‌های خیلی کوچک */
@media (max-width:420px) {
    .stk-card {
        grid-template-rows: 46vh auto;
    }

    .stk-content {
        padding: 22px 20px 26px;
    }

    .stk-title {
        font-size: clamp(1.1rem,5vw,1.3rem);
    }

    .stk-desc {
        font-size: .84rem;
    }

    .stk-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stk-card {
        transform: none !important;
    }
}


/* ===== ۰۵ — فرایند تولید (حس اتمسفر: صنعتی، عمق، اعداد بزرگ) ===== */
.proc-section {
    background-color: var(--cool-gray);
}

.proc-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1px;
    background: rgba(76,77,74,.3);
    border: 2px solid rgba(76,77,74,.3);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.proc-card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    transition: box-shadow .3s ease;
}

    .proc-card:hover {
        box-shadow: inset 0 3px 0 var(--red);
        z-index: 2;
    }

.proc-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--charcoal);
    border-bottom: 3px solid var(--red); /* خط ضخیم صنعتی */
}

    .proc-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(1.25) contrast(1.08) brightness(.96); /* رنگ بیشتر — حس اتمسفر */
        transition: transform .5s ease, filter .5s ease;
    }

.proc-card:hover .proc-thumb img {
    transform: scale(1.06);
    filter: saturate(1.35) contrast(1.1);
}
/* عدد بزرگ اغراق‌شده روی تصویر */
.proc-ghost {
    position: absolute;
    bottom: -14px;
    left: 10px;
    font-family: 'Gilroy','Inter',sans-serif;
    font-size: clamp(56px,5vw,86px);
    font-weight: 800;
    line-height: 1;
    color: var(--kraft);
    text-shadow: 0 2px 18px rgba(76,77,74,.55);
    letter-spacing: -.03em;
    z-index: 1;
}

.proc-body {
    padding: 20px 18px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.proc-tag {
    font-family: 'Gilroy','Inter',sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}

.proc-body h4 {
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.4;
}

.proc-body p {
    font-size: 13px;
    color: rgba(76,77,74,.72);
    margin-top: 8px;
    line-height: 1.85;
}

@media (min-width:1401px) {
    .proc-grid {
        grid-template-columns: repeat(5,1fr);
    }
}

@media (max-width:1400px) {
    .proc-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

@media (max-width:1100px) {
    .proc-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .proc-body {
        padding: 18px 16px 22px;
    }

        .proc-body h4 {
            font-size: 15px;
        }

    .proc-ghost {
        font-size: clamp(44px,5vw,60px);
    }
}

.proc-swipe {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: rgba(76,77,74,.6);
    font-size: 12.5px;
}

    .proc-swipe::before {
        content: "";
        width: 22px;
        height: 1px;
        background: rgba(76,77,74,.4);
    }

@media (max-width:700px) {
    .proc-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px);
        mask-image: linear-gradient(90deg, transparent 0, #000 26px);
        padding-bottom: 4px;
    }

        .proc-grid::-webkit-scrollbar {
            display: none;
        }

    .proc-card {
        min-width: 76vw;
        max-width: 320px;
        flex: none;
        scroll-snap-align: start;
    }

    .proc-thumb {
        aspect-ratio: 16/10;
    }

    .proc-swipe {
        display: flex;
    }
}


/* ===== ۰۴ — مشخصات فنی (مطابق برندبوک + موشن) ===== */


/* نوار آمار */
.feat-stats {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1px;
    background: rgba(76,77,74,.28);
    border: 2px solid rgba(76,77,74,.28);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: var(--unit-x);
}

.feat-stat {
    background: var(--white);
    padding: 30px 18px 26px;
    text-align: center;
}

    .feat-stat .f-val {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 4px;
    }

        .feat-stat .f-val .count {
            font-family: 'Gilroy','Inter',sans-serif;
            font-size: clamp(30px,3vw,44px);
            font-weight: 800;
            color: var(--ink);
            line-height: 1;
        }

        .feat-stat .f-val i {
            font-style: normal;
            font-family: 'Gilroy',sans-serif;
            font-size: 26px;
            font-weight: 800;
            color: var(--red);
        }

        .feat-stat .f-val small {
            font-family: 'Gilroy','Inter',sans-serif;
            font-size: 13px;
            font-weight: 700;
            color: var(--charcoal);
            opacity: .75;
        }

    .feat-stat .f-label {
        display: block;
        margin-top: 10px;
        font-size: 12.5px;
        color: rgba(76,77,74,.66);
    }

/* ۳ کارت */
.feat-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--unit-x);
}

.feat-card {
    background: var(--white);
    border: 2px solid rgba(76,77,74,.26);
    border-radius: var(--radius);
    padding: 30px 26px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color .35s ease;
}

    .feat-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 3px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform .45s cubic-bezier(.22,1,.36,1);
    }

    .feat-card:hover {
        border-color: rgba(140,10,10,.35);
    }

        .feat-card:hover::before {
            transform: scaleX(1);
        }

    .feat-card .f-en {
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: 11px;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--red);
        font-weight: 700;
    }

    .feat-card h3 {
        font-size: 21px;
        font-weight: 800;
        margin-top: 12px;
    }

    .feat-card .f-big {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin: 18px 0 12px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(76,77,74,.12);
    }

        .feat-card .f-big b {
            font-family: 'Gilroy','Inter',sans-serif;
            font-size: clamp(38px,4vw,52px);
            font-weight: 800;
            color: var(--ink);
            line-height: 1;
        }

        .feat-card .f-big .count {
            font-family: 'Gilroy','Inter',sans-serif;
            font-size: clamp(38px,4vw,52px);
            font-weight: 800;
            color: var(--ink);
            line-height: 1;
        }

        .feat-card .f-big small {
            font-family: 'Gilroy','Inter',sans-serif;
            font-size: 14px;
            font-weight: 700;
            color: var(--charcoal);
            opacity: .75;
        }

    .feat-card p {
        font-size: 13.5px;
        color: rgba(76,77,74,.75);
        line-height: 1.95;
    }

    .feat-card .f-a1 {
        color: var(--red);
        font-family: 'Gilroy',sans-serif;
    }

/* موشن ورود */
.feat-motion {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}

    .feat-motion.in {
        opacity: 1;
        transform: none;
    }

    .feat-motion.d1 {
        transition-delay: .1s;
    }

    .feat-motion.d2 {
        transition-delay: .2s;
    }

    .feat-motion.d3 {
        transition-delay: .3s;
    }

    .feat-motion.d4 {
        transition-delay: .4s;
    }

    .feat-motion.d5 {
        transition-delay: .5s;
    }

    .feat-motion.d6 {
        transition-delay: .6s;
    }

@media (max-width:900px) {
    .feat-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .feat-cards {
        grid-template-columns: 1fr;
    }

    .feat-card {
        padding: 26px 22px 28px;
    }
}

@media (max-width:600px) {
    .feat-stats {
        grid-template-columns: 1fr 1fr;
    }

    .feat-stat {
        padding: 22px 12px 20px;
    }

        .feat-stat .f-val .count {
            font-size: 30px;
        }
}

/* ===== خدمات: کاهش فاصله سربرگ + زیرعنوان ===== */
#stk-intro {
    padding: 80px 0;
}

    #stk-intro .section-sub {
        max-width: 640px;
        margin-top: 14px;
        font-size: clamp(.95rem,1.3vw,1.05rem);
        line-height: 2;
        color: rgba(76,77,74,.72);
    }


/* ===== دکمه جستجو (مینیمال) ===== */
.header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-inline-start: 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    transition: border-color .25s ease, background .25s ease, color .25s ease;
    flex: none;
}
/* ترتیب درست در هدر RTL: لوگو(1) → منو(2) → جستجو(3) → CTA(3) → همبرگر(3) */
header .header-search {
    order: 3;
}

header.on-dark:not(.scrolled) .header-search {
    color: #fff;
}

.header-search:hover {
    border-color: rgba(140,10,10,.35);
    background: rgba(140,10,10,.06);
    color: var(--red);
}

.header-search svg {
    width: 19px;
    height: 19px;
    display: block;
}

/* باکس جستجو */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(76,77,74,.82);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: min(18vh,180px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

    .search-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.search-box {
    width: min(620px, 90vw);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 8px 10px 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(-12px);
    transition: transform .28s cubic-bezier(.22,1,.36,1);
}

.search-overlay.open .search-box {
    transform: none;
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: var(--charcoal);
    flex: none;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 12px 0;
}

    .search-box input::placeholder {
        color: rgba(76,77,74,.45);
    }

.search-box .close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--charcoal);
    font-size: 18px;
    line-height: 1;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    flex: none;
    transition: color .2s ease, background .2s ease;
}

    .search-box .close:hover {
        color: var(--red);
        background: rgba(140,10,10,.06);
    }

@media (max-width:1040px) {
    .header-search {
        width: 36px;
        height: 36px;
    }
}


/* ===== جستجو در Mobile menu (اولین آیتم) ===== */
.mobile-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 4px;
    padding: 12px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    color: rgba(255,255,255,.85);
}

    .mobile-search svg {
        width: 18px;
        height: 18px;
        flex: none;
        color: var(--kraft);
    }

    .mobile-search input {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        outline: none;
        color: #fff;
        font-family: inherit;
        font-size: 15px;
    }

        .mobile-search input::placeholder {
            color: rgba(255,255,255,.45);
        }


/* در موبایل/تبلت، دکمه جستجوی هدر مخفی و جستجو داخل منو است */
@media (max-width:1040px) {
    #searchBtn {
        display: none !important;
    }
}



/* بک‌گراند تمیز بخش‌ها (بدون پترن) */
#stk-intro, #process {
    background-color: #FFFFFF;
}

/* تکسچر گچ - طبق سند اتمسفر: «دیده می‌شود اما بسیار محو است» — یک لایه‌ی ملایم، نه پررنگ */
#products, #faq {
    background-color: #FFFFFF;
    background-image: url('assets/white-plaster-light.png');
    background-size: 480px 480px;
    background-repeat: repeat;
    background-blend-mode: multiply;
}

#value {
    background-color: var(--cool-gray);
}

#intro {
    background-color: var(--surface-kraft-tint);
}



/* =========================================================
   سيستم موشن و ترنزيشن بخش‌ها — ورود تدريجي با IntersectionObserver
   (مستقل از CDN؛ در پيش‌نمايش هم کار مي‌کند)
   ========================================================= */
html.js .sec-motion {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--d,0s);
    will-change: opacity,transform;
}

html.js .sec-motion[data-dir="right"] {
    transform: translateX(48px);
}

html.js .sec-motion[data-dir="left"] {
    transform: translateX(-48px);
}

html.js .sec-motion[data-dir="scale"] {
    transform: scale(.94);
}

html.js .sec-motion.m-in {
    opacity: 1;
    transform: none;
}

html.js span.num.sec-motion {
    display: inline-block;
}

/* تيتر بخش‌ها: ماسک بازشونده + High آمدن */
html.js .sec-title {
    opacity: 0;
    transform: translateY(30px);
    clip-path: inset(0 0 100% 0);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1), clip-path .95s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--d,0s);
}

    html.js .sec-title.m-in {
        opacity: 1;
        transform: none;
        clip-path: inset(0 0 0 0);
    }

/* آيلند CTA: خط قرمز با کشيده‌شدن */
html.js .sec-eyebrow {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--d,0s);
}

    html.js .sec-eyebrow.m-in {
        opacity: 1;
        transform: none;
    }

    html.js .sec-eyebrow::before {
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform .7s cubic-bezier(.22,1,.36,1) .18s;
    }

    html.js .sec-eyebrow.m-in::before {
        transform: scaleX(1);
    }

/* گروه‌های استگر: آيتم‌ها به ترتيب وارد می‌شوند */
html.js .stagger > *,
html.js .stagger-x > * {
    opacity: 0;
    transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1), border-color .35s ease, background .3s ease, color .25s ease, box-shadow .3s ease;
}

html.js .stagger > * {
    transform: translateY(28px);
}

html.js .stagger-x > * {
    transform: translateX(22px);
}

    html.js .stagger > *.in, html.js .stagger-x > *.in {
        opacity: 1;
        transform: none;
    }

/* ===== FIX: جلوگیری از بهم‌ریختن چیدمان در موبایل =====
   انیمیشن‌های ورودی (translateX) باعث سرریز افقی و اسکرول جانبی می‌شدند.
   در موبایل جهت حرکت عمودی و کوتاه‌تر می‌شود و سرریز کلیپ می‌شود. */
section, header, footer, .hero, .mobile-nav {
    overflow-x: clip;
}

@media (max-width:900px) {
    html.js .sec-motion[data-dir="right"],
    html.js .sec-motion[data-dir="left"] {
        transform: translateY(24px);
    }

    html.js .stagger-x > * {
        transform: translateY(18px);
    }
}

/* نوار پيشرفت کل صفحه (Highی تاپ‌بار) */
.page-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    z-index: 400;
    pointer-events: none;
    background: rgba(140,10,10,.12);
}

    .page-progress i {
        position: absolute;
        inset: 0;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: right center;
    }

/* نوار پيشرفت ماژول استکی ۰۴ */
.stk-progress {
    position: sticky;
    top: calc(12vh - 3px);
    top: calc(12svh - 3px);
    height: 3px;
    background: rgba(76,77,74,.16);
    z-index: 6;
    margin-bottom: -3px;
}

    .stk-progress i {
        position: absolute;
        inset: 0;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: right center;
    }

/* پارالاکس */
[data-parallax] {
    will-change: transform;
}

#cta::before {
    transform: translateY(var(--px,0px));
}

@media (prefers-reduced-motion:reduce) {
    html.js .sec-motion, html.js .sec-title, html.js .sec-eyebrow, html.js .reveal-up,
    html.js .stagger > *, html.js .stagger-x > * {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }

    .page-progress, .stk-progress {
        display: none;
    }
}

/* ===== بخش ارزش پیشنهادی — آمار و موشن شمارنده ===== */
#value {
    overflow: hidden;
}

    #value .wrap {
        position: relative;
        z-index: 1;
    }

    #value .value-ghost {
        position: absolute;
        top: 70px;
        left: -26px;
        z-index: 0;
        font-family: 'Gilroy','Inter',sans-serif;
        font-size: clamp(120px,16vw,210px);
        font-weight: 800;
        line-height: 1;
        color: rgba(140,10,10,.035);
        user-select: none;
        pointer-events: none;
    }

    #value img.value-ghost {
        height: clamp(120px,16vw,210px);
        width: auto;
    }

    #value .section-sub {
        max-width: 640px;
        margin-top: 14px;
        font-size: clamp(.95rem,1.3vw,1.05rem);
        line-height: 2;
        color: rgba(76,77,74,.72);
    }

.value-card-top .v-progress {
    flex: 1 1 auto;
    width: auto;
    max-width: 120px;
}

.value-stat .count, .stat-strip .stat-cell b {
    font-variant-numeric: tabular-nums;
}

@media (max-width:600px) {
    #value .value-ghost {
        top: 40px;
        left: -10px;
        font-size: 110px;
    }
}



/* =========================================================
   پولیش نهایی — فونت‌های ضخیم‌تر + تکسچر گچ روی بخش‌های سفید
   + واکنش‌گرایی بهتر فرایند (موبایل / تبلت)
   ========================================================= */
/* فونت‌های ضخیم‌تر و سنگین‌تر */
body {
    font-weight: 500;
}

h1, h2, h3 {
    font-weight: 800;
}

p {
    font-weight: 500;
}

.eyebrow {
    font-weight: 800;
}

.btn {
    font-weight: 800;
}

.acc-header {
    font-weight: 700;
}

.kicker-list li {
    font-weight: 700;
}

.feat-row h4 {
    font-weight: 700;
}

.stk-title {
    font-weight: 900;
}

header nav > ul > li:not(.nav-item) > a, header nav .nav-item > a {
    font-weight: 600;
}

.mobile-nav a {
    font-weight: 800;
}

/* تکسچر گچ — بخش‌های سفید (Products، خدمات، فرایند، سوالات) */
#stk-intro, #process {
    background-color: #FFFFFF;
}

/* فرایند — تبلت کوچک (۷۰۱ تا ۹۰۰): دو ستون + کارت آخر تمام‌عرض افقی */
@media (max-width:900px) and (min-width:701px) {
    .proc-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .proc-card:last-child {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        align-items: stretch;
    }

        .proc-card:last-child .proc-thumb {
            aspect-ratio: auto;
            height: 100%;
            min-height: 210px;
        }

        .proc-card:last-child .proc-body {
            justify-content: center;
            padding: 26px 24px;
        }

    .proc-ghost {
        font-size: clamp(40px,5vw,58px);
    }
}
/* فرایند — موبایل: کاروسل لمسی بهتر */
@media (max-width:700px) {
    .proc-card {
        min-width: 74vw;
        max-width: 340px;
        cursor: grab;
    }

    .proc-grid {
        overscroll-behavior-x: contain;
    }
}

/* فرایند — دسکتاپ: گرید نامنظم اما کنترل‌شده (سند گرید بند ۵ و ۱۰)
   کارت اول بزرگ‌تر است تا ردیف یکدست و تکراری نباشد */
@media (min-width:1401px) {
    .proc-grid {
        grid-template-columns: repeat(6,1fr);
    }

    .proc-card:first-child {
        grid-column: span 2;
    }
}

@media (min-width:1101px) and (max-width:1400px) {
    .proc-grid {
        grid-template-columns: repeat(4,1fr);
    }

    .proc-card:first-child {
        grid-column: span 2;
    }

    .proc-card:nth-child(4), .proc-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (min-width:901px) and (max-width:1100px) {
    .proc-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .proc-card:first-child {
        grid-column: span 2;
    }
}

.proc-card:first-child .proc-ghost {
    font-size: clamp(72px,6.5vw,108px);
}

/* ریتم: ماژول استکی پشت‌زمینه‌ی گرم ملایم بگیرد تا سه سکشن سفید پشت‌سرهم نمانند */
.stk {
    background-color: var(--surface-kraft-tint);
}

/* ALL CAPS برای لیبل‌های لاتین */
.corner-tag {
    text-transform: uppercase;
}



.hero-simple {
    min-height: 50vh;
    background: var(--charcoal);
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding-top: 140px;
    padding-bottom: var(--unit-x);
    position: relative;
    overflow: hidden
}

@media (max-width:900px) {
    .hero-simple {
        min-height: 40vh
    }
}

@media (max-width:600px) {
    .hero-simple {
        padding-top: 130px
    }
}

html.js .reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--d,0s)
}

    html.js .reveal-up.m-in {
        opacity: 1;
        transform: none
    }

@media (prefers-reduced-motion:reduce) {
    html.js .reveal-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important
    }
}

header nav > ul > li.is-current > a {
    color: var(--red) !important
}

    header nav > ul > li.is-current > a::after {
        width: 100% !important;
        background: var(--red)
    }

header.on-dark nav > ul > li.is-current > a {
    color: #fff !important
}

/* responsive data table: scrolls inside its own frame, never breaks the page */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 2px solid rgba(76,77,74,.3);
    border-radius: var(--radius)
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--white);
    direction: rtl;
    min-width: 640px
}

    .data-table thead th {
        background: var(--charcoal);
        color: #fff;
        text-align: right;
        padding: 14px 16px;
        font-weight: 700;
        font-size: 13px;
        white-space: nowrap
    }

    .data-table tbody td {
        padding: 13px 16px;
        border-bottom: 1px solid rgba(76,77,74,.14);
        text-align: right
    }

    .data-table tbody tr:last-child td {
        border-bottom: 0
    }

    .data-table tbody tr:nth-child(even) td {
        background: var(--surface-charcoal-tint)
    }

    .data-table tbody tr:hover td {
        background: rgba(205,205,205,.3)
    }

    .data-table td.en, .data-table th.en {
        font-family: 'Gilroy','Inter',sans-serif
    }

.table-hint {
    font-size: 12px;
    color: rgba(76,77,74,.62);
    margin-top: 10px;
    display: none
}

@media (max-width:820px) {
    .table-hint {
        display: block
    }
}

@media (max-width:600px) {
    .data-table thead th, .data-table tbody td {
        padding: 10px 12px;
        font-size: 12.5px
    }
}

a.prod-card {
    color: inherit;
    text-decoration: none
}

    a.prod-card:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 3px
    }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0
}



/* =========================================================
   English (LTR) layout overrides for the OPAL products page
   ========================================================= */
body {
    font-family: 'Gilroy','Inter','Vazirmatn',sans-serif
}

.topbar {
    direction: ltr
}

.topbar-languages {
    margin-left: auto !important;
    margin-right: 0
}

header .wrap {
    direction: ltr
}

header nav {
    margin: 0 auto !important;
    direction: ltr
}

    header nav > ul {
        direction: ltr;
        flex-direction: row
    }

header #headerCta {
    margin-left: 0;
    margin-right: 0
}

header nav > ul > li:not(.nav-item) > a::after, header nav .nav-item > a::after {
    left: 0;
    right: auto
}

header nav .chevron {
    margin-left: 2px;
    margin-right: 0
}

    header nav .chevron::before {
        border-right: none;
        border-left: 1.5px solid currentColor;
        transform: rotate(-45deg)
    }

header nav .nav-item:hover .chevron::before, header nav .nav-item:focus-within .chevron::before, header nav .nav-item.menu-open .chevron::before {
    transform: rotate(-225deg)
}

header nav .mega-menu {
    left: -20px;
    right: auto;
    direction: ltr
}

    header nav .mega-menu::before {
        left: 30px;
        right: auto;
        border-right: none;
        border-left: 1px solid rgba(76,77,74,.16);
        transform: rotate(45deg)
    }

header nav .mega-menu-head::after {
    right: -41px;
    left: auto;
    background-position: right bottom
}

header nav .mega-menu-body a::before {
    content: "↘";
    transform: translateX(-4px)
}

header nav .mega-menu-body a:hover {
    transform: translateX(3px)
}

header nav .mega-menu-left {
    left: auto;
    right: -18px
}

.mega-menu-left::before {
    left: auto !important;
    right: 30px;
    transform: rotate(-45deg) !important
}

.opal-logo-wrap {
/*    border-left: 3px solid var(--red);
*/    border-right: 0
}

@media (max-width:1040px) {
    header nav {
        margin: 0 !important
    }

    header .wrap {
        direction: ltr
    }
}

.mobile-nav-inner {
    direction: ltr
}

.mobile-group-row > a::before {
    margin-right: 10px;
    margin-left: 0
}

.mobile-group-toggle span {
    right: 8px;
    left: auto
}

    .mobile-group-toggle span:last-child {
        transform: translateY(-50%) rotate(-90deg)
    }

.mobile-group.is-open .mobile-group-toggle span:last-child {
    transform: translateY(-50%) rotate(0)
}

.mobile-submenu a::before {
    content: "↘"
}

.search-box {
    padding: 8px 16px 8px 10px
}

.data-table {
    direction: ltr
}

    .data-table thead th {
        text-align: left
    }

    .data-table tbody td {
        text-align: left
    }

.table-hint {
    text-align: left
}

/* ============================================================
   متن کامل محصول (HTML ادیتور پنل) — تایپوگرافی پایه
   همان قواعد متن مقالهٔ بلاگ، روی کلاس .opal-rich
   ============================================================ */
.opal-rich{font-size:16px;line-height:1.9;color:var(--ink)}
.opal-rich>*+*{margin-top:18px}
.opal-rich h2{font-size:clamp(20px,2.2vw,26px);font-weight:800;line-height:1.4;margin-top:36px}
.opal-rich h3{font-size:18px;font-weight:700;margin-top:28px}
.opal-rich p{font-weight:500}
.opal-rich strong,.opal-rich b{font-weight:800;color:var(--charcoal)}
.opal-rich a:not(.btn){color:var(--red);border-bottom:1px solid rgba(140,10,10,.32);transition:border-color .2s ease}
.opal-rich a:not(.btn):hover{border-bottom-color:var(--red)}
.opal-rich ul,.opal-rich ol{display:flex;flex-direction:column;gap:9px}
.opal-rich ul{list-style:disc}
.opal-rich ol{list-style:decimal}
.opal-rich li{line-height:1.9;font-weight:500}
.opal-rich ul li::marker,.opal-rich ol li::marker{color:var(--red)}
.opal-rich figure{margin:0;max-width:100%}
.opal-rich figcaption{font-size:13px;color:var(--charcoal);opacity:.75;text-align:center;margin-top:10px}
.opal-rich th,.opal-rich td{border:1px solid rgba(76,77,74,.22);padding:9px 11px;text-align:inherit}
.opal-rich th{background:var(--surface-charcoal-tint);font-weight:800}

/* ============================================================
   محتوای ادیتور در صفحهٔ محصول — یکدست‌سازی و ریسپانسیو (هم‌ارز بلاگ)
   (HTML خام ادیتور پنل: استایل اینلاین، <font>، عرض/ارتفاع ثابت، متن کپی‌شده از Word)
   ============================================================ */
.opal-rich{overflow-wrap:break-word;word-break:normal;min-width:0}

/* فونت و فاصلهٔ خطوط همیشه از قالب سایت؛ فونت/line-height اینلاین نادیده گرفته می‌شود */
.opal-rich>*,.opal-rich *{box-sizing:border-box;max-width:100%}
.opal-rich>:not(pre),.opal-rich :not(pre):not(code):not(kbd):not(samp){font-family:inherit!important}
.opal-rich pre,.opal-rich code,.opal-rich kbd,.opal-rich samp{font-family:Consolas,'Courier New',monospace;direction:ltr;text-align:left}
.opal-rich :is(p,span,div,li,td,th,font,a,b,strong,i,em,u)[style*="line-height"]{line-height:inherit!important}
.opal-rich :is(p,span,div,li,td,th,font,a,b,strong,i,em,u)[style*="letter-spacing"]{letter-spacing:normal!important}

/* اندازهٔ متن: انتخاب ادیتور حفظ می‌شود ولی در بازهٔ خوانا مهار می‌شود */
.opal-rich font[size="1"]{font-size:12px}
.opal-rich font[size="2"]{font-size:14px}
.opal-rich font[size="3"]{font-size:16px}
.opal-rich font[size="4"]{font-size:18px}
.opal-rich font[size="5"]{font-size:clamp(19px,2.2vw,22px)}
.opal-rich font[size="6"]{font-size:clamp(21px,2.6vw,26px)}
.opal-rich font[size="7"]{font-size:clamp(23px,3vw,30px)}
@media (max-width:600px){
  /* در موبایل اندازه‌های اینلاینِ متن بدنه به اندازهٔ پایهٔ مقاله برمی‌گردد تا صفحه نشکند */
  .opal-rich p[style*="font-size"],.opal-rich span[style*="font-size"],.opal-rich div[style*="font-size"],.opal-rich li[style*="font-size"],.opal-rich td[style*="font-size"]{font-size:inherit!important}
}

/* عنوان‌ها و عناصر متنی که قالب مرجع برایشان قاعده نداشت */
.opal-rich h1{font-size:clamp(23px,2.8vw,32px);font-weight:800;line-height:1.35;margin-top:52px}
.opal-rich h3,.opal-rich h4,.opal-rich h5,.opal-rich h6{line-height:1.6}
.opal-rich h4{font-size:16.5px;font-weight:700;margin-top:28px}
.opal-rich h5,.opal-rich h6{font-size:15px;font-weight:700;margin-top:24px}
.opal-rich h1 *,.opal-rich h2 *,.opal-rich h3 *,.opal-rich h4 *,.opal-rich h5 *,.opal-rich h6 *{font-size:inherit!important;font-weight:inherit}
.opal-rich p:empty{display:none}
.opal-rich blockquote{margin-inline:0;padding:14px 20px;border-inline-start:3px solid var(--red);background:var(--surface-charcoal-tint);border-radius:var(--radius);font-weight:600}
.opal-rich hr{border:0;border-top:1px solid rgba(76,77,74,.18);margin-block:34px}
.opal-rich pre{overflow-x:auto;padding:14px 16px;background:var(--surface-charcoal-tint);border-radius:var(--radius);font-size:13.5px;line-height:1.8;white-space:pre}
.opal-rich ul,.opal-rich ol{padding-inline-start:22px}
.opal-rich ul ul,.opal-rich ul ol,.opal-rich ol ul,.opal-rich ol ol{margin-top:11px}
.opal-rich sub,.opal-rich sup{line-height:0}

/* عکس: هرگز از ستون بیرون نمی‌زند و نسبت تصویر حفظ می‌شود (حتی با width/height اینلاین) */
.opal-rich img{max-width:100%!important;height:auto!important;border-radius:var(--radius)}
.opal-rich p>img:only-child,.opal-rich>img,.opal-rich figure>img{margin-inline:auto}
.opal-rich a>img{display:inline-block}
.opal-rich img[style*="float"],.opal-rich img[align="left"],.opal-rich img[align="right"]{margin-block:6px 12px;margin-inline:0;max-width:50%!important}
.opal-rich img[style*="float: right"],.opal-rich img[style*="float:right"],.opal-rich img[align="right"]{margin-left:22px}
.opal-rich img[style*="float: left"],.opal-rich img[style*="float:left"],.opal-rich img[align="left"]{margin-right:22px}
.opal-rich>*{clear:both}
@media (max-width:600px){
  .opal-rich img[style*="float"],.opal-rich img[align]{float:none!important;max-width:100%!important;margin-inline:auto!important}
}

/* ویدیو / صوت / iframe (یوتیوب، آپارات و …) — تمام‌عرضِ ستون با نسبت ۱۶:۹ */
.opal-rich video{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:auto 16/9;margin-inline:auto;border-radius:var(--radius);background:#000}
.opal-rich audio{display:block;width:100%!important}
.opal-rich iframe,.opal-rich embed,.opal-rich object{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9;border:0;border-radius:var(--radius)}

/* جدول: اسکرول افقی داخل قاب به‌جای شکستن صفحه (قاب را اسکریپت صفحه اضافه می‌کند) */
.opal-rich .art-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;border-radius:var(--radius)}
.opal-rich .art-scroll>table{margin:0;min-width:480px}
.opal-rich table{width:100%!important;height:auto!important;border-collapse:collapse;font-size:14.5px}
.opal-rich th,.opal-rich td{width:auto!important;height:auto!important;vertical-align:top;word-break:normal;overflow-wrap:anywhere}
.opal-rich td>p,.opal-rich th>p{margin:0}

/* عرض/حاشیهٔ ثابتِ اینلاین روی بلوک‌های متنی (معمولاً از کپی Word) */
.opal-rich p,.opal-rich div:not(.art-scroll),.opal-rich ul,.opal-rich ol,.opal-rich blockquote,.opal-rich h1,.opal-rich h2,.opal-rich h3,.opal-rich h4,.opal-rich h5,.opal-rich h6{width:auto!important;height:auto!important;margin-inline:0!important;text-indent:0!important}
.opal-rich ul,.opal-rich ol{margin-inline:0!important}

@media print{.opal-rich video,.opal-rich iframe{display:none}}
