
/* ===================== HOLDING COMPANIES STYLE ===================== */

.raad-holding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 45px;
}

.raad-holding-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 24px;
    padding: 35px 25px 30px;
    text-align: center;
    overflow: hidden;
    transition: all .4s ease;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.raad-holding-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--copper, #b87333),
        #d7a15d,
        var(--copper, #b87333)
    );
}

.raad-holding-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* تصویر دایره‌ای */
.raad-holding-image {
    width: 170px;
    height: 170px;
    margin: 0 auto 25px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(
        135deg,
        #8f5728,
        #e0ad68,
        #9b622f,
        #e4b879
    );
    box-shadow:
        0 10px 30px rgba(0,0,0,.18),
        0 0 0 8px rgba(184,115,51,.06);
}

.raad-holding-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    background: #111;
}

.raad-holding-card h3 {
    margin: 0 0 14px;
    font-size: 23px;
    font-weight: 800;
    color: #202020;
}

.raad-holding-card p {
    margin: 0 auto;
    max-width: 430px;
    font-size: 15px;
    line-height: 2.2;
    color: #666;
}

.raad-holding-number {
    margin-top: 22px;
    font-size: 12px;
    font-weight: 700;
    color: var(--copper, #b87333);
    letter-spacing: 1px;
}

/* موبایل */
@media (max-width: 900px) {
    .raad-holding-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .raad-holding-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .raad-holding-card {
        padding: 30px 20px;
    }

    .raad-holding-image {
        width: 150px;
        height: 150px;
    }
}



/* =========================================================
   RAAD VALUES SECTION
   ========================================================= */

.raad-values-section {
    position: relative;
    padding: 110px 0;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 50%,
            #f7f9fb 100%
        );
    overflow: hidden;
}


/* پس‌زمینه ظریف */

.raad-values-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: 10%;
    right: -300px;
    border-radius: 50%;
    background: rgba(184, 115, 51, 0.035);
    pointer-events: none;
}

.raad-values-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: 5%;
    left: -250px;
    border-radius: 50%;
    background: rgba(14, 43, 64, 0.035);
    pointer-events: none;
}


/* Container */

.raad-values-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* =========================================================
   HEADER
   ========================================================= */

.raad-values-header {
    text-align: center;
    margin-bottom: 80px;
}

.raad-values-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #b87333;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.raad-values-header h2 {
    margin: 0 0 15px;
    color: #102c43;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
}

.raad-values-header p {
    margin: 0 auto;
    max-width: 650px;
    color: #6d7780;
    font-size: 16px;
    line-height: 2;
}


/* خط زیر عنوان */

.raad-values-header::after {
    content: "";
    display: block;
    width: 75px;
    height: 3px;
    margin: 25px auto 0;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #b87333,
        #e0ad68
    );
}


/* =========================================================
   LIST
   ========================================================= */

.raad-values-list {
    display: flex;
    flex-direction: column;
    gap: 55px;
}


/* =========================================================
   ITEM
   ========================================================= */

.raad-value-item {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    min-height: 390px;

    background: #ffffff;

    border: 1px solid rgba(16, 44, 67, 0.07);

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(16, 44, 67, 0.07);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.raad-value-item:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(16, 44, 67, 0.13);
}


/* =========================================================
   IMAGE
   ========================================================= */

.raad-value-image {
    position: relative;
    min-height: 390px;
    overflow: hidden;
}


.raad-value-image-inner {
    width: 100%;
    height: 100%;
    position: relative;
}


.raad-value-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);
}


.raad-value-item:hover .raad-value-image img {
    transform: scale(1.06);
}


/* لایه روی تصویر */

.raad-value-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 28, 44, 0.05),
            rgba(8, 28, 44, 0.35)
        );

    pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.raad-value-content {
    position: relative;

    padding: 55px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #ffffff;
}


/* شماره */

.raad-value-number {
    position: absolute;

    top: 28px;
    right: 35px;

    font-size: 65px;
    line-height: 1;

    font-weight: 900;

    color: rgba(184, 115, 51, 0.08);
}


/* آیکون */

.raad-value-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #102c43,
            #1b5068
        );

    border: 3px solid rgba(184,115,51,.45);

    font-size: 25px;

    box-shadow:
        0 10px 25px rgba(16,44,67,.18);
}


/* عنوان */

.raad-value-content h3 {
    margin: 0;

    color: #102c43;

    font-size: clamp(24px, 2.5vw, 34px);

    font-weight: 900;

    line-height: 1.5;
}


/* خط */

.raad-value-line {
    width: 65px;
    height: 3px;

    margin: 18px 0;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #b87333,
            #e0ad68
        );
}


