/* ============================================================
   Rio Solutions — site.css (النظام الكامل لإعادة البناء الثابتة)
   القيم مستخرجة من CSS الموقع الحي المجمّد (content-freeze/css/)
   المرجع الملزم: rebuild/DESIGN.md
   ============================================================ */

/* ---------- 1) الخطوط المستضافة ذاتياً ---------- */
/* DM Sans (variable 400–700) — خط الموقع الحي للفقرات، والبديل المعتمد لـhalyard-display */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tajawal — الخط العربي (أوزان الموقع الحي المقيسة: 300/400/500/700/800) */
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/tajawal-300-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/tajawal-300-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/tajawal-400-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/tajawal-400-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/tajawal-500-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/tajawal-500-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/tajawal-700-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/tajawal-700-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/tajawal-800-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/tajawal-800-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- 2) Design tokens (حرفية من __custom.css — scheme_dark هو الافتراضي) ---------- */
:root {
  /* الألوان — scheme_dark (طابع الموقع الغالب) */
  --rio-bg: #000000;
  --rio-bg-alter: #131316;
  --rio-bg-alter-hover: #1A1A1C;
  --rio-bg-extra: #18181A;
  --rio-bd: #2D2F33;
  --rio-bd-hover: #3B3D40;
  --rio-text: #D2D3D5;
  --rio-text-light: #96999F;
  --rio-heading: #FFFFFF;
  --rio-accent: #ea5a0c;          /* text_link الموقع الحي */
  /* hover: الحيّ لا يغيّر اللون إطلاقاً (text_hover = text_link نفسه — مقيس).
     #f76e18 لون لم يُرسم على الحيّ قط، وتباين الأبيض عليه 2.92:1 (يسقط دون 3:1).
     #C94003 قيمة موجودة في متغيّرات الثيم، تباينها 4.98:1 وتُبقي تغذية hover راجعة. */
  --rio-accent-blend: #C94003;
  --rio-accent-20: rgba(234, 90, 12, .2);
  --rio-overlay: rgba(0, 0, 0, .55);
  /* الخطوط */
  --rio-font: 'DM Sans', sans-serif;
  --rio-font-display: 'DM Sans', sans-serif; /* بديل halyard-display المعتمد */
  --rio-w-heading: 700;
  --rio-ls-btn: 1.5px;
  --rio-tt-heading: uppercase;
  /* الشبكة (حرفية من الثيم) */
  /* الصندوق 1330 + حشو 20 على الجانبين ⇒ العرض الداخلي 1290 = المقيس على الحيّ */
  --rio-page-width: 1330px;
  --rio-gap: 30px;
  --rio-rad: 0px;                 /* --theme-var-rad: 0 — زوايا حادة */
  --rio-rad-btn: 15px;            /* مقيس على كل أزرار الحيّ (الثيم 0 لكن الأزرار 15) */
  /* حشو القسم 50 ⇒ الفجوة بين قسمين متجاورين = 100px (مقيسة على الحيّ) */
  --rio-section-pad: 50px;
  --rio-header-h: 96px;
}
/* عرض المحتوى ينكمش إلى 1100 داخلياً تحت 1440 (مقيس: 1290 عند 1440 · 1100 عند 1280) */
@media (max-width: 1439px) { :root { --rio-page-width: 1140px; } }
@media (max-width: 767px)  { :root { --rio-header-h: 76px; } }
[dir="rtl"] {
  --rio-font: 'Tajawal', sans-serif;
  --rio-font-display: 'Tajawal', sans-serif;
  --rio-ls-btn: 0px;              /* letter-spacing لا يصلح للعربية */
  --rio-tt-heading: none;         /* لا uppercase عربياً */
  --rio-w-heading: 800;           /* عناوين الحيّ العربية Tajawal 800 (مقيس) */
}

/* ---------- 3) الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rio-font);
  font-size: 17px;               /* مقيس على الحيّ: 17/28.6 ديسكتوب · 16/26.9 تحت 1024 */
  font-weight: 400;
  line-height: 1.68;             /* --theme-font-p_line-height */
  color: var(--rio-text);
  background-color: var(--rio-bg);
}
@media (max-width: 1023px) { body { font-size: 16px; } }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.7em; }
p:last-child { margin-bottom: 0; }
a { color: var(--rio-accent); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--rio-accent-blend); }
ul, ol { margin: 0 0 1.7em; padding-inline-start: 1.4em; }
figure { margin: 0; }

