/* ==================================================================
   REYNX STUDIO — Services Page v4 (services.html)
   TECH LUXE — نفس لغة About v4: أبيض / رمادي / أسود
   الخلفية = خلفية هيرو الهوم بالظبط (جراديانت ثابت)
   محتوى الصفحة: قدرات + أسعار البكجات + بورتفوليو الشركة
   v4: اتشال الشكل القديم (كروت ملوّنة + شبكة مربّعة + برونزي + Alexandria)
   ملحوظة: <nav> و<footer> أخوات لـ <main class="rx-sv-main">
   ================================================================== */

/* ============================================================
   0) BASE — نفس خلفية الهوم/About
   ============================================================ */
html,
body {
    background: linear-gradient(180deg, #d3d9dd 0%, #b7bfc5 100%) !important;
    background-attachment: fixed !important;
    color: #101114;
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.rx-sv-main {
    position: relative;
    background: transparent;
    color: #101114;
}

/* ============================================================
   NAVBAR — شفاف على الخلفية + لوجو أسود
   ============================================================ */
.navbar,
.navbar::before,
.navbar::after {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-links a { color: rgba(0, 0, 0, .62); }
.nav-links a:hover,
.nav-links a.active { color: #000; }

.search-btn,
.action-icon,
.lang-btn { color: rgba(0, 0, 0, .7); }

.search-btn:hover,
.action-icon:hover,
.lang-btn:hover { color: #000; }

.logo-img {
    filter: brightness(0);
    opacity: 1;
}

.login-btn-alt {
    background: rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .3);
    color: #111 !important;
}
.login-btn-alt:hover {
    background: rgba(0, 0, 0, .1);
    border-color: rgba(0, 0, 0, .5);
    color: #111 !important;
}

.hamburger-icon span { background: #111; }

/* ============================================================
   PRELOADER — الستايل من main.css + شبكة أمان CSS
   ============================================================ */
.page-loader {
    animation: svLoaderFailsafe .4s ease 4.2s forwards;
}

@keyframes svLoaderFailsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ============================================================
   1) HERO — Antigravity + عنوان رفيع ثلاثي + HUD
   ============================================================ */
.rx-sv-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 132px;
    overflow: hidden;
    background: transparent;
    scroll-margin-top: 76px;
}

.rx-sv-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.rx-sv-hero-particles [data-container] {
    position: absolute;
    inset: 0;
}
.rx-sv-hero-particles canvas { display: block; }

/* هالة بيضا خفيفة ورا النص */
.rx-sv-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 56% 50% at 50% 45%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%);
}

/* سبوتلايت الماوس — --rx-mx/--rx-my من services.js */
.rx-sv-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transition: background .2s ease-out;
    background: radial-gradient(480px circle at var(--rx-mx, 50%) var(--rx-my, 40%), rgba(255, 255, 255, .5), transparent 62%);
}

.rx-sv-hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 24px 64px;
}

/* ── Eyebrow — مونو متباعد (ترجمة عبر data-i18n) ── */
.rx-sv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .55);
    animation: svFadeUp .8s cubic-bezier(.16, 1, .3, 1) 1.05s both;
}
.rx-sv-eyebrow::before {
    content: '';
    width: 44px;
    height: 1px;
    background: rgba(16, 17, 20, .4);
    flex: none;
}

/* ── Title — ثلاثي رفيع (Poppins 300) ── */
.rx-sv-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: clamp(2.6rem, 6.6vw, 5.6rem);
    font-weight: 300;
    letter-spacing: -0.05em;
    line-height: 1.06;
    color: #101114;
    font-style: normal;
}

.rx-sv-title-line {
    display: block;
    opacity: 0;
    animation: svFadeUp 1s cubic-bezier(.16, 1, .3, 1) both;
}
.rx-sv-title-line:nth-child(1) { animation-delay: .95s; }
.rx-sv-title-line:nth-child(2) { animation-delay: 1.07s; }
.rx-sv-title-line:nth-child(3) { animation-delay: 1.19s; }

/* السطر الأخير بتدرج مونو */
.rx-sv-title-line#heroTitleLine3,
em.rx-sv-title-line {
    font-style: normal;
    background-image: linear-gradient(100deg, #101114 0%, #5f656d 55%, #101114 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.rx-sv-desc {
    margin: 24px 0 0;
    max-width: 560px;
    font-size: .98rem;
    line-height: 1.9;
    color: #5f656d;
    animation: svFadeUp .9s cubic-bezier(.16, 1, .3, 1) 1.45s both;
}

.rx-sv-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    animation: svFadeUp .9s cubic-bezier(.16, 1, .3, 1) 1.58s both;
}

