/* ==========================================================================
   رياض الإنشائية — الواجهة العامة
   هوية: ذهبي مأخوذ من الشعار + أسود فحمي + كريمي. كل الاتجاهات بخصائص منطقية
   (inline/block) لتعمل العربية والإنجليزية بنفس الملف.
   ========================================================================== */

:root {
  --gold: #C9A15B;
  --gold-light: #ECD6A4;
  --gold-deep: #8E6127;
  --ink: #0D0D0F;
  --ink-2: #17171B;
  --cream: #F6F0E6;
  --accent: #4F5BA5;
  --radius: 8px;
  /* استدارة خفيفة للفخامة (2026-11-24): كل الزوايا تتبع --radius من لوحة التحكم */
  --r-sm: calc(var(--radius) * .75);
  --r-pill: var(--radius);
  --ar-plus: 0px; /* زيادة حجم الخط للنصوص العربية فقط */

  --font-ar-display: 'Changa';
  --font-ar-body: 'Changa';
  --font-en-display: 'Montserrat';
  --font-en-body: 'Inter';

  --gold-grad: linear-gradient(115deg, var(--gold-deep) 0%, var(--gold) 28%, var(--gold-light) 50%, var(--gold) 72%, var(--gold-deep) 100%);
  --text: #1B1A18;
  --muted: #6E6A63;
  --line: rgba(27, 26, 24, .12);
  --line-dark: rgba(255, 255, 255, .1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 90px;
  --hh: 80px; /* ارتفاع القائمة الثابتة (الكحلية) — منه تُحسب إزاحة الواجهة الرئيسية */
  --shadow: 0 30px 60px -30px rgba(13, 13, 15, .35);
}

/* حجم بهيج منى يُعادَل بـ size-adjust: 148% في @font-face (دراسة القياس)، لذا لا حاجة لزيادة ثابتة.
   --ar-plus باقٍ للضبط الدقيق إن لزم (يُضاف لكل الأحجام العربية بالتساوي). */
html[lang="ar"] { --ar-plus: 0px; --f-display: var(--font-ar-display), var(--font-en-display), system-ui, sans-serif; --f-body: var(--font-ar-body), var(--font-en-body), system-ui, sans-serif; }
html[lang="en"] { --f-display: var(--font-en-display), var(--font-ar-display), system-ui, sans-serif; --f-body: var(--font-en-body), var(--font-ar-body), system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: calc(clamp(15px, .95rem + .15vw, 17px) + var(--ar-plus));
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.ssr-content { display: none; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.gold-text { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- الأزرار ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; border: 0; border-radius: var(--r-pill); background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: calc(.95rem + var(--ar-plus)); line-height: 1; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 200% 100%;
  opacity: 0; transition: opacity .4s, background-position .8s var(--ease);
}
.btn:hover::before { opacity: 1; background-position: 100% 0; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(201, 161, 91, .65); }
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .ic-arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .ic-arrow { transform: scaleX(-1) translateX(4px); }
.btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { --fg: var(--ink); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --fg: var(--ink); }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-sm { padding: .7em 1.2em; font-size: calc(.85rem + var(--ar-plus)); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--gold-deep); }
.link-arrow .ic { transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }
html[dir="rtl"] .link-arrow .ic { transform: scaleX(-1); }
html[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(5px); }

/* ---------- شريط التقدّم على شكل مسطرة قياس ---------- */
.ruler {
  position: fixed; inset-inline: 0; top: 0; height: 4px; z-index: 120; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(201, 161, 91, .25) 0 1px, transparent 1px 10px);
}
.ruler span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
html[dir="rtl"] .ruler span { transform-origin: 100% 50%; }

/* ---------- شاشة التحميل: رسم الشعار ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink);
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader svg { width: min(260px, 60vw); color: var(--gold); }
.loader .mark-path { fill: transparent; stroke: var(--gold); stroke-width: 3; }
.loader.drawn .mark-path { fill: var(--gold); transition: fill .6s; }
.loader-bar { position: absolute; bottom: 18%; width: min(220px, 50vw); height: 1px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader-bar::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; animation: load 2.4s var(--ease-in-out) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loader.done { opacity: 0; visibility: hidden; }

/* ---------- الترويسة ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background .5s var(--ease), height .5s var(--ease), box-shadow .5s, transform .5s var(--ease);
}
.header.solid { background: rgba(13, 13, 15, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); --header-h: var(--hh); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 74px; color: var(--gold); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: translateX(-4px) rotate(-3deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: 'Montserrat', var(--f-display); letter-spacing: .32em; font-size: 1.28rem; font-weight: 700; }
.brand-text small { font-family: 'Montserrat', var(--f-display); letter-spacing: .28em; font-size: .66rem; opacity: .7; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 10px 12px; font-size: calc(.92rem + var(--ar-plus)); font-weight: 500; opacity: .85; transition: opacity .3s;
}
.nav a::after {
  content: ''; position: absolute; inset-inline: 12px; bottom: 4px; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: var(--origin, 100% 50%); transition: transform .45s var(--ease);
}
html[dir="ltr"] .nav a::after { --origin: 0 50%; }
.nav a:hover, .nav a.active { opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); font-weight: 700; font-size: calc(.8rem + var(--ar-plus)); transition: background .3s, color .3s;
}
.lang:hover { background: var(--gold); color: var(--ink); box-shadow: none; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); place-items: center; }

/* قائمة الجوال */
.mnav {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: #fff; display: flex; flex-direction: column;
  padding: 24px var(--gutter) 32px; clip-path: circle(0 at var(--cx, 90%) 40px); visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility .8s;
}
.mnav.open { clip-path: circle(150% at var(--cx, 90%) 40px); visibility: visible; }
html[dir="rtl"] .mnav { --cx: 10%; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; }
.mnav-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; }
.mnav ul { list-style: none; padding: 0; margin: auto 0; }
.mnav li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.mnav li a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--f-display);
  font-size: calc(clamp(1.4rem, 6vw, 2.2rem) + var(--ar-plus)); font-weight: 600; transform: translateY(110%); transition: transform .7s var(--ease), color .3s;
  transition-delay: calc(var(--i) * 60ms + 200ms);
}
.mnav li a small { font-family: 'Montserrat'; font-size: .8rem; color: var(--gold); opacity: .7; }
.mnav.open li a { transform: none; }
.mnav li a:hover { color: var(--gold); }
.mnav-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

/* ---------- الواجهة الرئيسية (Hero) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero-slide.active { opacity: 1; }
.hero-slide.active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.15) translate(0, 0); } to { transform: scale(1.02) translate(-1.5%, -1%); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 70% 30%, transparent 0%, rgba(13, 13, 15, .45) 60%),
    linear-gradient(to top, var(--ink) 2%, rgba(13, 13, 15, .55) 45%, rgba(13, 13, 15, .35) 75%, rgba(13, 13, 15, .7) 100%);
}
.blueprint { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.blueprint .bp { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: draw 3.2s var(--ease-in-out) forwards; animation-delay: var(--d, 0s); opacity: .6; }
.blueprint .bp-thin { stroke-width: .6; opacity: .3; }
.blueprint text { fill: var(--gold); font: 500 11px 'Montserrat', sans-serif; letter-spacing: .15em; opacity: 0; animation: fadein 1s forwards; animation-delay: var(--d, 2s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: .7; } }
.grid-overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; padding-block: calc(var(--header-h) + 40px) clamp(110px, 16vh, 160px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: calc(.82rem + var(--ar-plus)); font-weight: 600; letter-spacing: .08em; color: var(--gold-light); margin-bottom: 22px;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; }
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.hero-title { margin: 0; font-size: calc(clamp(2.4rem, 1.2rem + 5.2vw, 5.6rem) + var(--ar-plus)); font-weight: 800; line-height: 1.08; color: #fff; }
/* تباعد أسطر العناوين العربية يتبع الخط المختار (--ar-head-lh من الإعدادات، انظر collections.headingLineHeight)
   حتى لا تتلامس الصواعد والنوازل بين السطرين */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: var(--ar-head-lh, 1.35); }
html[lang="ar"] .hero-title { line-height: var(--ar-head-lh, 1.35); }
/* نصوص الشرائح مكدّسة في خلية واحدة (ارتفاعها = أطولها فلا تقفز الأزرار)؛ الظاهر فقط .active.
   --d تأخير الدخول عند التبديل (يضبطه site.js)، وفي أول تحميل يتبع --start (بعد شاشة التحميل) */
.hero-copy { display: grid; }
.hero-text { grid-area: 1 / 1; min-width: 0; }
.hero-text:not(.active) { opacity: 0; visibility: hidden; pointer-events: none; }
.hero-text.out { visibility: visible; animation: heroOut .55s var(--ease) forwards; }
@keyframes heroOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-16px); } }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; transform: translateY(105%); }
.hero-text.active .hero-title .line > span { animation: lineup 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + var(--d, var(--start, 1.9s))); }
.hero-text.out .hero-title .line > span { transform: none; }
.hero-text .eyebrow { opacity: 0; }
.hero-text.active .eyebrow { animation: up .9s var(--ease) forwards; animation-delay: calc(var(--d, var(--start, 1.9s)) - .15s); }
.hero-text.out .eyebrow, .hero-text.out .hero-sub { opacity: 1; }
.hero-title .line:last-child > span { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes lineup { to { transform: none; } }
.hero-sub { max-width: 560px; font-size: calc(clamp(1rem, .9rem + .35vw, 1.2rem) + var(--ar-plus)); color: rgba(255, 255, 255, .78); margin: 26px 0 0; opacity: 0; }
.hero-text.active .hero-sub { animation: up .9s var(--ease) forwards; animation-delay: calc(var(--d, var(--start, 1.9s)) + .45s); }
.hero-copy + .hero-ctas { margin-top: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: up .9s var(--ease) forwards; animation-delay: calc(var(--start, 1.9s) + .7s); }
/* أزرار الواجهة الأولى بالعربية أصغر قليلاً من بقية الأزرار (بطلب العميل) */
html[lang="ar"] .hero-ctas .btn { font-size: calc(.95rem + var(--ar-plus) - 1.5px); }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-mark { justify-self: end; width: min(100%, 420px); color: var(--gold); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.hero-mark .mark-path { fill: transparent; stroke: var(--gold); stroke-width: 2.4; }
.hero-mark svg.drawn .mark-path { fill: url(#goldGrad); stroke-width: 0; transition: fill 1s, stroke-width 1s; }
.hero-mark-label { margin-top: 18px; text-align: center; font-family: 'Montserrat'; letter-spacing: .5em; font-size: clamp(.9rem, .7rem + .8vw, 1.5rem); font-weight: 700; opacity: 0; animation: up 1s var(--ease) forwards; animation-delay: 1.6s; }
.hero-mark-label small { display: block; letter-spacing: .48em; font-size: .5em; font-weight: 500; opacity: .7; margin-top: 6px; }

.hero-bottom { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; border-top: 1px solid var(--line-dark); background: linear-gradient(to top, rgba(13, 13, 15, .6), transparent); }
.hero-bottom .container { display: flex; align-items: stretch; padding-inline-end: 70px; }
.hero-dots { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: 1; }
.hero-dot { position: relative; min-width: 0; text-align: start; padding: 18px 18px 20px 0; border: 0; background: none; color: rgba(255, 255, 255, .55); font-size: calc(clamp(.7rem, .42rem + .62vw, .82rem) + var(--ar-plus)); transition: color .3s; }
/* عنوان الشريحة في سطر واحد كاملاً: الحجم يصغر تدريجياً مع عرض الشاشة (11.2px عند 640 → 13.1px من 1100) */
.hero-dot span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .hero-dot { padding: 18px 0 20px 18px; }
.hero-dot b { display: block; font-family: 'Montserrat'; font-size: .7rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 4px; }
.hero-dot::before { content: ''; position: absolute; top: -1px; inset-inline: 0 18px; height: 2px; background: rgba(255, 255, 255, .15); }
.hero-dot::after { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: calc(100% - 18px); height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, 0 50%); }
html[dir="rtl"] .hero-dot::after { --o: 100% 50%; }
.hero-dot.active { color: #fff; }
.hero-dot.active::after { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.plumb { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0 14px 24px; color: rgba(255, 255, 255, .6); font-size: calc(.72rem + var(--ar-plus)); letter-spacing: .1em; }
html[dir="rtl"] .plumb { padding: 14px 24px 14px 0; }
.plumb-line { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, .35); transform-origin: top; animation: swing 2.8s var(--ease-in-out) infinite alternate; }
.plumb-line::after { content: ''; position: absolute; left: 50%; bottom: -12px; width: 10px; height: 14px; margin-left: -5px; background: var(--gold); clip-path: polygon(50% 100%, 0 30%, 0 0, 100% 0, 100% 30%); }
@keyframes swing { from { transform: rotate(9deg); } to { transform: rotate(-9deg); } }

/* ---------- شريط الكلمات المتحرك ---------- */
.marquee { position: relative; z-index: 3; background: var(--gold-grad); color: var(--ink); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.03); margin-block: -14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.marquee-track { display: flex; width: max-content; animation: marq 40s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marq-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-family: var(--f-display); font-weight: 700; font-size: calc(clamp(1rem, .8rem + .8vw, 1.5rem) + var(--ar-plus)); white-space: nowrap; }
.marquee-item .sep { width: 34px; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px); opacity: .65; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }

/* ---------- الأقسام العامة ---------- */
.section { position: relative; padding-block: clamp(52px, 6.4vw, 96px); } /* 2026-11-29: كان clamp(80px, 11vw, 150px) */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .muted { color: rgba(255, 255, 255, .6); }
.section-white { background: #fff; }
.muted { color: var(--muted); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(28px, 3.6vw, 48px); flex-wrap: wrap; }
.sec-head > div { max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: calc(.8rem + var(--ar-plus)); font-weight: 700; color: var(--gold-deep); margin-bottom: 16px; letter-spacing: .06em; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; }
.section-dark .kicker { color: var(--gold); }
.kicker i { display: inline-block; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.title { font-size: calc(clamp(1.9rem, 1.1rem + 3vw, 3.6rem) + var(--ar-plus)); font-weight: 800; }
.title em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: calc(clamp(1rem, .95rem + .3vw, 1.2rem) + var(--ar-plus)); color: var(--muted); margin-top: 18px; }
.section-dark .lead { color: rgba(255, 255, 255, .62); }
.big-num { position: absolute; font-family: 'Montserrat'; font-weight: 800; font-size: clamp(8rem, 22vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(201, 161, 91, .14); pointer-events: none; user-select: none; }

/* ---------- الحركات عند الظهور ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="fade"] { transform: none; }
/* «يرتفع كالبناء»: الصورة تنكشف من الأسفل للأعلى طبقة بطبقة */
[data-reveal="rise"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal="rise"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="rise"].in { clip-path: inset(0 0 0 0); }
[data-reveal="rise"].in img { transform: scale(1); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-words.in .w > span { transform: none; }

/* ---------- المقدّمة + الشركات ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: clamp(50px, 7vw, 90px); }
.intro p { font-size: calc(clamp(1.02rem, .95rem + .3vw, 1.2rem) + var(--ar-plus)); color: var(--muted); margin: 0; }
.companies { display: flex; gap: 14px; height: clamp(520px, 70vh, 680px); }
.co-card {
  --c: var(--gold); position: relative; flex: 1; min-width: 0; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  transition: flex 1s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.5vw, 36px);
}
.companies:hover .co-card { flex: .8; }
.companies .co-card:hover { flex: 1.7; }
.co-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter 1s; filter: grayscale(.35); }
.co-card:hover > img { transform: scale(1.06); filter: grayscale(0); }
.co-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 13, 15, .95) 10%, rgba(13, 13, 15, .35) 60%, rgba(13, 13, 15, .2)); }
.co-card::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(.12); transform-origin: var(--o, 100% 50%); transition: transform .9s var(--ease); }
html[dir="ltr"] .co-card::after { --o: 0 50%; }
.co-card:hover::after { transform: scaleX(1); }
.co-badge { position: absolute; top: clamp(18px, 2vw, 28px); inset-inline-start: clamp(18px, 2vw, 28px); display: inline-flex; align-items: center; gap: 8px; font-size: calc(.75rem + var(--ar-plus)); font-weight: 600; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .15); }
.co-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.co-num { position: absolute; top: clamp(16px, 2vw, 24px); inset-inline-end: clamp(18px, 2vw, 28px); font-family: 'Montserrat'; font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.co-logo { width: 64px; height: 64px; border-radius: var(--r-sm); background: #fff; display: grid; place-items: center; padding: 8px; margin-bottom: 18px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.co-logo img { max-height: 100%; object-fit: contain; }
.co-logo.mark { background: var(--ink); color: var(--gold); padding: 10px; border: 1px solid rgba(201, 161, 91, .4); }
.co-card h3 { font-size: calc(clamp(1.4rem, 1rem + 1.4vw, 2.2rem) + var(--ar-plus)); }
.co-tag { color: var(--gold-light); font-size: calc(.92rem + var(--ar-plus)); margin: 6px 0 0; }
.co-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.co-more > div { overflow: hidden; }
.co-more p { color: rgba(255, 255, 255, .75); font-size: calc(.95rem + var(--ar-plus)); margin: 16px 0 18px; max-width: 460px; }
.co-card:hover .co-more, .co-card:focus-within .co-more { grid-template-rows: 1fr; }
.co-soon { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; pointer-events: none; }
.co-soon span { font-family: 'Montserrat'; font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: .2em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); transform: rotate(-8deg); }

/* ---------- الأرقام ---------- */
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 1px solid var(--line-dark); }
.stat { position: relative; padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 28px); border-inline-end: 1px solid var(--line-dark); }
.stat:last-child { border-inline-end: 0; }
.stat .ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 22px; }
.stat-num { font-family: 'Montserrat'; font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3.5vw, 4.8rem); line-height: 1; display: flex; align-items: baseline; gap: 4px; direction: ltr; justify-content: flex-end; }
html[dir="ltr"] .stat-num { justify-content: flex-start; }
.stat-num small { font-size: .5em; color: var(--gold); }
.stat p { margin: 14px 0 0; color: rgba(255, 255, 255, .62); font-size: calc(.95rem + var(--ar-plus)); }
.stat::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; height: 2px; width: 0; background: var(--gold); transition: width 1.4s var(--ease); transition-delay: calc(var(--i) * 150ms); }
.stat.in::before { width: 100%; }

/* ---------- المنتجات ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.svc {
  position: relative; border-radius: var(--radius); background: #fff; overflow: hidden; transform-style: preserve-3d;
  /* أزمنة موحّدة مع بطاقات «مشاريعنا» (.pcard):
     ظهور «يرتفع كالبناء» 1.4s بتتابع 120ms · تكبير الصورة 1.4s · العناصر الفوقية 0.5–0.6s.
     أثناء الإمالة يتولى JavaScript الحركة إطاراً بإطار فيُلغى انتقال transform (.tilting) */
  transition: box-shadow .6s var(--ease),
    clip-path 1.4s var(--ease-in-out) calc(var(--i, 0) * 120ms),
    opacity 1.4s var(--ease) calc(var(--i, 0) * 120ms), transform 1.4s var(--ease) calc(var(--i, 0) * 120ms);
  box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; will-change: transform;
}
.svc.tilting { transition: box-shadow .6s var(--ease), clip-path 1.4s var(--ease-in-out), opacity 1.4s var(--ease); }
.svc:hover { box-shadow: 0 34px 60px -32px rgba(13, 13, 15, .38), 0 0 0 1px rgba(201, 161, 91, .18); }
.svc-img { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--ink-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.07); }
.svc-icon {
  position: relative; align-self: flex-start; margin: -28px 24px 0; width: 56px; height: 56px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--ink); color: var(--gold); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); z-index: 2;
  transition: transform .6s var(--ease), background-color .5s ease, color .5s ease, box-shadow .5s ease;
}
.svc-icon .ic { width: 26px; height: 26px; }
.svc:hover .svc-icon { transform: rotate(-6deg) scale(1.05); background: var(--gold); color: var(--ink); box-shadow: 0 14px 28px -10px rgba(201, 161, 91, .55); }
.svc-body { padding: 18px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.svc h3 { font-size: calc(1.3rem + var(--ar-plus)); margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: calc(.95rem + var(--ar-plus)); margin: 0 0 14px; }
.svc ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc li { font-size: calc(.78rem + var(--ar-plus)); padding: 5px 11px; border-radius: var(--r-pill); background: var(--cream); color: var(--text); }
.svc-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 161, 91, .18), transparent 45%); opacity: 0; transition: opacity .5s ease; }
.svc:hover .svc-shine { opacity: 1; }

/* ---------- حديد التسليح: رسم بياني بأسياخ مضلّعة ---------- */
.rebar-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.rebar-chart { display: grid; gap: 9px; }
.rb { display: grid; grid-template-columns: 58px 1fr 48px; align-items: center; gap: 14px; font-family: 'Montserrat'; font-size: .82rem; }
.rb-size { color: var(--gold); font-weight: 700; direction: ltr; text-align: end; }
.rb-track { position: relative; height: calc(6px + var(--d) * .32px); min-height: 7px; }
.rb-bar {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--w) * 1%); border-radius: 99px; transform: scaleX(0); transform-origin: var(--o, 100% 50%);
  background:
    repeating-linear-gradient(60deg, rgba(0, 0, 0, .55) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #8d8f94, #3b3d42 55%, #1d1e21);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform 1.4s var(--ease); transition-delay: calc(var(--i) * 70ms);
}
html[dir="ltr"] .rb-bar { --o: 0 50%; }
.rebar-chart.in .rb-bar { transform: scaleX(1); }
.rb-n { font-weight: 700; color: #fff; }
.rebar-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: rgba(201, 161, 91, .08); border: 1px solid rgba(201, 161, 91, .25); margin-top: 26px; }
.rebar-note .ic { color: var(--gold); width: 26px; height: 26px; }
.rebar-note p { margin: 0; font-size: calc(.93rem + var(--ar-plus)); color: rgba(255, 255, 255, .72); }

/* ---------- المشاريع ---------- */
.hscroll { position: relative; }
.hs-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 420px); gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; cursor: grab;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-track.drag { cursor: grabbing; scroll-snap-type: none; }
.hs-track.drag a { pointer-events: none; }
.hs-nav { display: flex; gap: 10px; }
.hs-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.section-dark .hs-btn { border-color: var(--line-dark); color: #fff; }
.hs-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
html[dir="rtl"] .hs-btn .ic { transform: scaleX(-1); }
.hs-btn.prev .ic { transform: scaleX(-1); }
html[dir="rtl"] .hs-btn.prev .ic { transform: none; }

.pcard { position: relative; display: block; scroll-snap-align: start; color: #fff; }
.pcard-img { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease) !important; }
.pcard:hover .pcard-img img { transform: scale(1.07) !important; }
.pcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 15, .92) 5%, transparent 55%); }
.pcard-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 22px; }
.pcard-cat { display: inline-block; font-size: calc(.72rem + var(--ar-plus)); font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(201, 161, 91, .9); color: var(--ink); margin-bottom: 10px; }
.pcard h3 { font-size: calc(1.2rem + var(--ar-plus)); }
.pcard-loc { display: flex; align-items: center; gap: 6px; font-size: calc(.86rem + var(--ar-plus)); color: rgba(255, 255, 255, .7); margin-top: 6px; }
.pcard-loc .ic { width: 15px; height: 15px; color: var(--gold); }
.pcard-go { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform .6s var(--ease); }
.pcard:hover .pcard-go { transform: scale(1) rotate(0); }
html[dir="rtl"] .pcard-go .ic { transform: scaleX(-1); }
/* زوايا كتلة البناء على البطاقة */
.pcard-img::before { content: ''; position: absolute; inset: 14px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s, inset .6s var(--ease);
  background: linear-gradient(var(--gold), var(--gold)) top left / 18px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) top left / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 18px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) top right / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 18px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) bottom left / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 18px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) bottom right / 1.5px 18px no-repeat; }