/* مقياس العناوين — حرفي من الثيم (halyard 500 → DM Sans/Tajawal 700) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rio-font-display);
  font-weight: var(--rio-w-heading);
  text-transform: var(--rio-tt-heading);
  color: var(--rio-heading);
  letter-spacing: 0;
}
/* سلّم العناوين — أرقام مقيسة على الموقع الحيّ عند 1440/1280/1024/768/390.
   كُتب بالبكسل لا بالـem: قيم الحيّ لا تتبع نسبة واحدة عبر الدرجات. */
h1 { font-size: 57px; line-height: 57px; margin: 1.04em 0 .46em; }
h2 { font-size: 47px; line-height: 47px; margin: .67em 0 .56em; }
h3 { font-size: 24px; line-height: 30px; margin: .94em 0 .72em; }
h4 { font-size: 1.647em; line-height: 1.036;   margin: 1.15em 0 .83em; }
h5 { font-size: 1.412em; line-height: 1.083;   margin: 1.3em 0 .84em; }
h6 { font-size: 1.118em; line-height: 1.263;   margin: 1.75em 0 1.1em; }
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; }
@media (max-width: 1279px) {           /* مقيس عند 1024: h1 44/44 · h2 36/36 */
  h1 { font-size: 44px; line-height: 44px; }
  h2 { font-size: 36px; line-height: 36px; }
}
@media (max-width: 1023px) {           /* مقيس عند 768: h1 38/42 · h2 30/30 */
  h1 { font-size: 38px; line-height: 42px; }
  h2 { font-size: 30px; line-height: 30px; }
}
@media (max-width: 767px) {            /* مقيس عند 390: h1 26/30 · h2 24/24 · h3 20/25 */
  h1 { font-size: 26px; line-height: 30px; }
  h2 { font-size: 24px; line-height: 24px; }
  h3 { font-size: 20px; line-height: 25px; }
}
/* مقاسا h5/h6 كأدوات مستقلة عن درجة العنوان.
   لماذا: عناوين المستندات الطويلة (سياسة الخصوصية) وترويسات النصّ الغني كانت
   مكتوبة h5/h6 لمقاسها البصري لا لموقعها في التسلسل، فأنتجت قفزة h1→h5 يعدّها
   المدقّق بنية معطوبة. الدرجة تُصحَّح في الماركب والمقاس يبقى هنا حرفياً.
   الخصوصية (فئة = 0,1,0) تغلب قواعد العنصر داخل media queries (0,0,1). */
.rio-h-md { font-size: 1.412em; line-height: 1.083; margin: 1.3em 0 .84em; }
.rio-h-sm { font-size: 1.118em; line-height: 1.263; margin: 1.75em 0 1.1em; }
.rio-h-md:first-child, .rio-h-sm:first-child { margin-top: 0; }

/* ---------- 4) الحاويات والأقسام ---------- */
.rio-container {
  max-width: var(--rio-page-width);
  margin-inline: auto;
  padding-inline: 20px;
}
.rio-section { padding-block: var(--rio-section-pad); }
.rio-section--alter { background-color: var(--rio-bg-alter); }
.rio-section--extra { background-color: var(--rio-bg-extra); }
.rio-section--tight { padding-block: 30px; }
@media (max-width: 1279px) { .rio-section { --rio-section-pad: 35px; } .rio-section--tight { padding-block: 24px; } }
@media (max-width: 767px)  { .rio-section { --rio-section-pad: 25px; } .rio-section--tight { padding-block: 18px; } }
.rio-narrow { max-width: 860px; margin-inline: auto; }

/* ---------- 5) الأزرار (تطابق sc_button) ---------- */
/* مقيس على كل أزرار الحيّ (اللغتين، كل العروض):
   نصف قطر 15 · ارتفاع 45 · حشو 15/30 · 15px/1 · بلا uppercase وبلا letter-spacing */