/* توضیحات */

.raad-value-content p {
    margin: 0;

    max-width: 520px;

    color: #68737c;

    font-size: 16px;

    line-height: 2.2;
}


/* =========================================================
   ALTERNATE LAYOUT
   موردهای زوج: متن چپ / تصویر راست
   ========================================================= */

.raad-value-item:nth-child(even) {
    direction: ltr;
}


.raad-value-item:nth-child(even) .raad-value-image {
    order: 2;
}


.raad-value-item:nth-child(even) .raad-value-content {
    order: 1;
    direction: rtl;
}


/* موردهای فرد */

.raad-value-item:nth-child(odd) {
    direction: ltr;
}


.raad-value-item:nth-child(odd) .raad-value-image {
    order: 1;
}


.raad-value-item:nth-child(odd) .raad-value-content {
    order: 2;
    direction: rtl;
}


/* =========================================================
   HOVER IMAGE BORDER
   ========================================================= */

.raad-value-item:nth-child(odd) .raad-value-image {
    border-left: 4px solid #b87333;
}

.raad-value-item:nth-child(even) .raad-value-image {
    border-right: 4px solid #b87333;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .raad-values-section {
        padding: 80px 0;
    }

    .raad-value-item {
        min-height: 330px;
    }

    .raad-value-image {
        min-height: 330px;
    }

    .raad-value-content {
        padding: 40px;
    }

    .raad-value-content h3 {
        font-size: 25px;
    }

    .raad-value-content p {
        font-size: 14px;
        line-height: 2;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .raad-values-section {
        padding: 65px 0;
    }

    .raad-values-container {
        width: min(100% - 25px, 600px);
    }

    .raad-values-header {
        margin-bottom: 45px;
    }

    .raad-values-header h2 {
        font-size: 30px;
    }

    .raad-values-header p {
        font-size: 14px;
    }

    .raad-values-list {
        gap: 30px;
    }

    .raad-value-item {
        display: flex;
        flex-direction: column !important;
        min-height: auto;
    }

    .raad-value-item:nth-child(even),
    .raad-value-item:nth-child(odd) {
        direction: rtl;
    }

    .raad-value-item .raad-value-image,
    .raad-value-item:nth-child(even) .raad-value-image,
    .raad-value-item:nth-child(odd) .raad-value-image {
        order: 1;
        min-height: 240px;
        height: 240px;
        border: 0;
        border-bottom: 4px solid #b87333;
    }

    .raad-value-item .raad-value-content,
    .raad-value-item:nth-child(even) .raad-value-content,
    .raad-value-item:nth-child(odd) .raad-value-content {
        order: 2;
        padding: 35px 25px;
        direction: rtl;
    }

    .raad-value-number {
        top: 20px;
        right: 20px;
        font-size: 50px;
    }

    .raad-value-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
        margin-bottom: 15px;
    }

    .raad-value-content h3 {
        font-size: 23px;
    }

    .raad-value-content p {
        font-size: 14px;
        line-height: 2.1;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .raad-value-image,
    .raad-value-item .raad-value-image {
        height: 210px;
        min-height: 210px;
    }

    .raad-value-content,
    .raad-value-item .raad-value-content {
        padding: 30px 20px;
    }

}



    /* =========================
   FACTORY VIDEO
========================= */

.raad-video {
    padding: 100px 0;
    background: #f7f7f7;
}

.raad-video-box {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 55px;
    align-items: center;
}

.raad-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #111;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.raad-video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #111;
}

/* Play Button */

.raad-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #111;

    cursor: pointer;

    z-index: 5;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        0 0 0 10px rgba(255, 255, 255, 0.12);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        opacity 0.3s ease;
}

.raad-video-play svg {
    margin-right: -4px;
}

.raad-video-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--gold, #f4b400);
}

.raad-video-play.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Text */

.raad-video-text {
    padding: 15px 0;
}

.raad-video-text h2 {
    margin: 14px 0 20px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.35;
}