.pcard:hover .pcard-img::before { opacity: 1; inset: 10px; }

/* شبكة المشاريع مع التصفية */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters-label { width: 100%; font-size: calc(.8rem + var(--ar-plus)); color: var(--muted); margin-top: 6px; }
.chip { padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: calc(.88rem + var(--ar-plus)); font-weight: 500; transition: all .35s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { opacity: .55; margin-inline-start: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.pgrid .pcard { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pgrid .pcard.out { opacity: 0; transform: scale(.94); pointer-events: none; position: absolute; visibility: hidden; }
/* ارتفاع موحّد لكل صور البطاقات في الشبكة */
.pgrid .pcard .pcard-img { aspect-ratio: 4/5; }

/* ---------- الشهادات ---------- */
.certs-marquee { overflow: hidden; padding-block: 20px 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.certs-track { display: flex; gap: 26px; width: max-content; animation: marq 60s linear infinite; }
html[dir="rtl"] .certs-track { animation-name: marq-rtl; }
.certs-marquee:hover .certs-track { animation-play-state: paused; }
.cert { flex: none; width: 210px; border: 0; padding: 0; background: none; text-align: start; }
.cert-doc { position: relative; aspect-ratio: 3/4; background: #fff; border-radius: var(--r-sm); overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); transform: rotate(var(--r, -2deg)); transition: transform .6s var(--ease), box-shadow .6s; }
.cert:nth-child(even) .cert-doc { --r: 2deg; }
.cert:hover .cert-doc { transform: rotate(0) translateY(-10px) scale(1.04); box-shadow: 0 30px 50px -18px rgba(201, 161, 91, .55); }
.cert-doc img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-seal { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; color: var(--ink); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.cert-seal .ic { width: 20px; height: 20px; }
.cert h4 { font-family: var(--f-body); font-size: calc(.86rem + var(--ar-plus)); font-weight: 600; margin-top: 16px; line-height: 1.5; }
.cert small { color: var(--muted); font-size: calc(.78rem + var(--ar-plus)); }
.section-dark .cert small { color: rgba(255, 255, 255, .55); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.cert-grid .cert { width: auto; }

/* جهات الاعتماد */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner { display: flex; align-items: center; gap: 14px; padding: 24px 22px; background: var(--cream); font-weight: 600; font-size: calc(.95rem + var(--ar-plus)); transition: background .4s, color .4s; min-height: 92px; }
.partner img { max-height: 44px; max-width: 120px; object-fit: contain; filter: grayscale(1); transition: filter .4s; }
.partner:hover { background: var(--ink); color: var(--gold-light); }
.partner:hover img { filter: none; }
.partner .ic { color: var(--gold-deep); width: 22px; height: 22px; }
.partner:hover .ic { color: var(--gold); }

/* آراء العملاء */
.testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testi { padding: 32px; border-radius: var(--radius); background: #fff; position: relative; }
.testi .ic-q { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.testi p { font-size: calc(1.02rem + var(--ar-plus)); }
.testi b { display: block; }
.testi small { color: var(--muted); }

/* ---------- دعوة للتواصل ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.6); background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 100px); isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 85% 10%, rgba(201, 161, 91, .45), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(201, 161, 91, .18), transparent 50%); }
.cta .grid-overlay { opacity: .08; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta h2 { font-size: calc(clamp(1.9rem, 1.1rem + 3vw, 3.6rem) + var(--ar-plus)); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .7); font-size: calc(1.08rem + var(--ar-plus)); margin: 18px 0 30px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.crane { position: relative; justify-self: center; width: min(100%, 300px); color: var(--gold); }
.crane .hook { transform-origin: 70% 0; animation: hook 4s var(--ease-in-out) infinite alternate; transform-box: fill-box; }
@keyframes hook { from { transform: translateY(-6px) rotate(3deg); } to { transform: translateY(14px) rotate(-3deg); } }

/* ---------- رأس الصفحات الداخلية ---------- */
.phero { position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.phero-bg { position: absolute; inset: -10% 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink), rgba(13, 13, 15, .35) 70%, rgba(13, 13, 15, .6)); }
.phero-inner { padding-block: calc(var(--header-h) + 50px) clamp(40px, 6vw, 70px); }
.phero h1 { font-size: calc(clamp(2.2rem, 1.2rem + 4vw, 4.6rem) + var(--ar-plus)); font-weight: 800; max-width: 900px; }
.phero p { color: rgba(255, 255, 255, .7); max-width: 640px; font-size: calc(1.08rem + var(--ar-plus)); margin: 18px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: calc(.84rem + var(--ar-plus)); color: rgba(255, 255, 255, .6); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: '/'; margin-inline-end: 8px; opacity: .4; }

/* ---------- صفحة من نحن ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-badge { position: absolute; bottom: 22px; inset-inline-start: 22px; padding: 18px 22px; border-radius: var(--r-sm); background: rgba(13, 13, 15, .78); backdrop-filter: blur(10px); color: #fff; }
.story-badge b { font-family: 'Montserrat'; font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; }
.story p { font-size: calc(1.06rem + var(--ar-plus)); color: var(--muted); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { position: relative; padding: clamp(28px, 4vw, 50px); border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; }
.vm-card .ic { width: 44px; height: 44px; color: var(--gold); margin-bottom: 24px; }
.vm-card h3 { font-size: calc(1.6rem + var(--ar-plus)); margin-bottom: 14px; }
.vm-card p { color: rgba(255, 255, 255, .7); margin: 0; font-size: calc(1.04rem + var(--ar-plus)); }
.vm-card::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; inset-inline-end: -80px; top: -80px; border: 1px dashed rgba(201, 161, 91, .25); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; counter-reset: g; }
.goal { counter-increment: g; display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.goal::before { content: '0' counter(g); font-family: 'Montserrat'; font-weight: 800; font-size: 1.1rem; color: var(--gold-deep); min-width: 34px; }
.goal p { margin: 0; font-size: calc(1.04rem + var(--ar-plus)); }
.goals .goal:nth-child(odd) { padding-inline-end: 30px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-item { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: var(--r-sm); background: #fff; font-weight: 600; transition: transform .5s var(--ease), box-shadow .5s; }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-item span { width: 42px; height: 42px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.gm { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.gm-photo { width: clamp(140px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--gold); display: grid; place-items: center; border: 2px solid var(--gold); padding: 22px; }
.gm-photo img { width: 100%; height: 100%; object-fit: cover; }
.gm blockquote { margin: 0; font-family: var(--f-display); font-size: calc(clamp(1.1rem, .95rem + .7vw, 1.6rem) + var(--ar-plus)); line-height: 1.7; font-weight: 500; }
.gm cite { display: block; margin-top: 20px; font-style: normal; color: var(--gold); font-weight: 700; }
.gm cite small { display: block; color: rgba(255, 255, 255, .55); font-weight: 400; }

/* ---------- صفحة الشركة ---------- */
.co-hero-logo { width: 96px; height: 96px; border-radius: var(--r-sm); background: #fff; display: grid; place-items: center; padding: 12px; margin-bottom: 26px; }
.co-hero-logo.mark { background: rgba(13, 13, 15, .6); color: var(--gold); border: 1px solid rgba(201, 161, 91, .4); }
.co-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.co-fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: calc(.88rem + var(--ar-plus)); }
.co-fact .ic { color: var(--gold); width: 17px; height: 17px; }
.co-about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 90px); }
.co-about .desc { font-size: calc(1.1rem + var(--ar-plus)); color: var(--muted); white-space: pre-line; }
.fields { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fields li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); background: #fff; font-weight: 500; transition: transform .4s var(--ease); }
.fields li:hover { transform: translateX(-6px); }
html[dir="ltr"] .fields li:hover { transform: translateX(6px); }
.fields li .ic { color: var(--co, var(--gold)); }
.contact-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.soon-box { text-align: center; padding: clamp(40px, 8vw, 100px) 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.soon-box .ic { width: 54px; height: 54px; color: var(--gold-deep); margin: 0 auto 20px; }

/* ---------- صفحة المشروع ---------- */
.p-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 70px); }
.p-meta div { background: #fff; padding: 22px; }
.p-meta small { display: block; color: var(--muted); font-size: calc(.78rem + var(--ar-plus)); margin-bottom: 6px; }
.p-meta b { font-size: calc(1.02rem + var(--ar-plus)); }
.p-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 70px); }
.p-body .desc { font-size: calc(1.1rem + var(--ar-plus)); color: var(--muted); white-space: pre-line; }
.p-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 50px; }
.p-gallery a { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: var(--ink-2); }
.p-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.p-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-gallery a:hover img { transform: scale(1.08); }
.p-gallery a::after { content: ''; position: absolute; inset: 0; background: rgba(13, 13, 15, .35); opacity: 0; transition: opacity .4s; }
.p-gallery a:hover::after { opacity: 1; }
.p-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 60px; }
.p-nav a { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-sm); background: #fff; transition: box-shadow .4s; }
.p-nav a:hover { box-shadow: var(--shadow); }
.p-nav a:last-child { justify-content: flex-end; text-align: end; }
.p-nav img { width: 76px; height: 76px; border-radius: var(--r-sm); object-fit: cover; }
.p-nav small { color: var(--muted); display: block; font-size: calc(.78rem + var(--ar-plus)); }

/* ---------- صفحة الخدمات ---------- */
.svc-group + .svc-group { margin-top: clamp(60px, 8vw, 110px); }
.svc-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.svc-group-head .dot { width: 14px; height: 14px; border-radius: 4px; background: var(--co); transform: rotate(45deg); }
.svc-group-head h2 { font-size: calc(clamp(1.5rem, 1rem + 1.5vw, 2.2rem) + var(--ar-plus)); }
.specs-img { border-radius: var(--radius); overflow: hidden; background: #fff; padding: 10px; }

/* ---------- صفحة التواصل ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); }
.cinfo { display: grid; gap: 12px; align-content: start; }
.cinfo a, .cinfo div.ci { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-sm); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.cinfo a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ci-ic { width: 50px; height: 50px; border-radius: var(--r-sm); background: var(--ink); color: var(--gold); display: grid; place-items: center; flex: none; }
.ci-ic.wa { background: #1fae5b; color: #fff; }
.cinfo small { display: block; color: var(--muted); font-size: calc(.8rem + var(--ar-plus)); }
.cinfo b { font-weight: 600; direction: ltr; unicode-bidi: plaintext; }
.form { background: #fff; border-radius: calc(var(--radius) * 1.3); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--cream); font: inherit; color: inherit;
  transition: border-color .3s, background .3s, box-shadow .3s; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; inset-inline-start: 16px; top: 16px; color: var(--muted); pointer-events: none; transition: all .3s var(--ease); font-size: calc(.95rem + var(--ar-plus)); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201, 161, 91, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: calc(.72rem + var(--ar-plus)); color: var(--gold-deep); }
.field .err { color: #c0392b; font-size: calc(.8rem + var(--ar-plus)); margin-top: 4px; display: block; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form .btn { margin-top: 20px; width: 100%; padding-block: 1.15em; }
.alert-ok { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--r-sm); background: #e9f6ee; color: #1d6b3e; margin-bottom: 22px; }
.alert-ok .ic { width: 32px; height: 32px; }
.map { margin-top: 20px; border-radius: var(--r-sm); overflow: hidden; height: 300px; filter: grayscale(.4) contrast(1.05); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- التذييل ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); padding-bottom: 60px; }
.footer h4 { font-family: var(--f-body); color: #fff; font-size: calc(1rem + var(--ar-plus)); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer-about { font-size: calc(.95rem + var(--ar-plus)); max-width: 380px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; transition: all .4s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-4px); }
.socials .ic { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--gold); margin-top: 4px; width: 18px; height: 18px; }
.footer-contact span { unicode-bidi: plaintext; }
.footer-word { font-family: 'Montserrat'; font-weight: 800; font-size: clamp(4rem, 17vw, 16rem); line-height: .75; letter-spacing: .02em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(201, 161, 91, .25); user-select: none; margin-bottom: -.12em; white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; padding-inline-end: 80px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: calc(.85rem + var(--ar-plus)); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .ic { transform: rotate(-90deg); }

/* زر واتساب العائم */
.fab-wa { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #1fae5b; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 174, 91, .6); transition: transform .4s var(--ease); }
.fab-wa .ic { width: 30px; height: 30px; }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #1fae5b; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }

/* مؤشر الفأرة */
.cursor { position: fixed; top: 0; left: 0; z-index: 400; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--gold); border-radius: 50%; pointer-events: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; opacity: 0; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201, 161, 91, .25); }

/* معرض الصور المكبّر */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(8, 8, 9, .96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; animation: fadein2 .35s; }
@keyframes fadein2 { from { opacity: 0; } }
.lb img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; border-radius: 8px; animation: zoomin .5s var(--ease); }
@keyframes zoomin { from { transform: scale(.94); opacity: 0; } }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 20px; inset-inline-end: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 20px; inset-inline: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: calc(.9rem + var(--ar-plus)); padding-inline: 80px; }
.lb-count { font-family: 'Montserrat'; color: var(--gold); margin-inline-end: 10px; }

/* صفحة 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; padding: 120px 20px 60px; }
.nf h1 { font-family: 'Montserrat'; font-size: clamp(6rem, 22vw, 14rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }

/* ==========================================================================
   الاستجابة لأحجام الشاشات
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: calc(.86rem + var(--ar-plus)); }
  .header-cta { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) {
  :root { --header-h: 72px; --hh: 70px; }
  .nav, .header-actions .lang { display: none; }
  .burger { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .intro, .story, .rebar-wrap, .cta-inner, .co-about, .p-body, .contact-grid { grid-template-columns: 1fr; }
  .crane { display: none; }
  .companies { flex-direction: column; height: auto; }
  .co-card, .companies:hover .co-card, .companies .co-card:hover { flex: none; min-height: 420px; }
  .co-more { grid-template-rows: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; } /* عدد فردي (3): الأخير بعرض السطر */
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .vm { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .story-img { aspect-ratio: 16/11; }
  .cursor { display: none; }
}