.rio-btn {
  display: inline-block;
  font-family: var(--rio-font-display);
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  padding: 15px 30px;
  border: 0;
  border-radius: var(--rio-rad-btn);
  background-color: var(--rio-accent);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.rio-btn:hover { background-color: var(--rio-accent-blend); color: #fff; }
/* الثانوي: الحدّ بلون النص نفسه وسماكة 2px (مقيس على sc_button_bordered) — الارتفاع يبقى 45 */
.rio-btn--ghost { background-color: transparent; border: 2px solid currentColor; padding: 13px 28px; color: var(--rio-heading); }
.rio-btn--ghost:hover { background-color: transparent; color: var(--rio-accent); }

/* ---------- 6) الهيدر ---------- */
.rio-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: transparent;
}
.rio-header__bar {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: var(--rio-header-h);
  padding-inline: 40px;
}
/* ⚠️ لا هيدر لاصق: الموقع الحيّ يعطّله (body.hide_fixed_rows_enabled) — مقيس عند
   scrollY=1200: لا عنصر ثابت أعلى الشاشة. بديله زرّ العودة للأعلى (موجود على الحيّ). */
.rio-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.rio-logo img { height: 50px; width: auto; }          /* مقيس: 50 ديسكتوب · 40 تحت 1024 */
@media (max-width: 1023px) { .rio-logo img { height: 40px; } }
.rio-nav { margin-inline-start: auto; }
.rio-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.rio-nav li { position: relative; }
.rio-nav a {
  display: block;
  font-family: var(--rio-font-display);
  font-size: 20px;               /* مقيس على الحيّ 20/30 (Additional CSS يرفع 17 المُعلن) */
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  padding: .6em .8em;
}
/* الحيّ لا يغيّر لون بند القائمة لا عند المرور ولا للصفحة الحالية — التغذية الراجعة خطّ سفلي */
.rio-nav > ul > li > a { position: relative; }
.rio-nav > ul > li > a::after {
  content: '';
  position: absolute;
  inset-inline-start: 10%;
  bottom: .3em;
  width: 80%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .1s ease;   /* مقيس: all 0.1s ease */
}
.rio-nav > ul > li > a:hover::after,
.rio-nav > ul > li.is-current > a::after { transform: scaleX(1); }
/* القائمة المنسدلة */
.rio-nav .rio-sub {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  min-width: 300px;
  background: var(--rio-bg-extra);
  border: 1px solid var(--rio-bd);
  list-style: none;
  margin: 0;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 20;
}
.rio-nav li:hover > .rio-sub, .rio-nav li:focus-within > .rio-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.rio-nav .rio-sub a {
  font-family: var(--rio-font);  /* submenu = DM Sans 15px في الثيم */
  font-size: 15px;
  font-weight: 400;
  color: var(--rio-text);
  padding: .45em 1.5em;
}
.rio-nav .rio-sub a:hover { color: #fff; }   /* مقيس: extra_hover = #FFFFFF */
/* تبديل اللغة — بند قائمة عادي على الحيّ: أبيض وبلا إطار */
.rio-lang a { color: #fff; border: 0; }
/* البرغر */
.rio-burger {
  display: none;
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.rio-burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }
@media (max-width: 1279px) {
  .rio-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(360px, 88vw);
    background: var(--rio-bg-alter);   /* alter_bg_color = #131316 — لوحة الجوال على الحيّ */
    border-inline-start: 1px solid var(--rio-bd);
    padding: 90px 26px 40px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
    z-index: 1001;
  }
  [dir="rtl"] .rio-nav { transform: translateX(-100%); }
  body.rio-nav-open .rio-nav { transform: translateX(0); }
  .rio-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .rio-nav a { padding: .55em 0; font-size: 18px; }
  .rio-nav > ul > li > a::after { display: none; }
  /* تتابع دخول بنود القائمة — transform/opacity فقط، وزمنه الكلي ≈0.8s
     (الحيّ 1.4s بستارة تُحرَّك بـheight — خاصية تخطيط، لا تُنقل). */
  .rio-nav li { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
  body.rio-nav-open .rio-nav li { opacity: 1; transform: none; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(1) { transition-delay: .10s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(2) { transition-delay: .16s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(3) { transition-delay: .22s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(4) { transition-delay: .28s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(5) { transition-delay: .34s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(6) { transition-delay: .40s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(7) { transition-delay: .46s; }
  body.rio-nav-open .rio-nav > ul > li:nth-child(8) { transition-delay: .46s; }
  body.rio-nav-open .rio-nav .rio-sub li { transition-delay: .3s; }
  .rio-nav .rio-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    background: transparent;
    min-width: 0;
    padding: 0 0 6px;
    margin-inline-start: 1em;
  }
  .rio-lang a { display: block; margin: 14px 0 0; }
  .rio-burger { display: block; position: relative; z-index: 1002; }
  body.rio-nav-open .rio-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.rio-nav-open .rio-burger span:nth-child(2) { opacity: 0; }
  body.rio-nav-open .rio-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.rio-nav-open { overflow: hidden; }
}

/* ---------- 7) الهيرو (أساسه بانر E0 المقيس LCP 1,804ms) ---------- */
.rio-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  container-type: size;
}
.rio-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  transform-origin: 50% 50%;
  animation: rio-hero-zoom 10s ease-out 1 both;
}
@keyframes rio-hero-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.rio-hero__inner { position: relative; z-index: 1; width: 100%; color: #fff; padding: 0 70px 60px; }
.rio-hero__display {
  font-family: var(--rio-font-display);
  font-size: min(14.0625cqw, 30cqh);
  line-height: min(12.0833cqw, 25.7778cqh);
  letter-spacing: max(-0.4167cqw, -0.8889cqh);
  margin: 0 0 16px;
}
[dir="rtl"] .rio-hero__display { letter-spacing: 0; }
.rio-hero__line1, .rio-hero__line2 { display: block; }
.rio-hero__design, .rio-hero__for { font-style: normal; display: inline-block; }
.rio-hero__design { text-transform: var(--rio-tt-heading); font-weight: 400; margin-inline-end: 26px; margin-inline-start: -14px; }
.rio-hero__for { font-weight: 300; }
.rio-hero__line2 { text-transform: var(--rio-tt-heading); font-weight: 400; text-align: end; padding-inline-end: 8px; }
.rio-hero__kicker {
  display: inline-block;
  font-family: var(--rio-font-display);
  font-size: 30px;
  line-height: 32px;
  font-weight: 500;
  text-transform: var(--rio-tt-heading);
  margin: 0 0 28px;
}
.rio-hero__lede { font-family: var(--rio-font); font-size: 17px; line-height: 28px; font-weight: 400; max-width: 409px; margin: 0; }
@media (max-width: 1460px) {
  .rio-hero__display { font-size: min(13.8889cqw, 29.1971cqh); line-height: min(11.6667cqw, 24.5255cqh); letter-spacing: max(-0.4167cqw, -0.8759cqh); }
  [dir="rtl"] .rio-hero__display { letter-spacing: 0; }
  .rio-hero__kicker { font-size: 26px; line-height: 28px; margin-bottom: 14px; }
  .rio-hero__lede { font-size: 15px; line-height: 24px; }
  .rio-hero__inner { padding: 0 70px 40px; }
}
@media (max-width: 785px) {
  .rio-hero__display { font-size: min(15.4241cqw, 20cqh); line-height: min(13.8817cqw, 18cqh); letter-spacing: max(-0.3856cqw, -0.5cqh); }
  [dir="rtl"] .rio-hero__display { letter-spacing: 0; }
  .rio-hero__lede { max-width: 370px; }
  .rio-hero__inner { padding: 0 30px 40px; }
}
@media (max-width: 500px) {
  .rio-hero__display { font-size: min(18.3333cqw, 15.7143cqh); line-height: min(17.9167cqw, 15.3571cqh); letter-spacing: max(-0.4167cqw, -0.3571cqh); }
  [dir="rtl"] .rio-hero__display { letter-spacing: 0; }
  .rio-hero__line2 { text-align: start; }
  .rio-hero__lede { max-width: 100%; }
  .rio-hero__inner { padding: 0 20px 25px; }
}

/* ---------- 8) بانر عنوان الصفحة الداخلية (sc_layouts_title) ---------- */
.rio-page-title {
  position: relative;
  background-color: var(--rio-bg-alter);
  /* ارتفاع البانر مقيس على الحيّ: 578.7 عند 1440 · 314 عند 768 · 198.6 عند 390 */
  padding: calc(var(--rio-header-h) + 190px) 0 185px;
  text-align: center;
  overflow: hidden;
}
.rio-page-title__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rio-page-title__bg + .rio-page-title__inner::before { content: ''; position: absolute; inset: 0; background: var(--rio-overlay); z-index: -1; }
.rio-page-title__inner { position: relative; z-index: 1; }
.rio-page-title h1 { margin: 0 0 .35em; }
/* فتات المسار على الحيّ 17/28.6 — أي حجم نصّ الجسم نفسه (يتبع سلّم body) */
.rio-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: .35em; list-style: none; margin: 0; padding: 0; color: var(--rio-text-light); }
.rio-crumbs a { color: var(--rio-text); }
.rio-crumbs a:hover { color: var(--rio-accent-blend); }
.rio-crumbs li + li::before { content: '/'; margin-inline-end: .35em; color: var(--rio-text-light); }
/* نداء فوق الطية داخل البانر (صفحات الخدمات = صفحات هبوط الحملات).
   لا يغيّر ارتفاع البانر المقيس: يضاف تحت الفتات ضمن نفس الحشو. */
.rio-page-title__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.rio-page-title__actions .rio-btn { display: inline-flex; align-items: center; gap: 8px; }
/* الأيقونة 17px لكن مساهمتها في ارتفاع السطر 15px (هامش سالب 1px أعلى وأسفل):
   بدونه يرتفع الزرّ ذو الأيقونة إلى 47px بينما الزرّ المجاور 45px — مقيس. */
.rio-page-title__actions .rio-btn svg { width: 17px; height: 17px; flex: 0 0 auto; margin-block: -1px; }
@media (max-width: 767px) {
  .rio-page-title__actions { gap: 10px; margin-top: 18px; }
  .rio-page-title__actions .rio-btn { padding-inline: 22px; }
  .rio-page-title__actions .rio-btn--ghost { padding-inline: 20px; }
}
@media (max-width: 1279px) { .rio-page-title { padding: calc(var(--rio-header-h) + 120px) 0 115px; } }
@media (max-width: 1023px) { .rio-page-title { padding: calc(var(--rio-header-h) + 70px) 0 66px; } }
@media (max-width: 767px)  { .rio-page-title { padding: calc(var(--rio-header-h) + 30px) 0 27px; } }

/* ---------- 9) ترويسة قسم ---------- */
.rio-sec-heading { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.rio-sec-heading--start { text-align: start; margin-inline: 0; }
.rio-supertitle {
  display: block;
  font-family: var(--rio-font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--rio-ls-btn);
  text-transform: var(--rio-tt-heading);
  color: var(--rio-accent);
  margin-bottom: 14px;
}
.rio-sec-heading h2 { margin: 0; }
.rio-sec-heading p { margin: 1.2em 0 0; }

/* ---------- 10) شبكة البطاقات ---------- */
.rio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rio-gap); }
.rio-cards--2 { grid-template-columns: repeat(2, 1fr); }
.rio-cards--4 { grid-template-columns: repeat(4, 1fr); }
.rio-card {
  display: block;
  background-color: var(--rio-bg-alter);
  border: 1px solid var(--rio-bd);
  border-radius: var(--rio-rad);
  padding: 40px 34px;
  color: var(--rio-text);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.rio-card:hover { background-color: var(--rio-bg-alter-hover); border-color: var(--rio-bd-hover); transform: translateY(-6px); color: var(--rio-text); }
.rio-card__icon { color: var(--rio-accent); margin-bottom: 22px; }
.rio-card__icon svg { width: 44px; height: 44px; }
.rio-card__num {
  font-family: var(--rio-font-display);
  font-size: 1.412em;
  font-weight: var(--rio-w-heading);
  color: var(--rio-accent);
  margin-bottom: 14px;
}
/* عنوان البطاقة = مقابل h3 المرئي على الحيّ: 24/30 (line-height 1.25 لا 1.083) */
.rio-card h3, .rio-card .rio-card__title { font-size: 1.412em; line-height: 1.25; margin: 0 0 .6em; }
.rio-card p { margin-bottom: 0; }
@media (max-width: 1023px) { .rio-cards, .rio-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .rio-cards, .rio-cards--2, .rio-cards--4 { grid-template-columns: 1fr; } }

/* ---------- 11) نص + صورة ---------- */
.rio-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rio-split--reverse .rio-split__media { order: 2; }
.rio-split__media img { width: 100%; height: auto; display: block; border-radius: var(--rio-rad); }
.rio-split__body h2 { margin-top: 0; }
.rio-split__bullets { list-style: none; padding: 0; margin: 1.5em 0; }
.rio-split__bullets li { position: relative; padding-inline-start: 2em; margin-bottom: .8em; }
.rio-split__bullets li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .35em;
  width: 1em;
  height: 1em;
  background-color: var(--rio-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.1 11.2 2.9 8l-1.1 1.1 4.3 4.3 9-9-1.1-1.1z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.1 11.2 2.9 8l-1.1 1.1 4.3 4.3 9-9-1.1-1.1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.rio-split__body .rio-btn { margin-top: 10px; }
@media (max-width: 1023px) {
  .rio-split { grid-template-columns: 1fr; gap: 36px; }
  .rio-split--reverse .rio-split__media { order: 0; }
}

/* ---------- 12) عدّادات ---------- */
.rio-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--rio-gap); text-align: center; }
.rio-stats__value {
  font-family: var(--rio-font-display);
  font-size: 3.353em;
  line-height: 1;
  /* أرقام بعرض ثابت: العدّاد يكتب النصّ في كل إطار و«1» أضيق من «8» ⇒ إزاحة أفقية */
  font-variant-numeric: tabular-nums;
  font-weight: var(--rio-w-heading);
  color: var(--rio-heading);
}
.rio-stats__value .rio-stats__suffix { color: var(--rio-accent); }
.rio-stats__label { margin-top: .6em; color: var(--rio-text-light); }

/* ---------- 13) شريط CTA ---------- */
.rio-cta { position: relative; background-color: var(--rio-bg-alter); overflow: hidden; text-align: center; padding: 90px 0; }
.rio-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rio-cta__bg ~ .rio-container::before { content: ''; position: absolute; inset: 0; background: var(--rio-overlay); z-index: 0; }
.rio-cta .rio-container { position: relative; z-index: 1; }
.rio-cta h2 { margin-top: 0; }
.rio-cta p { max-width: 640px; margin-inline: auto; }
.rio-cta .rio-btn { margin-top: 24px; }

/* ---------- 14) أغلفة الخدمات (sc_cover) ---------- */
.rio-covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--rio-gap); }
.rio-covers--3 { grid-template-columns: repeat(3, 1fr); }
.rio-covers--2 { grid-template-columns: repeat(2, 1fr); }
/* النسبة مقيسة على الحيّ: 605×570.5 عند 1440 و354×334.5 عند 768 ⇒ 1.06 (وليست 3/4) */
.rio-cover { position: relative; display: block; aspect-ratio: 1.06; overflow: hidden; border-radius: var(--rio-rad); }
.rio-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rio-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 55%);
  transition: background .3s ease;
}
.rio-cover:hover img { transform: scale(1.06); }
.rio-cover__title {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  bottom: 0;
  padding: 26px 28px;
  margin: 0;
  font-size: 1.412em;
  line-height: 1.25;
  color: #fff;
}
@media (max-width: 1023px) { .rio-covers, .rio-covers--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .rio-covers, .rio-covers--2, .rio-covers--3 { grid-template-columns: 1fr; } }

/* ---------- 15) شبكة الأعمال ---------- */
.rio-folio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rio-gap); }
.rio-folio--2 { grid-template-columns: repeat(2, 1fr); }
.rio-folio--4 { grid-template-columns: repeat(4, 1fr); }
.rio-folio__item { position: relative; overflow: hidden; border-radius: var(--rio-rad); }
.rio-folio__item img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.rio-folio__item:hover img { transform: scale(1.05); }
.rio-folio__cap { padding: 16px 4px 0; }
/* ‏h3 لا h5: تسلسل العناوين رُفع لمستواه المنطقي (h2 القسم ← h3 البطاقة)
   والمقاسات مثبَّتة هنا فلا يتغيّر المرئي بمليمتر. */