/* ── HUD أسفل الهيرو ── */
.rx-sv-hud {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .42);
    user-select: none;
    white-space: nowrap;
    animation: svFadeUp .8s ease 1.85s both;
}
.rx-sv-hud-bl { left: clamp(20px, 4vw, 52px); }
.rx-sv-hud-br { right: clamp(20px, 4vw, 52px); }

.rx-sv-scroll {
    position: absolute;
    z-index: 3;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 54px;
    background: rgba(16, 17, 20, .16);
    overflow: hidden;
}
.rx-sv-scroll span {
    position: absolute;
    left: 0;
    top: -40%;
    width: 100%;
    height: 40%;
    background: #101114;
    animation: svScrollCue 2.6s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes svScrollCue {
    0% { top: -40%; }
    60%, 100% { top: 110%; }
}

/* ============================================================
   2) الفواصل — خط شعرة بعرض الصفحة
   ============================================================ */
.rx-sv-rule {
    position: relative;
    z-index: 5;
    height: 1px;
    background: rgba(16, 17, 20, .12);
}

/* ============================================================
   3) SECTION BASE
   ============================================================ */
.rx-sv-section {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 110px 24px;
    scroll-margin-top: 76px;
}

.rx-sv-section-head { margin-bottom: 54px; }

.rx-sv-section-head.rx-sv-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* تاج مونو رفيع */
.rx-sv-label {
    display: block;
    margin-bottom: 18px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .45);
}

/* اسم الفئة الحالي — بينزلق لما المستخدم يبدّل التاب */
#catTitle {
    display: inline-block;
    transition: opacity .25s ease, transform .25s ease;
}

.rx-sv-section-title {
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: #101114;
}

.rx-sv-section-sub {
    max-width: 620px;
    margin: 16px auto 0;
    font-size: .95rem;
    line-height: 1.9;
    color: #5f656d;
}

/* تدرج مونو للكلمة المميزة */
.rx-sv-accent {
    background-image: linear-gradient(100deg, #101114 0%, #5f656d 55%, #101114 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   4) CAPABILITIES — أربع صفوف فئات (تابات) ملوّنة بالأسود
   ============================================================ */
.rx-sv-service-rows {
    border-top: 1px solid rgba(16, 17, 20, .14);
}

.rx-sv-service-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 26px 18px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(16, 17, 20, .14);
    text-align: start;
    cursor: pointer;
    font-family: inherit;
    color: #101114;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}

.rx-sv-service-row:hover {
    background: rgba(255, 255, 255, .5);
}

.rx-sv-service-row.active {
    background: rgba(255, 255, 255, .75);
    box-shadow: inset 3px 0 0 #101114;
}
html[dir="rtl"] .rx-sv-service-row.active { box-shadow: inset -3px 0 0 #101114; }

.rx-sv-row-index {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .74rem;
    letter-spacing: 2.4px;
    color: rgba(16, 17, 20, .38);
    transition: color .3s ease;
}
.rx-sv-service-row.active .rx-sv-row-index,
.rx-sv-service-row:hover .rx-sv-row-index { color: #101114; }

.rx-sv-row-body { display: block; min-width: 0; }

.rx-sv-row-name {
    display: block;
    font-size: 1.16rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #101114;
}

.rx-sv-row-sub {
    display: block;
    margin-top: 5px;
    font-size: .84rem;
    line-height: 1.7;
    color: #5f656d;
}

.rx-sv-row-arrow i {
    display: block;
    font-size: .9rem;
    color: rgba(16, 17, 20, .4);
    transition: color .3s ease, transform .3s ease;
}
.rx-sv-service-row:hover .rx-sv-row-arrow i { color: #101114; transform: translateX(-4px); }
html[dir="ltr"] .rx-sv-row-arrow i.fa-arrow-left { transform: scaleX(-1); }
html[dir="ltr"] .rx-sv-service-row:hover .rx-sv-row-arrow i.fa-arrow-left { transform: scaleX(-1) translateX(-4px); }

/* ============================================================
   5) PACKAGES — قائمة + كارت التفاصيل (أسود)
   ============================================================ */
.rx-sv-packages-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 26px;
    align-items: start;
}

/* ── قائمة الباقات ── */
.rx-sv-pkg-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rx-sv-pkg-item {
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(16, 17, 20, .08);
    box-shadow: 0 10px 28px rgba(16, 17, 20, .04);
    cursor: pointer;
    transition: background .35s ease, border-color .35s ease,
                box-shadow .35s ease, transform .3s ease;
}

.rx-sv-pkg-item:hover {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(16, 17, 20, .16);
    transform: translateY(-2px);
}

.rx-sv-pkg-item.active {
    background: #ffffff;
    border-color: rgba(16, 17, 20, .22);
    box-shadow: 0 16px 40px rgba(16, 17, 20, .09);
}

.rx-sv-pkg-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.rx-sv-pkg-item-title {
    margin: 0;
    font-size: .98rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #101114;
}

.rx-sv-pkg-item-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .6rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .5);
    white-space: nowrap;
}
.rx-sv-pkg-item-status i {
    font-size: .45rem;
    color: #101114;
}

.rx-sv-pkg-item-desc {
    margin: 10px 0 0;
    font-size: .84rem;
    line-height: 1.75;
    color: #5f656d;
}

.rx-sv-pkg-item-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(16, 17, 20, .09);
}

.rx-sv-pkg-item-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: #101114;
}