@media (max-width: 640px) {
  .brand-mark { width: 54px; }
  .brand-text b { font-size: 1.02rem; }
  .hero-inner { padding-bottom: 130px; }
  .hero-dot span { display: none; }
  .hero-dot { padding-inline-end: 10px !important; padding-inline-start: 0 !important; }
  .plumb { display: none; }
  .services, .pgrid, .why, .goals, .form-grid, .p-nav { grid-template-columns: 1fr; }
  .goals .goal:nth-child(odd) { padding-inline-end: 0; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert { width: 160px; }
  .p-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .gm { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .co-card { min-height: 380px; }
  .rb { grid-template-columns: 46px 1fr 36px; gap: 8px; font-size: .74rem; }
  .sec-head { align-items: flex-start; }
  .hs-track { grid-auto-columns: 78vw; }
  .fab-wa { width: 54px; height: 54px; bottom: 16px; inset-inline-end: 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 70px; transform: none; }
  .lb-prev { transform: scaleX(-1); }
  .lb-cap { padding-inline: 16px; bottom: 16px; }
}

@media (hover: none) {
  .co-more { grid-template-rows: 1fr; }
  .pcard-go { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero-title .line > span, .split-words .w > span { transform: none; }
  .hero-text.active .hero-sub, .hero-text.active .eyebrow, .hero-ctas, .hero-mark-label { opacity: 1; }
}

/* إضافات */
.rebar-note.light { background: #fff; border-color: var(--line); margin-top: 26px; }
.rebar-note.light p { color: var(--text); }
.rebar-note.light .ic { color: var(--gold-deep); }
.rb-head { color: rgba(255, 255, 255, .45); font-size: calc(.7rem + var(--ar-plus)); letter-spacing: .05em; }
.rb-head .rb-size { color: inherit; font-weight: 500; }
.btn-wa { --bg: #1fae5b; --fg: #fff; }
.form-err { color: #c0392b; font-size: calc(.9rem + var(--ar-plus)); margin: 0 0 14px; }
.specs-img { display: block; max-width: 760px; }
.specs-img img { border-radius: var(--r-sm); }
.field select { padding-top: 24px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 17px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .field select { background-position: 17px 55%, 22px 55%; }

/* على الجوال والشاشات اللمسية: حركة «الارتفاع» تصبح ظهوراً تدريجياً بسيطاً بدل clip-path
   (Safari على iOS يتعثّر أحياناً في إعادة رسم clip-path مع الزوايا الدائرية فتبقى الصورة مخفية) */
@media (max-width: 980px), (hover: none) {
  [data-reveal="rise"] { clip-path: none; opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  [data-reveal="rise"].in { opacity: 1; transform: none; }
  [data-reveal="rise"] img { transform: none; }
}

/* على الأجهزة اللوحية: إخفاء مؤشر «مرّر للأسفل» الزخرفي لإفساح المجال لعناوين الشرائح كاملة */
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) { .plumb { display: none; } }

/* ---------- جدول المواصفات الفنية لحديد التسليح ---------- */
.specs { display: grid; gap: 22px; }
.specs-hint { display: none; align-items: center; gap: 8px; margin: 0; font-size: calc(.8rem + var(--ar-plus)); color: rgba(255, 255, 255, .55); }
.specs-hint .ic { width: 16px; height: 16px; color: var(--gold); animation: nudge 1.6s var(--ease-in-out) infinite alternate; }
html[dir="rtl"] .specs-hint .ic { transform: scaleX(-1); animation-name: nudge-rtl; }
@keyframes nudge { to { transform: translateX(6px); } }
@keyframes nudge-rtl { to { transform: scaleX(-1) translateX(6px); } }
.spec-card { margin: 0; border-radius: calc(var(--radius) + 2px); background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; }
.spec-card figcaption { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-family: var(--f-display); font-weight: 700; font-size: calc(1.15rem + var(--ar-plus)); color: #fff; border-bottom: 1px solid var(--line-dark); }
.spec-badge { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); font: 800 .85rem 'Montserrat'; }
.spec-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(201, 161, 91, .5) transparent; }
.spec-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.spec-table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; color: rgba(255, 255, 255, .86); font-size: calc(.9rem + var(--ar-plus)); }
.spec-table th, .spec-table td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--line-dark); border-inline-start: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
.spec-table td span { font-family: 'Montserrat', var(--f-body); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec-table td small { display: block; font-family: 'Montserrat', var(--f-body); font-size: .74em; color: rgba(255, 255, 255, .5); margin-top: 2px; white-space: nowrap; }
.spec-table td.muted span { color: rgba(255, 255, 255, .38); font-weight: 500; }
.spec-groups th { background: rgba(201, 161, 91, .12); color: var(--gold-light); font: 700 .78rem 'Montserrat', var(--f-body); letter-spacing: .06em; padding-block: 10px; }
.spec-grades th { background: rgba(255, 255, 255, .03); color: #fff; font: 700 .95rem 'Montserrat', var(--f-body); }
.spec-corner { background: var(--ink) !important; color: #fff !important; font: 700 calc(.9rem + var(--ar-plus)) var(--f-display) !important; letter-spacing: 0 !important; text-align: start !important; }
.spec-corner small { display: block; font-weight: 500; color: rgba(255, 255, 255, .5); font-size: .8em; }
.spec-table tbody th { text-align: start; font-family: var(--f-display); font-weight: 600; color: #fff; white-space: nowrap; }
.spec-table tbody th small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .78em; color: rgba(255, 255, 255, .45); }
/* العمود الأول ثابت عند التمرير الأفقي */
.spec-table thead tr:first-child th:first-child, .spec-table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--ink-2); box-shadow: 1px 0 0 var(--line-dark); }
html[dir="rtl"] .spec-table thead tr:first-child th:first-child, html[dir="rtl"] .spec-table tbody th { box-shadow: -1px 0 0 var(--line-dark); }
.spec-table tbody tr { transition: background .4s var(--ease); }
.spec-table tbody tr:hover { background: rgba(201, 161, 91, .07); }
.spec-table tbody tr:hover th { background: #1f1d1a; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
/* إبراز الرتبة 60 */
.spec-table .hl { background: rgba(201, 161, 91, .1); box-shadow: inset 1px 0 0 rgba(201, 161, 91, .35), inset -1px 0 0 rgba(201, 161, 91, .35); }
.spec-grades th.hl { background: var(--gold-grad); color: var(--ink); }
.spec-table td.hl span { color: var(--gold-light); }
.specs-note { margin: 0; font-size: calc(.8rem + var(--ar-plus)); color: rgba(255, 255, 255, .5); }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) { .specs-hint { display: flex; } }

/* ---------- حقائق الشركة ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0 0; }
.fact { padding: 14px 16px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); }
.fact dt { font-size: calc(.78rem + var(--ar-plus)); color: var(--muted); }
.fact dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 700; font-size: calc(1.05rem + var(--ar-plus)); color: var(--ink); }

/* ---------- أقسام الشركة ---------- */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dept { position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.dept:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dept::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: var(--o, 100% 50%); transition: transform .6s var(--ease); }
html[dir="ltr"] .dept::after { --o: 0 50%; }
.dept:hover::after { transform: scaleX(1); }
.dept-num { position: absolute; top: 18px; inset-inline-end: 22px; font: 800 2.6rem 'Montserrat'; color: transparent; -webkit-text-stroke: 1px rgba(201, 161, 91, .35); line-height: 1; }
.dept-ic { width: 56px; height: 56px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--ink); color: var(--gold); margin-bottom: 22px; transition: background .5s ease, color .5s ease, transform .6s var(--ease); }
.dept-ic .ic { width: 26px; height: 26px; }
.dept:hover .dept-ic { background: var(--gold); color: var(--ink); transform: rotate(-6deg); }
.dept h3 { font-size: calc(1.3rem + var(--ar-plus)); margin-bottom: 10px; }
.dept p { margin: 0; color: var(--muted); }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) { .depts { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }
.spec-table thead tr:first-child th:first-child { z-index: 3; }
.spec-table tbody th { z-index: 2; }

/* قسم «مشروعك القادم يبدأ بمكالمة»: بلا مسافة علوية بعد الأقسام الفاتحة (لها مسافتها السفلية)،
   ومع مسافة واضحة إذا جاء بعد قسم داكن حتى لا يلتصق به */
.cta-section { padding-top: 0; }
.section-dark + .cta-section { padding-top: clamp(44px, 5.4vw, 76px); }

/* ---------- مبدّل نماذج التصميم (عرض للعميل) — ألوان ثابتة ليبدو واحداً في كل النماذج ---------- */
.vswitch { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 95; font-family: var(--f-body); color: #fff; }
.vswitch summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; cursor: pointer; background: rgba(17, 17, 19, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: .82rem; font-weight: 600; transition: transform .4s var(--ease); user-select: none; }
html[dir="rtl"] .vswitch summary { padding: 9px 10px 9px 16px; }
.vswitch summary::-webkit-details-marker { display: none; }
.vswitch summary:hover { transform: translateY(-2px); }
.vswitch-dots { display: flex; }
.vswitch-dots i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 2px #19191b; }
.vswitch-dots i + i { margin-inline-start: -6px; }
.vswitch-dots i.on { box-shadow: 0 0 0 2px #fff; position: relative; z-index: 1; }
.vswitch-panel { position: absolute; bottom: calc(100% + 10px); inset-inline-start: 0; width: min(330px, calc(100vw - 32px)); padding: 14px; border-radius: 18px; background: rgba(17, 17, 19, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1); animation: vsIn .45s var(--ease); }
@keyframes vsIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.vswitch-title { margin: 2px 6px 10px; font-size: .74rem; color: rgba(255, 255, 255, .55); }
.vswitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vswitch li a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .3s; }
.vswitch li a:hover { background: rgba(255, 255, 255, .07); }
.vswitch li a.on { background: rgba(255, 255, 255, .12); }
.vswitch-sw { width: 38px; height: 38px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--a) 55%, var(--b) 55%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.vswitch li b { display: block; font-size: .86rem; line-height: 1.3; }
.vswitch li small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .55); line-height: 1.4; margin-top: 2px; }
.vswitch li a.on b::after { content: ' ✓'; color: #7ee2a8; }
@media (max-width: 640px) {
  .vswitch { bottom: 16px; inset-inline-start: 16px; }
  .vswitch-label { display: none; }
  .vswitch summary, html[dir="rtl"] .vswitch summary { padding: 10px 12px; }
}

/* ================= الشركات التابعة: بطاقات تعريفية فقط (2026-11-24) ================= */
.section-subs { background: #fff; }
.gs-grid { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: clamp(14px, 1.6vw, 22px); }
.gs { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.gs-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.gs-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.gs-place, .gs-soon { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: calc(.76rem + var(--ar-plus)); font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); backdrop-filter: blur(8px); }
.gs-place { inset-inline-start: 12px; background: rgba(10, 26, 51, .72); color: #fff; }
.gs-place svg { width: 13px; height: 13px; color: var(--gold-light); }
.gs-soon { inset-inline-end: 12px; background: var(--gold); color: var(--ink); }
.gs-body { position: relative; padding: 36px 20px 22px; flex: 1; border-top: 3px solid var(--c); }
.gs-logo { position: absolute; top: -30px; inset-inline-start: 20px; width: 56px; height: 56px; border-radius: var(--r-sm); background: #fff; display: grid; place-items: center; padding: 8px; box-shadow: 0 10px 24px -10px rgba(10, 26, 51, .45); border: 1px solid var(--line); }
.gs-logo img { max-height: 100%; object-fit: contain; }
.gs-logo b { font-family: 'Montserrat'; font-weight: 800; font-size: 1.5rem; color: var(--c); }
.gs h3 { font-size: calc(1.2rem + var(--ar-plus)); color: var(--text); }
.gs .gs-tag { color: var(--gold-deep); font-weight: 600; font-size: calc(.88rem + var(--ar-plus)); margin: 4px 0 0; }
.gs p { color: var(--muted); font-size: calc(.9rem + var(--ar-plus)); line-height: 1.75; margin: 10px 0 0; }
.gs-site { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: calc(.84rem + var(--ar-plus)); font-weight: 600; color: var(--gold-deep); }
.gs-site svg { width: 14px; height: 14px; }
@media (max-width: 1100px) { .gs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gs-grid { grid-template-columns: 1fr; } }


/* ================= تخفيف بسيط للواجهة والشريط المتحرك (2026-11-24) ================= */
/* الطبقة فوق صور الشرائح خفيفة جداً: ظل ناعم خلف النص فقط وأسفل الصورة، والصورة واضحة (2026-11-24) */
.hero::before {
  background:
    linear-gradient(to left, color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 30%, transparent) 38%, transparent 62%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 32%) !important;
}
html[dir="ltr"] .hero::before {
  background:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 30%, transparent) 38%, transparent 62%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 32%) !important;
}
.hero-title, .hero-sub, .hero .eyebrow { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-title .line:last-child > span { text-shadow: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.hero-mark { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
@media (max-width: 760px) {
  .hero::before, html[dir="ltr"] .hero::before { background: linear-gradient(to top, color-mix(in srgb, var(--ink) 72%, transparent) 0%, color-mix(in srgb, var(--ink) 30%, transparent) 55%, transparent 80%) !important; }
}
.hero .blueprint { opacity: .2; }
/* الشريط المتحرك: أنحف وأهدأ */
.marquee { padding-block: 12px !important; transform: rotate(-.6deg) scale(1.02) !important; }
.marquee .marquee-track { animation-duration: 55s; }
.marquee .marquee-item { font-size: calc(clamp(.95rem, .8rem + .45vw, 1.2rem) + var(--ar-plus)) !important; gap: 22px; padding-inline-end: 22px; }

/* ================= شريط النقاط الجانبي للشرائح (2026-11-24) — بدل الشريط السفلي ================= */
.hero .hero-inner { padding-bottom: clamp(64px, 10vh, 110px); }
.hero .hero-rail { position: absolute; z-index: 3; top: 50%; inset-inline-end: clamp(14px, 2.2vw, 34px); transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .hero-rail .hero-dot { position: relative; display: block; width: 10px; height: 10px; padding: 0 !important; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); overflow: hidden; cursor: pointer; transition: height .5s var(--ease), background .3s; }
.hero .hero-rail .hero-dot::before { display: none; }
.hero .hero-rail .hero-dot::after { content: ''; position: absolute; inset: 0; width: auto; height: auto; background: var(--gold); transform: scaleY(0); transform-origin: 50% 0; }
.hero .hero-rail .hero-dot:hover { background: rgba(255, 255, 255, .75); }
.hero .hero-rail .hero-dot.active { height: 36px; background: rgba(255, 255, 255, .28); }
.hero .hero-rail .hero-dot.active::after { animation: railFill var(--dur, 7s) linear forwards; }
.hero .hero-rail .hero-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@keyframes railFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 760px) {
  .hero .hero-inner { padding-bottom: 84px; }
  .hero .hero-rail { top: auto; bottom: 26px; inset-inline-end: auto; left: 50%; transform: translateX(-50%); flex-direction: row; padding: 9px 14px; }
  .hero .hero-rail .hero-dot.active { height: 10px; width: 36px; }
  .hero .hero-rail .hero-dot::after { transform: scaleX(0); transform-origin: 0 50%; }
  html[dir="rtl"] .hero .hero-rail .hero-dot::after { transform-origin: 100% 50%; }
  .hero .hero-rail .hero-dot.active::after { animation-name: railFillX; }
}
@keyframes railFillX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ================= الواجهة على نمط ملف Suqya (2026-11-24) =================
   أبيض واسع + مخطط هندسي خافت بالكحلي، صورة على اليمين دائماً بحافة سهمية وإطار ذهبي،
   زاوية كحلية بخط ذهبي أعلى اليسار، والنص على اليسار. الصورة الجديدة تُكشف بمسح من اليمين. */
.hero.hero-split { display: block; min-height: 0; color: var(--ink); background: #FEFEFE; padding-top: var(--hh); }
.hero.hero-split::before { display: none !important; }
.hero-split .hero-bp { position: absolute; inset: var(--hh) 0 0 0; z-index: 0; pointer-events: none; }
.hero-split .blueprint { position: absolute; inset: 0; opacity: 1; z-index: 0; }
.hero-split .blueprint .bp { stroke: var(--ink); opacity: .13; }
.hero-split .blueprint .bp-thin { opacity: .07; }
.hero-split .blueprint text { fill: var(--ink); }

/* الزاوية الكحلية أعلى اليسار بخط ذهبي */
.hero-corner { position: absolute; z-index: 2; top: var(--hh); left: 0; width: clamp(80px, 9vw, 150px); height: clamp(130px, 15vw, 250px); background: linear-gradient(160deg, var(--gold-deep), var(--gold-light) 45%, var(--gold)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.hero-corner::after { content: ''; position: absolute; inset: 0; background: var(--ink-2); clip-path: polygon(0 0, calc(100% - 9px) 0, 0 calc(100% - 15px)); }

/* الصورة: يمين الشاشة بارتفاع القسم، حافة سهمية بإطار ذهبي */
.hero-split .hero-media { position: absolute; z-index: 1; top: var(--hh); bottom: 0; right: 0; width: 46%; background: linear-gradient(180deg, var(--gold-light), var(--gold) 35%, var(--gold-deep) 70%, var(--gold)); clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%); }
.hero-split .hero-slides { position: absolute; inset: 0 0 0 10px; z-index: 0; clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%); background: var(--ink); }
.hero-split .hero-slide { opacity: 1; visibility: hidden; z-index: 1; transition: visibility 0s linear 1.3s; }
.hero-split .hero-slide.active { visibility: visible; z-index: 2; transition: none; animation: heroWipe 1.3s var(--ease-in-out) both; }
.hero-split .hero-slide img { transform: scale(1.06); }
.hero-split .hero-slide.active img { animation: kenburnsSoft 9s linear forwards; }
@keyframes heroWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes kenburnsSoft { from { transform: scale(1.08); } to { transform: scale(1); } }

/* النص على اليسار فوق الأبيض */
.hero-split .hero-inner { position: relative; z-index: 3; display: flex; align-items: center; min-height: clamp(560px, calc(100svh - var(--hh)), 820px); padding-block: clamp(50px, 7vh, 90px); }
.hero-split .hero-side { width: 50%; margin-left: 0; margin-right: auto; }
.hero-split .eyebrow { color: var(--gold-deep); text-shadow: none; }
.hero-split .hero-title { color: var(--ink); font-size: calc(clamp(2.2rem, 1.1rem + 3.4vw, 4.4rem) + var(--ar-plus)); text-shadow: none; }
.hero-split .hero-title .line:last-child > span { background: none; color: var(--ink); filter: none; -webkit-text-fill-color: currentColor; }
.hero-split .hero-sub { color: #4A5568; text-shadow: none; max-width: 540px; position: relative; padding-inline-start: 18px; }
.hero-split .hero-sub::before { content: ''; position: absolute; inset-block: .35em; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--gold); }
.hero-split .hero-ctas .btn-line { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 25%, transparent); }

/* شريط النقاط: على الطرف الأيسر بألوان كحلية */
.hero.hero-split .hero-rail { inset-inline-start: auto; inset-inline-end: auto; left: clamp(12px, 1.8vw, 28px); right: auto; background: color-mix(in srgb, var(--ink) 5%, transparent); border-color: color-mix(in srgb, var(--ink) 12%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero.hero-split .hero-rail .hero-dot { background: color-mix(in srgb, var(--ink) 28%, transparent); }
.hero.hero-split .hero-rail .hero-dot:hover { background: color-mix(in srgb, var(--ink) 55%, transparent); }
.hero.hero-split .hero-rail .hero-dot.active { background: color-mix(in srgb, var(--ink) 14%, transparent); }

@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split .hero-media { position: relative; top: 0; width: 100%; height: clamp(240px, 58vw, 420px); clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); background: linear-gradient(90deg, var(--gold-deep), var(--gold-light) 50%, var(--gold-deep)); }
  .hero-split .hero-slides { inset: 0 0 8px 0; clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); }
  .hero-split .hero-bp { top: calc(var(--hh) + clamp(240px, 58vw, 420px)); }
  .hero-corner { display: none; }
  .hero-split .hero-inner { min-height: 0; padding-block: 26px 90px; }
  .hero-split .hero-side { width: 100%; }
  .hero.hero-split .hero-rail { top: auto; bottom: 26px; left: 50%; transform: translateX(-50%); flex-direction: row; padding: 9px 14px; }
  .hero.hero-split .hero-rail .hero-dot.active { height: 10px; width: 36px; }
  .hero.hero-split .hero-rail .hero-dot::after { transform: scaleX(0); transform-origin: 0 50%; }
  html[dir="rtl"] .hero.hero-split .hero-rail .hero-dot::after { transform-origin: 100% 50%; }
  .hero.hero-split .hero-rail .hero-dot.active::after { animation-name: railFillX; }
}

/* الشريط المتحرك بنمط الشريط السفلي في الملف: كحلي بنص ذهبي وخط ذهبي، مستقيم */
.marquee { background: var(--ink) !important; color: var(--gold) !important; transform: none !important; margin-block: 0 !important; border-top: 2px solid var(--gold); box-shadow: none !important; }
.marquee .marquee-item .sep { background: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 6px); }

/* ================= صقل الواجهة البيضاء (2026-11-24): كحلي موحّد + عمود نص أقوى ================= */
/* القائمة: نفس كحلي الشرائح والزاوية والشريط (معتم بلا شفافية) مع خط ذهبي رفيع أسفلها */
html .header.solid { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 10px 30px -18px rgba(12, 37, 65, .55); }
html .header.solid::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light) 50%, var(--gold-deep)); }

/* المخطط الهندسي: أوضح قليلاً جهة النص ويتلاشى نحو الصورة */
.hero-split .hero-bp { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 70%); }
.hero-split .blueprint .bp { opacity: .2; }
.hero-split .blueprint .bp-thin { opacity: .1; }

/* عمود النص */
.hero-split .hero-side { width: 48%; max-width: 620px; }
.hero-split .eyebrow { font-size: calc(.86rem + var(--ar-plus)); font-weight: 700; letter-spacing: .04em; }
.hero-split .eyebrow::before { width: 28px; height: 2px; background: var(--gold); }
.hero-split .hero-title { font-size: calc(clamp(2.3rem, 1.2rem + 3.5vw, 4.7rem) + var(--ar-plus)); font-weight: 800; letter-spacing: -.01em; }
.hero-split .hero-title::after { content: ''; display: block; width: 76px; height: 4px; border-radius: 4px; margin-top: 24px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold)); }
.hero-split .hero-sub { padding-inline-start: 0; margin-top: 22px; color: #4B5A6E; font-size: calc(clamp(1rem, .92rem + .3vw, 1.15rem) + var(--ar-plus)); line-height: 1.9; }
.hero-split .hero-sub::before { display: none; }
.hero-split .hero-copy + .hero-ctas { margin-top: 34px; }
.hero-split .hero-ctas .btn { padding: 1em 1.9em; font-size: calc(1rem + var(--ar-plus)); }
html[lang="ar"] .hero-split .hero-ctas .btn { font-size: calc(1rem + var(--ar-plus) - 1px); }
.hero-split .hero-ctas .btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero-split .hero-ctas .btn-line:hover { --bg: var(--ink); --fg: #fff; }

/* شريط الأرقام المختصر أسفل الأزرار */
.hero-facts { list-style: none; margin: clamp(34px, 5vh, 52px) 0 0; padding: 24px 0 0; display: flex; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); opacity: 0; animation: up .9s var(--ease) forwards; animation-delay: calc(var(--start, 1.9s) + .9s); }
.hero-facts li { flex: 1; min-width: 0; padding-inline-end: 20px; margin-inline-end: 20px; border-inline-end: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.hero-facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts b { display: block; font-family: 'Montserrat', var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1vw, 2.2rem); line-height: 1; color: var(--ink); }
.hero-facts b i { font-style: normal; color: var(--gold); margin-inline-start: 2px; }
.hero-facts span { display: block; margin-top: 8px; font-size: calc(.84rem + var(--ar-plus)); line-height: 1.5; color: #5B687A; }

/* الزاوية الكحلية أنحف وأكثر انسجاماً مع خط القائمة */
.hero-corner { width: clamp(70px, 7vw, 120px); height: clamp(110px, 12vw, 200px); }

/* شريط النقاط: بجانب حافة الصورة السهمية بدل طرف الشاشة */
.hero.hero-split .hero-rail { left: auto; right: calc(46% + 18px); top: auto; bottom: 34px; transform: none; flex-direction: row; padding: 10px 14px; background: #fff; border-color: color-mix(in srgb, var(--ink) 10%, transparent); box-shadow: 0 10px 24px -14px rgba(12, 37, 65, .35); }
.hero.hero-split .hero-rail .hero-dot.active { height: 10px; width: 34px; }
.hero.hero-split .hero-rail .hero-dot::after { transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .hero.hero-split .hero-rail .hero-dot::after { transform-origin: 100% 50%; }
.hero.hero-split .hero-rail .hero-dot.active::after { animation-name: railFillX; }

@media (max-width: 1100px) {
  .hero-split .hero-side { width: 52%; }
  .hero-facts span { font-size: calc(.78rem + var(--ar-plus)); }
}
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split .hero-side { width: 100%; max-width: none; }
  .hero-split .hero-bp { -webkit-mask-image: none; mask-image: none; }
  .hero.hero-split .hero-rail { right: auto; left: 50%; bottom: 26px; transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .hero-split .hero-ctas .btn { padding: .9em 1.4em; }
  .hero-facts li { padding-inline-end: 12px; margin-inline-end: 12px; }
}

/* ارتفاع أقل للشرائح بشكل عام */
.hero-split .hero-inner { min-height: clamp(480px, calc(74vh - var(--hh)), 640px); padding-block: clamp(36px, 5vh, 60px); }
.hero-split .hero-facts { margin-top: clamp(26px, 3.5vh, 38px); padding-top: 20px; }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split .hero-media { height: var(--hm); }
  .hero-split .hero-bp { top: calc(var(--hh) + var(--hm)); }
  .hero-split .hero-inner { min-height: 0; padding-block: 20px 78px; }
}

/* ================= الواجهة: صورة أكبر + لوغو كبير + نص أضيق (2026-11-24) =================
   بالترتيب البصري من اليسار: اللوغو المرسوم ← فاصل ذهبي ← النص ← الصورة بحافتها السهمية. لا نص فوق الصور. */
.hero-split .hero-media { width: 48%; }
.hero-split .hero-inner {
  --mark-w: clamp(210px, 19vw, 300px);
  display: grid; direction: ltr; grid-template-columns: var(--mark-w) 1px minmax(0, 1fr); column-gap: clamp(26px, 2.8vw, 44px); align-items: center;
  width: auto; max-width: none; margin: 0;
  padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  padding-right: calc(48% + clamp(30px, 3.2vw, 52px));
}
html[dir="rtl"] .hero-split .hero-side { direction: rtl; }
html[dir="ltr"] .hero-split .hero-side { direction: ltr; }
.hero-split .hero-side { width: auto; max-width: 440px; margin: 0; }
html[dir="rtl"] .hero-split .hero-side { justify-self: end; }

/* اللوغو الكبير المرسوم */
.hero-split .hero-mark { justify-self: center; width: 100%; color: var(--gold); filter: drop-shadow(0 18px 28px rgba(12, 37, 65, .16)); }
.hero-split .hero-mark svg { display: block; width: 100%; height: auto; }
.hero-split .hero-mark-label { color: var(--ink); margin-top: 16px; font-size: clamp(.95rem, .7rem + .7vw, 1.45rem); }
.hero-split .hero-mark-label small { color: var(--gold-deep); opacity: 1; }
.hero-divider { align-self: stretch; width: 1px; margin-block: 14%; background: linear-gradient(180deg, transparent, var(--gold) 25%, var(--gold-deep) 75%, transparent); }

/* النص: أصغر ومركّز */
.hero-split .eyebrow { margin-bottom: 18px; font-size: calc(1rem + var(--ar-plus)); } /* «شركة رياض المتحدة» أكبر (2026-11-24) */
html[lang="en"] .hero-split .eyebrow { font-size: .8rem; }
.hero-split .hero-title { font-size: calc(clamp(1.75rem, .55rem + 2.15vw, 2.75rem) + var(--ar-plus)); }
.hero-split .hero-title::after { width: 60px; height: 3px; margin-top: 18px; }
.hero-split .hero-sub { margin-top: 18px; font-size: calc(clamp(.95rem, .9rem + .15vw, 1.05rem) + var(--ar-plus)); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-split .hero-copy + .hero-ctas { margin-top: 26px; gap: 10px; }
.hero-split .hero-ctas .btn, html[lang="ar"] .hero-split .hero-ctas .btn { padding: .85em 1.45em; font-size: calc(.92rem + var(--ar-plus)); }

/* النقاط أسفل عمود النص بمحاذاة بدايته */
.hero.hero-split .hero-rail { right: calc(48% + clamp(30px, 3.2vw, 52px)); bottom: 28px; }
html[dir="ltr"] .hero.hero-split .hero-rail { right: auto; left: calc(52% - 220px); }

@media (max-width: 1180px) {
  .hero-split .hero-inner { --mark-w: clamp(160px, 16vw, 200px); column-gap: 22px; }
}
/* اللوغو الكبير يختفي حتى 1180px: بين 1021 و1180 كان يلامس عمود النص (القاعدة غير المقيّدة أسفل تكبّر --mark-w) */
@media (max-width: 1180px) and (min-width: 901px) and (orientation: landscape), (max-width: 1180px) and (min-width: 1101px) {
  .hero-split .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-split .hero-mark, .hero-divider { display: none; }
  .hero-split .hero-side { max-width: none; justify-self: stretch; }
}
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split .hero-inner { grid-template-columns: minmax(0, 1fr); padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-split .hero-mark, .hero-divider { display: none; }
  .hero-split .hero-side { max-width: none; justify-self: stretch; }
  .hero-split .hero-title { font-size: calc(clamp(1.8rem, 1.2rem + 3vw, 2.6rem) + var(--ar-plus)); }
  .hero.hero-split .hero-rail, html[dir="ltr"] .hero.hero-split .hero-rail { right: auto; left: 50%; }
}
/* ضبط: الأزرار في سطر واحد ضمن عمود النص */
.hero-split .hero-inner { --mark-w: clamp(190px, 16vw, 250px); column-gap: clamp(22px, 2.2vw, 36px); padding-right: calc(48% + clamp(24px, 2.6vw, 44px)); }
.hero-split .hero-side { max-width: 460px; }
.hero-split .hero-ctas { flex-wrap: nowrap; }
.hero-split .hero-ctas .btn, html[lang="ar"] .hero-split .hero-ctas .btn { padding: .8em 1.25em; white-space: nowrap; }
.hero.hero-split .hero-rail { right: calc(48% + clamp(24px, 2.6vw, 44px)); }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) { .hero-split .hero-ctas { flex-wrap: wrap; } }
/* الجوال واللوحي (≤900): إلغاء مقاسات سطح المكتب المضافة أعلاه */
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split .hero-media { width: 100%; }
  .hero-split .hero-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-split .hero-side { max-width: none; }
  .hero.hero-split .hero-rail, html[dir="ltr"] .hero.hero-split .hero-rail { right: auto; left: 50%; bottom: 26px; transform: translateX(-50%); flex-direction: row; }
  .hero-split .hero-ctas { flex-wrap: wrap; }
}

/* ================= الواجهة + الشريط المتحرك = 100vh بالضبط، والنقاط فوق الصورة (2026-11-24) =================
   ارتفاع الشريط ثابت (--marq-h) ليُطرح من ارتفاع الواجهة؛ إن أُطفئ الشريط تأخذ الواجهة الشاشة كاملة. */
:root { --marq-h: 52px; }
.marquee { height: var(--marq-h); padding-block: 0 !important; display: flex; align-items: center; box-sizing: border-box; }
.hero-split { --mh: 0px; }
.hero-split:has(+ .marquee) { --mh: var(--marq-h); }
/* var(--hh) = القائمة الثابتة (padding-top للواجهة) */
.hero-split .hero-inner { min-height: calc(100vh - var(--hh) - var(--mh)); padding-block: clamp(28px, 4vh, 56px); }

/* النقاط فوق الصورة: أسفل منتصف الجزء الظاهر منها، بكبسولة كحلية شفافة ونقاط بيضاء */
.hero.hero-split .hero-rail, html[dir="ltr"] .hero.hero-split .hero-rail {
  left: auto; right: calc(48% * .425); top: auto; bottom: 26px; transform: translateX(50%); flex-direction: row;
  padding: 9px 14px; background: rgba(12, 37, 65, .42); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero.hero-split .hero-rail .hero-dot { background: rgba(255, 255, 255, .55); }
.hero.hero-split .hero-rail .hero-dot:hover { background: rgba(255, 255, 255, .85); }
.hero.hero-split .hero-rail .hero-dot.active { width: 34px; height: 10px; background: rgba(255, 255, 255, .3); }

@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  :root { --marq-h: 46px; }
  /* الصورة أعلى (ارتفاعها var(--hm))، والنص يملأ باقي الشاشة */
  .hero-split .hero-inner { min-height: calc(100vh - var(--hh) - var(--mh) - var(--hm)); padding-block: 22px 30px; }
  .hero.hero-split .hero-rail, html[dir="ltr"] .hero.hero-split .hero-rail {
    right: auto; left: 50%; bottom: auto; transform: translateX(-50%);
    /* فوق الحافة السهمية السفلية للصورة (تبدأ عند 88% من ارتفاعها) */
    top: calc(var(--hh) + var(--hm) * .88 - 46px);
  }
}

/* 2026-11-24: الترويسة بثلاثة أقسام — البداية: الشعار واسم الشركة · الوسط: «اطلب عرض سعر» (كتلة ذهبية بارتفاع الشريط)
   مع أيقونات التواصل · النهاية: القائمة ثم زر اللغة. تحت 1181px يختفي الوسط وتبقى القائمة/زر الجوال كما كانت */
.header .header-inner { padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.header-end { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.header-end .nav { margin-inline-start: 0; }
.header-center { display: none; }
@media (min-width: 1181px) {
  .header .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-self: stretch; column-gap: clamp(18px, 2vw, 32px); }
  .header .brand { justify-self: start; }
  .header-end { justify-self: end; margin-inline-start: 0; }
  .header .nav a { white-space: nowrap; }
  /* الوسط في منتصف المسافة بين الشعار والقائمة (القائمة أعرض من أن يتسع وسط الشاشة تماماً) */
  .header-center { display: flex; align-items: stretch; align-self: stretch; justify-self: center; }
  .header .header-cta {
    display: inline-flex; align-items: center; padding: 0 clamp(22px, 2vw, 32px);
    border-radius: 0; box-shadow: none; transform: none !important;
    font-size: calc(.92rem + var(--ar-plus)); font-weight: 600; letter-spacing: .01em;
  }
  .header .header-cta:hover { box-shadow: none; }
  .header-center { gap: 16px; }
  .header-social { display: flex; align-items: center; gap: 6px; }
  .header-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: .85; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background .3s, color .3s, opacity .3s, box-shadow .3s; }
  .header-social a:hover { opacity: 1; background: var(--gold); color: var(--ink); box-shadow: none; }
  .header-social .ic { width: 17px; height: 17px; }
}
/* بين 1181 و1320 تضيق المساحة: أيقونات أصغر وقائمة أضيق */
@media (min-width: 1181px) and (max-width: 1320px) {
  .header .nav a { padding-inline: 8px; font-size: calc(.86rem + var(--ar-plus)); }
  .header-social a { width: 34px; height: 34px; }
  .header-center { gap: 10px; }
  .header-center { gap: 10px; }
}


/* 2026-11-24: مرور الفأرة على الأزرار — لا يتحرك الزر من مكانه إلا انزلاقاً بسيطاً جداً للأسفل (2px)، بلا توهّج يرفعه
   (الحركة المغناطيسية في site.js أُلغيت)؛ والأزرار ذات الخلفية البيضاء/الشفافة على الأبيض تصير كحلية بدل الذهبي */
.btn { transition: transform .35s var(--ease), box-shadow .4s var(--ease), color .3s, background-color .35s; }
.btn:hover { transform: translateY(2px); box-shadow: none; }
.header .header-cta:hover { transform: none !important; }
.btn-line::before { display: none; }
.btn-line:hover, .hero-split .hero-ctas .btn-line:hover { --bg: var(--ink); --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.hs-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section-dark .hs-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* 2026-11-24: شعار التذييل أكبر */
.footer .brand { gap: 16px; }
.footer .brand-mark { width: clamp(84px, 8vw, 110px); }
.footer .brand-text b { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); }
.footer .brand-text small { font-size: clamp(.7rem, .62rem + .2vw, .82rem); }

/* 2026-11-24: «تابعونا» تحت الشعار الكبير في الشرائح — تصميم موحّد وواضح: عنوان صغير بين خطين ذهبيين، ثم أربع
   دوائر كحلية متساوية (36px) بشعارات بيضاء مضبوطة بصرياً، وحولها حلقة ذهبية رفيعة كالوسام؛ عند المرور تصير ذهبية
   بشعار كحلي وتنزل 2px. (جُرّبت قبلها: دوائر ممتلئة كبيرة، مؤطّرة، بلا دوائر، ومختلطة) */
.hero-follow { margin-top: 22px; display: grid; justify-items: center; gap: 12px; opacity: 0; animation: up .9s var(--ease) forwards; animation-delay: calc(var(--start, 1.9s) + .4s); }
.hero-follow-label { display: flex; align-items: center; gap: 10px; font-size: calc(.74rem + var(--ar-plus)); font-weight: 600; letter-spacing: .08em; color: var(--gold-deep); white-space: nowrap; }
html[lang="en"] .hero-follow-label { text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; }
.hero-follow-label::before, .hero-follow-label::after { content: ''; width: 22px; height: 1px; background: color-mix(in srgb, var(--gold) 70%, transparent); }
.hero-social { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 8px; }
/* الخيار المعتمد (2): مربعات 34px بإطار ذهبي رفيع وشعارات كحلية؛ عند المرور تمتلئ بالكحلي والشعار أبيض */
.hero-social a { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease); }
.hero-social a:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(2px); }
/* قاعدة .hero-split .hero-mark svg { width:100% } تشمل الأيقونات، فالمحدِّد هنا أقوى منها؛ مقاس كل شعار مضبوط بصرياً */
.hero-split .hero-mark .hero-social .ic { display: block; width: 22px; height: 22px; }
.hero-split .hero-mark .hero-social a[aria-label="x"] .ic { width: 19px; height: 19px; }
.hero-split .hero-mark .hero-social a[aria-label="youtube"] .ic { width: 24px; height: 24px; }
.hero-social a[aria-label="instagram"] .ic rect, .hero-social a[aria-label="instagram"] .ic circle:not(:last-child) { stroke-width: 2.1; }