.raad-video-text p {
    color: #666;
    font-size: 16px;
    line-height: 2.1;
    text-align: justify;
    margin: 0;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .raad-video {
        padding: 70px 0;
    }

    .raad-video-box {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .raad-video-text {
        text-align: center;
    }

    .raad-video-text p {
        text-align: center;
    }

}

@media (max-width: 600px) {

    .raad-video {
        padding: 50px 0;
    }

    .raad-video-frame {
        border-radius: 16px;
    }

    .raad-video-play {
        width: 65px;
        height: 65px;
    }

}


    /* ===================== INTERNATIONAL STANDARDS GRID ===================== */

.raad-standards {
    padding: 100px 0;
    background: #f8f8f8;
}

.raad-standards .raad-head {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
}

.raad-standards .raad-head h2 {
    margin: 12px 0 16px;
}

.raad-standards .raad-head p {
    color: #777;
    line-height: 2;
}

/* Matrix 4 × 3 */

.raad-standards .raad-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* Cards */

.raad-standards .raad-card {
    min-height: 235px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.raad-standards .raad-card:hover {
    transform: translateY(-7px);
    border-color: rgba(196, 137, 50, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

/* Icon */

.raad-standards .raad-card-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    color: var(--copper, #b87333);
    background: rgba(184, 115, 51, 0.09);
    border: 1px solid rgba(184, 115, 51, 0.18);
}

/* Title */

.raad-standards .raad-card h4 {
    margin: 0 0 12px;

    font-size: 18px;
    font-weight: 800;

    color: #222;
}

/* Description */

.raad-standards .raad-card p {
    margin: 0;

    color: #777;

    font-size: 13px;
    line-height: 2;

    text-align: center;
}

/* ===================== TABLET ===================== */

@media (max-width: 1100px) {

    .raad-standards .raad-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

/* ===================== MOBILE ===================== */

@media (max-width: 760px) {

    .raad-standards {
        padding: 70px 0;
    }

    .raad-standards .raad-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .raad-standards .raad-card {
        min-height: 220px;
        padding: 24px 16px;
    }

}

/* ===================== SMALL MOBILE ===================== */

@media (max-width: 480px) {

    .raad-standards .raad-grid-4 {
        grid-template-columns: 1fr;
    }

    .raad-standards .raad-card {
        min-height: auto;
    }

}


    /* =========================================================
   RAAD ELECTRIC
   QUALITY CONTROL LAB
   ========================================================= */

.raad-qc {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(184, 115, 51, 0.055),
            transparent 30%
        ),
        #f7f7f5;
    overflow: hidden;
}

/* Decorative background */

.raad-qc::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -220px;
    top: 180px;
    border-radius: 50%;
    border: 1px solid rgba(184, 115, 51, 0.08);
}

.raad-qc::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -300px;
    bottom: -250px;
    border-radius: 50%;
    border: 1px solid rgba(184, 115, 51, 0.07);
}


/* =========================================================
   HEADER
   ========================================================= */

.raad-qc-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
    margin-bottom: 55px;
}

.raad-qc-heading {
    max-width: 850px;
}

.raad-qc-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--copper, #b87333);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.raad-qc-heading .eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--copper, #b87333);
}

.raad-qc-heading h2 {
    margin: 14px 0 18px;

    color: #172033;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.3;
    font-weight: 900;
}

.raad-qc-heading p {
    max-width: 800px;

    margin: 0;

    color: #727272;

    font-size: 15px;
    line-height: 2.15;
}


/* =========================================================
   BADGE
   ========================================================= */

.raad-qc-badge {
    flex: 0 0 220px;

    padding: 25px 20px;

    text-align: center;

    background: #fff;

    border: 1px solid rgba(184, 115, 51, 0.16);

    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.06);
}

.raad-qc-badge-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--copper, #b87333);

    background: rgba(184, 115, 51, 0.09);
}

.raad-qc-badge strong {
    display: block;

    color: #202735;

    font-size: 15px;
    font-weight: 900;
}

.raad-qc-badge span {
    display: block;

    margin-top: 7px;

    color: #888;

    font-size: 12px;
}


/* =========================================================
   MATRIX
   ========================================================= */

.raad-qc-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

.raad-qc-card {
    position: relative;

    min-height: 270px;

    padding: 25px 22px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(25, 30, 40, 0.075);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.035);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.raad-qc-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--copper, #b87333),
        transparent
    );

    opacity: 0;

    transition: opacity .3s ease;
}

.raad-qc-card:hover {
    transform: translateY(-7px);

    border-color: rgba(184, 115, 51, 0.22);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.09);
}

.raad-qc-card:hover::before {
    opacity: 1;
}


/* =========================================================
   CARD TOP
   ========================================================= */

.raad-qc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.raad-qc-number {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--copper, #b87333);

    background: rgba(184, 115, 51, 0.09);

    font-size: 13px;
    font-weight: 900;
}

.raad-qc-type {
    padding: 6px 10px;

    color: #888;

    background: #f5f5f3;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   ICON
   ========================================================= */

.raad-qc-card-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--copper, #b87333);

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(184, 115, 51, 0.12),
            rgba(184, 115, 51, 0.035)
        );
}