.rx-sv-pkg-item-footer > div { text-align: end; }

.rx-sv-pkg-item-time-label {
    display: block;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .58rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .42);
}

.rx-sv-pkg-item-time {
    display: block;
    margin-top: 3px;
    font-size: .82rem;
    color: #5f656d;
}

/* ── كارت التفاصيل — أسود (قلب الصفحة) ── */
.rx-sv-pkg-detail {
    position: sticky;
    top: 96px;
}

.rx-sv-pkg-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #0b0c0d;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 70px rgba(16, 17, 20, .35);
    color: #f2f4f6;
    will-change: transform;
    transition: box-shadow .35s ease;
}

.rx-sv-pkg-card-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.rx-sv-pkg-card-inner {
    position: relative;
    z-index: 1;
    padding: 34px 34px 30px;
}

.rx-sv-pkg-num {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .62rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

.rx-sv-pkg-name {
    margin: 12px 0 0;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: #ffffff;
}

.rx-sv-pkg-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.rx-sv-status-label {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
}

.rx-sv-status-value {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .78);
}
.rx-sv-status-value i { font-size: .5rem; }

/* المميزات */
.rx-sv-pkg-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.rx-sv-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .86rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .78);
}

.rx-sv-feature-item i {
    flex: none;
    width: 16px;
    text-align: center;
    font-size: .7rem;
    color: rgba(255, 255, 255, .38);
}

/* ── شريط التايم لاين (سرعة التسليم ↔ رسوم) ── */
.rx-sv-pkg-timeline { padding: 22px 0 4px; }

.rx-sv-timeline-track { position: relative; }

.rx-sv-timeline-range {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .16);
    outline: none;
    direction: ltr;
    cursor: pointer;
}

.rx-sv-timeline-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #f2f4f6;
    border: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
    transition: transform .2s ease;
}
.rx-sv-timeline-range:hover::-webkit-slider-thumb,
.rx-sv-timeline-range:focus::-webkit-slider-thumb { transform: scale(1.14); }

.rx-sv-timeline-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #f2f4f6;
    border: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.rx-sv-timeline-range::-moz-range-track {
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .16);
}

/* Must stay LTR like the range above (min sits at the left edge), so the
   DOM order Start -> Mid -> End lines up with the track. Under RTL the
   flex items flip and the left edge would read "day 1" while the slider
   bills the slowest / cheapest day there. */
.rx-sv-timeline-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    direction: ltr;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .66rem;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .5);
}
.rx-sv-timeline-labels span:nth-child(2) { color: #ffffff; }

/* ── الفوتر داخلي: ميتا + الإجمالي ── */
.rx-sv-pkg-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
}

.rx-sv-pkg-meta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rx-sv-meta-label {
    display: block;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .58rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
}

.rx-sv-meta-value {
    display: block;
    margin-top: 5px;
    font-size: .92rem;
    color: #ffffff;
}

.rx-sv-meta-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, .14);
}

.rx-sv-pkg-total {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #ffffff;
}

/* ── أزرار الإجراءات ── */
.rx-sv-pkg-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.rx-sv-pkg-actions .rx-sv-btn {
    flex: 1;
    justify-content: center;
}