.rio-folio__cap h3 { margin: 0 0 .2em; font-size: 1.118em; line-height: 1.263; }
.rio-folio__cap span { font-size: 14px; color: var(--rio-text-light); }
@media (max-width: 1023px) { .rio-folio, .rio-folio--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .rio-folio, .rio-folio--2, .rio-folio--4 { grid-template-columns: 1fr; } }

/* ---------- 16) شريط الشعارات ---------- */
.rio-logos { display: flex; align-items: center; gap: 70px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.rio-logos::-webkit-scrollbar { display: none; }
.rio-logos img { height: 64px; width: auto; flex-shrink: 0; opacity: .65; filter: grayscale(1) brightness(1.6); transition: opacity .3s ease, filter .3s ease; }
.rio-logos img:hover { opacity: 1; filter: none; }

/* ---------- 17) جدول الأسعار (sc_price) ---------- */
.rio-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rio-gap); align-items: stretch; }
.rio-plan {
  display: flex;
  flex-direction: column;
  background-color: var(--rio-bg-alter);
  border: 1px solid var(--rio-bd);
  border-radius: var(--rio-rad);
  padding: 44px 38px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* مقيس على الحيّ (wp-custom-css): translateY(-15px) + ظل برتقالي */
.rio-plan:hover { transform: translateY(-15px); border-color: var(--rio-bd-hover); box-shadow: 0 25px 50px rgba(234, 90, 12, .3); }
.rio-plan--featured { border-color: var(--rio-accent); }
.rio-plan__name { font-size: 1.412em; margin: 0 0 .8em; }
.rio-plan__price { font-family: var(--rio-font-display); font-size: 3em; line-height: 1; font-weight: var(--rio-w-heading); color: var(--rio-heading); }
.rio-plan__price sup { font-size: .38em; vertical-align: super; color: var(--rio-accent); }
.rio-plan__period { display: block; font-size: 14px; color: var(--rio-text-light); margin-top: .5em; }
.rio-plan__features { list-style: none; margin: 1.8em 0; padding: 0; flex: 1; }
.rio-plan__features li { padding: .7em 0; border-bottom: 1px solid var(--rio-bd); }
.rio-plan__features li:last-child { border-bottom: 0; }
.rio-plan .rio-btn { align-self: center; }
@media (max-width: 1023px) { .rio-pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- 18) الأسئلة الشائعة (details/summary أصلي) ---------- */
.rio-faq { max-width: 860px; margin-inline: auto; }
.rio-faq details { border-bottom: 1px solid var(--rio-bd); }
.rio-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 1.3em 0;
  font-family: var(--rio-font-display);
  font-size: 1.25em;
  font-weight: var(--rio-w-heading);
  color: var(--rio-heading);
  transition: color .3s ease;
}
.rio-faq summary::-webkit-details-marker { display: none; }
.rio-faq summary:hover { color: var(--rio-accent-blend); }
.rio-faq summary::after { content: '+'; font-size: 1.3em; line-height: 1; color: var(--rio-accent); transition: transform .3s ease; flex-shrink: 0; }
.rio-faq details[open] summary::after { transform: rotate(45deg); }
.rio-faq details > div { padding: 0 0 1.5em; }