/* 2026-11-24: أوراق «اعتمادات رسمية» مستقيمة بلا ميلان (بطلب المستخدم) */
.cert-doc, .cert:nth-child(even) .cert-doc { --r: 0deg; }

/* 2026-11-24: قسم «مشروعك القادم يبدأ بمكالمة» — رسم الرافعة استُبدل بسلايدر صور على نمط شرائح سوقنا (set.authoriaa.com):
   الصور لوحة بكامل ارتفاع الصندوق في الجهة المقابلة للنص، تذوب في الكحلي نحو النص (mask)، وتتبدّل كل 8 ثوانٍ
   بانزلاق ناعم 12% مع تلاشٍ؛ نقاط بشريط تقدّم ذهبي وزر إيقاف في كبسولة بيضاء على الصورة. */
.cta { --cta-pad: clamp(40px, 7vw, 100px); padding: var(--cta-pad); }
.cta-inner { position: relative; z-index: 2; grid-template-columns: minmax(0, 1fr); max-width: 54%; }
.cta-media { position: absolute; z-index: 1; inset-block: 0; inset-inline-end: 0; width: 48%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 58%, transparent); mask-image: linear-gradient(to right, #000 58%, transparent); }
html[dir="ltr"] .cta-media { -webkit-mask-image: linear-gradient(to left, #000 58%, transparent); mask-image: linear-gradient(to left, #000 58%, transparent); }
.cta-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.cta-slide.is-active { opacity: 1; z-index: 2; }
.cta-slide.is-prev { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  [data-dir="next"] > .cta-slide.is-active { animation: ctaInN .7s cubic-bezier(.2, .8, .2, 1) both; }
  [data-dir="prev"] > .cta-slide.is-active { animation: ctaInP .7s cubic-bezier(.2, .8, .2, 1) both; }
  [data-dir] > .cta-slide.is-prev { animation: ctaOut .5s ease both; }
}
@keyframes ctaInN { from { opacity: 0; transform: translateX(-12%); } to { opacity: 1; transform: none; } }
@keyframes ctaInP { from { opacity: 0; transform: translateX(12%); } to { opacity: 1; transform: none; } }
@keyframes ctaOut { to { opacity: 0; } }
.cta-ui { position: absolute; z-index: 3; inset-inline-end: 18px; bottom: 16px; display: flex; align-items: center; gap: 2px; padding: 0 12px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[dir="rtl"] .cta-ui { padding: 0 4px 0 12px; }
.cta-toggle { width: 34px; height: 34px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; border-radius: 50%; }
.cta-toggle svg { width: 15px; height: 15px; fill: currentColor; }
.cta-toggle-play, .is-paused .cta-toggle-pause { display: none; }
.is-paused .cta-toggle-play { display: block; }
.cta-dot { position: relative; width: 26px; height: 34px; border: 0; background: none; padding: 0; }
.cta-dot::before, .cta-dot i { content: ''; position: absolute; inset-inline: 3px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.cta-dot::before { background: color-mix(in srgb, var(--ink) 25%, transparent); }
.cta-dot i { background: var(--gold); transform: scaleX(0); transform-origin: var(--o, 100% 50%); }
html[dir="ltr"] .cta-dot i { --o: 0 50%; }
.cta-dot.is-active i { transform: scaleX(1); }
.cta-dot.is-active.run i { transform: scaleX(0); animation: ctaFill var(--cta-ms, 8s) linear forwards; }
@keyframes ctaFill { to { transform: scaleX(1); } }
.cta-toggle:focus-visible, .cta-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) {
  .cta-inner { max-width: none; }
  .cta-media, html[dir="ltr"] .cta-media { position: relative; inset: auto; width: auto; height: clamp(200px, 50vw, 300px); margin: calc(var(--cta-pad) * -1) calc(var(--cta-pad) * -1) 26px;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
  .cta-ui { bottom: 34px; }
}
/* صورة المكالمة محفوظة معكوسة ليظهر الرجل في الجهة غير الذائبة بالعربية؛ في الإنجليزية تنقلب اللوحة فنعيد عكسها */
html[dir="ltr"] .cta-slide[src*="cta-call-"] { scale: -1 1; }

/* ================= 2026-11-24: تعديلات الواجهة =================
   - بلا شخطة قبل «شركة رياض المتحدة»، وبلا المثلث (الزاوية الكحلية) — حُذف من القالب.
   - القسم الثالث (يسار الواجهة بالعربية) كله للشعار والتواصل: شعار أكبر بارز، والصورة أضيق قليلاً (44%) لتتسع له.
   - الجوال: أسهم يمين ويسار فوق الصورة بدل كبسولة النقاط (رقم الشريحة). */
.hero-split .eyebrow::before { display: none; }
.hero-split .eyebrow { gap: 0; }
.hero-corner { display: none; }
@media (min-width: 1181px) {
  .hero-split { --media-w: 44%; }
  .hero-split .hero-media { width: var(--media-w); }
  .hero-split .hero-inner { --mark-w: clamp(230px, 19.5vw, 300px); column-gap: clamp(22px, 2.4vw, 40px); padding-right: calc(var(--media-w) + clamp(24px, 2.6vw, 44px)); }
  html[dir="rtl"] .hero-split .hero-inner, html[dir="ltr"] .hero-split .hero-inner { padding-right: calc(var(--media-w) + clamp(24px, 2.6vw, 44px)); }
  .hero.hero-split .hero-rail, html[dir="ltr"] .hero.hero-split .hero-rail { right: calc(var(--media-w) * .425); }
  .hero-split .hero-mark-label { font-size: clamp(1.15rem, .8rem + .9vw, 1.7rem); margin-top: 18px; }
  /* Alexandria أعرض من Changa: العنوان أصغر قليلاً ليبقى كل سطر في سطر بجانب الشعار الأكبر */
  .hero-split .hero-title { font-size: calc(clamp(1.6rem, .4rem + 1.7vw, 2rem) + var(--ar-plus)); }
}
.hero-arrow { display: none; }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero.hero-split .hero-rail, html[dir="ltr"] .hero.hero-split .hero-rail { display: none; }
  .hero-arrow { display: grid; place-items: center; position: absolute; z-index: 4; top: calc(var(--hm) * .44 - 21px);
    width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, color .3s; }
  .hero-arrow .ic { width: 20px; height: 20px; }
  .hero-arrow-l { left: 12px; }
  .hero-arrow-l .ic { transform: scaleX(-1); }
  .hero-arrow-r { right: 12px; }
  .hero-arrow:active { background: var(--gold); }
}
/* عنوان «مجموعة شركات رياض» في سطر واحد: عمود العنوان أعرض في قسم الشركات */
@media (min-width: 981px) and (orientation: landscape), (min-width: 1101px) { .section-subs .intro { grid-template-columns: 1.45fr 1fr; } }

/* 2026-11-24: أسفل التذييل — كلمة RIYAD المحفورة بالخطوط على اليسار (في اللغتين)، وبجانبها الشعار مرسوماً بالخط الذهبي الرفيع نفسه
   ومن دون تعبئة، وارتفاعه بارتفاع الكلمة. الحجم كله من font-size الحاوية (em) فيتناسبان على كل الشاشات. */
.footer-sign { direction: ltr; display: flex; align-items: flex-end; justify-content: flex-start; gap: .14em;
  font-family: 'Montserrat'; font-weight: 800; font-size: clamp(3.4rem, 14vw, 13rem); line-height: .75;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); margin-bottom: -.12em; user-select: none; }
.footer-sign .footer-word { font-size: 1em; text-align: start; margin: 0; }
.footer-mark { flex: none; height: .78em; width: auto; margin-bottom: .02em; }
.footer-mark .mark-path { fill: transparent; stroke: color-mix(in srgb, var(--gold) 25%, transparent); stroke-width: 1px; vector-effect: non-scaling-stroke; }
/* الكلمة والشعار معاً في منتصف أسفل التذييل (بطلب المستخدم) */
.footer-sign { justify-content: center; }
/* شعار أسفل التذييل أكبر قليلاً من ارتفاع الكلمة (بطلب المستخدم) */
.footer-mark { height: .95em; margin-bottom: -.03em; }
/* قائمة الجوال: خط الروابط أصغر ليتناسب مع الشعار (كان clamp(1.4rem, 6vw, 2.2rem)) */
.mnav li a { font-size: calc(clamp(1.05rem, 4.4vw, 1.4rem) + var(--ar-plus)); font-weight: 500; padding: 12px 0; }
.mnav li a small { font-size: .72rem; }
/* Readex Pro: عنوان الشريحة العربي أكبر قليلاً ويبقى كل سطر في سطر (مقيس 1200/1440/1920) */
@media (min-width: 1181px) { html[lang="ar"] .hero-split .hero-title { font-size: calc(clamp(1.7rem, .45rem + 1.95vw, 2.2rem) + var(--ar-plus)); } }
/* «شركة رياض المتحدة» فوق عنوان الشريحة: ضعف الحجم تقريباً (كان 1rem) */
.hero-split .eyebrow { font-size: calc(clamp(1.45rem, .9rem + 1.2vw, 1.95rem) + var(--ar-plus)); font-weight: 700; letter-spacing: 0; margin-bottom: 14px; line-height: 1.4; }
html[lang="en"] .hero-split .eyebrow { font-size: clamp(1.1rem, .8rem + .8vw, 1.45rem); letter-spacing: .04em; }

/* 2026-11-25: طلب عرض السعر حسب القسم — حقل «ماذا تطلب؟»، أرقام الأقسام، وزر واتساب المسؤول بعد الإرسال */
.field-dept select { font-weight: 600; color: var(--ink); }
.field-dept select:invalid { color: var(--muted); font-weight: 400; }
.ci-depts > span:last-child { display: grid; gap: 6px; flex: 1; }
.ci-depts a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-weight: 500; transition: color .3s; }
.ci-depts a:first-of-type { border-top: 0; }
.ci-depts a:hover { color: var(--gold-deep); }
.ci-depts a em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .9em; }
.ci-depts a b { font-weight: 600; white-space: nowrap; }
.sent-dept { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 22px; }
.sent-dept .btn { flex: 1 1 260px; }
/* أسهم الشرائح على الجوال: إشارة سهم فقط بلا خلفية — ذهبية مع ظل خفيف لتظهر فوق الصور الفاتحة والداكنة */
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-arrow { width: 40px; height: 48px; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--gold-light); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .65)); }
  .hero-arrow .ic { width: 30px; height: 30px; stroke-width: 2.5; }
  .hero-arrow:active { background: none; color: var(--gold); }
  .hero-arrow-l { left: 4px; }
  .hero-arrow-r { right: 4px; }
}

/* 2026-11-25: «اطلب عرض سعر» — بطاقات الأقسام (اتصال مباشر/واتساب/طلب مكتوب) واختيار القسم بأزرار في النموذج */
.quote-depts { padding-block-end: 0; scroll-margin-top: calc(var(--hh, 80px) + 10px); }
.qd-head { max-width: 680px; margin-block-end: clamp(24px, 3vw, 38px); }
.qd-head h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); margin: 8px 0 10px; color: var(--ink); }
.qd-head p { color: var(--muted); margin: 0; }
.qd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.qd-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 26px 24px 22px; transition: box-shadow .4s, border-color .4s; overflow: hidden; }
.qd-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: var(--start, right); transition: transform .5s var(--ease); }
html[dir=ltr] .qd-card::before { transform-origin: left; }
.qd-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.qd-card:hover::before { transform: scaleX(1); }
.qd-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--ink); color: var(--gold-light); margin-block-end: 10px; }
.qd-ic .ic { width: 26px; height: 26px; }
.qd-card h3 { font-size: 1.22rem; margin: 0; color: var(--ink); }
.qd-note { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.qd-person { margin: 2px 0 0; font-weight: 600; color: var(--gold-deep); font-size: .95rem; }
.qd-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-block-start: auto; padding-block-start: 16px; }
.qd-actions .btn { justify-content: center; gap: 8px; padding-inline: 16px; min-height: 46px; }
.qd-actions .btn .ic { width: 18px; height: 18px; }
.qd-call { background: var(--ink); color: #fff; }
.qd-call:hover { background: var(--gold); color: var(--ink); }
.qd-wa span { display: none; }
.qd-wa { width: 46px; padding-inline: 0 !important; }
.qd-write { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; font-weight: 600; font-size: .92rem; color: var(--ink); border: 1px dashed var(--line); border-radius: var(--r-sm); transition: border-color .3s, color .3s; }
.qd-write .ic { width: 16px; height: 16px; }
.qd-write:hover { border-color: var(--gold); color: var(--gold-deep); }
.dept-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.dept-pick legend { font-size: .85rem; color: var(--muted); margin-block-end: 10px; padding: 0; }
.dept-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dept-chip { position: relative; cursor: pointer; }
.dept-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dept-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 500; font-size: .95rem; background: #fff; transition: background .3s, color .3s, border-color .3s; }
.dept-chip span .ic { width: 17px; height: 17px; color: var(--gold-deep); transition: color .3s; }
.dept-chip:hover span { border-color: var(--gold); }
.dept-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.dept-chip input:checked + span .ic { color: var(--gold-light); }
.dept-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
#form { scroll-margin-top: calc(var(--hh, 80px) + 16px); }
@media (max-width: 560px) {
  .qd-grid { grid-template-columns: 1fr; }
  .dept-chip { flex: 1 1 auto; }
  .dept-chip span { width: 100%; justify-content: center; }
}

/* زر الاتصال في بطاقات الأقسام (الأزرار تأخذ ألوانها من --bg/--fg) */
.qd-call { --bg: var(--ink); --fg: #fff; }
.qd-call:hover { --bg: var(--gold); --fg: var(--ink); }
/* 2026-11-25: قائمة الجوال — الروابط في الأعلى تحت الشعار مباشرة، واللغة والتواصل تحتها، وفي الأسفل توقيع التذييل (RIYAD + الشعار بالخطوط) */
.mnav { overflow-y: auto; overflow-x: hidden; }
.mnav ul { margin: clamp(18px, 4vh, 34px) 0 0; }
.mnav-foot { margin-top: 22px; }
.mnav-sign { margin-top: auto; padding: 26px 0 0; font-size: min(17.5vw, 7rem); margin-bottom: -.14em; }
.mnav-sign .footer-word { -webkit-text-stroke-color: color-mix(in srgb, var(--gold) 32%, transparent); }
.mnav-sign .footer-mark .mark-path { stroke: color-mix(in srgb, var(--gold) 32%, transparent); }
/* أزرار الأقسام داخل .field: إلغاء تنسيق «العنوان العائم» وحقول الإدخال العامة */
.dept-pick .dept-chip { position: relative; inset: auto; top: auto; pointer-events: auto; color: var(--ink); font-size: inherit; transition: none; }
.dept-pick .dept-chip input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; box-shadow: none; background: none; opacity: 0; }

/* 2026-11-25: الشركة/الجهة (نص اختياري) على بطاقة الخدمة أو المنتج */
.svc-brand { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 8px; font-size: .8rem; font-weight: 600; color: var(--gold-deep); }
.svc-brand::before { content: ""; width: 14px; height: 1.5px; background: currentColor; }

/* ==========================================================================
   2026-11-25: رأس الصفحات الداخلية بنمط الواجهة الجديدة (.phero-split في partials/page-hero)
   فاتح بمخطط كحلي خافت · الصورة يميناً بحافة سهمية وإطار ذهبي (كشرائح الرئيسية) · النص في الجهة الأخرى
   ========================================================================== */
.phero.phero-split { min-height: calc(var(--hh) + clamp(300px, 40vh, 420px)); padding-top: var(--hh); align-items: center; background: var(--light); color: var(--ink); border-bottom: 1px solid var(--line); }
.phero.phero-split::before { display: none; }
.phero-bp { position: absolute; inset: var(--hh) 0 0 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 72%); mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 72%); }
.phero-bp .blueprint { position: absolute; inset: 0; z-index: 0; opacity: 1; }
.phero-bp .blueprint .bp { stroke: var(--ink); opacity: .16; }
.phero-bp .blueprint .bp-thin { opacity: .08; }
.phero-bp .blueprint text { fill: var(--ink); }
.phero-media { position: absolute; z-index: 1; top: var(--hh); bottom: 0; right: 0; width: 42%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 35%, var(--gold-deep) 70%, var(--gold));
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%); }
.phero-img { position: absolute; inset: 0 0 0 9px; clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%); background: var(--ink); }
.phero-img img { width: 100%; height: 100%; object-fit: cover; animation: pheroIn 1.4s var(--ease) both; }
@keyframes pheroIn { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
.phero-split .phero-inner { position: relative; z-index: 2; width: 100%; max-width: none; margin: 0;
  padding-block: clamp(34px, 5vw, 60px); padding-left: max(var(--gutter), calc((100% - var(--container)) / 2)); padding-right: calc(42% + clamp(30px, 4vw, 64px)); }
.phero-split.phero-noimg .phero-inner { padding-right: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.phero-split h1 { color: var(--ink); font-size: calc(clamp(2rem, 1.1rem + 2.5vw, 3.3rem) + var(--ar-plus)); font-weight: 700; line-height: 1.25; max-width: 720px; }
.phero-split p { color: var(--muted); max-width: 560px; font-size: calc(1.02rem + var(--ar-plus)); line-height: 1.85; }
.phero-split .crumbs { color: var(--muted); margin-bottom: 18px; }
.phero-split .crumbs a { color: var(--ink); font-weight: 500; }
.phero-split .crumbs a:hover { color: var(--gold-deep); }
.phero-split .crumbs [aria-current] { color: var(--gold-deep); }
.phero-split .eyebrow { color: var(--gold-deep); font-weight: 700; }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .phero.phero-split { flex-direction: column; align-items: stretch; min-height: 0; }
  .phero-media { position: relative; top: 0; width: 100%; height: clamp(190px, 50vw, 330px);
    clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); background: linear-gradient(90deg, var(--gold-deep), var(--gold-light) 50%, var(--gold-deep)); }
  .phero-img { inset: 0 0 7px 0; clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); }
  .phero-bp { top: calc(var(--hh) + clamp(190px, 50vw, 330px)); -webkit-mask-image: none; mask-image: none; }
  .phero-split .phero-inner, .phero-split.phero-noimg .phero-inner { padding: 24px var(--gutter) 38px; }
  .phero-split h1 { font-size: calc(clamp(1.7rem, 1.1rem + 3vw, 2.4rem) + var(--ar-plus)); }
}