/* زر أسود داخل الكارت الأبيض بيبقى أبيض (تباين) */
.rx-sv-pkg-card .rx-sv-btn-solid {
    background: #f2f4f6;
    border-color: #f2f4f6;
    color: #101114;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.rx-sv-pkg-card .rx-sv-btn-solid:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
}

.rx-sv-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .28);
    color: #f2f4f6;
}
.rx-sv-btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

/* ── الأزرار العامة (هيرو/CTA) ── */
.rx-sv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    border: 1px solid transparent;
    font-size: .88rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    will-change: transform;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease,
                border-color .3s ease, color .3s ease;
}
.rx-sv-btn i {
    font-size: .78rem;
    transition: transform .3s ease;
}
.rx-sv-btn:hover i { transform: scale(1.12); }
html[dir="ltr"] .rx-sv-btn i.fa-arrow-left { transform: scaleX(-1); }
html[dir="ltr"] .rx-sv-btn:hover i.fa-arrow-left { transform: scaleX(-1) scale(1.12); }

.rx-sv-btn-solid {
    background: #101114;
    border-color: #101114;
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(16, 17, 20, .2);
}
.rx-sv-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 17, 20, .28);
}

.rx-sv-btn-glass {
    background: rgba(255, 255, 255, .55);
    border-color: rgba(255, 255, 255, .85);
    color: #101114;
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
}
.rx-sv-btn-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .85);
    border-color: rgba(16, 17, 20, .1);
}

/* ============================================================
   6) PORTFOLIO — بورتفوليو الشركة
   ============================================================ */
.rx-sv-multi-grid-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 8px;
}

.rx-sv-multi-company-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    text-align: start;
    border-radius: 18px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(16, 17, 20, .08);
    box-shadow: 0 12px 34px rgba(16, 17, 20, .05);
    cursor: pointer;
    font-family: inherit;
    color: #101114;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1),
                background .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.rx-sv-multi-company-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .85);
    border-color: rgba(16, 17, 20, .16);
    box-shadow: 0 24px 54px rgba(16, 17, 20, .1);
}

/* الكارت المميّز — أبيض زي باقي الكروت (الفرق = عرض مضاعف بس) */
.rx-sv-multi-company-card.is-featured {
    grid-column: span 2;
}

.rx-sv-multi-company-art {
    position: relative;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #26292c 0%, #17191b 55%, #0c0d0f 100%);
    border-bottom: 1px solid rgba(16, 17, 20, .08);
}

.rx-sv-multi-company-card.is-featured .rx-sv-multi-company-art {
    height: 168px;
}

/* صورة الـ3D جوّه مساحة الكارت — تغطّي كامل + حجاب شبح لتباين النص */
.rx-sv-multi-company-art > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.rx-sv-multi-company-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8, 9, 10, .62) 0%, rgba(8, 9, 10, .3) 40%, rgba(8, 9, 10, 0) 74%);
    pointer-events: none;
}

html[dir="rtl"] .rx-sv-multi-company-art::after { transform: scaleX(-1); }

.rx-sv-multi-company-card:hover .rx-sv-multi-company-art > img { transform: scale(1.05); }
.rx-sv-multi-company-card.is-featured .rx-sv-multi-company-art > img { object-position: 65% center; }

.rx-sv-multi-company-art > span {
    position: absolute;
    top: 14px;
    inset-inline-start: 18px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .72rem;
    letter-spacing: 2.4px;
    z-index: 2;
    color: rgba(255, 255, 255, .72);
}

.rx-sv-multi-company-art > i {
    font-size: 2.1rem;
    color: rgba(16, 17, 20, .3);
    transition: transform .4s ease, color .4s ease;
}
.rx-sv-multi-company-card:hover .rx-sv-multi-company-art > i { transform: translateY(-4px); }

.rx-sv-multi-company-art > b {
    position: absolute;
    bottom: 14px;
    inset-inline-start: 18px;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .04em;
    z-index: 2;
    color: rgba(255, 255, 255, .82);
}

.rx-sv-multi-company-info {
    position: relative;
    padding: 18px 20px 22px;
}

.rx-sv-multi-company-info small {
    display: block;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .45);
}

.rx-sv-multi-company-info h3 {
    margin: 9px 0 7px;
    font-size: 1.14rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #101114;
}

.rx-sv-multi-company-info p {
    margin: 0;
    padding-inline-end: 30px;
    font-size: .8rem;
    line-height: 1.75;
    color: #5f656d;
}