/* ---------- 19) بطاقات بيانات التواصل ---------- */
.rio-cinfo { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rio-gap); text-align: center; }
.rio-cinfo__item { background-color: var(--rio-bg-alter); border: 1px solid var(--rio-bd); border-radius: var(--rio-rad); padding: 40px 30px; }
.rio-cinfo__item .rio-card__icon { margin-bottom: 16px; }
/* كان h6 — صار h3 بمقاس h6 نفسه (لا قفزة h2→h6 في تسلسل الصفحة). */
.rio-cinfo__title { margin: 0 0 .8em; font-size: 1.118em; line-height: 1.263; }
.rio-cinfo__item p { margin: 0 0 .3em; }
.rio-cinfo__item a { color: var(--rio-text); }
.rio-cinfo__item a:hover { color: var(--rio-accent-blend); }
@media (max-width: 1023px) { .rio-cinfo { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- 20) النماذج (contact / quote / newsletter) ---------- */
.rio-form { max-width: 860px; margin-inline: auto; }
.rio-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rio-form__grid .rio-form__field--full { grid-column: 1 / -1; }
.rio-form label { display: block; font-size: 14px; margin-bottom: .5em; color: var(--rio-text-light); }
.rio-form input[type="text"],
.rio-form input[type="email"],
.rio-form input[type="tel"],
.rio-form select,
.rio-form textarea {
  width: 100%;
  font-family: var(--rio-font);
  font-size: 16px;               /* --theme-font-input */
  line-height: 1.5;
  color: var(--rio-text);        /* input_text على الحيّ = #D2D3D5 (لا لون العناوين) */
  background-color: transparent;
  border: 1px solid var(--rio-bd);
  border-radius: var(--rio-rad);
  padding: .8em 1.1em;
  transition: border-color .3s ease;
}
.rio-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2396999F' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 10px; }
[dir="rtl"] .rio-form select { background-position: left 1em center; }
.rio-form select option { background-color: var(--rio-bg-extra); color: var(--rio-text); }
.rio-form input:focus, .rio-form select:focus, .rio-form textarea:focus { outline: none; border-color: var(--rio-accent); }
.rio-form input::placeholder, .rio-form textarea::placeholder { color: var(--rio-text-light); }
.rio-form textarea { min-height: 160px; resize: vertical; }
.rio-form__consent { display: flex; align-items: flex-start; gap: .6em; font-size: 14px; color: var(--rio-text-light); margin-top: 18px; }
.rio-form__consent input { accent-color: var(--rio-accent); margin-top: .25em; }
.rio-form__submit { margin-top: 26px; }
.rio-form__response { display: none; margin-top: 14px; font-size: 14px; }
/* رسالة ما بعد الإرسال — يكشفها سكربت الفوتر عند ?sent=1 / ?error= */
.rio-form__response.is-visible {
  display: block;
  margin: 0 0 26px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rio-heading);
  background-color: var(--rio-bg-alter);
  border: 1px solid var(--rio-bd);
  border-inline-start: 3px solid var(--rio-accent);
}
.rio-form__response--err.is-visible { border-inline-start-color: var(--rio-bd-hover); color: var(--rio-text); }
.rio-nl .rio-form__response.is-visible { margin-bottom: 16px; font-size: 14px; padding: 12px 14px; }
@media (max-width: 640px) { .rio-form__grid { grid-template-columns: 1fr; } }