/* 2026-11-25: أعلى قائمة الجوال — زر اللغة (رمز صغير) بجانب زر «رجوع» بدل الإغلاق؛ وأسفلها «اطلب عرض سعر» بدل زر اللغة */
.mnav-tools { display: flex; align-items: center; gap: 8px; }
.mnav-lang { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill); color: #fff; font-weight: 600; font-size: .9rem; transition: border-color .3s, color .3s; }
.mnav-lang .ic { width: 17px; height: 17px; color: var(--gold-light); }
.mnav-lang:hover { border-color: var(--gold); color: var(--gold-light); }
.mnav-close.mnav-back { width: auto; height: 42px; padding-block: 0; padding-inline: 12px 15px; border-radius: var(--r-pill); gap: 6px; display: inline-flex; align-items: center; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .9rem; font-family: inherit; cursor: pointer; }
.mnav-back .ic { width: 18px; height: 18px; }
/* سهم الرجوع: يشير لليمين بالعربية ولليسار بالإنجليزية */
html[dir="ltr"] .mnav-back .ic-back { transform: scaleX(-1); }
.mnav-foot .mnav-quote { flex: 1 1 auto; max-width: 240px; }
.mnav-foot .mnav-quote { flex: 1 1 100%; max-width: none; }
@media (max-width: 380px) { .mnav-lang .ic { display: none; } .mnav-lang { padding: 0 11px; } .mnav-tools { gap: 6px; } }

/* 2026-11-25 (ب): قائمة الجوال — في الأعلى «اطلب عرض سعر» (إطار ذهبي) + زر رجوع دائري ذهبي بالسهم؛
   وأسفل الروابط أيقونات التواصل وبجانبها زر اللغة بارتفاعها نفسه (42px) وبإطارها نفسه */
.mnav-top .brand { gap: 8px; }
.mnav-top .brand-mark { width: 46px; }
.mnav-top .brand-text b { font-size: .95rem; }
.mnav-top .brand-text small { font-size: .58rem; }
.mnav-tools { gap: 8px; flex: none; }
.mnav-tools .mnav-quote { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border: 1px solid var(--gold); border-radius: var(--r-pill); color: var(--gold-light); font-weight: 600; font-size: .84rem; white-space: nowrap; transition: background .3s, color .3s; }
.mnav-tools .mnav-quote:hover, .mnav-tools .mnav-quote:active { background: var(--gold); color: var(--ink); }
.mnav-close.mnav-back { width: 42px; height: 42px; padding: 0; border-radius: 50%; justify-content: center; }
.mnav-back .ic { width: 20px; height: 20px; }
.mnav-foot { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; }
.mnav-foot .socials { margin-top: 0; flex-wrap: nowrap; }
.mnav-foot .mnav-lang { height: 42px; padding: 0 14px; border-color: var(--line-dark); font-size: .88rem; font-weight: 500; flex: none; }
.mnav-foot .mnav-lang .ic { width: 18px; height: 18px; display: block; }
@media (max-width: 360px) { .mnav-top .brand-text small { display: none; } .mnav-foot .socials a { width: 38px; height: 38px; } .mnav-foot .mnav-lang { height: 38px; padding: 0 11px; } }
/* 2026-11-25: رأس الصفحات الداخلية أُعيد لشكله القديم (صورة بعرض الصفحة والعنوان فوقها) بطلب المستخدم،
   مع طبقة بكحلي القائمة نفسه: أعمق في الأعلى حيث تلتقي بالقائمة، أخف في الوسط لتظهر الصورة، ثم كحلي خلف العنوان، وخط ذهبي سفلي كخط القائمة */
html .phero { background: var(--ink); }
html .phero-bg img { opacity: .88; } /* 2026-11-25: أخف بطلب المستخدم (كانت .6) */
html .phero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 12%, transparent) 34%, color-mix(in srgb, var(--ink) 22%, transparent) 58%, color-mix(in srgb, var(--ink) 78%, transparent) 100%); }
html .phero h1, html .phero-inner p, html .phero .crumbs { text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
html .phero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light) 50%, var(--gold-deep)); }
html .phero .blueprint { opacity: .35; }
html .phero .crumbs a { color: rgba(255, 255, 255, .78); }
html .phero .crumbs [aria-current] { color: var(--gold-light); }

/* 2026-11-25: صفحة التواصل — «اطلب عرض سعر» فوق أقسام الأسعار: رابط كحلي أكبر بلا شخطة، ينزل إلى نموذج الطلب */
.qd-head .qd-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: calc(1.15rem + var(--ar-plus)); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.qd-head .qd-link::before { content: none; }
.qd-head .qd-link .ic { width: 18px; height: 18px; color: var(--gold-deep); transition: transform .3s; }
.qd-head .qd-link:hover { color: var(--gold-deep); border-color: var(--ink); }
.qd-head .qd-link:hover .ic { transform: translateY(3px); }
html[lang="en"] .qd-head .qd-link { text-transform: none; letter-spacing: 0; font-size: 1.1rem; }

/* 2026-11-25: صور الشرائح أبراج طولية → القص يُظهر الجزء العلوي (قمة البرج والسماء) بدل المنتصف */
.hero-split .hero-slide img { object-position: 50% 25%; }
/* صفحة التواصل: قسم أقسام الأسعار أقرب لرأس الصفحة (رفع «اطلب عرض سعر» للأعلى) */
.quote-depts { padding-block-start: clamp(36px, 4.5vw, 60px); }

/* ================= 2026-11-25: رأس الصفحات الداخلية على فكرة قسم «مشروعك القادم يبدأ بمكالمة» =================
   كحلي القائمة (--ink) بعرض الصفحة، النص في جهة البداية، والصورة لوحة بكامل الارتفاع في جهة النهاية تذوب في الكحلي نحو النص (mask).
   الجوال ≤980: الصورة أعلى بعرض كامل تذوب للأسفل والنص تحتها. */
html .phero.phero-cta { background: var(--ink); min-height: calc(var(--hh, 80px) + clamp(300px, 40vh, 440px)); align-items: center; }
html .phero.phero-cta::before { display: none; }
.phero-cta .grid-overlay { opacity: .07; z-index: 0; }
html .phero-cta .blueprint { opacity: .22; z-index: 0; }
.phc-media { position: absolute; z-index: 0; inset-block: var(--hh, 80px) 0; inset-inline-end: 0; width: 52%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 52%, transparent); mask-image: linear-gradient(to right, #000 52%, transparent); }
html[dir="ltr"] .phc-media { -webkit-mask-image: linear-gradient(to left, #000 52%, transparent); mask-image: linear-gradient(to left, #000 52%, transparent); }
.phc-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (prefers-reduced-motion: no-preference) {
  .phc-media img { animation: phcIn 1.2s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes phcIn { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
html[dir="ltr"] .phc-media img { animation-name: phcInL; }
@keyframes phcInL { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
.phero-cta .phero-inner { position: relative; z-index: 2; padding-block: calc(var(--hh, 80px) + clamp(40px, 6vw, 80px)) clamp(44px, 6vw, 80px); }
.phero-cta .phero-inner > * { max-width: min(560px, 50%); }
.phero-cta.phero-noimg .phero-inner > * { max-width: 760px; }
html .phero-cta h1, html .phero-cta .phero-inner p, html .phero-cta .crumbs { text-shadow: none; }
.phero-cta h1 { font-size: calc(clamp(2rem, 1.1rem + 2.6vw, 3.6rem) + var(--ar-plus)); line-height: 1.2; }
.phero-cta .phero-inner p { color: rgba(255, 255, 255, .72); line-height: 1.85; }
.phero-cta .eyebrow { color: var(--gold-light); }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) {
  html .phero.phero-cta { flex-direction: column; align-items: stretch; min-height: 0; }
  .phc-media, html[dir="ltr"] .phc-media { position: relative; inset: auto; width: 100%; height: clamp(210px, 52vw, 340px); margin-top: var(--hh, 70px);
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent); mask-image: linear-gradient(to bottom, #000 58%, transparent); }
  .phero-cta .phero-inner { padding-block: 0 44px; margin-top: -34px; }
  .phero-cta.phero-noimg .phero-inner { padding-top: calc(var(--hh, 70px) + 44px); margin-top: 0; }
  .phero-cta .phero-inner > * { max-width: none; }
}

/* 2026-11-25 (ب): الصورة ثلثا العرض والنص الثلث، وعلى الصورة الطبقة الكحلية السابقة نفسها
   (الصورة opacity .88 فوق --ink + تدرّج 62% → 12% → 22% → 78%) ثم تذوب في الكحلي نحو النص */
@media (min-width: 981px) and (orientation: landscape), (min-width: 1101px) {
  .phc-media { width: 66.6%;
    -webkit-mask-image: linear-gradient(to right, #000 72%, transparent); mask-image: linear-gradient(to right, #000 72%, transparent); }
  html[dir="ltr"] .phc-media { -webkit-mask-image: linear-gradient(to left, #000 72%, transparent); mask-image: linear-gradient(to left, #000 72%, transparent); }
  .phero-cta .phero-inner > * { max-width: min(430px, 36%); }
  .phero-cta h1 { font-size: calc(clamp(1.9rem, 1rem + 2.2vw, 3.1rem) + var(--ar-plus)); }
}
.phc-media { background: var(--ink); }
.phc-media img { opacity: .88; }
.phc-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 12%, transparent) 34%, color-mix(in srgb, var(--ink) 22%, transparent) 58%, color-mix(in srgb, var(--ink) 78%, transparent) 100%); }
@media (prefers-reduced-motion: no-preference) {
  .phc-media img { animation-name: phcIn88; }
  html[dir="ltr"] .phc-media img { animation-name: phcInL88; }
}
@keyframes phcIn88 { from { opacity: 0; transform: translateX(-6%); } to { opacity: .88; transform: none; } }
@keyframes phcInL88 { from { opacity: 0; transform: translateX(6%); } to { opacity: .88; transform: none; } }

/* 2026-11-25 (ج): بطلب المستخدم — الصورة صافية بلا طبقة كحلية، والكحلي فقط خلف النص (ذوبان الصورة نحو النص بالـ mask) */
.phc-media img { opacity: 1; }
.phc-media::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .phc-media img { animation-name: phcIn; }
  html[dir="ltr"] .phc-media img { animation-name: phcInL; }
}

/* 2026-11-25: أقسام طلبات الأسعار الأربعة في سطر واحد على الحاسوب (عمودان على الأجهزة اللوحية، عمود على الجوال) */
@media (min-width: 1025px) {
  .qd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .qd-card { padding: 22px 18px 18px; }
  .qd-actions .btn { padding-inline: 12px; font-size: .92rem; }
}
@media (min-width: 561px) and (max-width: 1024px) {
  .qd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 2026-11-25: صفحة التواصل — الشعار كبيراً تحت زر «إرسال الطلب» يملأ ما تبقّى من بطاقة النموذج (بارتفاع يقارب الخريطة بجانبه) */
.contact-grid > .form { display: flex; flex-direction: column; }
.form-brand { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-top: clamp(26px, 3vw, 40px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); min-height: 260px; }
.form-brand-mark { width: clamp(200px, 62%, 320px); height: auto; color: var(--gold); }
.form-brand-wm { margin-top: 14px; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--ink); letter-spacing: .5em; font-size: clamp(1.1rem, .8rem + .7vw, 1.5rem); direction: ltr; padding-inline-start: .5em; }
.form-brand-wm small { display: block; margin-top: 6px; font-size: .5em; font-weight: 600; letter-spacing: .48em; color: var(--gold-deep); }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) { .form-brand { display: none; } }

/* 2026-11-25 (ب): تبادل — الخريطة داخل بطاقة النموذج تحت زر الإرسال وتملأ الفراغ، والشعار في عمود بيانات التواصل مكانها */
.form-map { flex: 1; min-height: 280px; height: auto; margin-top: clamp(22px, 2.6vw, 32px); }
.ci-brand { flex: 0 0 auto; min-height: 300px; margin-top: 20px; padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.ci-brand .form-brand-mark { width: clamp(200px, 70%, 300px); }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) { .form-map { min-height: 260px; } }

/* 2026-11-25 (ج): التواصل — فراغ أقل بين أقسام الأسعار والنموذج، وشعار البطاقة أصغر مع «تابعونا» بشكل الشرائح تحته */
.quote-depts + .section { padding-top: clamp(32px, 3.6vw, 52px); }
.ci-brand { gap: 0; padding: 24px 20px 26px; }
.ci-brand .form-brand-mark { width: clamp(150px, 50%, 210px); }
.ci-brand .form-brand-wm { margin-top: 10px; font-size: clamp(1rem, .8rem + .5vw, 1.25rem); }
.ci-follow { opacity: 1; animation: none; margin-top: 20px; }
.ci-follow .hero-social .ic { display: block; width: 22px; height: 22px; }
.ci-follow .hero-social a[aria-label="x"] .ic { width: 19px; height: 19px; }
.ci-follow .hero-social a[aria-label="youtube"] .ic { width: 24px; height: 24px; }
/* قواعد .cinfo a (padding 20px وflex) كانت تخفي الشعارات داخل المربعات — نعيدها لشكل الشرائح */
.cinfo .hero-social a { display: grid; place-items: center; padding: 0; gap: 0; border-radius: 6px; }
.cinfo .hero-social a:hover { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--ink); }
.cinfo .form-brand-wm small { color: var(--gold-deep); font-size: .5em; }

/* ===== 2026-11-29: اللوغو الأصلي (المربع الذهبي) بدل الرسمة الخطية — partials/logo =====
   square: المربع وحده (القائمة، قائمة الجوال، أعلى التذييل)، full: المربع مع شريط RIYAD CONSTRUCTION (الشرائح، التواصل، شاشة التحميل).
   توقيع أسفل التذييل (.footer-mark) بقي الرسمة الخطية كما هو. لمعة ذهبية تعبر اللوغو مقصوصة على شكله (mask بالملف نفسه). */
.rlogo { position: relative; display: block; flex: none; line-height: 0; }
.rlogo img { display: block; width: 100%; height: auto; }
.rlogo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 225, .55) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  -webkit-mask: var(--logo-src) center / 100% 100% no-repeat; mask: var(--logo-src) center / 100% 100% no-repeat;
}
@keyframes logoShine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@keyframes logoRise { from { clip-path: inset(100% 0 0 0); transform: translateY(14px); } to { clip-path: inset(0); transform: none; } }

/* القائمة: المربع بارتفاع مريح داخل الشريط الكحلي، والاسم بجانبه كما كان؛ عند المرور لمعة بدل الدوران */
.brand-mark.rlogo { width: 62px; box-shadow: 0 6px 16px rgba(0, 0, 0, .28); }
.brand:hover .brand-mark.rlogo { transform: none; }
.brand:hover .brand-mark.rlogo::after { animation: logoShine 1s var(--ease) both; }
.footer .brand-mark.rlogo { width: clamp(76px, 7vw, 96px); }
.mnav-top .brand-mark.rlogo { width: 44px; }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) { .header .brand-mark.rlogo { width: 50px; } }

/* شاشة التحميل: اللوغو يرتفع من الأسفل ثم تعبره لمعة */
.loader .loader-logo { width: min(210px, 52vw); animation: logoRise 1.1s var(--ease) both; }
.loader .loader-logo::after { animation: logoShine 1.2s var(--ease) 1s both; }

/* الشرائح: اللوغو الكامل مكان الرسمة واسم RIYAD CONSTRUCTION (صار داخل اللوغو) */
.hero-split .hero-mark .hero-logo { width: min(86%, 260px, 36svh); margin-inline: auto; filter: drop-shadow(0 16px 26px rgba(12, 37, 65, .22)); animation: logoRise 1.3s var(--ease) var(--start, .3s) both; }
.hero-split .hero-mark .hero-logo::after { animation: logoShine 1.6s var(--ease) calc(var(--start, .3s) + 1.2s) both; }
.hero-split .hero-mark .hero-logo img { width: 100%; }
.hero-split .hero-mark .hero-follow { margin-top: clamp(16px, 2.4vh, 26px); }

/* التواصل: اللوغو الكامل في بطاقة الشعار */
.ci-brand .form-brand-mark.rlogo { width: clamp(140px, 46%, 190px); box-shadow: 0 14px 30px rgba(12, 37, 65, .16); }
.ci-brand:hover .form-brand-mark.rlogo::after { animation: logoShine 1.1s var(--ease) both; }

/* 2026-11-29 (ب): اللوغو في الشرائح وأيقونات التواصل — كُبّرا (40px) ثم صُغّرا قليلاً بطلب المستخدم: اللوغو ≤280px والمربعات 37px */
@media (min-width: 1181px) {
  .hero-split .hero-inner { --mark-w: clamp(240px, 20vw, 310px); }
  .hero-split .hero-mark .hero-logo { width: min(92%, 280px, 38svh); }
  .hero-split .hero-mark .hero-social { gap: 10px; }
  .hero-split .hero-mark .hero-social a { width: 37px; height: 37px; }
  .hero-split .hero-mark .hero-social .ic { width: 23px; height: 23px; }
  .hero-split .hero-mark .hero-social a[aria-label="x"] .ic { width: 20px; height: 20px; }
  .hero-split .hero-mark .hero-social a[aria-label="youtube"] .ic { width: 25px; height: 25px; }
  .hero-split .hero-mark .hero-follow-label { font-size: calc(.8rem + var(--ar-plus)); }
}

/* 2026-11-29 (ج): المربع في القائمة أكبر دون تغيير ارتفاعها (80px حاسوب / 70px جوال): 78px عرضاً = 67px ارتفاعاً */
.header .brand-mark.rlogo { width: 78px; }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) { .header .brand-mark.rlogo { width: 64px; } }
.mnav-top .brand-mark.rlogo { width: 54px; }

@media (prefers-reduced-motion: reduce) {
  .rlogo, .rlogo::after { animation: none !important; }
}

/* 2026-11-29 (د): نصوص المخطط الهندسي خلف الشرائح (18.00 m وSEC. A–A وCRANE…) كانت تُقرأ كأرقام عشوائية بجانب النص — أُخفيت (و+42.50 حُذف من partials/blueprint) */
.hero-bp .blueprint text { display: none; }
/* جملة الشرائح «مجموعة شركات رياض الإنشائية» في سطر واحد: الحجم محسوب ليتسع في عمود النص (273px عند 1200، 316 عند 1440، 299 عند 1920، 325 على الجوال) */
.hero-split .eyebrow { white-space: nowrap; font-size: calc(clamp(1.2rem, .3rem + 1.05vw, 1.33rem) + var(--ar-plus)); }
html[lang="en"] .hero-split .eyebrow { font-size: clamp(.98rem, .2rem + 1.05vw, 1.08rem); }
@media (max-width: 1180px) { .hero-split .eyebrow { font-size: calc(min(1.45rem, 6.1vw) + var(--ar-plus)); } html[lang="en"] .hero-split .eyebrow { font-size: min(1.1rem, 4.7vw); } }

/* ===== 2026-11-29 (هـ): الشريط المتحرك ثابت أسفل الشاشة في كل الصفحات (layouts/site) =====
   القائمة ثابتة أعلى (--hh) والشريط ثابت أسفل (--marq-h) وما بينهما = 100vh؛ في الرئيسية الشرائح تملأ ما بينهما بالضبط.
   dvh حيث يتوفر: على الجوال يتبع الشريط الثابت حافة الشاشة الظاهرة (بعد شريط المتصفح) فتُحسب الشرائح منها. */
.marquee.marquee-fixed { position: fixed; inset-inline: 0; bottom: 0; z-index: 95; margin: 0 !important; }
body:has(> .marquee-fixed) { padding-bottom: var(--marq-h); }
body:has(> .marquee-fixed) .hero-split { --mh: var(--marq-h); }
body:has(> .marquee-fixed) .fab-wa { bottom: calc(var(--marq-h) + 22px); }
@media (max-width: 760px) { body:has(> .marquee-fixed) .fab-wa { bottom: calc(var(--marq-h) + 14px); } }
@supports (height: 100dvh) {
  .hero-split .hero-inner { min-height: calc(100dvh - var(--hh) - var(--mh)); }
  @media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) { .hero-split .hero-inner { min-height: calc(100dvh - var(--hh) - var(--mh) - var(--hm)); } }
}

/* 2026-11-29 (و): رأس الصفحات الداخلية بارتفاعه الأصلي (جُرّب تقليله ثم أُلغي — المستخدم قصد الفراغ الأبيض تحته)؛
   الفراغ الأبيض بين الرأس وأول قسم بعده أقل: padding-top أول قسم clamp(28px, 3vw, 44px) بدل padding القسم الكامل */
.phero + .section, .phero + section { padding-top: clamp(28px, 3vw, 44px); }

/* 2026-11-29 (ز): فراغات أقل بين الأقسام في كل الموقع (بطلب المستخدم): padding القسم clamp(80px, 11vw, 150px) ← clamp(52px, 6.4vw, 96px)
   (بين قسمين على 1440: 300px ← 184px)، وعنوان القسم عن محتواه clamp(40px, 6vw, 70px) ← clamp(28px, 3.6vw, 48px) */
/* (القيم عُدّلت في مواضعها الأصلية: .section و.sec-head و.section-dark + .cta-section و.quote-depts + .section) */