.rx-sv-multi-company-info > i {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    font-size: .85rem;
    color: rgba(16, 17, 20, .35);
    transition: color .3s ease, transform .3s ease;
}
.rx-sv-multi-company-card:hover .rx-sv-multi-company-info > i { color: #101114; transform: translate(-2px, -2px); }
html[dir="ltr"] .rx-sv-multi-company-info > i.fa-arrow-up-left { transform: scaleX(-1); }
html[dir="ltr"] .rx-sv-multi-company-card:hover .rx-sv-multi-company-info > i.fa-arrow-up-left { transform: scaleX(-1) translate(-2px, -2px); }

/* ── شبكة المعرض (API خلفي) ── */
.rx-sv-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.rx-sv-portfolio-grid:empty { display: none; }

.rx-sv-portfolio-card {
    padding: 16px 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(16, 17, 20, .08);
    box-shadow: 0 12px 34px rgba(16, 17, 20, .05);
    transition: background .35s ease, border-color .35s ease, transform .3s ease;
}
.rx-sv-portfolio-card:hover {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(16, 17, 20, .16);
    transform: translateY(-3px);
}
.rx-sv-portfolio-card h3 {
    margin: 0 0 7px;
    font-size: .98rem;
    font-weight: 500;
    color: #101114;
}
.rx-sv-portfolio-card p {
    margin: 0 0 12px;
    font-size: .84rem;
    line-height: 1.75;
    color: #5f656d;
}
.rx-sv-portfolio-tag {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid rgba(16, 17, 20, .16);
    border-radius: 999px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(16, 17, 20, .55);
}

/* ============================================================
   7) MODALS — بوابة مجموعات العملاء (أسود)
   ============================================================ */
.rx-sv-package-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 36px;
    background: rgba(8, 9, 10, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.rx-sv-package-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.rx-sv-package-modal-shell {
    position: relative;
    width: min(960px, 100%);
    max-height: 86vh;
    overflow-y: auto;
    padding: 40px 42px 38px;
    border-radius: 24px;
    background: #0b0c0d;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 40px 110px rgba(0, 0, 0, .6);
    color: #f2f4f6;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.rx-sv-package-modal-shell::-webkit-scrollbar { width: 8px; }
.rx-sv-package-modal-shell::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .18);
    border-radius: 8px;
}
.rx-sv-package-modal-shell::-webkit-scrollbar-track { background: transparent; }

.rx-sv-package-modal-close {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    color: #f2f4f6;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .3s ease;
}
.rx-sv-package-modal-close:hover {
    background: #ffffff;
    color: #0b0c0d;
    transform: rotate(90deg);
}

body.rx-sv-modal-open { overflow: hidden; }

/* ── المحتوى ── */
.rx-sv-multi-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-inline-end: 52px;
}

.rx-sv-multi-content .rx-sv-label {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .45);
}

.rx-sv-multi-head h2 {
    margin: 12px 0 0;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #ffffff;
}

.rx-sv-multi-head p {
    margin: 12px 0 0;
    max-width: 540px;
    font-size: .92rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .6);
}

.rx-sv-multi-company {
    text-align: end;
}
.rx-sv-multi-company small {
    display: block;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

/* تابات الباقات جوّه المودال */
.rx-sv-multi-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.rx-sv-multi-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .7);
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .78rem;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.rx-sv-multi-tabs button span {
    font-family: 'Poppins', 'Cairo', sans-serif;
    font-size: .82rem;
}
.rx-sv-multi-tabs button:hover { background: rgba(255, 255, 255, .12); }
.rx-sv-multi-tabs button.is-active {
    background: #f2f4f6;
    border-color: #f2f4f6;
    color: #101114;
}