/* =========================================================
   TITLE
   ========================================================= */

.raad-qc-card h3 {
    margin: 0 0 12px;

    color: #1c2433;

    font-size: 16px;
    line-height: 1.7;

    font-weight: 900;
}


/* =========================================================
   TEXT
   ========================================================= */

.raad-qc-card p {
    margin: 0;

    color: #777;

    font-size: 12.5px;
    line-height: 2;

    text-align: right;
}


/* =========================================================
   FOOTER NOTE
   ========================================================= */

.raad-qc-note {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 28px;
    padding: 18px 22px;

    background: rgba(255, 255, 255, 0.75);

    border: 1px solid rgba(184, 115, 51, 0.12);

    border-radius: 14px;
}

.raad-qc-note-icon {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background: var(--copper, #b87333);

    font-weight: 900;
}

.raad-qc-note p {
    margin: 0;

    color: #777;

    font-size: 12px;
    line-height: 2;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .raad-qc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET SMALL
   ========================================================= */

@media (max-width: 850px) {

    .raad-qc {
        padding: 80px 0;
    }

    .raad-qc-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .raad-qc-badge {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: right;
    }

    .raad-qc-badge-icon {
        margin: 0;
        flex: 0 0 auto;
    }

    .raad-qc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .raad-qc {
        padding: 65px 0;
    }

    .raad-qc-header {
        margin-bottom: 35px;
    }

    .raad-qc-heading h2 {
        font-size: 30px;
    }

    .raad-qc-heading p {
        font-size: 13px;
        line-height: 2;
    }

    .raad-qc-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .raad-qc-card {
        min-height: auto;

        padding: 22px 20px;
    }

    .raad-qc-card h3 {
        font-size: 15px;
    }

    .raad-qc-card p {
        font-size: 12px;
    }

    .raad-qc-badge {
        padding: 18px;
    }

    .raad-qc-note {
        align-items: flex-start;
    }

}


/* ================================
   RAAD ELECTRIC CLIENTS SLIDER
================================ */

.clients {
    position: relative;
    width: 100%;
    padding: 70px 0;
    overflow: hidden;
}

.clients .raad-head {
    text-align: center;
    margin-bottom: 35px;
}

.clients .raad-head h2 {
    margin: 12px 0;
}

.clients .raad-head p {
    margin: 0 auto;
    max-width: 650px;
}

/* اسلایدر اصلی */
.clients-slider {
    position: relative;
    width: 100%;
    direction: ltr;
    padding: 12px 0;
}

/* محدوده قابل مشاهده */
.clients-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 18px;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 5%,
        #000 95%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 5%,
        #000 95%,
        transparent 100%
    );
}

/* ردیف لوگوها */
.clients-track {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    gap: 24px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* کارت هر مشتری */
.client-logo {
    box-sizing: border-box;
    flex: 0 0 175px;
    width: 175px;
    min-height: 150px;
    padding: 18px 14px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;

    text-align: center;
    direction: rtl;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.045);

    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    border-color: var(--copper, #b8734b);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

/* فضای تصویر لوگو */
.client-logo-image {
    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* خود لوگو */
.client-logo-image img {
    display: block;
    max-width: 100%;
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* نام مشتری */
.client-logo > span {
    display: block;
    width: 100%;
    color: #333;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* دکمه‌های حرکت */
.clients-slider .slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 42px;
    height: 42px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;

    background: #fff;
    color: #222;
    font-size: 18px;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.clients-slider .slider-btn:hover {
    background: var(--copper, #b8734b);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.clients-slider .slider-btn:focus-visible {
    outline: 2px solid var(--copper, #b8734b);
    outline-offset: 3px;
}

.clients-slider .slider-btn-right {
    left: 8px;
}

.clients-slider .slider-btn-left {
    right: 8px;
}

/* موبایل */
@media (max-width: 768px) {
    .clients {
        padding: 45px 0;
    }

    .clients .raad-head {
        margin-bottom: 22px;
        padding: 0 14px;
    }

    .clients-track {
        gap: 14px;
    }

    .client-logo {
        flex-basis: 145px;
        width: 145px;
        min-height: 135px;
        padding: 14px 10px;
        gap: 10px;
    }

    .client-logo-image {
        height: 72px;
    }

    .client-logo-image img {
        max-height: 72px;
    }

    .client-logo > span {
        font-size: 12px;
    }

    .clients-slider .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* کاهش حرکت برای کاربرانی که این گزینه را فعال کرده‌اند */
@media (prefers-reduced-motion: reduce) {
    .client-logo,
    .clients-slider .slider-btn {
        transition: none;
    }
}
