/* ========= Alruwad theme — الألوان والخطوط (مقفولة داخل الثيم) ========= */
:root {
  --d1: #17577f;
  --b: #226fa5;
  --m: #2e95cc;
  --sk: #8fd6ef;
  --t: #3cc6d1;
  --mi: #dff3fb;
  --ic: #f0fafd;
  --ink: #21465f;
  --so: #5d7f95;
  --hh: 78px;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); }
body { margin: 0; background: #fff; }
.rw {
  font-family: "Times New Roman", "Traditional Arabic", "Amiri", Times, serif;
  color: var(--ink);
  line-height: 1.9;
  font-size: 19px;
  overflow-x: clip;
  background: #fff;
  position: relative;
}
.rw * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.rw a {
  text-decoration: none;
  color: inherit;
}
.rw img,
.rw svg {
  max-width: 100%;
  display: block;
}
.rw ul {
  list-style: none;
}
.rw-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.rw h1,
.rw h2,
.rw h3 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--d1);
}
.rw h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.rw p {
  color: var(--so);
}
.rw-sec {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.rw-hd {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}
.rw-hd:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  border-radius: 4px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, var(--t), var(--m));
}
.bg-i {
  background: var(--ic);
  background-image: radial-gradient(
    rgba(46, 149, 204, 0.16) 1.6px,
    transparent 1.6px
  );
  background-size: 28px 28px;
}
.bg-g {
  background: linear-gradient(135deg, #17577f, #226fa5 55%, #2e95cc);
  background-size: 200% 200%;
  animation: rwg 16s ease infinite;
  color: #fff;
}
.bg-g h1,
.bg-g h2,
.bg-g h3 {
  color: #fff;
}
.bg-g p {
  color: #e6f6fc;
}
.bg-l:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.07) 0 1px,
    transparent 1px 110px
  );
  pointer-events: none;
  z-index: 1;
}
@keyframes rwg {
  0%,
  100% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes rwf {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-26px);
  }
}
@keyframes rwup {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rwmq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.rw-js .rv {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.rw-js .rv-l {
  transform: translateX(-60px);
}
.rw-js .rv-r {
  transform: translateX(60px);
}
.rw-js .rv-z {
  transform: scale(0.9);
}
.rw-js .rv.in {
  opacity: 1;
  transform: none;
}
.rw-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--m), var(--b));
  color: #fff !important;
  font-size: 1.05rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 12px 26px -12px rgba(23, 87, 127, 0.8);
}
.rw-btn:hover {
  transform: translateY(-4px);
}
.rw-btn.wt {
  background: #fff;
  color: var(--d1) !important;
}
.rw-btn.ol {
  background: transparent;
  border: 1.5px solid #fff;
  box-shadow: none;
}
.rw-btn.ol:hover {
  background: rgba(255, 255, 255, 0.15);
}
.rw-ico {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t), var(--m));
  display: grid;
  place-items: center;
  flex: none;
}
.rw-ic {
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 28px;
  height: 28px;
}
.rw-hero {
  padding: 90px 0 110px;
}
.rw-hg {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.rw-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #e6f6fc;
  margin-bottom: 20px;
}
.rw-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 18px;
  animation: rwup 1s ease both;
}
.rw-hero h1 span {
  color: var(--sk);
}
.rw-hero p {
  font-size: 1.25rem;
  max-width: 560px;
  margin-bottom: 30px;
}
.rw-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.rw-trust {
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: #e6f6fc;
}
.rw-trust span:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--t);
  margin-left: 8px;
}
.rw-pic {
  position: relative;
}
.rw-pic > img {
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 34px 54px -28px rgba(23, 87, 127, 0.6);
}
.rw-hero .rw-pic > img {
  border: 6px solid rgba(255, 255, 255, 0.2);
}
.rw-bdg {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 22px;
  box-shadow: 0 20px 34px -16px rgba(0, 0, 0, 0.5);
  animation: rwf 5s ease-in-out infinite alternate;
  color: var(--d1);
  line-height: 1.4;
  text-align: center;
}
.rw-bdg b {
  display: block;
  font-size: 1.6rem;
  color: var(--d1);
}
.rw-bdg span {
  font-size: 0.9rem;
  color: var(--so);
}
.rw-bdg.a {
  bottom: -20px;
  right: -16px;
}
.rw-bdg.c {
  top: 28px;
  left: -22px;
}
.rw-two .rw-bdg {
  bottom: 26px;
  left: -22px;
}
.rw-mq {
  background: #fff;
  border-bottom: 1px solid var(--mi);
  overflow: hidden;
  direction: ltr;
  padding: 20px 0;
}
.rw-mqt {
  display: flex;
  width: max-content;
  animation: rwmq 30s linear infinite;
}
.rw-mq:hover .rw-mqt {
  animation-play-state: paused;
}
.rw-mqt span {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  color: var(--b);
  padding: 0 28px;
  white-space: nowrap;
  font-weight: 700;
}
.rw-mqt span:after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--t);
  margin-right: 56px;
}
.rw-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rw-two h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  border-radius: 4px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--m), var(--t));
}
.rw-two p {
  margin-bottom: 16px;
}
.rw-ticks li {
  padding-right: 34px;
  position: relative;
  margin-bottom: 10px;
}
.rw-ticks li:before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t), var(--m));
}
.rw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.rw-stat {
  text-align: center;
  padding: 38px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.35s;
  color: #e6f6fc;
}
.rw-stat:hover {
  transform: translateY(-8px);
}
.rw-stat b {
  display: block;
  font-size: 3.2rem;
  color: #fff;
  line-height: 1.2;
}
.rw-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.rw-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid var(--mi);
  box-shadow: 0 22px 40px -30px rgba(23, 87, 127, 0.55);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.rw-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--t), var(--m));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s;
}
.rw-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 50px -28px rgba(23, 87, 127, 0.7);
}
.rw-card:hover:before {
  transform: scaleX(1);
}
.rw-card .rw-ico {
  margin-bottom: 20px;
}
.rw-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.rw-card p {
  font-size: 1rem;
  line-height: 1.85;
}
.rw-more {
  text-align: center;
  margin-top: 46px;
}
.rw-vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.rw-vm .rw-card {
  padding: 46px 40px;
}
.rw-vm .dk {
  background: linear-gradient(145deg, var(--d1), var(--m));
  border: 0;
}
.rw-vm .dk h3,
.rw-vm .dk p {
  color: #fff;
}
.rw-vals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.rw-vals div {
  text-align: center;
  padding: 26px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--mi);
  font-size: 0.92rem;
  color: var(--so);
  line-height: 1.5;
  transition: transform 0.3s;
}
.rw-vals div:hover {
  transform: translateY(-6px);
}
.rw-vals b {
  display: block;
  color: var(--d1);
  font-size: 1.2rem;
}
.rw-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}
.rw-steps:before {
  content: "";
  position: absolute;
  top: 35px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.6) 0 8px,
    transparent 8px 16px
  );
}
.rw-step {
  text-align: center;
  position: relative;
}
.rw-step i {
  font-style: normal;
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--b);
  font-size: 1.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
  transition: transform 0.35s;
}
.rw-step:hover i {
  transform: scale(1.14);
}
.rw-step h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.rw-step p {
  font-size: 0.92rem;
  line-height: 1.6;
}
.rw-band {
  background:
    linear-gradient(rgba(23, 87, 127, 0.8), rgba(34, 111, 165, 0.72)),
    var(--bi) center/cover fixed;
  text-align: center;
  padding: 130px 0;
}
.rw-band h2 {
  color: #fff;
  font-size: 2.8rem;
  max-width: 820px;
  margin: 0 auto 18px;
}
.rw-band p {
  color: #e6f6fc;
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.2rem;
}
.rw-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.rw-w {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3.2;
  display: block;
  background: var(--mi);
}
.rw-w img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.rw-w:hover img {
  transform: scale(1.12);
}
.rw-w:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 87, 127, 0.85));
  opacity: 0;
  transition: opacity 0.4s;
}
.rw-w:hover:after {
  opacity: 1;
}
.rw-w b {
  position: absolute;
  bottom: 18px;
  right: 22px;
  z-index: 2;
  color: #fff;
  font-size: 1.2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.4s;
}
.rw-w:hover b {
  transform: none;
  opacity: 1;
}
.rw-why .rw-card {
  text-align: center;
}
.rw-why .rw-ico {
  margin: 0 auto 20px;
}
.rw-faq {
  max-width: 860px;
  margin: 0 auto;
}
.rw-q {
  background: #fff;
  border: 1px solid var(--mi);
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 14px 28px -24px rgba(23, 87, 127, 0.6);
}
.rw-q summary {
  cursor: pointer;
  padding: 20px 26px;
  font-weight: 700;
  color: var(--d1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.rw-q summary::-webkit-details-marker {
  display: none;
}
.rw-q summary:after {
  content: "+";
  font-size: 1.8rem;
  color: var(--m);
  transition: transform 0.35s;
  line-height: 1;
}
.rw-q[open] summary:after {
  transform: rotate(45deg);
}
.rw-q p {
  padding: 0 26px 22px;
}
.rw-blog {
  text-align: center;
}
.rw-cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.rw-info li {
  margin-bottom: 24px;
}
.rw-info b {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}
.rw-info a,
.rw-info span {
  color: #e6f6fc;
}
.rw-info a:hover {
  text-decoration: underline;
}
.rw-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 60px -34px rgba(0, 0, 0, 0.6);
}
.rw-form h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: var(--d1);
}
.rw-form p {
  margin-bottom: 20px;
  color: var(--so) !important;
}
.rw-form input,
.rw-form select,
.rw-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  border: 1px solid #bfe3f3;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--ic);
  color: var(--ink);
}
.rw-form input:focus,
.rw-form select:focus,
.rw-form textarea:focus {
  outline: 0;
  border-color: var(--m);
  box-shadow: 0 0 0 4px rgba(46, 149, 204, 0.2);
}
.rw-form .rw-btn {
  width: 100%;
}
.rw-map {
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.35);
  margin-top: 20px;
}
.rw-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}
.rw-foot {
  background: var(--d1);
  padding: 70px 0 0;
}
.rw-fg {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 46px;
}
.rw-foot h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.rw-foot p,
.rw-foot a,
.rw-foot li {
  color: #d3eefa;
  font-size: 1rem;
}
.rw-foot li {
  margin-bottom: 8px;
}
.rw-foot a:hover {
  color: #fff;
}
.rw-fb {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding: 20px 0;
  font-size: 0.92rem;
}
.rw-social-title {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 12px;
}
.rw-social {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  direction: rtl;
  flex-wrap: wrap;
}
.rw-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  transition: all 0.3s ease;
}
.rw-social a:hover {
  background: linear-gradient(135deg, #3cc6d1, #2e95cc);
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}
.rw-social svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  display: block;
}
@media (max-width: 960px) {
  .rw {
    font-size: 17px;
  }
  .rw-hg,
  .rw-two,
  .rw-vm,
  .rw-cg,
  .rw-fg {
    grid-template-columns: 1fr;
  }
  .rw-hero h1 {
    font-size: 2.3rem;
  }
  .rw-g,
  .rw-works {
    grid-template-columns: 1fr 1fr;
  }
  .rw-stats,
  .rw-vals,
  .rw-steps {
    grid-template-columns: 1fr 1fr;
  }
  .rw-steps:before {
    display: none;
  }
  .rw-band {
    background-attachment: scroll;
  }
  .rw-sec {
    padding: 70px 0;
  }
  .rw-hero {
    padding: 60px 0 90px;
  }
  .rw-pic {
    max-width: 440px;
    margin: 0 auto;
  }
  .rw-bdg.a {
    right: -6px;
  }
  .rw-bdg.c {
    left: -6px;
  }
  .rw-band h2 {
    font-size: 2rem;
  }
  .rw h2 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .rw-g,
  .rw-works {
    grid-template-columns: 1fr;
  }
  .rw-in {
    padding: 0 16px;
  }
  .rw-form {
    padding: 28px 20px;
  }
  .rw-social a {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rw * {
    animation: none !important;
    transition: none !important;
  }
  .rw-js .rv {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   إضافات الثيم الجديد: الهيدر، الشريط، السلايدر، اللايت بوكس، المصعد،
   المدونة، الصفحات. (الألوان من المتغيرات أعلاه)
   ===================================================================== */
.rw a:focus-visible,
.rw button:focus-visible,
.rw summary:focus-visible { outline: 3px solid var(--t); outline-offset: 3px; }
html.rw-lock { overflow: hidden; }
.rw-ui { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.skip-link { position: absolute; right: 12px; top: -80px; background: #fff; color: var(--d1); padding: 10px 18px; border-radius: 10px; z-index: 5000; transition: top .2s; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--mi); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(23,87,127,.55); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header-in { display: flex; align-items: center; gap: 26px; min-height: var(--hh); max-width: 1280px; }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo-img { height: 54px; width: auto; max-width: 230px; object-fit: contain; }
.site-logo-text { font-size: 1.5rem; font-weight: 700; color: var(--d1); }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.rw-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.rw-nav li { position: relative; }
.rw-nav a { display: block; padding: 8px 16px; color: var(--d1); font-weight: 700; font-size: 1.02rem; border-radius: 50px; transition: color .25s, background .25s; }
.rw-nav a:hover, .rw-nav .current-menu-item > a, .rw-nav .current_page_item > a { color: var(--b); background: var(--ic); }
.rw-nav .sub-menu { position: absolute; top: 100%; right: 0; min-width: 220px; background: #fff; border: 1px solid var(--mi); border-radius: 14px; padding: 8px; box-shadow: 0 22px 40px -24px rgba(23,87,127,.6); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; z-index: 5; }
.rw-nav li:hover > .sub-menu, .rw-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-cta { padding: 10px 24px; font-size: .98rem; flex: none; }
.site-cta-m, .site-burger { display: none; }

/* ---------- الشريط المتحرك (الكلام مفصول) ---------- */
.rw-mqg { display: flex; flex: none; }

/* ---------- الخدمات ---------- */
.rw-card h3 a { transition: color .25s; }
.rw-card h3 a:hover { color: var(--b); }
.rw-ico .rw-ic { width: 28px; height: 28px; }

/* ---------- أعمالنا: السلايدر ---------- */
.rw-car { position: relative; }
.rw-car-track { scroll-padding: 0 4px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 8px 4px 26px; margin: 0 -4px; outline-offset: 6px; }
.rw-car-track::-webkit-scrollbar { display: none; }
.rw-slide { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; min-width: 0; cursor: pointer; }
.rw-slide-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: inherit; }
.rw-slide-img { display: block; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--mi); box-shadow: 0 22px 40px -28px rgba(23,87,127,.65); }
.rw-slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.rw-slide:hover .rw-slide-img img { transform: scale(1.08); }
.rw-slide-img:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23,87,127,.75)); opacity: 0; transition: opacity .4s; }
.rw-slide:hover .rw-slide-img:after, .rw-slide-btn:focus-visible .rw-slide-img:after { opacity: 1; }
.rw-count { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,.93); color: var(--d1); font-size: .88rem; padding: 3px 14px; border-radius: 50px; font-weight: 700; line-height: 1.7; }
.rw-view { position: absolute; bottom: 16px; right: 18px; left: 18px; z-index: 2; color: #fff; font-weight: 700; text-align: right; opacity: 0; transform: translateY(14px); transition: .4s; }
.rw-slide:hover .rw-view, .rw-slide-btn:focus-visible .rw-view { opacity: 1; transform: none; }
.rw-slide-cap { padding: 18px 6px 0; text-align: center; }
.rw-slide-cap h3 { font-size: 1.3rem; margin-bottom: 4px; }
.rw-slide-cap p { font-size: 1rem; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rw-car-btn { position: absolute; top: 36%; z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--d1); box-shadow: 0 14px 28px -10px rgba(23,87,127,.6); display: grid; place-items: center; cursor: pointer; transition: transform .25s, background .25s, color .25s, opacity .25s; }
.rw-car-btn.l { left: -14px; }
.rw-car-btn.r { right: -14px; }
.rw-car-btn:hover:not(:disabled) { background: var(--b); color: #fff; transform: scale(1.08); }
.rw-car-btn:disabled { opacity: .35; cursor: default; }
.rw-car.is-static .rw-car-btn { display: none; }

/* ---------- اللايت بوكس (فتح الألبوم) ---------- */
.rw-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(10,38,58,.95); display: none; flex-direction: column; color: #fff; }
.rw-lb.is-open { display: flex; animation: rwfade .3s ease; }
@keyframes rwfade { from { opacity: 0; } to { opacity: 1; } }
.rw-lb-bar { display: flex; align-items: center; gap: 16px; padding: 14px 22px; }
.rw-lb-title { font-weight: 700; font-size: 1.25rem; flex: 1; }
.rw-lb-count { opacity: .85; font-size: .98rem; direction: ltr; }
.rw-lb-x, .rw-lb-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s; flex: none; }
.rw-lb-x:hover, .rw-lb-nav:hover { background: rgba(255,255,255,.28); }
.rw-lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 78px; }
.rw-lb-nav { position: absolute; top: 50%; margin-top: -23px; }
.rw-lb-nav.l { left: 16px; }
.rw-lb-nav.r { right: 16px; }
.rw-lb-fig { height: 100%; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.rw-lb-fig img { max-width: 100%; max-height: calc(100% - 56px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); animation: rwfade .35s ease; }
.rw-lb-cap { text-align: center; max-width: 780px; min-height: 1.5em; opacity: .92; line-height: 1.7; font-size: 1.02rem; }
.rw-lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 22px 18px; scrollbar-width: thin; }
.rw-lb-thumbs button:first-child { margin-inline-start: auto; }
.rw-lb-thumbs button:last-child { margin-inline-end: auto; }
.rw-lb-thumbs button { flex: none; width: 76px; height: 56px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; opacity: .6; padding: 0; background: none; cursor: pointer; transition: opacity .25s, border-color .25s; }
.rw-lb-thumbs button.on { opacity: 1; border-color: var(--sk); }
.rw-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rw-lb.single .rw-lb-thumbs, .rw-lb.single .rw-lb-nav { display: none; }