/* الشاوكايس + الشبكة السفلية */
.rx-sv-multi-showcase {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.rx-sv-multi-banner { aspect-ratio: 21 / 9; }

.rx-sv-multi-showcase-title {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 46px 22px 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .78) 100%);
    pointer-events: none;
}
.rx-sv-multi-showcase-title span {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .64rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.rx-sv-multi-showcase-title strong {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
}

.rx-sv-multi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.rx-sv-multi-card {
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
}
.rx-sv-multi-card .rx-sv-multi-asset { border-radius: 0; min-height: 0; aspect-ratio: 4 / 3; }
.rx-sv-multi-card > b {
    display: block;
    padding: 11px 14px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.rx-sv-multi-bottom {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 20px;
}

.rx-sv-multi-bottom span,
.rx-sv-multi-mockups > span {
    display: block;
    margin-bottom: 9px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .64rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.rx-sv-multi-bottom p {
    margin: 0;
    max-width: 460px;
    font-size: .88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .65);
}

.rx-sv-multi-swatches { display: flex; gap: 8px; }
.rx-sv-multi-swatches i {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.rx-sv-multi-mockups > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.rx-sv-multi-mockup { aspect-ratio: 16 / 10; }

/* ── صناديق الصور (fallback لحد ما الصورة تحمّل) ── */
.rx-sv-multi-asset {
    position: relative;
    min-height: 130px;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
}

.rx-sv-multi-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: rgba(255, 255, 255, .35);
    text-align: center;
    padding: 10px;
}
.rx-sv-multi-fallback i { font-size: 1.2rem; }
.rx-sv-multi-fallback span {
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rx-sv-multi-asset img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   8) CASE STUDY
   ============================================================ */
.rx-sv-case-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 46px;
    align-items: center;
}

.rx-sv-case-visual {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(140deg, #17191b 0%, #0b0c0d 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 26px 60px rgba(16, 17, 20, .3);
}

.rx-sv-case-visual-num {
    position: absolute;
    top: 18px;
    inset-inline-start: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 3.4rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, .14);
    line-height: 1;
}

.rx-sv-case-visual i {
    font-size: 5rem;
    color: rgba(255, 255, 255, .22);
}

.rx-sv-case-info .rx-sv-label { margin-bottom: 14px; }

.rx-sv-case-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #101114;
}

.rx-sv-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.rx-sv-case-tags span {
    padding: 7px 14px;
    border: 1px solid rgba(16, 17, 20, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    font-size: .72rem;
    letter-spacing: .02em;
    color: #3f444a;
}

.rx-sv-case-desc {
    margin: 18px 0 0;
    max-width: 540px;
    font-size: .95rem;
    line-height: 1.9;
    color: #5f656d;
}

.rx-sv-case-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(16, 17, 20, .28);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    color: #101114;
    transition: gap .3s ease, border-color .3s ease;
}
.rx-sv-case-link:hover { gap: 15px; border-color: #101114; }
.rx-sv-case-link i { font-size: .8rem; transition: transform .3s ease; }
html[dir="ltr"] .rx-sv-case-link i.fa-arrow-left { transform: scaleX(-1); }
html[dir="ltr"] .rx-sv-case-link:hover i.fa-arrow-left { transform: scaleX(-1) translateX(3px); }

/* ============================================================
   9) PROCESS — أربع كروت
   ============================================================ */
.rx-sv-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.rx-sv-process-step {
    padding: 30px 26px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(16, 17, 20, .08);
    box-shadow: 0 12px 34px rgba(16, 17, 20, .05);
    transition: background .35s ease, border-color .35s ease,
                transform .3s ease, box-shadow .35s ease;
}
.rx-sv-process-step:hover {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(16, 17, 20, .16);
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(16, 17, 20, .09);
}

.rx-sv-process-num {
    display: block;
    margin-bottom: 34px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .78rem;
    letter-spacing: 2.4px;
    color: rgba(16, 17, 20, .38);
}

.rx-sv-process-step h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #101114;
}

.rx-sv-process-step p {
    margin: 0;
    font-size: .86rem;
    line-height: 1.85;
    color: #5f656d;
}

/* ============================================================
   10) SERVICE RULES — قوانين الخدمة (شبكة بخطوط شعرة)
   ============================================================ */
.rx-sv-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(16, 17, 20, .14);
}

.rx-sv-rules-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 4px 18px;
    align-content: start;
    padding: 30px 26px 32px;
    border-bottom: 1px solid rgba(16, 17, 20, .1);
    transition: background .35s ease;
}

.rx-sv-rules-item:nth-child(odd) {
    border-inline-end: 1px solid rgba(16, 17, 20, .1);
    padding-inline-start: 0;
}

.rx-sv-rules-item:nth-child(even) {
    padding-inline-end: 0;
}

.rx-sv-rules-item:hover {
    background: rgba(255, 255, 255, .5);
}

.rx-sv-rules-num {
    grid-row: 1 / span 2;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .78rem;
    letter-spacing: 2.4px;
    color: rgba(16, 17, 20, .38);
    padding-top: 4px;
}

.rx-sv-rules-body h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #101114;
}