/* ---------- 21) بديل الخريطة ---------- */
.rio-map { background-color: var(--rio-bg-alter); border: 1px solid var(--rio-bd); border-radius: var(--rio-rad); padding: 50px 40px; text-align: center; }
.rio-map h3 { margin-top: 0; }
.rio-map address { font-style: normal; margin-bottom: 1.5em; }

/* ---------- 22) الفوتر ---------- */
.rio-footer { background-color: var(--rio-bg-alter); border-top: 1px solid var(--rio-bd); }
.rio-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* الحيّ: أربعة أعمدة متساوية 330px عند 1440 */
  gap: 50px var(--rio-gap);
  padding-block: 120px;
}
.rio-footer h6 { margin: 0 0 1.2em; }
/* ترويسة «الخدمات» الثانية داخل عمود الروابط — تفصل القائمتين بلا عمود خامس
   (شبكة الفوتر أربعة أعمدة مقيسة على الحيّ). */
.rio-footer h6.rio-footer__sub { margin-top: 1.6em; }
.rio-footer__logo img { height: 62px; width: auto; margin-bottom: 22px; }
.rio-footer p { font-size: 15px; }
.rio-footer ul { list-style: none; margin: 0; padding: 0; }
.rio-footer ul li { margin-bottom: .7em; }
.rio-footer a { color: var(--rio-text); }
.rio-footer a:hover { color: var(--rio-accent-blend); }
.rio-footer__phone { font-family: var(--rio-font-display); font-weight: var(--rio-w-heading); color: var(--rio-text); font-size: 1.118em; direction: ltr; unicode-bidi: embed; display: inline-block; }
.rio-footer__phone:hover { color: var(--rio-accent-blend); }
.rio-socials { display: flex; gap: 12px; margin-top: 18px; }
.rio-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rio-bd);
  border-radius: var(--rio-rad);
  color: var(--rio-text);
  transition: color .3s ease, border-color .3s ease;
}
.rio-socials a:hover { color: var(--rio-accent); border-color: var(--rio-accent); }
.rio-socials svg { width: 18px; height: 18px; }
/* نموذج النشرة */
.rio-nl__row { display: flex; gap: 0; }
.rio-nl__row input[type="email"] {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--rio-text);
  background: transparent;
  border: 1px solid var(--rio-bd);
  border-inline-end: 0;
  border-radius: var(--rio-rad);
  padding: .8em 1em;
}
.rio-nl__row input:focus { outline: none; border-color: var(--rio-accent); }
.rio-nl__row .rio-btn { padding-inline: 1.6em; }
.rio-nl .rio-form__consent { font-size: 13px; }
.rio-footer__bottom { border-top: 1px solid var(--rio-bd); padding-block: 26px; text-align: center; font-size: 14px; color: var(--rio-text-light); }
.rio-footer__bottom a { color: var(--rio-text-light); }
.rio-footer__bottom a:hover { color: var(--rio-accent-blend); }
@media (max-width: 1023px) { .rio-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 32px var(--rio-gap); padding-block: 45px; } }
@media (max-width: 640px)  {
  .rio-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .rio-footer h6 { margin-bottom: .7em; }
  .rio-footer__logo img { height: 46px; margin-bottom: 14px; }
  .rio-footer ul li { margin-bottom: .45em; }
  .rio-footer__bottom { padding-block: 18px; }
}