/* ---------- كيف نعمل: المصعد المتحرك ---------- */
.rw-lift { --shaft: 92px; --gap: 38px; --mk: 36px; --cw: 56px; --ch: 74px; position: relative; max-width: 820px; margin: 0 auto; padding-right: calc(var(--shaft) + var(--gap)); }
.rw-shaft { position: absolute; top: 0; bottom: 0; right: 0; width: var(--shaft); border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 0 34px rgba(0,0,0,.14); }
.rw-shaft:before, .rw-shaft:after { content: ""; position: absolute; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.18)); }
.rw-shaft:before { right: 9px; }
.rw-shaft:after { left: 9px; }
.rw-cable { position: absolute; top: 0; right: calc(50% - 1px); width: 2px; height: calc(var(--y, 0px) + 10px); background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.9)); transition: height 1.1s cubic-bezier(.65,0,.35,1); }
.rw-cab { position: absolute; top: 0; right: calc((var(--shaft) - var(--cw)) / 2); width: var(--cw); height: var(--ch); transform: translateY(var(--y, 0px)); transition: transform 1.1s cubic-bezier(.65,0,.35,1); z-index: 3; }
.rw-cabin { display: block; position: absolute; inset: 0; border-radius: 9px 9px 5px 5px; background: linear-gradient(180deg, #fff, #cfeaf6); border: 2px solid #fff; box-shadow: 0 16px 26px -10px rgba(0,0,0,.5); overflow: hidden; }
.rw-cabin:before { content: ""; position: absolute; left: 6px; right: 6px; top: 24px; bottom: 0; background: linear-gradient(180deg, #8fd6ef, #2e95cc); border-radius: 3px 3px 0 0; }
.rw-led { position: absolute; z-index: 3; top: 5px; left: 6px; right: 6px; height: 16px; border-radius: 4px; background: #0b2f47; color: #8fd6ef; font: 700 .78rem/16px Arial, sans-serif; text-align: center; direction: ltr; }
.rw-dr { position: absolute; z-index: 2; top: 24px; bottom: 0; width: calc(50% - 6px); background: linear-gradient(90deg, #eef9fe, #fff); border: 1px solid #b9dff0; transition: transform .7s ease .1s; }
.rw-dr.l { left: 6px; }
.rw-dr.r { right: 6px; }
.rw-cab:not(.moving) .rw-dr.l { transform: translateX(-88%); }
.rw-cab:not(.moving) .rw-dr.r { transform: translateX(88%); }
.rw-floors { list-style: none; }
.rw-fl { position: relative; margin-bottom: 26px; }
.rw-fl:last-child { margin-bottom: 0; }
.rw-fl:before { content: ""; position: absolute; top: 50%; height: 2px; width: calc(var(--shaft) / 2 + var(--gap) - var(--mk) / 2); right: calc(-1 * (var(--shaft) / 2 + var(--gap) - var(--mk) / 2)); background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 6px, transparent 6px 12px); }
.rw-fn { position: absolute; top: 50%; width: var(--mk); height: var(--mk); margin-top: calc(var(--mk) / -2); right: calc(-1 * (var(--shaft) / 2 + var(--gap) + var(--mk) / 2)); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1rem; color: #fff; background: var(--b); border: 1.5px solid rgba(255,255,255,.7); transition: background .4s, color .4s; z-index: 2; }
.rw-fl.is-active .rw-fn { background: #fff; color: var(--d1); }
.rw-fbox { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 18px; padding: 22px 28px; transition: background .5s, border-color .5s, transform .5s, box-shadow .5s; }
.rw-fbox h3 { font-size: 1.3rem; margin-bottom: 2px; }
.rw-fbox p { font-size: 1rem; line-height: 1.7; }
.rw-js .rw-fl { opacity: .6; transition: opacity .5s; }
.rw-js .rw-fl.is-active { opacity: 1; }
.rw-fl.is-active .rw-fbox { background: rgba(255,255,255,.2); border-color: #fff; transform: translateX(-8px); box-shadow: 0 24px 40px -26px rgba(0,0,0,.6); }

/* ---------- المدونة ---------- */
.rw-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rw-posts > div { display: flex; }
.rw-post { background: #fff; border: 1px solid var(--mi); border-radius: 20px; overflow: hidden; box-shadow: 0 22px 40px -30px rgba(23,87,127,.55); display: flex; flex-direction: column; flex: 1; transition: transform .4s, box-shadow .4s; }
.rw-post:hover { transform: translateY(-8px); box-shadow: 0 34px 50px -28px rgba(23,87,127,.7); }
.rw-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--mi), var(--ic)); }
.rw-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.rw-post:hover .rw-post-img img { transform: scale(1.08); }
.rw-post-ph { display: grid; place-items: center; width: 100%; height: 100%; }
.rw-post-ph .rw-ic { stroke: var(--m); width: 56px; height: 56px; opacity: .5; }
.rw-post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rw-post-body time { font-size: .88rem; color: var(--so); }
.rw-post-body h3 { font-size: 1.25rem; line-height: 1.55; }
.rw-post-body h3 a:hover { color: var(--b); }
.rw-post-body p { font-size: 1rem; line-height: 1.85; }
.rw-more-link { margin-top: auto; padding-top: 6px; color: var(--b); font-weight: 700; }
.rw-more-link:after { content: " \2190"; }
.rw-empty { text-align: center; padding: 40px 0; }

/* ---------- صفحات عادية / مقال ---------- */
.rw-pagehead { padding: 70px 0 80px; text-align: center; position: relative; overflow: hidden; }
.rw-pagehead h1 { font-size: 2.6rem; }
.rw-pagemeta { margin-top: 10px; font-size: 1.1rem; }
.rw-prose { max-width: 860px; padding-top: 60px; padding-bottom: 80px; font-size: 1.08rem; }
.rw-prose > * + * { margin-top: 1.1em; }
.rw-prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.rw-prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.rw-prose p { color: var(--ink); }
.rw-prose a { color: var(--b); text-decoration: underline; }
.rw-prose ul, .rw-prose ol { padding-right: 1.5em; list-style: revert; }
.rw-prose img { border-radius: 16px; height: auto; }
.rw-prose-img { margin-bottom: 30px; }
.rw-prose blockquote { border-right: 4px solid var(--t); padding: 6px 20px; background: var(--ic); border-radius: 10px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.page-numbers { padding: 8px 18px; border-radius: 50px; border: 1px solid var(--mi); background: #fff; color: var(--d1); font-weight: 700; }
.page-numbers.current, a.page-numbers:hover { background: var(--b); color: #fff; border-color: var(--b); }
.rw-foot .rw-flinks { list-style: none; }

/* ---------- جوال / تابلت ---------- */
@media (max-width: 960px) {
  .site-header-in { gap: 14px; }
  .site-cta { display: none; }
  .site-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--mi); border-radius: 12px; background: #fff; cursor: pointer; margin-inline-start: auto; }
  .site-burger span { display: block; height: 2px; background: var(--d1); border-radius: 2px; transition: .3s; }
  .site-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; background: #fff; border-bottom: 1px solid var(--mi); box-shadow: 0 24px 30px -22px rgba(23,87,127,.5); padding: 12px 24px 22px; max-height: calc(100vh - var(--hh)); overflow: auto; }
  .site-nav.is-open { display: flex; }
  .rw-nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .rw-nav a { padding: 12px 14px; border-radius: 12px; }
  .rw-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 14px; }
  .site-cta-m { display: block; text-align: center; margin-top: 12px; }
  .rw-slide { flex-basis: calc((100% - 22px) / 2); }
  .rw-posts { grid-template-columns: 1fr 1fr; }
  .rw-pagehead h1 { font-size: 2rem; }
  .rw-lb-stage { padding: 0 12px; }
}
@media (max-width: 600px) {
  :root { --hh: 68px; }
  .site-logo-img { height: 46px; }
  .rw-slide { flex-basis: 84%; }
  .rw-car-btn { width: 42px; height: 42px; }
  .rw-car-btn.l { left: 2px; }
  .rw-car-btn.r { right: 2px; }
  .rw-posts { grid-template-columns: 1fr; }
  .rw-lift { --shaft: 64px; --gap: 26px; --mk: 28px; --cw: 42px; --ch: 56px; }
  .rw-led { top: 4px; left: 4px; right: 4px; height: 12px; font-size: .62rem; line-height: 12px; }
  .rw-cabin:before { top: 18px; left: 4px; right: 4px; }
  .rw-dr { top: 18px; width: calc(50% - 4px); }
  .rw-dr.l { left: 4px; }
  .rw-dr.r { right: 4px; }
  .rw-fbox { padding: 16px 18px; }
  .rw-fbox h3 { font-size: 1.15rem; }
  .rw-fn { font-size: .85rem; }
}

/* social icons inside the (light) contact section */
.rw-social-contact { margin: 18px 0 4px; }
.rw-social-contact a {
  background: #fff;
  border: 1px solid rgba(15, 60, 110, 0.15);
  color: #0f3c6e !important;
  box-shadow: 0 4px 12px rgba(15, 60, 110, 0.08);
}
.rw-social-contact a:hover { color: #fff !important; }