.rx-sv-rules-body p {
    margin: 0;
    font-size: .86rem;
    line-height: 1.85;
    color: #5f656d;
}

/* ============================================================
   11) FOOTER — أسود زي فوتر About بالظبط
   ============================================================ */
.rx-footer,
footer.rx-footer {
    --rxf-stone-line: rgba(255, 255, 255, .12);
    --rxf-white: #f2f4f6;

    width: min(1240px, calc(100% - 96px));
    margin: 0 auto;
    padding: 24px 0 42px;
    background: transparent;
    color: var(--rxf-white);
}

.rx-footer-box {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    max-width: 1160px;
    margin: 0 auto;
    padding: 42px 62px 24px;
    direction: ltr;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.rx-footer-box * { box-sizing: border-box; }
.rx-footer-box::before { display: none; }

.rx-footer-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.rx-footer-particles [data-container] { position: absolute; inset: 0; }
.rx-footer-particles canvas { display: block; }
.rx-footer-box > :not(.rx-footer-particles) { position: relative; z-index: 1; }

.rx-footer-brand-row {
    position: relative;
    z-index: 1;
    direction: ltr;
    text-align: left;
    margin: 0 0 30px;
}

/* العربية: اللوحة كلها بتنقلب RTL */
html[dir="rtl"] .rx-footer-box { direction: rtl; text-align: right; }
html[dir="rtl"] .rx-footer-brand-row { direction: rtl; text-align: right; }

.rx-footer-logo {
    width: 96px;
    height: 36px;
    background-color: #f2f4f6;
    -webkit-mask-image: url('../assets/images/logo.png');
    mask-image: url('../assets/images/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    mask-position: left center;
}

.rx-footer-cols {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.rx-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rx-footer-col h4 {
    margin: 0 0 4px;
    font-family: 'JetBrains Mono', 'Cairo', 'Courier New', monospace;
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.rx-footer-col a,
.rx-footer-col p {
    display: block;
    width: fit-content;
    margin: 0;
    font-size: .85rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color .25s ease, transform .3s ease;
    color: rgba(255, 255, 255, .72);
}

.rx-footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.rx-footer-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    margin: 24px 0 15px;
    background: rgba(255, 255, 255, .12);
}

.rx-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.rx-footer-copy,
.rx-footer-note {
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
}

.rx-footer-social { display: flex; gap: 10px; }

.rx-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: .8rem;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
}

.rx-footer-social a:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a0b0d;
    transform: translateY(-2px);
}

/* ============================================================
   12) SCROLL REVEAL (services.js بيضيف rx-reveal → rx-revealed)
   ============================================================ */
@keyframes svFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rx-reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(5px);
    will-change: transform, opacity;
    transition:
        opacity .85s cubic-bezier(.22, 1, .36, 1),
        transform .85s cubic-bezier(.22, 1, .36, 1),
        filter .85s cubic-bezier(.22, 1, .36, 1);
}

.rx-reveal.rx-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ============================================================
   13) RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .rx-sv-packages-layout { grid-template-columns: 1fr; }
    .rx-sv-pkg-detail { position: static; }
    .rx-sv-multi-grid-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rx-sv-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .rx-sv-section { padding: 94px 22px; }
    .rx-sv-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rx-sv-case-grid { grid-template-columns: 1fr; gap: 34px; }
    .rx-sv-case-visual { min-height: 260px; }
    .rx-sv-section-head { margin-bottom: 44px; }

    .rx-footer-cols { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
    .rx-footer-box { padding: 38px 34px 24px; }
    .rx-footer-brand-row { margin-bottom: 26px; }
    .rx-footer-divider { margin: 20px 0 14px; }
}