/* ---------- 23) أدوات مساعدة ---------- */
.rio-text-center { text-align: center; }
.rio-mt-0 { margin-top: 0; }
.rio-accent { color: var(--rio-accent); }
.rio-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* روابط التخطّي: مخفية حتى يصلها التركيز بالـTab (مقابل original_skip_link في الموقع المجمّد) */
.rio-skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  padding: 12px 24px; background: var(--rio-accent); color: #fff;
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.rio-skip:focus { inset-inline-start: 0; outline: 2px solid #fff; outline-offset: -4px; }
#main:focus, .rio-footer:focus { outline: none; }

/* ---------- 24) حركة الظهور عند التمرير ----------
   المرجع المقيس: Elementor entrance animation على الحيّ —
   from{opacity:0;translateY(60px)} · 0.75s ease · تأخير 100ms ·
   IntersectionObserver بـ threshold:0 و rootMargin:'0px' ثم unobserve.
   ⚠️ الحالة المخفية لا تُكتب هنا مطلقاً بلا `html.rio-js`: الصنف يضيفه سكربت
   صغير في <head> فقط عند توفّر IO وغياب تفضيل تقليل الحركة، ويُزال عند `load`
   إن لم يُحمَّل rio.js ⇒ لا يمكن أن يبقى محتوى مخفياً لو تعطّل الجافاسكربت.
   ولا يوضع data-reveal على الهيرو ولا بانر العنوان ولا أول قسمين (فوق الطية). */
html.rio-js [data-reveal] { opacity: 0; transform: translateY(60px); }
html.rio-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .75s ease, transform .75s ease;
  transition-delay: .1s;
}

/* ---------- 25) زرّ العودة للأعلى (موجود على الحيّ — 40×40 · يظهر بعد 100px) ---------- */
.rio-totop {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 16px;
  z-index: 999;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--rio-rad-btn);
  background-color: var(--rio-accent);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background-color .3s ease;
}
.rio-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rio-totop:hover { background-color: var(--rio-accent-blend); }
.rio-totop svg { width: 18px; height: 18px; }

/* ---------- 26) الحركة تحترم تفضيل المستخدم ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rio-hero__bg { transform: none; }
  /* طبقة ثانية فوق حارس الجافاسكربت: لا شيء يبقى مخفياً بلا انتقال يكشفه */
  html.rio-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .rio-nav li { opacity: 1 !important; transform: none !important; }
}