/* 2026-11-29: قسم «تحية من المدير العام» — اللوغو الكامل مكان الرسمة الخطية في الدائرة (عند عدم وجود صورة شخصية) */
.gm-photo.gm-logo { width: clamp(130px, 13vw, 180px); aspect-ratio: auto; border: 0; border-radius: 0; padding: 0; background: none; overflow: visible; }
.gm-logo .rlogo { width: 100%; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.gm-logo:hover .rlogo::after { animation: logoShine 1.1s var(--ease) both; }

/* ===== 2026-11-29 (ح): «اطلب عرض سعر» في القائمة: لمعة عند المرور (التدرّج جُرّب ثم أُلغي) =====
   جُرّب التدرّج على كل الأزرار الذهبية ثم أُعيدت كما كانت بطلب المستخدم — بقي على زر القائمة فقط.
   نفس محطات اللوغو لكن يبدأ من #A37B4D بدل #825429 ليبقى النص الكحلي بتباين ≥ 4:1؛ لمعة كلمعة اللوغو عند المرور. */
:root { --logo-grad: linear-gradient(90deg, #A37B4D 0%, #DDC390 32%, #B08A5C 58%, #DEC491 92%); }
/* ثم بطلب المستخدم: الخلفية ذهبية كباقي الأزرار (بلا التدرّج)، وتبقى اللمعة عند المرور والخط الأكبر العريض */
.header .header-cta::before { display: none; }
.header .header-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 225, .6) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; opacity: 0;
}
.header .header-cta:hover::after { opacity: 1; animation: logoShine 1s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .header .header-cta:hover::after { animation: none; opacity: 0; } }

/* 2026-11-29: رمز الشركة التابعة بلا شعار (SAK / SAC) بدل الحرف الأول */
.gs-logo b.gs-code { font-size: 1rem; letter-spacing: .04em; }

/* 2026-11-29: «اطلب عرض سعر» في القائمة أكبر قليلاً وعريض (بطلب المستخدم؛ كان .92rem بوزن 600) */
@media (min-width: 1181px) { .header .header-cta { font-size: calc(1.02rem + var(--ar-plus)); font-weight: 700; } }

/* ===== 2026-11-29 (ط): حافة صورة الشرائح منحنية بدل السهم المدبّب (بطلب المستخدم: «منحنياً بحركة فنية… وطابع 3D») =====
   الشكل قناع SVG بنسب مئوية (preserveAspectRatio=none) فيتمدد مع أي مقاس: منحنى S ينساب من الأعلى إلى الأسفل.
   ثلاث طبقات للعمق: شريط ذهبي معدني بلمعة تتحرك ببطء (::before)، ظل ناعم يسقط على الأبيض (drop-shadow على الحاوية)،
   وتظليل داخلي على حافة الصورة كأنها تنحني للخلف (::after على الشرائح). القواعد القديمة (clip-path السهم) باقية أعلاه وتُلغى هنا. */
:root {
  --curve-desk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M21 0C9 18 1 38 3 56C5 74 13 86 11 100H100V0Z'/%3E%3C/svg%3E");
  --curve-mob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V80C84 97 63 99 46 92C30 86 14 87 0 97Z'/%3E%3C/svg%3E");
}
@keyframes ribbonSheen { from { background-position: 50% 0; } to { background-position: 50% 200%; } }
.hero-split .hero-media { clip-path: none !important; background: none !important; filter: drop-shadow(-14px 12px 22px rgba(12, 37, 65, .22)); }
.hero-split .hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #A37B4D 0%, #F1DEAE 14%, #B08A5C 30%, #DDC390 46%, #9A7434 62%, #EBD6A3 78%, #A37B4D 100%);
  background-size: 100% 200%; animation: ribbonSheen 14s linear infinite;
  -webkit-mask: var(--curve-desk) 0 0 / 100% 100% no-repeat; mask: var(--curve-desk) 0 0 / 100% 100% no-repeat;
}
.hero-split .hero-slides {
  inset: 0 0 0 13px; clip-path: none !important;
  -webkit-mask: var(--curve-desk) 0 0 / 100% 100% no-repeat; mask: var(--curve-desk) 0 0 / 100% 100% no-repeat;
}
/* تظليل داخلي يتبع المنحنى: الحافة أغمق كأن الصورة تلتف للخلف، ولمعة رفيعة بجانب الشريط */
.hero-split .hero-slides::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 20, 38, .5) 0%, rgba(8, 20, 38, .18) 11%, transparent 24%);
  -webkit-mask: var(--curve-desk) 0 0 / 100% 100% no-repeat; mask: var(--curve-desk) 0 0 / 100% 100% no-repeat;
}
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split .hero-media { filter: drop-shadow(0 14px 18px rgba(12, 37, 65, .22)); }
  .hero-split .hero-media::before { -webkit-mask-image: var(--curve-mob); mask-image: var(--curve-mob); background: linear-gradient(90deg, #A37B4D 0%, #F1DEAE 18%, #B08A5C 38%, #DDC390 55%, #9A7434 72%, #EBD6A3 88%, #A37B4D 100%); background-size: 200% 100%; animation: none; }
  .hero-split .hero-slides { inset: 0 0 11px 0; -webkit-mask-image: var(--curve-mob); mask-image: var(--curve-mob); }
  .hero-split .hero-slides::after { -webkit-mask-image: var(--curve-mob); mask-image: var(--curve-mob); background: linear-gradient(0deg, rgba(8, 20, 38, .45) 0%, rgba(8, 20, 38, .12) 14%, transparent 30%); }
}
@media (prefers-reduced-motion: reduce) { .hero-split .hero-media::before { animation: none; } }

/* ===== 2026-11-29 (ي): انتقال الشرائح تلاشٍ متداخل مع إبعاد بطيء بدل المسح من اليمين (بطلب المستخدم) =====
   الجديدة فوق القديمة (z-index 2) وتظهر بتلاشٍ 1.4s، والقديمة تبقى ظاهرة تحتها حتى يكتمل ثم تختفي (لا وميض ولا فراغ).
   الصورة تبدأ 108% وتبتعد إلى 100% خلال 8.5s فتنكشف الأبراج كاملة. */
@keyframes heroZoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-split .hero-slide { opacity: 0; visibility: visible; z-index: 1; animation: none !important; transition: opacity 0s linear 1.45s; }
.hero-split .hero-slide.active { opacity: 1; z-index: 2; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
.hero-split .hero-slide img { transform: scale(1); }
.hero-split .hero-slide.active img { animation: heroZoomOut 8.5s cubic-bezier(.25, .1, .25, 1) forwards; }
@media (prefers-reduced-motion: reduce) { .hero-split .hero-slide.active img { animation: none; } }

/* ===== 2026-11-30 (ك): الشرائح بصور البنايات المقصوصة — عرض سينمائي (.hero-build، حين يكون لكل شريحة «صورة البناية المقصوصة»)
   داخل الإطار المنحني نفسه (الكتلة «ط»): سماء فاتحة ومدينة باهتة خلف البناية، والبناية أكبر من الإطار فيظهر جزء منها
   ويمرّ عليها العرض ببطء (الشرائح الفردية من الأسفل للأعلى مع إبعاد، والزوجية من القمة نزولاً مع تقريب ثم إبعاد)،
   والانتقال بين الشرائح تلاشٍ متداخل من الكتلة «ي». (جُرّبت قبله حركة «البناء طابقاً بعد طابق» وستُنقل لصفحة مشاريعنا.)
   للعودة للصور العادية: أطفئ «الشرائح: صور البنايات» من إعدادات الصفحة الرئيسية. */
.hero-split.hero-build .hero-slides { background: linear-gradient(180deg, #dbe6f3 0%, #eaf0f7 60%, #f3f6fa 100%); }
.hero-build .hs-sky, .hero-build .hs-city { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-build .hs-sky { background:
  radial-gradient(closest-side, rgba(232, 212, 154, .55), transparent) 74% 14% / 130px 130px no-repeat,
  radial-gradient(60% 45% at 72% 18%, rgba(255, 236, 196, .8), transparent 70%); }
.hero-build .hs-city { display: flex; align-items: flex-end; }
.hero-build .hs-city svg { width: 120%; margin-inline-start: -10%; height: 34%; display: block; fill: #c9d5e4; opacity: .7; }
.hero-build .hs-city-far svg { fill: #b4c3d6; opacity: .45; height: 26%; }
/* البناية: تملأ عرض الجزء الظاهر من الإطار (بعيداً عن الحافة المنحنية) وتكون أطول منه، فيمرّ عليها العرض.
   الحركة بـ translate/scale فقط (على بطاقة الرسوميات) لا object-position — كانت تسبب رجفاناً في بداية النزول.
   --ratio (ارتفاع/عرض الصورة) من القالب؛ عرض الصورة = عرض الجزء الظاهر دائماً فتظهر البناية بعرضها كاملاً،
   والواجهات العريضة (أقصر من الإطار) تستقر على القاعدة وتكتفي بالتقريب ثم الإبعاد حتى تظهر كاملة */
.hero-split.hero-build .hero-slide { container-type: size; }
.hero-split.hero-build .hero-slide .bld-photo {
  --x0: 13cqw; --vw: 87cqw;
  --W: var(--vw);
  --H: calc(var(--W) * var(--ratio, 2));
  --T: min(0px, calc(100cqh - var(--H)));
  position: absolute; top: max(0px, calc(100cqh - var(--H))); left: var(--x0); width: var(--W); height: var(--H); max-width: none;
  object-fit: fill; transform: translateZ(0); will-change: transform, translate, scale; backface-visibility: hidden;
  animation: bldPanUp 12s cubic-bezier(.37, 0, .63, 1) forwards paused; transform-origin: 50% 100%; }
/* غير الفعّالة متوقفة: الخارجة تبقى على آخر إطار أثناء التلاشي؛ وسكربت home.blade يعيدها للبداية عند تفعيلها */
.hero-split.hero-build .hero-slide.active .bld-photo { animation-play-state: running; }
/* الانتقال: تلاشٍ متداخل حقيقي — القديمة تختفي والجديدة تظهر في الوقت نفسه (الصور شفافة فلا تبقى القديمة تحتها)،
   مع حركة دفع واحدة: الخارجة تقترب قليلاً وتنعم، والداخلة تأتي من القرب نفسه وتستقر (بطلب المستخدم: بلا انقطاع) */
.hero-split.hero-build .hero-slide { opacity: 0; z-index: 1; transform: scale(1.05); transform-origin: 60% 60%; will-change: opacity, transform;
  transition: opacity 1.9s cubic-bezier(.4, 0, .2, 1), transform 2.2s cubic-bezier(.4, 0, .2, 1); } /* بلا blur: الضبابية على الحاوية كانت تمنع تركيب حركة الصورة فترجف */
.hero-split.hero-build .hero-slide.active { opacity: 1; z-index: 2; transform: none; }
/* اتجاه تقريب الحاوية نفس اتجاه حركة الصورة (أعلى للنزول، أسفل للصعود) — اختلافهما كان يُحدث اهتزازاً في بداية النزول */
.hero-split.hero-build .hero-slide { transform-origin: 50% 100%; }
.hero-split.hero-build .hero-slide:nth-child(even of .hero-slide) { transform-origin: 50% 0%; }
.hero-split.hero-build .hero-slide:nth-child(even of .hero-slide) .bld-photo { animation-name: bldPanDown; animation-duration: 9.6s; transform-origin: 50% 0%; } /* ينتهي قبل تبديل الشريحة (10s) فتظهر البناية كاملة */
@keyframes bldPanUp { from { translate: 0 calc(var(--T) * .92); scale: 1.08; } to { translate: 0 calc(var(--T) * .18); scale: 1; } }
@keyframes bldPanDown { from { translate: 0 0; scale: 1.14; } to { translate: 0 calc(var(--T) * .48); scale: 1; } }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split.hero-build .hero-slide .bld-photo { --x0: 0px; --vw: 100cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-slide.active .bld-photo { animation: none; translate: 0 calc(var(--T) * .3); }
}
/* ظل أخف على يسار الصورة (بطلب المستخدم): التظليل الداخلي عند الحافة المنحنية والظل الساقط على الأبيض */
.hero-split.hero-build .hero-slides::after { background: linear-gradient(90deg, rgba(8, 20, 38, .2) 0%, rgba(8, 20, 38, .06) 9%, transparent 18%); }
.hero-split.hero-build .hero-media { filter: drop-shadow(-10px 10px 18px rgba(12, 37, 65, .12)); }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split.hero-build .hero-slides::after { background: linear-gradient(0deg, rgba(8, 20, 38, .2) 0%, rgba(8, 20, 38, .05) 12%, transparent 24%); }
  .hero-split.hero-build .hero-media { filter: drop-shadow(0 10px 14px rgba(12, 37, 65, .12)); }
  .hero-split.hero-build .hero-arrow { color: var(--gold-deep); filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .9)); }
}

/* كبسولة النقاط فوق السماء الفاتحة: بيضاء بنقاط كحلية، أسفل الإطار وأنحف (بطلب المستخدم) */
.hero.hero-split.hero-build .hero-rail, html[dir="ltr"] .hero.hero-split.hero-build .hero-rail { bottom: 10px; top: auto; padding: 5px 11px; gap: 10px; background: #fff; border-color: color-mix(in srgb, var(--ink) 10%, transparent); box-shadow: 0 10px 24px -14px rgba(12, 37, 65, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero.hero-split.hero-build .hero-rail .hero-dot { width: 8px; height: 8px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.hero.hero-split.hero-build .hero-rail .hero-dot.active { width: 30px; height: 8px; background: color-mix(in srgb, var(--ink) 12%, transparent); }

/* ===== 2026-12-01 (ل): الشاشات المتوسطة والتابلت (بطلب المستخدم: «بالعرض يشبه الحاسوب وبالطول أقرب للجوال»)
   - التابلت بالطول حتى 1100px يأخذ تخطيط الجوال (أُضيف «(max-width: 1100px) and (orientation: portrait)» لكل قواعد 900/980
     في هذا الملف، و«حاسوب» 981+ صار للعرض فقط أو 1101+).
   - ارتفاع صورة الواجهة في تخطيط الجوال متغيّر --hm بدل الرقم الثابت؛ على التابلت بالطول أطول (نحو نصف الشاشة) بدل شريط 340px.
   - التابلت بالعرض 1000–1180: يعود اللوغو الكبير بحجم أصغر بجانب النص كالحاسوب بدل الفراغ. */
:root { --hm: clamp(200px, 50vw, 340px); }
@media (min-width: 600px) and (orientation: portrait) {
  :root { --hm: clamp(340px, 46vh, 600px); }
}
@media (min-width: 1000px) and (max-width: 1180px) and (orientation: landscape) {
  .hero-split { --media-w: 44%; }
  .hero-split .hero-inner { --mark-w: clamp(140px, 14.5vw, 168px); grid-template-columns: var(--mark-w) 1px minmax(0, 1fr); column-gap: clamp(16px, 1.8vw, 24px); }
  .hero-split .hero-mark, .hero-split .hero-divider { display: block; }
  .hero-split .hero-side { max-width: 400px; justify-self: stretch; }
  .hero-split .hero-follow { transform: scale(.88); transform-origin: 50% 0; }
}

/* 2026-12-01 (م): الجوال — مسافة أقل بين نص الشريحة والزرين والهوامش، فتبقى الواجهة + الشريط المتحرك ضمن 100vh تماماً
   (كان 375×667 يتجاوز 27px) */
@media (max-width: 760px) {
  .hero-split .hero-inner { padding-block: 14px 16px; }
  .hero-split .hero-copy + .hero-ctas { margin-top: 14px; }
}

/* ===== 2026-12-01 (ن): رأس «مشاريعنا» — حركة «البناء طابقاً بعد طابق» (.phc-build، من الإعداد home.projectsBuildings)
   بنايات مقصوصة في صف على قاعدة ذهبية داخل لوحة الصورة نفسها (تذوب في الكحلي نحو النص)، تُبنى واحدة بعد أخرى:
   مخطط ذهبي لهيكلها (mask بصورتها) ← الصورة تُبنى من القاعدة بخطوات طوابق وخط ذهبي يصعد ← لمعة شمس. مرة واحدة عند فتح الصفحة. */
@property --pb { syntax: '<percentage>'; inherits: true; initial-value: 100%; }
.phc-media.phc-build { background:
  radial-gradient(55% 45% at 30% 22%, rgba(232, 212, 154, .16), transparent 70%),
  linear-gradient(180deg, color-mix(in srgb, var(--ink) 82%, #2a4a73) 0%, var(--ink) 100%); }
.phc-media.phc-build::after { display: none !important; }
.phc-build .pb-row { position: absolute; inset-block: 4% 0; inset-inline: 24% 5%; display: flex; align-items: flex-end; justify-content: center; gap: 3%; }
.phc-build .pb-ground { position: absolute; inset-inline: 20% 1%; bottom: -11px; height: 12px; pointer-events: none; } /* الخط الذهبي على حافة القسم السفلية تماماً */
.phc-build .pb-ground::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); }
.phc-build .pb-ground i { position: absolute; inset-inline: 6%; top: -5px; height: 11px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--gold) 65%, transparent) 0 1px, transparent 1px 34px); }
.phc-build .pb-bld { position: relative; flex: none; height: 90%; aspect-ratio: var(--ar); max-width: 34%; }
.phc-build .pb-bld:nth-child(2) { height: 100%; }
.phc-build .pb-bld:nth-child(3) { height: 88%; }
.phc-build .pb-bld:nth-child(4) { height: 90%; }
.phc-build .pb-bld > * { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html .phc-media.phc-build .pb-photo { object-fit: contain; object-position: 50% 100%; opacity: 1 !important; animation: none; clip-path: inset(var(--pb) 0 0 0); --pb: 100%; }
/* المخطط: إطار ذهبي رفيع وشبكة طوابق داخل حدود البناية */
.phc-build .pb-bp { opacity: 0; filter: drop-shadow(1px 0 0 var(--gold)) drop-shadow(-1px 0 0 var(--gold)) drop-shadow(0 1px 0 var(--gold)) drop-shadow(0 -1px 0 var(--gold)); }
.phc-build .pb-bp > i, .phc-build .pb-scan, .phc-build .pb-shine { -webkit-mask: var(--img) 50% 100% / contain no-repeat; mask: var(--img) 50% 100% / contain no-repeat; }
.phc-build .pb-bp > i { position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, color-mix(in srgb, var(--gold) 70%, transparent) 0 1px, transparent 1px calc(100% / var(--floors))),
  repeating-linear-gradient(90deg, color-mix(in srgb, var(--gold) 35%, transparent) 0 1px, transparent 1px 12%),
  color-mix(in srgb, var(--ink) 70%, #1c3a62); }
.phc-build .pb-scan { opacity: 0; --pb: 100%; }
.phc-build .pb-scan b { position: absolute; inset-inline: 0; top: var(--pb); height: 3px; margin-top: -1.5px; background: var(--gold-light);
  box-shadow: 0 0 10px 3px color-mix(in srgb, var(--gold-light) 85%, transparent), 0 0 28px 8px color-mix(in srgb, var(--gold) 40%, transparent); }
.phc-build .pb-shine { overflow: hidden; }
.phc-build .pb-shine::before { content: ''; position: absolute; top: -20%; bottom: -20%; width: 55%; left: -70%; transform: skewX(-12deg); mix-blend-mode: soft-light;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 235, .5) 45%, rgba(255, 255, 255, .7) 50%, rgba(255, 250, 235, .5) 55%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .phc-build .pb-bp { animation: pbIn .6s ease calc(var(--d) + .2s) forwards, pbOut 1.4s ease calc(var(--d) + 6.4s) forwards; }
  /* طابقاً بعد طابق لكن انسيابي: منحنى --pb-ease (linear() متدرّج من القالب) — كل طابق يصعد بنعومة ثم توقف قصير؛ 5.4 ثانية */
  html .phc-media.phc-build .pb-photo { animation: pbUp 5.4s var(--pb-ease, linear) calc(var(--d) + .8s) forwards; }
  .phc-build .pb-scan { animation: pbUp 5.4s var(--pb-ease, linear) calc(var(--d) + .8s) forwards, pbIn .3s ease calc(var(--d) + .8s) forwards, pbOut .6s ease calc(var(--d) + 6.2s) forwards; }
  .phc-build .pb-shine::before { animation: pbShine 2.2s cubic-bezier(.22, .8, .2, 1) calc(var(--d) + 6.4s) forwards; }
}
@media (prefers-reduced-motion: reduce) { html .phc-media.phc-build .pb-photo { --pb: 0%; } }
@keyframes pbUp { from { --pb: 100%; } to { --pb: 0%; } }
@keyframes pbIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pbOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes pbShine { to { left: 130%; } }
/* الجوال والتابلت بالطول: اللوحة أعلى بعرض الشاشة وتذوب للأسفل — الصف في الوسط */
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) {
  .phc-media.phc-build { height: clamp(280px, 80vw, 500px); }
  .phc-build .pb-row { inset-inline: 4%; inset-block: 6% 0; }
  .phc-media.phc-build { -webkit-mask: none; mask: none; } /* البنايات على حافة القسم السفلية: بلا ذوبان سفلي */
  .phero-build .phero-inner { margin-top: 0; padding-top: 22px; } /* المسار والعنوان تحت البنايات لا فوق قاعدتها */
  .phc-build .pb-ground { inset-inline: 4%; bottom: -11px; }
}

/* 2026-12-01: رسالة التبويب الفارغ في «مشاريعنا» */
.pgrid-empty { text-align: center; color: #6b7a90; padding: clamp(28px, 5vw, 56px) 16px; margin: 0; font-size: calc(1rem + var(--ar-plus)); border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); border-radius: var(--r-sm, 8px); }
/* رأس «مشاريعنا» بالبنايات: أعلى قليلاً لتبرز البنايات (الحاسوب) */
html .phero.phero-cta.phero-build { min-height: calc(var(--hh, 80px) + clamp(400px, 56vh, 620px)); }

/* 2026-12-01: «من نحن» — «أهدافنا» و«لماذا نحن» بعمودين على الحاسوب (أقل ارتفاعاً)؛ داخل كل عمود قائمة عمود واحد
   (والمزايا بعمودين صغيرين)؛ على الجوال/التابلت بالطول عمود واحد كما كانا */
.about-duo .duo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.about-duo .duo-col .sec-head { margin-bottom: clamp(18px, 2.2vw, 28px); }
.about-duo .duo-col .title { font-size: calc(clamp(1.6rem, 1rem + 1.6vw, 2.4rem) + var(--ar-plus)); }
.about-duo .goals { grid-template-columns: 1fr; }
.about-duo .goals .goal { padding: 18px 0; }
.about-duo .goals .goal:nth-child(odd) { padding-inline-end: 0; }
.about-duo .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-duo .why-item { padding: 16px; font-size: calc(.95rem + var(--ar-plus)); }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) {
  .about-duo .duo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .about-duo .why { grid-template-columns: 1fr; } }

/* ===== 2026-12-01 (س): الشريحة الأولى «سلسلة توريد لا تتوقف» — مقطع صور الحديد (.hero-reel، حقل slides.reel)
   داخل الإطار المنحني نفسه: صور الشركة الأربع تتتابع كل 4 ثوانٍ (--S) بتلاشٍ متداخل، ولكل صورة حركة كاميرا خاصة
   (translate/scale فقط)، بتدرّج لوني موحّد وظلّ كحلي سفلي، ولمعة ذهبية تعبر مع كل صورة، وشريط «سلسلة التوريد»
   (الاستيراد ← التفريغ ← التخزين ← التوريد) يمتلئ بالذهبي مع تقدّم الصور. مدة الشريحة = عدد الصور × 4s (data-dur). */
.hero-split.hero-build .hero-reel { --S: 4s; background: #0c2541; overflow: hidden; }
/* (د) 2026-12-01 بطلب المستخدم: الصورة تظهر شبه كاملة (لا جزء منها) — صورة بعرض الجزء الظاهر من الإطار، بظل وخط ذهبي رفيع،
   فوق نسخة منها مموّهة وأغمق تملأ الإطار؛ حركة الكاميرا هادئة على الصورة فقط (تقريب/إبعاد خفيف) */
.hero-split.hero-build .hero-reel .reel-shot { position: absolute; inset: 0; overflow: hidden; opacity: 0; will-change: opacity;
  animation: reelIn 1.8s cubic-bezier(.4, 0, .2, 1) both paused; animation-delay: calc(var(--k) * var(--S) - .9s); }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { opacity: 1; animation: none; }
.hero-split.hero-build .hero-reel .reel-bg { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover;
  filter: blur(20px) saturate(.75) brightness(.55); transform: none; animation: none; }
.hero-split.hero-build .hero-reel .reel-fg {
  --x0: 17cqw; --aw: 83cqw; --ah: 100cqh;
  --fw: min(calc(var(--aw) * 1.24), calc(var(--ah) * .9 / var(--r))); /* (هـ) أكبر بطلب المستخدم: أعرض قليلاً من الجزء الظاهر (قصّ خفيف على الجانبين) */
  position: absolute; left: calc(var(--x0) + (var(--aw) - var(--fw)) / 2); top: calc((var(--ah) - var(--fw) * var(--r)) / 2 - 1.5cqh);
  width: var(--fw); height: calc(var(--fw) * var(--r)); max-width: none; object-fit: cover;
  border-radius: 4px; box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(232, 212, 154, .55);
  filter: saturate(.94) contrast(1.05); transform: translateZ(0); backface-visibility: hidden; will-change: scale, translate;
  animation: reelF0 calc(var(--S) + 3.3s) cubic-bezier(.33, 0, .67, 1) both paused; animation-delay: max(0s, calc(var(--k) * var(--S) - .9s)); }
.hero-split.hero-build .hero-reel .reel-shot:nth-of-type(4n+2) .reel-fg { animation-name: reelF1; }
.hero-split.hero-build .hero-reel .reel-shot:nth-of-type(4n+3) .reel-fg { animation-name: reelF2; }
.hero-split.hero-build .hero-reel .reel-shot:nth-of-type(4n+4) .reel-fg { animation-name: reelF1; }
@keyframes reelIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes reelF0 { from { scale: 1.06; } to { scale: 1; } }
@keyframes reelF1 { from { scale: 1; translate: 0 1%; } to { scale: 1.05; translate: 0 -1%; } }
@keyframes reelF2 { from { scale: 1.04; translate: 1.5% 0; } to { scale: 1.04; translate: -1.5% 0; } }
.hero-split.hero-build .hero-reel .reel-grade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(7, 22, 42, .38) 0%, rgba(7, 22, 42, .12) 16%, rgba(7, 22, 42, 0) 32%),
    linear-gradient(180deg, rgba(7, 22, 42, .22) 0%, rgba(7, 22, 42, 0) 18%),
    radial-gradient(90% 70% at 70% 30%, rgba(232, 200, 140, .12), transparent 70%); }
.hero-split.hero-build .hero-reel .reel-sheen { position: absolute; z-index: 2; inset: -10% auto -10% 0; width: 34%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(240, 214, 150, .2) 45%, rgba(255, 240, 200, .32) 50%, rgba(240, 214, 150, .2) 55%, transparent);
  transform: skewX(-14deg); translate: -160% 0; mix-blend-mode: screen;
  animation: reelSheen var(--S) cubic-bezier(.5, 0, .3, 1) .5s var(--n, 4) both paused; }
@keyframes reelSheen { 0% { translate: -160% 0; } 45%, 100% { translate: 420% 0; } }

/* شريط «سلسلة التوريد» — 2026-12-01 (ب): أُزيل من القالب بطلب المستخدم (القواعد باقية بلا استعمال) */
.hero-split.hero-build .hero-reel .reel-chain { position: absolute; z-index: 3; left: 21%; right: 5%; bottom: 50px; direction: inherit; }
.hero-reel .reel-chain ol { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); margin: 0; padding: 0; list-style: none; }
.hero-reel .reel-chain li { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; color: #fff; opacity: .5;
  animation: rcOn .6s ease both paused; animation-delay: max(0s, calc(var(--k) * var(--S) - .3s)); }