@media (max-width: 768px) {
    .rx-sv-hero { padding-top: 112px; }
    .rx-sv-section { padding: 84px 20px; }
    .rx-sv-hud { display: none; }

    .rx-sv-service-row {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 20px 12px;
    }
    .rx-sv-row-name { font-size: 1.02rem; }

    .rx-sv-pkg-card-inner { padding: 26px 22px 24px; }
    .rx-sv-pkg-features { grid-template-columns: 1fr; }
    .rx-sv-pkg-footer { flex-direction: column; align-items: flex-start; gap: 16px; }

    .rx-sv-multi-company-info p { padding-inline-end: 0; }
    .rx-sv-multi-company-info > i { display: none; }

    .rx-sv-rules-grid { grid-template-columns: 1fr; }
    .rx-sv-rules-item { padding: 26px 0 28px; }
    .rx-sv-rules-item:nth-child(odd) { border-inline-end: 0; }

    .rx-sv-package-modal { padding: 18px; }
    .rx-sv-package-modal-shell { padding: 30px 20px 26px; max-height: 90vh; }
    .rx-sv-multi-head { padding-inline-end: 46px; }
    .rx-sv-multi-mockups > div { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .rx-sv-multi-grid-catalog { grid-template-columns: 1fr; }
    .rx-sv-multi-company-card.is-featured { grid-column: auto; }
    .rx-sv-portfolio-grid { grid-template-columns: 1fr; }
    .rx-sv-process-grid { grid-template-columns: 1fr; }

    .rx-sv-rules-item { grid-template-columns: 54px minmax(0, 1fr); gap: 4px 14px; }

    .rx-sv-pkg-actions { flex-direction: column; }
    .rx-sv-meta-divider { display: none; }

    .rx-sv-btn { padding: 13px 26px; }

    .rx-footer,
    footer.rx-footer { width: calc(100% - 38px); }
    .rx-footer-box { padding: 32px 22px 24px; }
}

@media (max-width: 576px) {
    .rx-footer-cols { grid-template-columns: repeat(2, 1fr); }
    .rx-footer-bottom { flex-direction: column; text-align: center; }
    .rx-sv-multi-grid { grid-template-columns: 1fr; }
    .rx-sv-case-visual { min-height: 210px; }
    .rx-sv-case-visual i { font-size: 3.6rem; }
}

/* ============================================================
   14) RTL — إصلاح التتبّع + الأيقونات
   ============================================================ */
html[dir="rtl"] .rx-sv-title { letter-spacing: 0 !important; line-height: 1.45 !important; }
html[dir="rtl"] .rx-sv-section-title { letter-spacing: -0.01em !important; line-height: 1.5 !important; }
html[dir="rtl"] .rx-sv-desc { letter-spacing: 0 !important; }
html[dir="rtl"] .rx-sv-case-title { letter-spacing: 0 !important; line-height: 1.5 !important; }
html[dir="rtl"] .rx-sv-multi-head h2 { letter-spacing: 0 !important; line-height: 1.5 !important; }
html[dir="rtl"] .rx-sv-section-sub,
html[dir="rtl"] .rx-sv-case-desc { letter-spacing: 0 !important; }

/* عناوين التدرج المونو: مساحة تحت عشان الديسكيندرز ما تتقفلش */
html[dir="rtl"] .rx-sv-accent,
html[dir="rtl"] em.rx-sv-title-line {
    line-height: 1.5 !important;
    padding-bottom: 0.1em;
}

/* أيقونات Font Awesome ما تتكسرش في RTL */
html[dir="rtl"] i[class*="fa-"] { font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important; }
html[dir="rtl"] i.fa-solid { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
html[dir="rtl"] i.fa-regular { font-family: "Font Awesome 6 Free" !important; font-weight: 400 !important; }
html[dir="rtl"] i.fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }

/* ============================================================
   15) REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .rx-sv-eyebrow, .rx-sv-desc, .rx-sv-hero-ctas, .rx-sv-hud,
    .rx-sv-title-line { animation: none !important; opacity: 1 !important; transform: none !important; }
    .rx-sv-scroll span { animation: none !important; top: 30%; opacity: .4; }

    /* اللودر القياسي: اللوجو ثابت + شبكة أمان CSS تفضل شغالة */
    .loader-logo-text { animation: none !important; opacity: 1 !important; }

    .rx-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .rx-sv-service-row, .rx-sv-pkg-item, .rx-sv-pkg-card,
    .rx-sv-multi-company-card, .rx-sv-process-step, .rx-sv-btn,
    .rx-sv-rules-item,
    .rx-sv-multi-company-art > img,
    .rx-sv-portfolio-card, .rx-sv-case-link,
    .rx-sv-package-modal, .rx-sv-package-modal-shell,
    .rx-sv-package-modal-close {
        transition: none !important;
    }
    .rx-sv-multi-company-card:hover,
    .rx-sv-process-step:hover,
    .rx-sv-pkg-item:hover,
    .rx-sv-btn:hover { transform: none !important; }
    .rx-sv-multi-company-card:hover .rx-sv-multi-company-art > img { transform: none !important; }
}

/* End Reynx Services v4 — Tech Luxe */