.hero-reel .reel-chain li b { margin-top: 9px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; color: var(--gold, #c8a35e); font-family: var(--font-en, inherit); }
.hero-reel .reel-chain li span { font-size: .84rem; font-weight: 600; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); white-space: nowrap; }
.hero-reel .reel-chain .rc-node { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--gold, #c8a35e); background: #0c2541;
  animation: rcNode .6s ease both paused; animation-delay: inherit; }
@keyframes rcOn { to { opacity: 1; } }
@keyframes rcNode { to { background: var(--gold-light, #e8d49a); box-shadow: 0 0 0 4px rgba(200, 163, 94, .28), 0 0 16px rgba(232, 212, 154, .8); } }
.hero-reel .reel-chain .rc-line { position: absolute; top: 5px; height: 1px; inset-inline: calc(50% / var(--n, 4)); background: rgba(255, 255, 255, .28); }
.hero-reel .reel-chain .rc-fill { position: absolute; inset-block: -.5px; inset-inline-start: 0; width: 0; background: linear-gradient(90deg, var(--gold, #c8a35e), var(--gold-light, #e8d49a));
  box-shadow: 0 0 8px rgba(232, 212, 154, .6);
  animation: rcFill calc((var(--n, 4) - 1) * var(--S)) linear both paused; }
.hero-reel .reel-chain .rc-fill::after { content: ''; position: absolute; top: 50%; inset-inline-end: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #fff6dc; box-shadow: 0 0 10px 3px rgba(232, 212, 154, .85); }
@keyframes rcFill { from { width: 0; } to { width: 100%; } }
/* الحركات تعمل في الشريحة الفعّالة فقط (وتُعاد للبداية بسكربت home.blade عند تفعيلها) */
.hero-split.hero-build .hero-reel.active .reel-shot, .hero-split.hero-build .hero-reel.active .reel-fg, .hero-split.hero-build .hero-reel.active .reel-sheen,
.hero-reel.active .reel-chain li, .hero-reel.active .reel-chain .rc-node, .hero-reel.active .reel-chain .rc-fill { animation-play-state: running; }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split.hero-build .hero-reel .reel-chain { left: 5%; right: 5%; bottom: 23%; }
  .hero-split.hero-build .hero-reel .reel-fg { --x0: 0px; --aw: 100cqw; --ah: 88cqh; --fw: min(calc(var(--aw) * 1.06), calc(var(--ah) * 1 / var(--r))); }
  .hero-split.hero-build .hero-reel .reel-grade { background:
    linear-gradient(0deg, rgba(7, 22, 42, .0) 0%, rgba(7, 22, 42, .3) 18%, rgba(7, 22, 42, 0) 40%),
    linear-gradient(180deg, rgba(7, 22, 42, .2) 0%, rgba(7, 22, 42, 0) 18%); }
  .hero-reel .reel-chain li span { font-size: .72rem; }
  .hero-reel .reel-chain li b { display: none; } /* الجوال: الإطار قصير فيُكتفى بالمراحل بلا أرقام */
  .hero-reel .reel-chain li { gap: 5px; }
}
/* زر واتساب العائم في الإنجليزية على اليمين فوق الإطار: الشريط يبتعد عنه */
@media (min-width: 901px) and (orientation: landscape), (min-width: 1101px) { html[dir="ltr"] .hero-split.hero-build .hero-reel .reel-chain { right: 12%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-reel .reel-fg { animation: none; }
  .hero-split.hero-build .hero-reel .reel-sheen { display: none; }
}

/* 2026-12-01 (و): عناوين الشرائح بلون النص داخل اللوغو (الخط العربي وRIYAD CONSTRUCTION = #333132 الفحمي) بدل الكحلي — بطلب المستخدم */
html .hero-split .hero-title, html .hero-split .hero-title .line > span, html .hero-split .hero-title .line:last-child > span { color: #333132; -webkit-text-fill-color: #333132; }
/* 2026-12-01 (و-2): كل العناوين الكبيرة على الخلفيات الفاتحة بلون نص اللوغو #333132 (كانت #1B1A18 وعنوان أقسام الأسعار كحلياً) —
   أسماء الصفحات فوق صور الرأس والعناوين في الأقسام الداكنة وقسم «مشروعك القادم» تبقى بيضاء */
html .section:not(.section-dark) .title, html .qd-head h2, html .section:not(.section-dark) .svc-group-head h2 { color: #333132; }
/* 2026-12-01 (و-3): عناوين البطاقات الصغيرة بلون نص اللوغو #333132 أيضاً (الشركات التابعة، المنتجات والخدمات، أذرع الشركة، الاعتمادات على الأبيض، أقسام الأسعار)
   — بطاقات المشاريع (نص أبيض فوق الصورة) وبطاقات الاعتمادات في القسم الكحلي تبقى بيضاء */
html .gs-body h3, html .svc-body h3, html .dept h3, html .qd-card h3, html .section:not(.section-dark) .cert h4 { color: #333132; }
/* 2026-12-01: زرّا «عرض الكل» (ما نوفّره، أعمال نفخر بها) بخط أعرض كزر «اطلب عرض سعر» في القائمة */
html .btn.btn-bold { font-weight: 700; font-size: calc(1.02rem + var(--ar-plus, 0px)); }
/* 2026-12-01: بطاقات المشاريع بلا روابط (صفحات التفاصيل مطفأة) — لا مؤشر يد */
.pcard.pcard-static { cursor: default; }
/* 2026-12-01: نص الأزرار الذهبية «اطلب عرض سعر» (القائمة) و«عرض الكل» بلون العناوين/نص اللوغو #333132 بدل الكحلي */
html .header .header-cta, html .header .header-cta:hover, html .btn.btn-bold, html .btn.btn-bold:hover { --fg: #333132; color: #333132; }
/* 2026-12-01: نص كل الأزرار الذهبية بلون العناوين #333132 بدل الكحلي (الأزرار الافتراضية، وما يصير ذهبياً عند المرور) */
html .btn:not(.btn-line):not(.btn-ghost):not(.btn-dark) { --fg: #333132; }
html .btn.btn-ghost:hover, html .btn.btn-dark:hover { --fg: #333132; }
html .burger, html body .mnav .mnav-close.mnav-back, html body .mnav-close.mnav-back { color: #333132 !important; } /* زرّا القائمة والرجوع الذهبيان على الجوال */
/* 2026-12-01 (ز): الشريحة الأولى — أُزيلت اللمعة الذهبية (لم تعجب المستخدم)، والانتقال بين الصور صار «تفتّحاً» ناعماً:
   الصورة الجديدة تظهر من دائرة ضبابية الحواف في الوسط تتسع حتى تغطي الإطار مع تلاشٍ، فوق السابقة التي تكمل حركتها تحتها */
.hero-split.hero-build .hero-reel .reel-sheen { display: none; }
.hero-split.hero-build .hero-reel .reel-shot {
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  -webkit-mask-position: 50% 50%; mask-position: 50% 50%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 340% 340%; mask-size: 340% 340%;
  animation-name: reelBloom; animation-duration: 2.4s; animation-timing-function: cubic-bezier(.45, 0, .2, 1); animation-delay: calc(var(--k) * var(--S) - 1.2s); }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation: none; }
@keyframes reelBloom {
  0% { opacity: 0; -webkit-mask-size: 24% 24%; mask-size: 24% 24%; }
  30% { opacity: 1; }
  100% { opacity: 1; -webkit-mask-size: 340% 340%; mask-size: 340% 340%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-reel .reel-shot { animation-name: reelIn; -webkit-mask-image: none; mask-image: none; }
}
/* 2026-12-01 (ح): الشريحة الأولى — بطلب المستخدم:
   (1) أُلغي «التفتّح» (لم يعجب) وعاد تلاشٍ متداخل ناعم 1.8s؛
   (2) بلا الخلفية الرمادية المموّهة: خلف الصورة السماء الفاتحة نفسها التي خلف البنايات في الشريحتين الأخريين (خلفية .hero-slides + المدينة الباهتة)،
       وظل الصورة أزرق خفيف كظل البنايات بدل الظل الداكن والخط الذهبي؛
   (3) الصورة أكبر قليلاً. */
.hero-split.hero-build .hero-reel { background: transparent; }
.hero-split.hero-build .hero-reel .reel-bg, .hero-split.hero-build .hero-reel .reel-grade { display: none; }
.hero-split.hero-build .hero-reel .reel-shot { overflow: visible;
  -webkit-mask-image: none; mask-image: none;
  animation-name: reelIn; animation-duration: 1.8s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); animation-delay: calc(var(--k) * var(--S) - .9s); }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation: none; }
.hero-split.hero-build .hero-reel .reel-fg {
  --fw: min(calc(var(--aw) * 1.34), calc(var(--ah) * .92 / var(--r)));
  border-radius: 6px; box-shadow: 0 22px 46px -18px rgba(12, 37, 65, .42), 0 6px 14px -8px rgba(12, 37, 65, .25); filter: saturate(.96) contrast(1.04); }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero-split.hero-build .hero-reel .reel-fg { --fw: min(calc(var(--aw) * 1.12), calc(var(--ah) * 1.04 / var(--r))); }
}
/* (ح-2) بعد إزالة الخلفية المعتمة: كل صورة تختفي حين تكتمل التي بعدها (وإلا تظهر حواف السابقة حولها)؛ الأخيرة تبقى حتى تبديل الشريحة */
.hero-split.hero-build .hero-reel .reel-shot { animation-name: reelLife; animation-duration: calc(var(--S) + 1.8s); }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelIn; animation-duration: 1.8s; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { opacity: 1; animation: reelFirst calc(var(--S) + .9s) cubic-bezier(.4, 0, .2, 1) 0s both paused; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type:last-of-type { animation: none; }
.hero-split.hero-build .hero-reel.active .reel-shot { animation-play-state: running; }
@keyframes reelLife { 0% { opacity: 0; } 31%, 69% { opacity: 1; } 100% { opacity: 0; } }
@keyframes reelFirst { 0%, 63% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-split.hero-build .hero-reel .reel-shot { -webkit-mask-image: none; mask-image: none; } }
/* ===== 2026-12-02 (ي-2): الشريحة الأولى — «المرور الجانبي» (اقتراح Claude بموافقة المستخدم):
   الصورة تملأ الإطار كله (بلا فراغ ولا رمادي ولا أبيض)، وارتفاعها = ارتفاع الإطار فتكون أعرض منه،
   والكاميرا تمرّ عليها أفقياً ببطء من طرف إلى طرف خلال ظهورها فتُرى كاملة بالتدريج؛ الصور الفردية من اليسار لليمين والزوجية بالعكس.
   (يلغي تأثير (د)/(ح) على حجم الصورة وظلها؛ التلاشي بين الصور من (ح-2) باقٍ) */
html .hero-split.hero-build .hero-reel .reel-shot .reel-fg {
  --x0: 0px; --aw: 100cqw; /* من حافة الإطار نفسها (تحت المنحنى) فلا يظهر فراغ أبيض بين المنحنى والصورة */
  --W: max(var(--aw), calc(100cqh / var(--r)));
  --D: min(0px, calc(var(--aw) - var(--W)));
  left: var(--x0); top: calc((100cqh - var(--W) * var(--r)) / 2);
  width: var(--W); height: calc(var(--W) * var(--r)); object-fit: cover;
  border-radius: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; scale: 1;
  animation-name: reelPanL; animation-duration: calc(var(--S) + 1.8s); animation-timing-function: cubic-bezier(.45, .05, .55, .95); }
html .hero-split.hero-build .hero-reel .reel-shot:nth-of-type(even) .reel-fg { animation-name: reelPanR; }
@keyframes reelPanL { from { translate: 0 0; } to { translate: var(--D) 0; } }
@keyframes reelPanR { from { translate: var(--D) 0; } to { translate: 0 0; } }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { --x0: 0px; --aw: 100cqw; }
}
@media (prefers-reduced-motion: reduce) {
  html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { animation: none; translate: calc(var(--D) / 2) 0; }
}
/* ===== 2026-12-02 (ي-3): الشريحة الأولى بصور طولية (4:5، موسّعة بـ ChatGPT بطلب المستخدم) — تملأ الإطار كالبنايات:
   عرض الصورة = عرض الإطار (أو أكثر إن كانت أقصر منه)، وحركة صعود/نزول هادئة مع إبعاد خفيف بدل المرور الجانبي */
html .hero-split.hero-build .hero-reel .reel-shot .reel-fg {
  --W: max(100cqw, calc(100cqh / var(--r)));
  --D: min(0px, calc(100cqh - var(--W) * var(--r)));
  left: calc((100cqw - var(--W)) / 2); top: 0;
  width: var(--W); height: calc(var(--W) * var(--r));
  animation-name: reelPanUpV; transform-origin: 50% 50%; }
html .hero-split.hero-build .hero-reel .reel-shot:nth-of-type(even) .reel-fg { animation-name: reelPanDownV; }
@keyframes reelPanUpV { from { translate: 0 var(--D); scale: 1.08; } to { translate: 0 0; scale: 1; } }
@keyframes reelPanDownV { from { translate: 0 0; scale: 1.08; } to { translate: 0 var(--D); scale: 1; } }
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { --W: 100cqw; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { animation: none; translate: 0 calc(var(--D) / 2); scale: 1; }
}
/* ===== 2026-12-02 (ي-4): الشريحة الأولى بلا صعود/نزول (بطلب المستخدم) — الصورة في وسط الإطار تظهر كلها تقريباً، مع تقريب بسيط 1→1.06 فقط */
html .hero-split.hero-build .hero-reel .reel-shot .reel-fg {
  top: calc((100cqh - var(--W) * var(--r)) / 2); translate: none;
  animation-name: reelZoomIn; animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
html .hero-split.hero-build .hero-reel .reel-shot:nth-of-type(even) .reel-fg { animation-name: reelZoomIn; }
@keyframes reelZoomIn { from { scale: 1; } to { scale: 1.06; } }
@media (prefers-reduced-motion: reduce) {
  html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { animation: none; translate: none; }
}
/* 2026-12-02 (ي-5): الشريحة الأولى 12 ثانية (بطلب المستخدم): 4 صور × 3s، والتلاشي بين الصور 1.2s */
.hero-split.hero-build .hero-reel { --S: 3s; }
.hero-split.hero-build .hero-reel .reel-shot { animation-name: reelLife2; animation-duration: calc(var(--S) + 1.2s); animation-delay: calc(var(--k) * var(--S) - .6s); }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelIn; animation-duration: 1.2s; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation: reelFirst2 calc(var(--S) + .6s) cubic-bezier(.4, 0, .2, 1) 0s both paused; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type:last-of-type { animation: none; }
.hero-split.hero-build .hero-reel.active .reel-shot { animation-play-state: running; }
@keyframes reelLife2 { 0% { opacity: 0; } 29%, 71% { opacity: 1; } 100% { opacity: 0; } }
@keyframes reelFirst2 { 0%, 67% { opacity: 1; } 100% { opacity: 0; } }
html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { animation-duration: calc(var(--S) + 1.2s); animation-delay: max(0s, calc(var(--k) * var(--S) - .6s)); }

/* ===== 2026-12-02 (ق): الشرائح على الجوال والتابلت بالطول (بطلب المستخدم) — عناوين أصغر قليلاً وفراغات أقل،
   وصورة الشرائح أطول: ارتفاعها = الشاشة − القائمة − الشريط المتحرك − مساحة النص (--hc)، فيبقى المجموع 100vh بالضبط
   (كانت 200px ثابتة على الهاتف فيبقى تحت النص فراغ كبير على الشاشات الطويلة). نسخة ما قبل التعديل: C:\Users\Wafaa\bv\site-before-mobile-hero.css */
@media (max-width: 599px), (max-width: 760px) and (orientation: portrait) {
  .hero-split { --hc: 296px; --hm: clamp(200px, calc(100dvh - var(--hh) - var(--mh) - var(--hc)), 62vh); }
  html[lang="en"] .hero-split { --hc: 286px; }
  .hero-split .hero-inner { padding-block: 12px 14px; }
  .hero-split .eyebrow { font-size: calc(min(1.2rem, 5.1vw) + var(--ar-plus)); margin-bottom: 6px; }
  html[lang="en"] .hero-split .eyebrow { font-size: min(.95rem, 4.1vw); margin-bottom: 6px; }
  html .hero-split .hero-title { font-size: calc(min(1.65rem, 6.9vw) + var(--ar-plus)); }
  .hero-split .hero-title::after { width: 46px; height: 3px; margin-top: 10px; }
  .hero-split .hero-sub { margin-top: 10px; font-size: calc(.9rem + var(--ar-plus)); line-height: 1.7; }
  .hero-split .hero-copy + .hero-ctas, .hero-split .hero-ctas { margin-top: 12px; }
}
@media (min-width: 600px) and (max-width: 1100px) and (orientation: portrait) {
  .hero-split { --hc: 372px; --hm: clamp(340px, calc(100dvh - var(--hh) - var(--mh) - var(--hc)), 64vh); }
  .hero-split .hero-inner { padding-block: 16px 18px; }
  .hero-split .eyebrow { margin-bottom: 8px; }
  html .hero-split .hero-title { font-size: calc(clamp(1.9rem, 1rem + 2.2vw, 2.2rem) + var(--ar-plus)); }
  .hero-split .hero-title::after { margin-top: 12px; }
  .hero-split .hero-sub { margin-top: 12px; line-height: 1.75; }
  .hero-split .hero-copy + .hero-ctas, .hero-split .hero-ctas { margin-top: 14px; }
}

/* 2026-12-02: الشريحة الأولى لا تبدأ صورها حتى تنتهي شاشة التحميل وتكتمل الصور (سكربت home.blade يضيف .go) — فتبدأ دائماً من الأولى */
.hero-split.hero-build .hero-reel:not(.go) .reel-shot, .hero-split.hero-build .hero-reel:not(.go) .reel-fg { animation-play-state: paused !important; }
/* 2026-12-02: تقريب صور الشريحة الأولى أبطأ (بطلب المستخدم): 1→1.035 بدل 1→1.06 خلال ظهور الصورة */
@keyframes reelZoomIn { from { scale: 1; } to { scale: 1.035; } }
/* 2026-12-02 (ي-6): الشريحة الأولى 10 ثوانٍ (4 صور × 2.5s) — في أول فتح للصفحة تسبقها ثانية ثابتة على الصورة الأولى (سكربت home.blade) = 11 ثانية، وفي الدورات التالية 10 */
.hero-split.hero-build .hero-reel { --S: 2.5s; }
@keyframes reelLife2 { 0% { opacity: 0; } 32%, 68% { opacity: 1; } 100% { opacity: 0; } }
@keyframes reelFirst2 { 0%, 61% { opacity: 1; } 100% { opacity: 0; } }
/* ===== 2026-12-02 (ي-7): الشريحة الأولى — انتقال «دفع» بدل التلاشي (بطلب المستخدم: حركة أخرى)، و3 ثوانٍ لكل صورة:
   الصورة الجديدة تنزلق من الجانب (من اليسار في العربية، من اليمين في الإنجليزية) فوق السابقة التي تبتعد ببطء للجهة الأخرى (35%)
   كطبقتين بعمق، خلال 1.2s بتسارع ناعم؛ والتقريب 1→1.035 على مدة أطول (أبطأ قليلاً) */
.hero-split.hero-build .hero-reel { --S: 3s; --in: -100%; --out: 35%; }
html[dir="ltr"] .hero-split.hero-build .hero-reel { --in: 100%; --out: -35%; }
.hero-split.hero-build .hero-reel .reel-shot { opacity: 1; animation-name: reelPush; animation-duration: calc(var(--S) + 1.2s); animation-delay: calc(var(--k) * var(--S) - .6s); animation-timing-function: linear; }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelArrive; animation-duration: 1.2s; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation: reelLeave calc(var(--S) + .6s) linear 0s both paused; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type:last-of-type { animation: none; }
.hero-split.hero-build .hero-reel.active.go .reel-shot { animation-play-state: running; }
@keyframes reelPush {
  0% { translate: var(--in) 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  28.6% { translate: 0 0; }
  71.4% { translate: 0 0; opacity: 1; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  99.9% { translate: var(--out) 0; opacity: 1; }
  100% { translate: var(--out) 0; opacity: 0; }
}
@keyframes reelArrive { from { translate: var(--in) 0; } to { translate: 0 0; } }
@keyframes reelLeave {
  0%, 66.7% { translate: 0 0; opacity: 1; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  99.9% { translate: var(--out) 0; opacity: 1; }
  100% { translate: var(--out) 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-reel .reel-shot { animation-name: reelLife2; }
  .hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelIn; }
  .hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation-name: reelFirst2; }
}
/* ===== 2026-12-02 (ي-8): الشريحة الأولى — انتقال «الكشف بالخط الذهبي» (بطلب المستخدم: حركة أخرى بدل الدفع):
   الصورة الجديدة تنكشف فوق السابقة بمسح أفقي (من اليمين في العربية، من اليسار في الإنجليزية) يقوده خط ذهبي مضيء،
   والسابقة ثابتة تحتها حتى يكتمل الكشف ثم تُخفى. 1.2s، 3 ثوانٍ لكل صورة */
@property --wp { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
.hero-split.hero-build .hero-reel .reel-shot { translate: none; clip-path: inset(0 0 0 var(--wp)); animation-name: reelWipe; }
html[dir="ltr"] .hero-split.hero-build .hero-reel .reel-shot { clip-path: inset(0 var(--wp) 0 0); }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelWipeIn; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation-name: reelWipeOut; }
@keyframes reelWipe {
  0% { --wp: 100%; opacity: 1; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  28.6%, 99.9% { --wp: 0%; opacity: 1; }
  100% { --wp: 0%; opacity: 0; }
}
@keyframes reelWipeIn { from { --wp: 100%; } to { --wp: 0%; } }
@keyframes reelWipeOut { 0%, 99.9% { --wp: 0%; opacity: 1; } 100% { --wp: 0%; opacity: 0; } }
/* الخط الذهبي على حافة الكشف: يظهر أثناء الكشف فقط */
.hero-split.hero-build .hero-reel .reel-shot:not(:first-of-type)::after {
  content: ''; position: absolute; z-index: 3; top: 0; bottom: 0; width: 3px; inset-inline-start: auto; left: var(--wp); margin-left: -1px;
  background: linear-gradient(180deg, #f6e3b0, #c8a35e 45%, #e8d49a); box-shadow: 0 0 14px 3px rgba(232, 212, 154, .75);
  opacity: 0; animation: reelLine calc(var(--S) + 1.2s) linear both paused; animation-delay: calc(var(--k) * var(--S) - .6s); }
html[dir="ltr"] .hero-split.hero-build .hero-reel .reel-shot:not(:first-of-type)::after { left: auto; right: var(--wp); margin-left: 0; margin-right: -1px; }
.hero-split.hero-build .hero-reel.active.go .reel-shot::after { animation-play-state: running; }
@keyframes reelLine { 0%, 26% { opacity: 1; } 28.6%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-reel .reel-shot { clip-path: none; }
  .hero-split.hero-build .hero-reel .reel-shot::after { display: none; }
}
/* ===== 2026-12-02 (ي-9): الشريحة الأولى — انتقال «الانبثاق» (بطلب المستخدم: تأثير حسي فخم):
   الصورة الجديدة تنبثق من العمق — تبدأ أصغر (88%) ومشوّشة وأدنى قليلاً ثم تستقر بوضوح بتباطؤ ناعم —
   بينما السابقة تتقدّم نحو المشاهد (تكبر 112%) وتذوب وتتشوّش كأن الكاميرا تعبرها. 1.2s، 3 ثوانٍ لكل صورة */
.hero-split.hero-build .hero-reel .reel-shot, html[dir="ltr"] .hero-split.hero-build .hero-reel .reel-shot { clip-path: none; animation-name: reelEmerge; will-change: opacity, scale, filter; }
.hero-split.hero-build .hero-reel .reel-shot::after { display: none; }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelEmergeIn; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation-name: reelEmergeOut; }
@keyframes reelEmerge {
  0% { opacity: 0; scale: .88; translate: 0 3%; filter: blur(10px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  28.6% { opacity: 1; scale: 1; translate: 0 0; filter: blur(0); }
  71.4% { opacity: 1; scale: 1; filter: blur(0); animation-timing-function: cubic-bezier(.55, 0, .75, .4); }
  100% { opacity: 0; scale: 1.12; filter: blur(6px); }
}
@keyframes reelEmergeIn { from { opacity: 0; scale: .88; translate: 0 3%; filter: blur(10px); } to { opacity: 1; scale: 1; translate: 0 0; filter: blur(0); } }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
@keyframes reelEmergeOut {
  0%, 66.7% { opacity: 1; scale: 1; filter: blur(0); animation-timing-function: cubic-bezier(.55, 0, .75, .4); }
  100% { opacity: 0; scale: 1.12; filter: blur(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-reel .reel-shot { animation-name: reelLife2; filter: none; }
  .hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelIn; }
  .hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation-name: reelFirst2; }
}
/* ===== 2026-12-02 (ي-10): «الانبثاق» ألطف وأبطأ (بطلب المستخدم): الانتقال 2s بدل 1.2s، فروق أصغر (94%→100%، والخارجة →106%)،
   تشويش أخف (5px/3px)، بلا صعود؛ الصورتان تتداخلان مدة أطول */
.hero-split.hero-build .hero-reel .reel-shot { animation-name: reelEmerge2; animation-duration: calc(var(--S) + 2s); animation-delay: calc(var(--k) * var(--S) - 1s); }
.hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelEmergeIn2; animation-duration: 2s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation: reelEmergeOut2 calc(var(--S) + 1s) linear 0s both paused; }
.hero-split.hero-build .hero-reel .reel-shot:first-of-type:last-of-type { animation: none; }
.hero-split.hero-build .hero-reel.active.go .reel-shot { animation-play-state: running; }
html .hero-split.hero-build .hero-reel .reel-shot .reel-fg { animation-duration: calc(var(--S) + 2s); animation-delay: max(0s, calc(var(--k) * var(--S) - 1s)); }
@keyframes reelEmerge2 {
  0% { opacity: 0; scale: .94; filter: blur(5px); animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
  40% { opacity: 1; scale: 1; filter: blur(0); }
  60% { opacity: 1; scale: 1; filter: blur(0); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { opacity: 0; scale: 1.06; filter: blur(3px); }
}
@keyframes reelEmergeIn2 { from { opacity: 0; scale: .94; filter: blur(5px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes reelEmergeOut2 {
  0%, 50% { opacity: 1; scale: 1; filter: blur(0); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { opacity: 0; scale: 1.06; filter: blur(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-split.hero-build .hero-reel .reel-shot { animation-name: reelLife2; filter: none; animation-duration: calc(var(--S) + 1.2s); animation-delay: calc(var(--k) * var(--S) - .6s); }
  .hero-split.hero-build .hero-reel .reel-shot:last-of-type { animation-name: reelIn; animation-duration: 1.2s; }
  .hero-split.hero-build .hero-reel .reel-shot:first-of-type { animation-name: reelFirst2; animation-duration: calc(var(--S) + .6s); }
}
/* ===== 2026-12-02 (ي-11): الانبثاق بالتناوب (بطلب المستخدم): مرة «من الداخل» (الجديدة تكبر 94%→100% والسابقة تتقدّم →106%)
   ومرة «من الخارج» (الجديدة تصغر 106%→100% والسابقة تبتعد →94%): إلى الصورة 2 من الداخل، إلى 3 من الخارج، إلى 4 من الداخل كما هي */
.hero-split.hero-build .hero-reel .reel-shot:nth-of-type(2):not(:last-of-type) { animation-name: reelEmergeInOut; }   /* تدخل من الداخل، تخرج للخارج */
.hero-split.hero-build .hero-reel .reel-shot:nth-of-type(3):not(:last-of-type) { animation-name: reelEmergeOutIn; }   /* تدخل من الخارج، تخرج للداخل */
@keyframes reelEmergeInOut {
  0% { opacity: 0; scale: .94; filter: blur(5px); animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
  40%, 60% { opacity: 1; scale: 1; filter: blur(0); }
  60% { animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { opacity: 0; scale: .94; filter: blur(3px); }
}
@keyframes reelEmergeOutIn {
  0% { opacity: 0; scale: 1.06; filter: blur(5px); animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
  40%, 60% { opacity: 1; scale: 1; filter: blur(0); }
  60% { animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { opacity: 0; scale: 1.06; filter: blur(3px); }
}
/* ===== 2026-12-02 (ن-2): رأس «مشاريعنا» — ترتيب البنايات الثلاث بتكوين احترافي (بطلب المستخدم):
   الأعلى في الوسط وفي المقدّمة بظل يفصله، والجانبيتان أقصر وخلفه قليلاً (تتداخلان معه) وأخفت إضاءة فيظهر عمق؛
   و«ضباب أرضي» كحلي يغطي أسفل البنايات فيخفي ضعف قواعدها (الطوابق الأرضية المقصوصة) ويجعلها تقف على أرض واحدة */
.phc-build .pb-row { gap: 0; }
.phc-build .pb-row::after { content: ''; position: absolute; z-index: 4; inset-inline: -6%; bottom: 0; height: 17%; pointer-events: none;
  background: linear-gradient(0deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 78%, transparent) 30%, color-mix(in srgb, var(--ink) 30%, transparent) 65%, transparent 100%); }
.phc-build .pb-bld:nth-child(2) { z-index: 2; height: 100%; max-width: 36%; filter: drop-shadow(0 0 22px rgba(4, 14, 28, .55)); }
.phc-build .pb-bld:nth-child(1), .phc-build .pb-bld:nth-child(3) { z-index: 1; height: 80%; max-width: 32%; filter: brightness(.86) saturate(.92); }
.phc-build .pb-bld:nth-child(1) { margin-inline-end: -3.5%; }
.phc-build .pb-bld:nth-child(3) { margin-inline-start: -3.5%; height: 78%; }
/* (ن-3) بطلب المستخدم: (1) مسافة صغيرة بين البنايات بدل التداخل؛ (2) مخطط الإطار يُرسم انسيابياً من الأسفل للأعلى (بدل ظهوره دفعة واحدة)
   ثم تمتلئ البناية طابقاً بعد طابق — كل ما بعد الرسم تأخّر 0.8s */
.phc-build .pb-row { gap: 2.4%; }
.phc-build .pb-bld:nth-child(1), .phc-build .pb-bld:nth-child(3) { margin-inline: 0; }
@property --bpc { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .phc-build .pb-bp { clip-path: inset(var(--bpc) -4px -4px -4px); animation: pbDraw 1.6s cubic-bezier(.45, .05, .25, 1) calc(var(--d) + .2s) both, pbOut 1.4s ease calc(var(--d) + 7.2s) forwards; }
  html .phc-media.phc-build .pb-photo { animation: pbUp 5.4s var(--pb-ease, linear) calc(var(--d) + 1.6s) forwards; }
  .phc-build .pb-scan { animation: pbUp 5.4s var(--pb-ease, linear) calc(var(--d) + 1.6s) forwards, pbIn .3s ease calc(var(--d) + 1.6s) forwards, pbOut .6s ease calc(var(--d) + 7s) forwards; }
  .phc-build .pb-shine::before { animation: pbShine 2.2s cubic-bezier(.22, .8, .2, 1) calc(var(--d) + 7.2s) forwards; }
}
@keyframes pbDraw { 0% { --bpc: 100%; opacity: 0; } 12% { opacity: 1; } 100% { --bpc: 0%; opacity: 1; } }
/* ===== 2026-12-02 (ن-4): رأس «مشاريعنا» — رسم المخطط سريع «كقلم» (بطلب المستخدم): الإطار الخارجي يُرسم صاعداً بسرعة (0.8s)،
   ثم خطوط الطوابق تُخط أفقياً (من جهة البداية) وخطوط الأعمدة صاعدة (0.6s لكلٍّ، بتداخل)، ثم تبدأ التعبئة بعد 1.3s فقط.
   الشبكة صارت طبقة مستقلة .pb-grid (بقناع شكل البناية) خارج فلتر الإطار فتبقى خطوطها رفيعة */
.phc-build .pb-bp > i { background: color-mix(in srgb, var(--ink) 70%, #1c3a62); }
.phc-build .pb-grid { opacity: 0; -webkit-mask: var(--img) 50% 100% / contain no-repeat; mask: var(--img) 50% 100% / contain no-repeat; }
.phc-build .pb-grid > i { position: absolute; inset: 0; }
.phc-build .pb-gh { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--gold) 75%, transparent) 0 1px, transparent 1px calc(100% / var(--floors))); }
.phc-build .pb-gv { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--gold) 40%, transparent) 0 1px, transparent 1px 12%); }
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --gy { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
.phc-build .pb-gh { clip-path: inset(0 0 0 var(--gx)); }            /* العربية: من اليمين */
html[dir="ltr"] .phc-build .pb-gh { clip-path: inset(0 var(--gx) 0 0); }
.phc-build .pb-gv { clip-path: inset(var(--gy) 0 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .phc-build .pb-bp { animation: pbDraw .8s cubic-bezier(.3, .1, .2, 1) calc(var(--d) + .15s) both, pbOut 1.2s ease calc(var(--d) + 6.8s) forwards; }
  .phc-build .pb-grid { animation: pbIn .2s ease calc(var(--d) + .5s) forwards, pbOut 1.2s ease calc(var(--d) + 6.8s) forwards; }
  .phc-build .pb-gh { animation: pbGx .6s cubic-bezier(.3, .1, .2, 1) calc(var(--d) + .5s) both; }
  .phc-build .pb-gv { animation: pbGy .6s cubic-bezier(.3, .1, .2, 1) calc(var(--d) + .7s) both; }
  html .phc-media.phc-build .pb-photo { animation: pbUp 5.4s var(--pb-ease, linear) calc(var(--d) + 1.3s) forwards; }
  .phc-build .pb-scan { animation: pbUp 5.4s var(--pb-ease, linear) calc(var(--d) + 1.3s) forwards, pbIn .3s ease calc(var(--d) + 1.3s) forwards, pbOut .6s ease calc(var(--d) + 6.7s) forwards; }
  .phc-build .pb-shine::before { animation: pbShine 2.2s cubic-bezier(.22, .8, .2, 1) calc(var(--d) + 6.9s) forwards; }
}
@media (prefers-reduced-motion: reduce) { .phc-build .pb-grid { opacity: 0; } }
@keyframes pbGx { from { --gx: 100%; } to { --gx: 0%; } }
@keyframes pbGy { from { --gy: 100%; } to { --gy: 0%; } }
/* (ن-5) بطلب المستخدم: الإطار الخارجي أبطأ (1.6s)، والخطوط الداخلية أسرع منه قليلاً (1.1s)، والتعبئة أكثر انسيابية (6s، صعود 80% من حصة كل طابق ثم وقفة قصيرة تبيّن الفصل) */
@media (prefers-reduced-motion: no-preference) {
  .phc-build .pb-bp { animation: pbDraw 1.6s cubic-bezier(.4, .1, .25, 1) calc(var(--d) + .15s) both, pbOut 1.2s ease calc(var(--d) + 8s) forwards; }
  .phc-build .pb-grid { animation: pbIn .2s ease calc(var(--d) + .8s) forwards, pbOut 1.2s ease calc(var(--d) + 8s) forwards; }
  .phc-build .pb-gh { animation: pbGx 1.1s cubic-bezier(.4, .1, .25, 1) calc(var(--d) + .8s) both; }
  .phc-build .pb-gv { animation: pbGy 1.1s cubic-bezier(.4, .1, .25, 1) calc(var(--d) + 1s) both; }
  html .phc-media.phc-build .pb-photo { animation: pbUp 6s var(--pb-ease, linear) calc(var(--d) + 2.2s) forwards; }
  .phc-build .pb-scan { animation: pbUp 6s var(--pb-ease, linear) calc(var(--d) + 2.2s) forwards, pbIn .3s ease calc(var(--d) + 2.2s) forwards, pbOut .6s ease calc(var(--d) + 8.1s) forwards; }
  .phc-build .pb-shine::before { animation: pbShine 2.2s cubic-bezier(.22, .8, .2, 1) calc(var(--d) + 8.3s) forwards; }
}
/* ===== 2026-12-02 (ن-6): التعبئة متصلة بلا تقطيع (تجربة بطلب المستخدم): صعود واحد ناعم 5s، وخطوط الطوابق الذهبية تبقى فوق الصورة
   أثناء امتلائها فيظهر الفصل بين الطوابق بالخطوط لا بالتوقف، ثم تتلاشى؛ خطوط الأعمدة تختفي عند بدء التعبئة */
.phc-build .pb-photo { z-index: 1; }
.phc-build .pb-grid { z-index: 2; }
.phc-build .pb-scan { z-index: 3; }
.phc-build .pb-shine { z-index: 4; }
.phc-build .pb-gh { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--gold-light) 70%, transparent) 0 1px, transparent 1px calc(100% / var(--floors))); }
@media (prefers-reduced-motion: no-preference) {
  html .phc-media.phc-build .pb-photo { animation: pbUp 5s cubic-bezier(.45, .05, .4, 1) calc(var(--d) + 2.2s) forwards; }
  .phc-build .pb-scan { animation: pbUp 5s cubic-bezier(.45, .05, .4, 1) calc(var(--d) + 2.2s) forwards, pbIn .3s ease calc(var(--d) + 2.2s) forwards, pbOut .6s ease calc(var(--d) + 7.1s) forwards; }
  .phc-build .pb-grid { animation: pbIn .2s ease calc(var(--d) + .8s) forwards, pbOut 1.4s ease calc(var(--d) + 7.3s) forwards; }
  .phc-build .pb-gv { animation: pbGy 1.1s cubic-bezier(.4, .1, .25, 1) calc(var(--d) + 1s) both, pbOut .8s ease calc(var(--d) + 2.2s) forwards; }
  .phc-build .pb-bp { animation: pbDraw 1.6s cubic-bezier(.4, .1, .25, 1) calc(var(--d) + .15s) both, pbOut 1.2s ease calc(var(--d) + 7.3s) forwards; }
  .phc-build .pb-shine::before { animation: pbShine 2.2s cubic-bezier(.22, .8, .2, 1) calc(var(--d) + 7.6s) forwards; }
}
/* 2026-12-02 (ن-7): ترتيب الرسم (بطلب المستخدم): اليمنى أولاً ثم اليسرى ثم الوسطى (الأعلى) آخراً كذروة المشهد —
   --d من القالب (0/1.4/2.8 بترتيب العناصر) يُعاد توزيعه هنا؛ في الإنجليزية الترتيب البصري معكوس فيبدأ من اليسار */
.phc-build .pb-bld:nth-child(1) { --d: 0s !important; }
.phc-build .pb-bld:nth-child(3) { --d: 1.4s !important; }
.phc-build .pb-bld:nth-child(2) { --d: 2.8s !important; }
/* 2026-12-02: الجابرية (اليسرى) أكبر لتقترب من البرج الأوسط (بطلب المستخدم): 78% → 90% */
.phc-build .pb-bld:nth-child(3) { height: 90%; max-width: 36%; }
/* 2026-12-02: حمد مبارك (اليمنى) أكبر قليلاً لتتناسب مع الجابرية (بطلب المستخدم): 80% → 88% */
.phc-build .pb-bld:nth-child(1) { height: 88%; max-width: 36%; }
/* 2026-12-02: حمد مبارك عادت 80% (بطلب المستخدم)، وألوانها كانت باهتة → تباين وتشبّع أعلى بدل التعتيم */
.phc-build .pb-bld:nth-child(1) { height: 80%; max-width: 32%; filter: contrast(1.16) saturate(1.15) brightness(.97); }
/* تصحيح: التباين على صورة البناية نفسها فقط (كان على العنصر كله فطال خطوط المخطط والإطار) */
.phc-build .pb-bld:nth-child(1) { filter: none; }
html .phc-media.phc-build .pb-bld:nth-child(1) .pb-photo { filter: contrast(1.22) saturate(1.25) brightness(.96); }
/* الصورة نفسها صارت مُعالَجة الألوان (حمد مبارك) — لا فلتر */
html .phc-media.phc-build .pb-bld:nth-child(1) .pb-photo { filter: none; }

/* 2026-12-02: (1) نص تعريفي في رأس «من نحن» بدل المسار والعنوان والسطر. (2) العناوين الصغيرة الذهبية فوق عناوين الأقسام (.kicker) أُزيلت في كل الصفحات. */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.phero-cta .phero-intro { margin: 0; color: #fff; font-size: calc(clamp(1.12rem, .9rem + .55vw, 1.42rem) + var(--ar-plus)); font-weight: 500; line-height: 1.85; }
html[dir=ltr] .phero-cta .phero-intro { font-size: clamp(1.02rem, .85rem + .45vw, 1.25rem); line-height: 1.7; }
.kicker { display: none !important; }
@media (min-width: 981px) { .phero-cta .phero-inner > .phero-intro { max-width: min(600px, 44%); } }
/* 2026-12-02: القائمة باللوغو الكامل (المربع + RIYAD CONSTRUCTION) بلا الاسم المكتوب بجانبه */
.header .brand-mark.brand-full.rlogo { width: 58px; }
@media (max-width: 980px), (max-width: 1100px) and (orientation: portrait) { .header .brand-mark.brand-full.rlogo { width: 48px; } }
/* 2026-12-02 (بطلب المستخدم): في الشرائح اسم المجموعة (heroEyebrow) أبرز من الشعارات: أكبر وبلون كتابة اللوغو #333132، والعناوين (الشعارات) أصغر */
html .hero-split .eyebrow { color: #333132; -webkit-text-fill-color: #333132; background: none; font-weight: 800; }
html .hero-split .eyebrow::before, html .hero-split .eyebrow::after { display: none; }
@media (min-width: 1181px) {   /* الاسم يملأ عمود النص في سطر واحد (لا يتجاوز الفاصل الذهبي)، والسلوغان أصغر منه. عمود النص أعرض قليلاً (فراغات أضيق) ليكبر الاسم */
  .hero-split .hero-inner { column-gap: clamp(18px, 1.7vw, 30px); }
  html[dir="rtl"] .hero-split .hero-inner, html[dir="ltr"] .hero-split .hero-inner { padding-right: calc(var(--media-w) + clamp(18px, 1.8vw, 34px)); }
  html .hero-split .eyebrow { font-size: calc(clamp(1.36rem, .1rem + 1.6vw, 1.49rem) + var(--ar-plus)); margin-bottom: 10px; }
  html[lang="en"] .hero-split .eyebrow { font-size: clamp(1.19rem, .05rem + 1.45vw, 1.3rem); letter-spacing: 0; }
  html[lang="ar"] .hero-split .hero-title, html .hero-split .hero-title { font-size: calc(clamp(1.18rem, .5rem + .85vw, 1.3rem) + var(--ar-plus)); }
}
@media (max-width: 1180px) {
  html .hero-split .eyebrow { font-size: calc(min(1.56rem, 6.3vw) + var(--ar-plus)); }
  html[lang="en"] .hero-split .eyebrow { font-size: min(1.25rem, 5.1vw); }
  html .hero-split .hero-title { font-size: calc(min(1.25rem, 5.1vw) + var(--ar-plus)); }
}
/* 2026-12-02 (بطلب المستخدم): اسم المجموعة في الشرائح بارز بالكحلي الملكي اللامع (أكثر تميّزاً من رمادي السلوغان) */
html .hero-split .eyebrow { background: linear-gradient(100deg, #0C2541 0%, #1E4676 42%, #2F62A0 52%, #163A63 66%, #0C2541 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (min-width: 1181px) { html[lang="en"] .hero-split .hero-title { font-size: clamp(1.05rem, .4rem + .8vw, 1.15rem); } }
@media (max-width: 1180px) { html[lang="en"] .hero-split .hero-title { font-size: min(1.12rem, 4.6vw); } }
/* 2026-12-02: السلوغان أكبر (بطلب المستخدم) وما زال أصغر قليلاً من اسم المجموعة */
@media (min-width: 1181px) {
  html[lang="ar"] .hero-split .hero-title, html .hero-split .hero-title { font-size: calc(clamp(1.3rem, .55rem + .95vw, 1.42rem) + var(--ar-plus)); }
  html[lang="en"] .hero-split .hero-title { font-size: clamp(1.15rem, .45rem + .95vw, 1.27rem); }
}
@media (max-width: 1180px) {
  html .hero-split .hero-title { font-size: calc(min(1.35rem, 5.4vw) + var(--ar-plus)); }
  html[lang="en"] .hero-split .hero-title { font-size: min(1.2rem, 4.9vw); }
}
@media (min-width: 1181px) { html .hero-split .eyebrow { margin-bottom: 20px; } }   /* 2026-12-02: مسافة أوسع بين اسم المجموعة والسلوغان على الحاسوب (كانت 10px) */
/* 2026-12-02: لوغو ساك الإنشائية عريض (SAK + الاسمان) — شارة أعرض لهذه البطاقة */
.gs-logo { width: 58px; height: 58px; top: -31px; padding: 6px; }   /* شعارات الشركات التابعة أكبر ومتناسبة مع شعار ساك */
html .gs-logo img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); max-height: none; object-fit: contain; }
.gs-logo:has(img[src*="sak-logo.png"]) { width: 80px; height: 50px; top: -26px; padding: 5px 7px; }
html .gs-logo:has(img[src*="sak-logo.png"]) img { inset: 5px 7px; width: calc(100% - 14px); height: calc(100% - 10px); }
.footer .brand-mark.brand-full.rlogo { width: clamp(70px, 6.6vw, 90px); }   /* 2026-12-02: التذييل باللوغو الكامل كالقائمة */

/* 2026-12-03: اسم الشركة فوق دبوس الخريطة في التواصل — الرمادي على الخريطة فقط لا على الاسم */
.form-map { position: relative; filter: none; }
.form-map iframe { filter: grayscale(.4) contrast(1.05); }
.map-pin-label { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, calc(-100% - 50px)); width: max-content; max-width: min(86%, 340px);
  padding: 8px 14px; background: var(--ink, #0C2541); color: #fff; font-size: .88rem; font-weight: 700; line-height: 1.45; text-align: center;
  border-bottom: 2px solid var(--primary, #C8A35E); box-shadow: 0 6px 18px rgba(12, 37, 65, .28); text-decoration: none; }
.map-pin-label::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--primary, #C8A35E); }
a.map-pin-label:hover { color: var(--primary-light, #E8D49A); }
@media (max-width: 560px) { .map-pin-label { font-size: .8rem; padding: 7px 11px; } }
