/* =========================================================
   حلول كيان الإعمار — ملف التنسيق الرئيسي
   RTL / Modern / Premium — بدون أي مكتبة خارجية
   ========================================================= */

/* ---------- 1. المتغيرات ---------- */
:root {
	--ink-900: #111110;
	--ink-800: #1B1A18;
	--ink-700: #262420;
	--ink-600: #2F2C27;
	--ink-500: #3A3630;
	--line-dark: #37332C;

	--gold-300: #EAD6B8;
	--gold-400: #D4AF80;
	--gold-500: #B98A50;
	--gold-600: #9A6F3C;
	--gold-soft: rgba(185, 138, 80, .12);

	--paper: #FFFFFF;
	--paper-2: #F7F4EF;
	--paper-3: #EFEAE2;
	--surface: #FFFFFF;
	--line: #E4DED4;

	--text: #1F1D1A;
	--heading: #1A1815;
	--text-2: #4A453E;
	--muted: #7A7268;
	--white-70: rgba(255, 255, 255, .72);
	--white-55: rgba(255, 255, 255, .55);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--radius-xl: 30px;

	--shadow-sm: 0 2px 10px rgba(60, 50, 38, .05);
	--shadow: 0 14px 40px rgba(60, 50, 38, .1);
	--shadow-lg: 0 30px 70px rgba(25, 20, 15, .2);
	--shadow-gold: 0 14px 34px rgba(154, 111, 60, .3);

	--container: 1240px;
	--gutter: 22px;
	/* ارتفاع شريط الاتصال السريع في الجوال — تعتمد عليه مسافة زر العودة للأعلى */
	--quickbar-h: 88px;

	--font: "IBM Plex Sans Arabic", "Segoe UI", "Tahoma", "Noto Sans Arabic", system-ui, -apple-system, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--t: .35s var(--ease);
	--header-h: 78px;
}

/* ---------- 1.b الوضع الليلي ---------- */
:root[data-theme="dark"] {
	--paper: #131211;
	--paper-2: #1A1917;
	--paper-3: #23211E;
	--surface: #1E1C1A;
	--line: #35322D;

	--text: #EDE9E3;
	--heading: #F8F5F0;
	--text-2: #C9C2B8;
	--muted: #9C948A;

	--ink-800: #211F1C;
	--ink-700: #2B2825;
	--ink-900: #111110;

	--gold-soft: rgba(185, 138, 80, .16);

	--shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
	--shadow: 0 14px 40px rgba(0, 0, 0, .42);
	--shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);

	color-scheme: dark;
}

/* تباين أفضل للعناصر النشطة في الوضع الليلي */
:root[data-theme="dark"] .tabs__btn.is-active,
:root[data-theme="dark"] .filters__btn.is-active,
:root[data-theme="dark"] .pagination .page-numbers.current {
	background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
	border-color: var(--gold-600);
	color: #12182A;
}
:root[data-theme="dark"] .tabs__btn.is-active .tabs__ic,
:root[data-theme="dark"] .tabs__btn.is-active .tabs__count { color: #12182A; }
:root[data-theme="dark"] .tabs__btn.is-active .tabs__count { background: rgba(0, 0, 0, .16); }

:root[data-theme="dark"] .card:hover .card__icon,
:root[data-theme="dark"] .card--featured .card__icon,
:root[data-theme="dark"] .timeline__item:hover .timeline__dot {
	background: var(--gold-600);
	color: #12182A;
}
:root[data-theme="dark"] .section--why,
:root[data-theme="dark"] .section--leaks { background: var(--paper-2); }
:root[data-theme="dark"] .hero { background: var(--paper-2); }
:root[data-theme="dark"] .site-header { background: rgba(26, 25, 23, .93); }
:root[data-theme="dark"] .site-header.is-stuck { background: rgba(19, 18, 17, .97); }
:root[data-theme="dark"] .form-note--ok { background: #10281C; color: #7DD8A6; border-color: #1E4B34; }
:root[data-theme="dark"] .form-note--err { background: #2C1416; color: #F0A0A4; border-color: #5A2226; }
:root[data-theme="dark"] .project__cat { background: rgba(18, 27, 43, .94); color: var(--heading); }
:root[data-theme="dark"] .about__media-sub { border-color: var(--surface); }
:root[data-theme="dark"] .ba-thumbs__btn.is-active { background: rgba(185, 138, 80, .16); }

/* عناصر تبقى بخلفية بيضاء فوق الأقسام الداكنة — يجب أن يبقى نصها داكنًا */
:root[data-theme="dark"] .hero__badge,
:root[data-theme="dark"] .leaks__call,
:root[data-theme="dark"] .btn--light,
:root[data-theme="dark"] .ba__handle-knob { color: #1A1815; }
:root[data-theme="dark"] .hero__badge-text small,
:root[data-theme="dark"] .leaks__call-text small { color: #5A6478; }

/* ---------- 2. إعادة الضبط ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.85;
	color: var(--text);
	background: var(--paper);
	direction: rtl;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* يضمن إخفاء أي عنصر يحمل خاصية hidden حتى لو كان له display خاص */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -.2px; }
p { margin: 0 0 1em; }
bdi { unicode-bidi: isolate; }

:focus-visible {
	outline: 2px solid var(--gold-500);
	outline-offset: 3px;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ink-800);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 10px 0;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- 3. تخطيط عام ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--services { background: var(--paper-2); }
.section--projects { background: var(--paper-2); }
.section--404 { padding: clamp(80px, 12vw, 150px) 0; }

.sec-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--start { text-align: start; }

.sec-title {
	font-size: clamp(26px, 3.6vw, 42px);
	line-height: 1.3;
	color: var(--heading);
	margin: 12px 0 0;
}
.sec-title--start { text-align: start; }
.sec-title--light { color: #fff; }

/* خط نحاسي قصير تحت العنوان — مستوحى من مطبوعات الهوية */
.sec-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin: 18px 0 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
.sec-head--center .sec-title::after { margin-inline: auto; }
.sec-title--start::after { margin-inline-start: 0; }

.sec-sub {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.95;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 1.2px;
	color: var(--gold-600);
	background: var(--gold-soft);
	border: 1px solid rgba(185, 138, 80, .26);
	padding: 7px 15px;
	border-radius: 100px;
}
.kicker--light {
	color: var(--gold-300);
	background: rgba(185, 138, 80, .14);
	border-color: rgba(212, 175, 128, .3);
}
.kicker__dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px rgba(185, 138, 80, .18);
}

.section__foot {
	margin-top: clamp(34px, 4vw, 52px);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
	text-align: center;
}
.section__foot-text { margin: 0; color: var(--muted); }

.empty-note {
	background: var(--paper-2);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: 24px;
	color: var(--muted);
	text-align: center;
}
.empty-note a { color: var(--gold-600); font-weight: 600; text-decoration: underline; }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--gold-soft);
	color: var(--gold-600);
	border: 1px solid rgba(185, 138, 80, .28);
	padding: 4px 12px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 600;
}
.chip--sm { padding: 3px 10px; font-size: 12px; }

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--gold-600);
}
.link-more svg { transition: transform var(--t); }
.link-more:hover svg { transform: translateX(-4px); }

/* ---------- 4. الأزرار ---------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
	transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
	will-change: transform;
}
.btn__ic { flex-shrink: 0; }

.btn--primary {
	background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
	color: #16110A;
	box-shadow: var(--shadow-gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(154, 111, 60, .38); }

.btn--ghost {
	border: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	background: rgba(255, 255, 255, .05);
	backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.section .btn--ghost,
.cta .btn--ghost { border-color: var(--line); color: var(--heading); background: var(--surface); }
.section .btn--ghost:hover { background: var(--paper-3); }

.btn--light { background: #fff; color: var(--heading); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn + .btn { margin-inline-start: 0; }

/* ---------- 5. الشريط العلوي ---------- */
.topbar {
	background: var(--ink-900);
	color: var(--white-55);
	font-size: 13.5px;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 44px;
}
.topbar__info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item:hover { color: var(--gold-400); }
.topbar__item--plain { cursor: default; }
.topbar__item svg { color: var(--gold-500); flex-shrink: 0; }
.topbar__social { display: flex; align-items: center; gap: 6px; }
.topbar__social a {
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, .06);
	transition: background var(--t), color var(--t), transform var(--t);
}
.topbar__social a:hover { background: var(--gold-500); color: var(--ink-900); transform: translateY(-2px); }

/* ---------- 6. الهيدر ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(27, 26, 24, .93);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	transition: background var(--t), box-shadow var(--t);
}
/* شريط ووردبريس العلوي (يظهر للمدير فقط) — الهيدر يثبت تحته لا خلفه */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header.is-stuck {
	background: rgba(17, 16, 15, .97);
	box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand__mark { display: grid; place-items: center; flex-shrink: 0; }
.brand__k { display: block; height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -.3px; }
.brand__tag { font-size: 11.5px; color: var(--white-55); font-weight: 500; }
.brand .custom-logo { max-height: 52px; width: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: block;
	padding: 10px 11px;
	color: var(--white-70);
	font-size: 14.5px;
	/* كل عنصر في سطر واحد — «من نحن» و«الأسئلة الشائعة» كانت تنكسر لسطرين */
	white-space: nowrap;
	font-weight: 500;
	border-radius: 10px;
	transition: color var(--t), background var(--t);
}
.nav__list > li > a:hover,
.nav__list > li.is-current > a,
.nav__list > li.current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__list > li > a::after {
	content: "";
	display: block;
	height: 2px;
	width: 0;
	margin-top: 4px;
	background: var(--gold-500);
	border-radius: 2px;
	transition: width var(--t);
}
.nav__list > li > a:hover::after,
.nav__list > li.is-active > a::after { width: 22px; }

.nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	min-width: 220px;
	background: var(--ink-700);
	border: 1px solid var(--line-dark);
	border-radius: 14px;
	padding: 8px;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all var(--t);
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list .sub-menu a {
	display: block;
	padding: 9px 13px;
	border-radius: 9px;
	font-size: 14.5px;
	color: var(--white-70);
}
.nav__list .sub-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav .sub-toggle { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.header-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.header-phone__ic {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(185, 138, 80, .14);
	border: 1px solid rgba(185, 138, 80, .3);
	color: var(--gold-400);
	transition: background var(--t), transform var(--t);
}
.header-phone:hover .header-phone__ic { background: var(--gold-500); color: var(--ink-900); transform: translateY(-2px); }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.35; }
.header-phone__text small { font-size: 11px; color: var(--white-55); }
.header-phone__text bdi { font-size: 15.5px; font-weight: 700; letter-spacing: .3px; }

.burger {
	display: none;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .12);
	padding: 0;
	place-items: center;
	align-content: center;
	justify-content: center;
	gap: 5px;
	flex-direction: column;
}
.burger span {
	display: block;
	width: 20px; height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform var(--t), opacity var(--t);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. قائمة الجوال ---------- */
.mobile-menu {
	position: fixed;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(360px, 88vw);
	background: var(--ink-800);
	border-inline-start: 1px solid var(--line-dark);
	z-index: 120;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform .4s var(--ease);
	overflow-y: auto;
}
.mobile-menu[hidden] { display: flex; }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__title { color: #fff; font-weight: 700; }
.mobile-menu__close {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 11px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
}
.mobile-menu__nav { padding: 12px; flex: 1; }
.mobile-menu__list > li { border-bottom: 1px solid rgba(255, 255, 255, .05); position: relative; }
.mobile-menu__list a {
	display: block;
	padding: 14px 12px;
	color: var(--white-70);
	font-size: 16px;
	font-weight: 500;
}
.mobile-menu__list a:hover,
.mobile-menu__list .is-current > a { color: var(--gold-400); }
.mobile-menu__list .sub-menu { padding-inline-start: 14px; display: none; }
.mobile-menu__list .is-expanded > .sub-menu { display: block; }
.mobile-menu__list .sub-toggle {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-start: 4px;
	width: 34px; height: 34px;
	display: grid; place-items: center;
	color: var(--white-55);
	border-radius: 9px;
	transform: rotate(-90deg);
	transition: transform var(--t);
}
.mobile-menu__list .is-expanded > .sub-toggle { transform: rotate(90deg); }

.mobile-menu__foot { padding: 18px; display: grid; gap: 10px; border-top: 1px solid var(--line-dark); }
.mobile-menu__social { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.mobile-menu__social a {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 11px;
	background: rgba(255, 255, 255, .07);
	color: var(--white-70);
}
.mobile-menu__social a:hover { background: var(--gold-500); color: var(--ink-900); }

.menu-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(14, 13, 12, .62);
	backdrop-filter: blur(3px);
	z-index: 110;
	opacity: 0;
	transition: opacity var(--t);
}
.menu-backdrop[hidden] { display: none; }
.menu-backdrop.is-open { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ---------- 8. الواجهة الرئيسية ---------- */
.hero {
	position: relative;
	background: var(--ink-800);
	color: #fff;
	padding: clamp(56px, 7vw, 96px) 0 clamp(70px, 8vw, 110px);
	overflow: hidden;
	isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .5;
}
.hero__glow--1 {
	width: 520px; height: 520px;
	background: rgba(185, 138, 80, .22);
	inset-inline-end: -140px;
	top: -160px;
}
.hero__glow--2 {
	width: 460px; height: 460px;
	background: rgba(43, 86, 168, .22);
	inset-inline-start: -160px;
	bottom: -200px;
}
/* صورة الغلاف في الواجهة */
.hero__cover { position: absolute; inset: 0; }
.hero__cover picture { display: block; width: 100%; height: 100%; }
.hero__cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* يتحكم فيه المخصص: أي جزء من الصورة يظهر حين تكون الشاشة أضيق منها */
	object-position: var(--hero-focus, 50%) center;
}
.hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to left, rgba(17, 16, 15, var(--hero-veil, .82)) 0%, rgba(17, 16, 15, calc(var(--hero-veil, .82) * .82)) 45%, rgba(17, 16, 15, calc(var(--hero-veil, .82) * .45)) 100%),
		linear-gradient(to top, rgba(17, 16, 15, .92) 0%, transparent 40%);
}
.hero--overlay-light { --hero-veil: .62; }
.hero--overlay-medium { --hero-veil: .82; }
.hero--overlay-strong { --hero-veil: .93; }
.hero--cover .hero__glow { opacity: .28; }
.hero--cover .hero__grid { opacity: .5; }

.hero__grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 62px 62px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}

/* عمود نص واحد — صورة الغلاف تظهر بوضوح في الجهة المقابلة */
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 700px);
	align-content: center;
	min-height: clamp(440px, 58vh, 600px);
}

.hero__title {
	font-size: clamp(32px, 5.4vw, 62px);
	line-height: 1.2;
	margin: 20px 0 0;
	letter-spacing: -1px;
}
/* الشعار يظهر على سطر واحد */
.hero__title-main { display: inline; }
.hero__title-alt {
	display: inline;
	background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__sub {
	margin: 20px 0 0;
	font-size: clamp(15.5px, 1.7vw, 18px);
	color: var(--white-70);
	max-width: 560px;
	line-height: 2;
}

.hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin: 24px 0 0;
}
.hero__points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	color: var(--white-70);
}
.hero__points-ic {
	width: 22px; height: 22px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(185, 138, 80, .16);
	color: var(--gold-400);
	flex-shrink: 0;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__contact { margin-top: 26px; }
.hero__phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px 12px 12px;
	border-radius: 100px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .12);
	transition: background var(--t), transform var(--t);
}
.hero__phone:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.hero__phone svg { color: var(--gold-400); }
.hero__phone span { display: flex; flex-direction: column; line-height: 1.4; }
.hero__phone small { font-size: 11.5px; color: var(--white-55); }
.hero__phone bdi { font-size: 17px; font-weight: 700; letter-spacing: .5px; }

.hero__visual { position: relative; }

/* ---------- 8.b قبل/بعد — قسم مستقل أسفل الواجهة ---------- */
.showcase {
	background: var(--paper-2);
	padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 6.5vw, 88px);
}
.showcase__inner { position: relative; max-width: 960px; margin-inline: auto; }
.showcase__badge { inset-inline-start: 26px; bottom: -28px; }
.hero__art { position: relative; }
.hero__art-main {
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .1);
	background: var(--ink-700);
	box-shadow: var(--shadow-lg);
}
.hero__illus { width: 100%; height: auto; display: block; }

.hero__badge {
	position: absolute;
	inset-inline-start: -10px;
	bottom: -22px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .97);
	color: var(--heading);
	box-shadow: var(--shadow-lg);
	max-width: 92%;
}
.hero__badge-ic {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: var(--gold-soft);
	color: var(--gold-600);
	flex-shrink: 0;
}
.hero__badge-text { display: flex; flex-direction: column; line-height: 1.45; }
.hero__badge-text strong { font-size: 14.5px; }
.hero__badge-text small { font-size: 12px; color: var(--muted); }

.hero__scroll {
	position: absolute;
	bottom: 18px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	width: 24px; height: 42px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 14px;
	display: grid;
	place-items: start center;
	padding-top: 8px;
}
.hero__scroll-line {
	width: 3px; height: 8px;
	border-radius: 3px;
	background: var(--gold-400);
	animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 9. شريط المجالات — قسم مستقل تحت الواجهة ---------- */
.trust {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	padding: clamp(26px, 3.4vw, 44px) 0;
}
.trust__inner {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: stretch;
}
.trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 11px;
	padding: 6px 14px;
	color: var(--text-2);
	font-size: 14.6px;
	font-weight: 600;
	/* فواصل شعرية بين البنود — أسلوب مطبوعات الهوية */
	border-inline-start: 1px solid var(--line);
}
.trust__item:first-child { border-inline-start: 0; }
.trust__ic {
	color: var(--gold-600);
	display: grid;
	place-items: center;
	transition: transform var(--t), color var(--t);
}
.trust__item:hover .trust__ic { color: var(--gold-500); transform: translateY(-3px); }

/* ---------- 10. الخدمات ---------- */
.tabs__nav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 34px;
}
.tabs__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 100px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--text-2);
	font-weight: 600;
	font-size: 15px;
	transition: all var(--t);
}
.tabs__btn:hover { border-color: var(--gold-500); color: var(--heading); transform: translateY(-2px); }
.tabs__btn.is-active {
	background: var(--ink-800);
	border-color: var(--ink-800);
	color: #fff;
	box-shadow: var(--shadow);
}
.tabs__ic { display: grid; place-items: center; color: var(--gold-600); }
.tabs__btn.is-active .tabs__ic { color: var(--gold-400); }
.tabs__count {
	font-size: 12px;
	min-width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 100px;
	background: var(--paper-3);
	color: var(--muted);
	padding-inline: 6px;
}
.tabs__btn.is-active .tabs__count { background: rgba(255, 255, 255, .14); color: #fff; }

.tabs__panel { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
	position: relative;
}
.card::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
	transform: scaleX(0);
	transform-origin: inline-start;
	transition: transform var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(185, 138, 80, .4); }
.card:hover::before { transform: scaleX(1); }
.card__link { display: block; height: 100%; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img { transform: scale(1.06); }
.card__body { padding: 26px 24px 24px; }
.card__icon {
	width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: 15px;
	background: var(--gold-soft);
	color: var(--gold-600);
	margin-bottom: 16px;
	transition: background var(--t), color var(--t), transform var(--t);
}
.card:hover .card__icon { background: var(--ink-800); color: var(--gold-400); transform: rotate(-6deg); }
.card__title { font-size: 19px; color: var(--heading); margin-bottom: 8px; }
.card__text { color: var(--muted); font-size: 14.8px; line-height: 1.9; margin-bottom: 16px; }
.card__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gold-600);
}
.card__more-ic { transition: transform var(--t); }
.card:hover .card__more-ic { transform: translateX(-5px); }
.card--featured { border-color: rgba(185, 138, 80, .45); box-shadow: var(--shadow-sm); }

/* بطاقة المقالة — التاريخ فوق العنوان وعنوان من سطرين */
.section--blog .card__body { padding-top: 20px; }
.section--blog .chip { margin-bottom: 12px; }
.card__title--blog {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card--featured .card__icon { background: var(--ink-800); color: var(--gold-400); }

/* ---------- 11. من نحن ---------- */
.about {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: clamp(30px, 5vw, 66px);
	align-items: center;
}
/* عند عدم رفع صور «من نحن» يأخذ النص العرض كاملًا */
.about--no-media { grid-template-columns: 1fr; }
.about--no-media .about__content { max-width: 820px; }
.about--no-media .about__list { grid-template-columns: repeat(2, 1fr); }

.about__media { position: relative; padding-bottom: 40px; padding-inline-start: 40px; }
/* صورة واحدة فقط — لا حاجة للإزاحة */
.about__media:not(:has(.about__media-sub)) { padding-bottom: 0; padding-inline-start: 0; }
.about__media-main {
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3;
	background: var(--paper-3);
}
.about__media-main img { width: 100%; height: 100%; object-fit: cover; }
.about__media-sub {
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 45%;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 6px solid var(--surface);
	box-shadow: var(--shadow);
	background: var(--paper-3);
}
.about__media-sub img { width: 100%; height: 100%; object-fit: cover; }
.about__chip {
	position: absolute;
	top: 22px;
	inset-inline-start: -14px;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 12px 16px;
	border-radius: 15px;
	background: var(--ink-800);
	color: #fff;
	box-shadow: var(--shadow-lg);
}
.about__chip-ic { color: var(--gold-400); display: grid; place-items: center; }
.about__chip-text { display: flex; flex-direction: column; line-height: 1.4; }
.about__chip-text strong { font-size: 14px; }
.about__chip-text small { font-size: 11.5px; color: var(--white-55); }

.about__text { margin-top: 20px; color: var(--text-2); line-height: 2.05; }
.about__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 20px;
	margin: 26px 0 0;
}
.about__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.about__list-ic {
	width: 24px; height: 24px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--gold-soft);
	color: var(--gold-600);
	flex-shrink: 0;
}
.about__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: clamp(44px, 6vw, 76px);
	padding: clamp(26px, 3vw, 38px);
	border-radius: var(--radius-xl);
	background: var(--ink-800);
	background-image: radial-gradient(circle at 15% 0%, rgba(185, 138, 80, .18), transparent 55%);
	box-shadow: var(--shadow-lg);
}
.stats__item { text-align: center; padding: 8px; position: relative; }
.stats__item + .stats__item::before {
	content: "";
	position: absolute;
	inset-inline-end: -9px;
	top: 15%;
	height: 70%;
	width: 1px;
	background: rgba(255, 255, 255, .1);
}
.stats__ic {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	border-radius: 13px;
	background: rgba(185, 138, 80, .14);
	color: var(--gold-400);
	margin-bottom: 12px;
}
.stats__num {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	direction: ltr;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}
.stats__num i { font-style: normal; color: var(--gold-400); }
.stats__check { display: grid; place-items: center; color: var(--gold-400); }
.stats__label { display: block; margin-top: 6px; color: var(--white-55); font-size: 14px; }

/* ---------- 12. قبل وبعد ---------- */
.section--ba { background: var(--paper); }

.ba { position: relative; }
.ba__frame {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--ink-700);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 16 / 10;
	user-select: none;
	touch-action: pan-y;
}
.ba--hero .ba__frame { aspect-ratio: 4 / 3.2; }
.ba--showcase .ba__frame { aspect-ratio: 16 / 9; }
.ba__slide { position: absolute; inset: 0; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__img--before {
	width: 50%;
	overflow: hidden;
	border-inline-end: 2px solid rgba(255, 255, 255, .85);
}
.ba__img--before img {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: var(--ba-w, 100%);
	max-width: none;
	height: 100%;
}
.ba__tag {
	position: absolute;
	top: 16px;
	padding: 6px 14px;
	border-radius: 100px;
	font-size: 12.5px;
	font-weight: 700;
	backdrop-filter: blur(6px);
	z-index: 3;
}
.ba__tag--before { inset-inline-start: 16px; background: rgba(17, 16, 15, .78); color: #fff; }
.ba__tag--after { inset-inline-end: 16px; background: rgba(185, 138, 80, .92); color: #1a1206; }

.ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 50%;
	width: 46px;
	transform: translateX(50%);
	z-index: 5;
	display: grid;
	place-items: center;
	cursor: ew-resize;
	padding: 0;
}
.ba__handle-line {
	position: absolute;
	top: 0; bottom: 0;
	width: 2px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 0 14px rgba(0, 0, 0, .35);
}
.ba__handle-knob {
	position: relative;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: #fff;
	color: var(--heading);
	display: grid;
	grid-auto-flow: column;
	place-items: center;
	gap: 2px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
	transition: transform var(--t);
}
.ba__handle:hover .ba__handle-knob { transform: scale(1.08); }
.ba__chev--l { transform: rotate(180deg); }

.ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
	z-index: 6;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.ba__range::-moz-range-thumb { width: 46px; height: 100%; border: 0; background: transparent; }

.ba__meta { margin-top: 22px; }
.ba__title { font-size: 21px; color: var(--heading); }
.ba__sub { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 10px 0 12px; }
.ba__loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.ba__loc svg { color: var(--gold-600); }

.ba-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 26px; align-items: start; }
.ba-thumbs { display: grid; gap: 10px; max-height: 520px; overflow-y: auto; padding-inline-end: 4px; }
.ba-thumbs__btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--surface);
	text-align: start;
	transition: all var(--t);
}
.ba-thumbs__btn:hover { border-color: var(--gold-500); transform: translateX(-3px); }
.ba-thumbs__btn.is-active { border-color: var(--gold-500); background: var(--gold-soft); }
.ba-thumbs__img {
	width: 66px; height: 52px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--paper-3);
}
.ba-thumbs__img img { width: 100%; height: 100%; object-fit: cover; }
.ba-thumbs__label { font-size: 14px; font-weight: 600; color: var(--heading); line-height: 1.5; }

/* ---------- 13. لماذا نحن ---------- */
.section--why {
	background: var(--ink-800);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.section--why .sec-title { color: #fff; }
.section--why /* خط نحاسي قصير تحت العنوان — مستوحى من مطبوعات الهوية */
.sec-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin: 18px 0 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
.sec-head--center .sec-title::after { margin-inline: auto; }
.sec-title--start::after { margin-inline-start: 0; }

.sec-sub { color: var(--white-55); }
.why__bg { position: absolute; inset: 0; z-index: -1; }
.why__glow {
	position: absolute;
	width: 620px; height: 620px;
	border-radius: 50%;
	background: rgba(185, 138, 80, .13);
	filter: blur(100px);
	inset-inline-start: -180px;
	top: -180px;
}
.why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 18px;
}
.why__item {
	position: relative;
	padding: 30px 24px 26px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	transition: transform var(--t), background var(--t), border-color var(--t);
	overflow: hidden;
}
.why__item:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, .07);
	border-color: rgba(185, 138, 80, .4);
}
.why__index {
	position: absolute;
	top: 14px;
	inset-inline-start: 18px;
	font-size: 34px;
	font-weight: 700;
	color: rgba(255, 255, 255, .06);
	letter-spacing: -1px;
}
.why__ic {
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 15px;
	background: rgba(185, 138, 80, .14);
	color: var(--gold-400);
	margin-bottom: 16px;
	transition: background var(--t), color var(--t);
}
.why__item:hover .why__ic { background: var(--gold-500); color: var(--ink-900); }
.why__title { font-size: 18px; margin-bottom: 8px; }
.why__num { display: block; font-size: 24px; font-weight: 700; color: var(--gold-400); margin-bottom: 4px; }
.why__text { color: var(--white-55); font-size: 14.6px; line-height: 1.9; }

/* ---------- 14. المشاريع ---------- */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
	margin-bottom: 30px;
}
.filters__btn {
	padding: 9px 20px;
	border-radius: 100px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--text-2);
	font-size: 14.5px;
	font-weight: 600;
	transition: all var(--t);
}
.filters__btn:hover { border-color: var(--gold-500); color: var(--heading); }
.filters__btn.is-active { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }

.projects {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 24px;
}

/* ---------- عرض أفقي لقسم أعمالنا ---------- */
.carousel { position: relative; }

.projects--carousel {
	display: flex;
	grid-template-columns: none;
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-block: 4px 14px;
	/* مساحة جانبية حتى لا تُقص البطاقة الأولى عند التمرير */
	scroll-padding-inline: 4px;
}
.projects--carousel::-webkit-scrollbar { display: none; }
.projects--carousel > .project {
	flex: 0 0 clamp(268px, 30%, 340px);
	scroll-snap-align: start;
}

/* الخدمات بنفس أسلوب العرض الأفقي */
.cards--carousel {
	display: flex;
	grid-template-columns: none;
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-block: 4px 14px;
	scroll-padding-inline: 4px;
}
.cards--carousel::-webkit-scrollbar { display: none; }
.cards--carousel > .card {
	flex: 0 0 clamp(250px, 27%, 310px);
	scroll-snap-align: start;
}
.cards--carousel.is-dragging { scroll-behavior: auto; cursor: grabbing; }
.cards--carousel.is-dragging .card { pointer-events: none; }
.projects--carousel.is-dragging { scroll-behavior: auto; cursor: grabbing; }
.projects--carousel.is-dragging .project { pointer-events: none; }

.carousel__nav {
	position: absolute;
	top: 38%;
	z-index: 3;
	width: 46px; height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--heading);
	box-shadow: var(--shadow);
	transition: all var(--t);
}
.carousel__nav:hover { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.carousel__nav--prev { inset-inline-start: -14px; }
.carousel__nav--next { inset-inline-end: -14px; }

.carousel__hint {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--muted);
}
.carousel__hint svg { color: var(--gold-600); }
.project {
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	transition: transform var(--t), box-shadow var(--t);
}
.project.is-hidden { display: none; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--paper-3);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.project:hover .project__media img { transform: scale(1.07); }
.project__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(17, 16, 15, .55), transparent 55%);
	opacity: 0;
	transition: opacity var(--t);
}
.project:hover .project__media::after { opacity: 1; }
.project__cat {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	z-index: 2;
	background: rgba(255, 255, 255, .94);
	color: var(--heading);
	padding: 5px 13px;
	border-radius: 100px;
	font-size: 12.5px;
	font-weight: 700;
}
.project__zoom {
	position: absolute;
	bottom: 14px;
	inset-inline-end: 14px;
	z-index: 2;
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--gold-500);
	color: var(--ink-900);
	opacity: 0;
	transform: scale(.7);
	transition: all var(--t);
}
.project:hover .project__zoom { opacity: 1; transform: scale(1); }
.project__body { padding: 22px; }
.project__title { font-size: 18px; color: var(--heading); margin-bottom: 7px; }
.project__text { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.project__loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--gold-600); font-weight: 600; }

/* ---------- 15. كشف التسربات ---------- */
.section--leaks {
	background: var(--ink-900);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.leaks__bg { position: absolute; inset: 0; z-index: -1; }
.leaks__glow {
	position: absolute;
	width: 560px; height: 560px;
	border-radius: 50%;
	background: rgba(43, 96, 190, .18);
	filter: blur(110px);
	inset-inline-end: -140px;
	bottom: -180px;
}
.leaks__wave {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 20% 80%, rgba(185, 138, 80, .1), transparent 45%);
}
.leaks {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(30px, 5vw, 64px);
	align-items: center;
}
.leaks__text { color: var(--white-70); margin-top: 18px; line-height: 2.05; font-size: 16px; }
.leaks__list { display: grid; gap: 14px; margin: 26px 0 0; }
.leaks__list li { display: flex; align-items: flex-start; gap: 14px; }
.leaks__ic {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 13px;
	background: rgba(185, 138, 80, .13);
	color: var(--gold-400);
	flex-shrink: 0;
	border: 1px solid rgba(185, 138, 80, .2);
}
.leaks__item-text { display: flex; flex-direction: column; line-height: 1.6; }
.leaks__item-text strong { font-size: 15.5px; }
.leaks__item-text small { font-size: 13.5px; color: var(--white-55); }
.leaks__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.leaks__media { position: relative; }
.leaks__frame {
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .1);
	background: var(--ink-800);
	box-shadow: var(--shadow-lg);
}
.leaks__frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.leaks__illus { width: 100%; display: block; }
.leaks__call {
	position: absolute;
	bottom: -20px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 13px 22px;
	border-radius: 100px;
	background: #fff;
	color: var(--heading);
	box-shadow: var(--shadow-lg);
	white-space: nowrap;
}
.leaks__call:hover { transform: translateX(50%) translateY(-3px); }
.leaks__call-ic { color: var(--gold-600); display: grid; place-items: center; }
.leaks__call-text { display: flex; flex-direction: column; line-height: 1.4; }
.leaks__call-text small { font-size: 11.5px; color: var(--muted); }
.leaks__call-text bdi { font-weight: 700; font-size: 16px; }

/* ---------- 16. مراحل العمل ---------- */
.timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
	position: relative;
	counter-reset: step;
}
.timeline::before {
	content: "";
	position: absolute;
	top: 26px;
	inset-inline: 40px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
	z-index: 0;
	display: none;
}
@media (min-width: 1120px) {
	.timeline::before { display: block; }
}
.timeline__item { position: relative; text-align: center; padding-top: 4px; z-index: 1; }
.timeline__dot {
	width: 54px; height: 54px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	margin: 0 auto 16px;
	background: var(--surface);
	border: 2px solid var(--line);
	color: var(--gold-600);
	transition: all var(--t);
}
.timeline__item:hover .timeline__dot {
	background: var(--ink-800);
	border-color: var(--ink-800);
	color: var(--gold-400);
	transform: translateY(-4px);
}
.timeline__step {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--gold-600);
	background: var(--gold-soft);
	padding: 3px 12px;
	border-radius: 100px;
	margin-bottom: 8px;
}
.timeline__title { font-size: 16.5px; color: var(--heading); margin-bottom: 6px; }
.timeline__text { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 0; }

/* ---------- 17. الأسئلة الشائعة ---------- */
.faq {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(28px, 4vw, 58px);
	align-items: start;
}
.faq__sub { color: var(--muted); margin-top: 16px; }
.faq__help {
	display: flex;
	gap: 14px;
	padding: 22px;
	border-radius: var(--radius-lg);
	background: var(--ink-800);
	color: #fff;
	margin-top: 26px;
}
.faq__help-ic {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 13px;
	background: rgba(185, 138, 80, .15);
	color: var(--gold-400);
	flex-shrink: 0;
}
.faq__help strong { display: block; margin-bottom: 4px; }
.faq__help p { color: var(--white-55); font-size: 14px; margin-bottom: 8px; }
.faq__help .link-more { color: var(--gold-400); }

.acc__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color var(--t), box-shadow var(--t);
}
.acc__item.is-open { border-color: rgba(185, 138, 80, .45); box-shadow: var(--shadow-sm); }
.acc__head { margin: 0; font-size: inherit; font-weight: inherit; }
.acc__btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 19px 22px;
	text-align: start;
	font-size: 16.5px;
	font-weight: 600;
	color: var(--heading);
	transition: color var(--t);
}
.acc__btn:hover { color: var(--gold-600); }
.acc__ic {
	width: 34px; height: 34px;
	display: grid; place-items: center;
	border-radius: 10px;
	background: var(--paper-2);
	color: var(--gold-600);
	flex-shrink: 0;
	transition: transform var(--t), background var(--t), color var(--t);
}
.acc__item.is-open .acc__ic { transform: rotate(45deg); background: var(--gold-500); color: #fff; }
.acc__panel { overflow: hidden; }
.acc__body {
	padding: 0 22px 22px;
	color: var(--text-2);
	font-size: 15.2px;
	line-height: 2;
}
.acc__body p:last-child { margin-bottom: 0; }

/* ---------- 18. التواصل ---------- */
.contact {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(26px, 3.5vw, 46px);
	align-items: start;
}
.contact__info {
	background: var(--ink-800);
	background-image: radial-gradient(circle at 100% 0%, rgba(185, 138, 80, .18), transparent 55%);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: clamp(26px, 3vw, 38px);
	box-shadow: var(--shadow-lg);
}
.contact__name { font-size: 20px; margin-bottom: 22px; line-height: 1.6; }
.contact__list { display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 13px;
	background: rgba(255, 255, 255, .07);
	color: var(--gold-400);
	flex-shrink: 0;
}
.contact__data { display: flex; flex-direction: column; line-height: 1.6; }
.contact__data small { font-size: 12px; color: var(--white-55); }
.contact__data a, .contact__data > span:not(small) { font-size: 15.5px; font-weight: 600; }
.contact__data a:hover { color: var(--gold-400); }

.contact__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.contact__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 14px 8px;
	border-radius: 15px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	font-size: 13.5px;
	font-weight: 600;
	transition: all var(--t);
}
.contact__action:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.contact__action svg { color: var(--gold-400); }
.contact__action--wa:hover { background: #1f8f5f; border-color: #1f8f5f; }
.contact__action--wa:hover svg { color: #fff; }

.contact__social { display: flex; align-items: center; gap: 9px; margin-top: 24px; font-size: 13.5px; color: var(--white-55); }
.contact__social a {
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	transition: all var(--t);
}
.contact__social a:hover { background: var(--gold-500); color: var(--ink-900); }

.contact__form-wrap {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	padding: clamp(24px, 3vw, 36px);
	box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { margin-bottom: 16px; }
.form__field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-2);
	margin-bottom: 7px;
}
.form__field label span { color: var(--gold-600); }
.form__opt { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.form__field input,
.form__field select,
.form__field textarea {
	width: 100%;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--paper-2);
	font-size: 15px;
	transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.form__field textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
.form__field select { appearance: none; background-image: none; cursor: pointer; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
	outline: none;
	border-color: var(--gold-500);
	background: var(--surface);
	box-shadow: 0 0 0 4px rgba(185, 138, 80, .13);
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #9AA3B2; }
.form__hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__hint {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--muted);
}
.form__hint svg { color: var(--gold-600); flex-shrink: 0; }

.form-note {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 13px;
	margin-bottom: 20px;
	font-size: 14.5px;
	font-weight: 600;
}
.form-note--ok { background: #E8F6EE; color: #146C43; border: 1px solid #B9E3CB; }
.form-note--err { background: #FDECEC; color: #A3262B; border: 1px solid #F5C2C4; }
.form-note svg { flex-shrink: 0; }

/* ---------- 19. شريط الدعوة ---------- */
.cta { background: var(--paper-2); padding: clamp(40px, 5vw, 60px) 0; }
.cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
	padding: clamp(28px, 3.4vw, 44px);
	border-radius: var(--radius-xl);
	background: var(--ink-800);
	background-image: radial-gradient(circle at 85% 15%, rgba(185, 138, 80, .2), transparent 55%);
	color: #fff;
	box-shadow: var(--shadow-lg);
}
.cta__title { font-size: clamp(21px, 2.6vw, 30px); margin-bottom: 8px; }
.cta__sub { color: var(--white-55); margin: 0; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .13); }

/* ---------- 20. الفوتر ---------- */
.site-footer {
	background: var(--ink-900);
	color: var(--white-55);
	padding: clamp(48px, 6vw, 76px) 0 0;
	position: relative;
}
.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(185, 138, 80, .5), transparent);
	z-index: 2;
}

/* صورة خلفية الفوتر */
.site-footer--cover { isolation: isolate; }
.site-footer--cover > .container { position: relative; z-index: 1; }
.site-footer__bg { position: absolute; inset: 0; z-index: 0; overflow: visible; clip-path: inset(0); }
/* بمقاس الشاشة وتثبت أثناء التمرير — مثل خلفيات الأقسام الطويلة */
.site-footer__bg-img {
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	object-fit: cover;
	object-position: center;
}
.site-footer__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom,
			rgba(17, 16, 15, var(--footer-veil, .92)) 0%,
			rgba(17, 16, 15, calc(var(--footer-veil, .92) * .96)) 55%,
			rgba(17, 16, 15, min(.97, calc(var(--footer-veil, .92) + .1))) 100%);
}
.site-footer--overlay-medium { --footer-veil: .84; }
.site-footer--overlay-strong { --footer-veil: .92; }
.site-footer--overlay-max { --footer-veil: .96; }
.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.3fr;
	gap: clamp(26px, 3vw, 44px);
	padding-bottom: 44px;
}
.brand--footer { margin-bottom: 18px; }
.footer__about { font-size: 14.5px; line-height: 2; margin-bottom: 20px; }
.footer__social { display: flex; gap: 9px; }
.footer__social a {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .08);
	color: #fff;
	transition: all var(--t);
}
.footer__social a:hover { background: var(--gold-500); color: var(--ink-900); transform: translateY(-3px); }

.footer__title {
	font-size: 16px;
	color: #fff;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}
.footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 30px; height: 2px;
	background: var(--gold-500);
	border-radius: 2px;
}
.footer__list { display: grid; gap: 11px; }
.footer__list a { font-size: 14.5px; display: inline-block; transition: transform var(--t), color var(--t); }
.footer__list a:hover { color: var(--gold-400); transform: translateX(-4px); }

.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.7; }
.footer__ic {
	width: 34px; height: 34px;
	display: grid; place-items: center;
	border-radius: 10px;
	background: rgba(185, 138, 80, .12);
	color: var(--gold-400);
	flex-shrink: 0;
}
.footer__contact a:hover { color: var(--gold-400); }

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 22px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 13.5px;
}
.footer__cr, .footer__note { margin: 0; }

.footer__dev {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	flex-wrap: wrap;
}
.footer__dev-label { color: rgba(255, 255, 255, .4); font-size: 13px; }
.footer__dev-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 100px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	color: var(--white-70);
	font-size: 13.4px;
	font-weight: 600;
	transition: all var(--t);
}
a.footer__dev-link:hover {
	background: #1f8f5f;
	border-color: #1f8f5f;
	color: #fff;
	transform: translateY(-2px);
}
.footer__dev-ic { color: var(--gold-400); flex-shrink: 0; transition: color var(--t); }
a.footer__dev-link:hover .footer__dev-ic { color: #fff; }
.footer__dev-phone {
	font-size: 13px;
	letter-spacing: .3px;
	padding-inline-start: 8px;
	border-inline-start: 1px solid rgba(255, 255, 255, .16);
	color: var(--gold-400);
	transition: color var(--t);
}
a.footer__dev-link:hover .footer__dev-phone { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ---------- 21. عناصر عائمة ---------- */
.quickbar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 95;
	display: none;
	background: rgba(17, 17, 16, .97);
	backdrop-filter: blur(12px);
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	gap: 8px;
}
.quickbar__btn {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 8px 4px;
	border-radius: 13px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	background: rgba(255, 255, 255, .07);
}
.quickbar__btn svg { color: var(--gold-400); }
.quickbar__btn--wa { background: #1f8f5f; }
.quickbar__btn--wa svg { color: #fff; }
.quickbar__btn--main { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #16110A; }
.quickbar__btn--main svg { color: #16110A; }

.to-top {
	position: fixed;
	inset-inline-end: 22px;
	bottom: calc(22px + env(safe-area-inset-bottom));
	z-index: 90;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--ink-800);
	/* حد خفيف ليظل الزر واضحًا فوق الفوتر الداكن */
	border: 1px solid rgba(255, 255, 255, .16);
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity var(--t), transform var(--t), background var(--t);
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--ink-900); }
.to-top__ic { transform: rotate(90deg); }

/* ---------- 22. الصفحات الداخلية ---------- */
.page-hero {
	position: relative;
	background: var(--ink-800);
	color: #fff;
	padding: clamp(44px, 6vw, 78px) 0;
	overflow: hidden;
	isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__glow {
	position: absolute;
	width: 480px; height: 480px;
	border-radius: 50%;
	background: rgba(185, 138, 80, .16);
	filter: blur(100px);
	inset-inline-end: -120px;
	top: -200px;
}
.page-hero__grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent 75%);
}
.page-hero__title { font-size: clamp(26px, 4vw, 44px); margin: 14px 0 0; }
.page-hero__sub { color: var(--white-55); margin: 14px 0 0; max-width: 680px; }

.crumbs { font-size: 13.5px; color: var(--white-55); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current] { color: var(--gold-400); }

.entry { font-size: 16.2px; line-height: 2.05; color: var(--text-2); }
.entry h2 { font-size: clamp(21px, 2.4vw, 27px); color: var(--heading); margin: 1.6em 0 .6em; }
.entry h3 { font-size: clamp(18px, 2vw, 21px); color: var(--heading); margin: 1.4em 0 .5em; }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .5em; }
.entry a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--radius); }
.entry blockquote {
	margin: 1.5em 0;
	padding: 18px 22px;
	border-inline-start: 3px solid var(--gold-500);
	background: var(--paper-2);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.entry__media { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow); }
.entry__media img { width: 100%; }

.service-single,
.project-single {
	display: grid;
	grid-template-columns: 1fr 330px;
	gap: clamp(26px, 3.4vw, 46px);
	align-items: start;
}
.service-single__media { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.service-single__img { width: 100%; }

.service-points {
	margin-top: 34px;
	padding: 28px;
	border-radius: var(--radius-lg);
	background: var(--paper-2);
	border: 1px solid var(--line);
}
.service-points__title { font-size: 19px; color: var(--heading); margin-bottom: 18px; }
.service-points__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.service-points__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.service-points__ic {
	width: 24px; height: 24px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--gold-soft);
	color: var(--gold-600);
	flex-shrink: 0;
}

.side-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px;
	margin-bottom: 20px;
	position: sticky;
	top: calc(var(--header-h) + 20px);
}
.side-card + .side-card { position: static; }
.side-card--cta {
	background: var(--ink-800);
	background-image: radial-gradient(circle at 100% 0%, rgba(185, 138, 80, .2), transparent 60%);
	border-color: transparent;
	color: #fff;
	text-align: center;
}
.side-card__ic {
	width: 60px; height: 60px;
	display: grid; place-items: center;
	margin: 0 auto 16px;
	border-radius: 17px;
	background: rgba(185, 138, 80, .15);
	color: var(--gold-400);
}
.side-card__title { font-size: 18px; margin-bottom: 12px; }
.side-card--cta .side-card__title { color: #fff; }
.side-card__text { font-size: 14.5px; color: var(--white-55); margin-bottom: 18px; }
.side-card .btn { margin-bottom: 10px; }
.side-card__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 14px;
	font-weight: 700;
	font-size: 16px;
	color: var(--gold-400);
}
.side-card:not(.side-card--cta) .side-card__title { color: var(--heading); }
.side-card:not(.side-card--cta) .side-card__phone { color: var(--gold-600); }

.spec { display: grid; gap: 14px; margin-bottom: 20px; }
.spec li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.spec li:last-child { border-bottom: 0; }
.spec__k { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.spec__k svg { color: var(--gold-600); }
.spec__v { font-size: 15px; font-weight: 600; color: var(--heading); }

.side-list { display: grid; gap: 4px; }
.side-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: 11px;
	font-size: 14.7px;
	color: var(--text-2);
	transition: background var(--t), color var(--t);
}
.side-list a svg { color: var(--gold-600); flex-shrink: 0; }
.side-list a:hover { background: var(--paper-2); color: var(--heading); }

.gallery { margin-top: 36px; }
.gallery__title { font-size: 20px; color: var(--heading); margin-bottom: 18px; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery__item {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--paper-3);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }

.related { margin-top: clamp(44px, 5vw, 70px); }
.related__title { font-size: 22px; color: var(--heading); margin-bottom: 22px; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__date { font-size: 12.5px; color: var(--gold-600); font-weight: 600; }
.post-card__title { font-size: 18.5px; color: var(--heading); margin: 8px 0; }
.post-card__text { color: var(--muted); font-size: 14.5px; margin: 0; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.post-nav__link {
	padding: 18px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	transition: border-color var(--t);
}
.post-nav__link:hover { border-color: var(--gold-500); }
.post-nav__link small { display: block; font-size: 12.5px; color: var(--gold-600); font-weight: 600; margin-bottom: 5px; }
.post-nav__link span { font-weight: 600; color: var(--heading); }
.post-nav__link--next { text-align: end; }

.pagination { margin-top: 40px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding-inline: 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--surface);
	font-weight: 600;
	transition: all var(--t);
}
.pagination .page-numbers:hover { border-color: var(--gold-500); }
.pagination .page-numbers.current { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }

.e404 { text-align: center; max-width: 560px; margin-inline: auto; }
.e404__code {
	display: block;
	font-size: clamp(76px, 14vw, 140px);
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.e404__title { font-size: clamp(22px, 3vw, 30px); color: var(--heading); margin: 12px 0; }
.e404__text { color: var(--muted); }
.e404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* العنصر النائب للصور */
.ph {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 190px;
	display: grid;
	place-items: center;
	gap: 8px;
	align-content: center;
	background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
	color: var(--gold-400);
	overflow: hidden;
}
.ph__grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 30px 30px;
}
.ph__icon { position: relative; opacity: .85; }
.ph__label {
	position: relative;
	font-size: 12.5px;
	color: var(--white-55);
	padding-inline: 14px;
	text-align: center;
}

/* الودجات */
.widget { margin-bottom: 26px; }
.widget__title { font-size: 17px; color: var(--heading); margin-bottom: 12px; }

/* ---------- 22.b زر الوضع الليلي ---------- */
.theme-toggle {
	position: relative;
	width: 42px; height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	flex-shrink: 0;
	transition: background var(--t), transform var(--t), color var(--t);
}
.theme-toggle:hover { background: rgba(185, 138, 80, .22); color: var(--gold-300); transform: translateY(-2px); }
.theme-toggle__ic {
	position: absolute;
	display: grid;
	place-items: center;
	transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.theme-toggle__ic--sun { opacity: 0; transform: rotate(-70deg) scale(.6); }
.theme-toggle__ic--moon { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__ic--sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__ic--moon { opacity: 0; transform: rotate(70deg) scale(.6); }
.theme-toggle--menu { width: 40px; height: 40px; margin-inline-start: auto; margin-inline-end: 8px; }

/* ---------- 25. اكتشف احتياج مبناك ---------- */
.section--explorer { background: var(--paper); }

.explorer {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(22px, 3vw, 40px);
	align-items: stretch;
}
.explorer__frame {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--paper-2);
	box-shadow: var(--shadow-sm);
	--ex-sky-1: #EDF2F9;
	--ex-sky-2: #DCE6F2;
	--ex-ground: #E2DACA;
	--ex-ground-2: #C9C0AE;
	--ex-face-r1: #FBF8F2;
	--ex-face-r2: #EFE8DA;
	--ex-face-l1: #DFD6C6;
	--ex-face-l2: #CDC2AE;
	--ex-top-1: #F7F2E8;
	--ex-top-2: #E6DDCB;
	--ex-roof: #B98A50;
	--ex-line: #AFA491;
	--ex-win: #33475F;
	--ex-win-2: #46617F;
	--ex-door: #8A6A3C;
	--ex-tank: #E4DCCE;
	--ex-tank-l: #D2C8B6;
	--ex-tank-t: #F3EDE2;
	--ex-pool: #A7D0EA;
	--ex-pool-2: #74AFD6;
	--ex-pool-edge: #E9E2D4;
	--ex-wave: #FFFFFF;
	--ex-plant: #6FA36C;
	--ex-shadow: #8B806C;
}
:root[data-theme="dark"] .explorer__frame {
	--ex-sky-1: #141E30;
	--ex-sky-2: #0D1523;
	--ex-ground: #1B2537;
	--ex-ground-2: #131C2B;
	--ex-face-r1: #263449;
	--ex-face-r2: #1E2B3E;
	--ex-face-l1: #17222F;
	--ex-face-l2: #121B27;
	--ex-top-1: #2C3B52;
	--ex-top-2: #223046;
	--ex-roof: #9A6F3C;
	--ex-line: #3A4A64;
	--ex-win: #1B1A18;
	--ex-win-2: #101B2C;
	--ex-door: #6B5128;
	--ex-tank: #26334A;
	--ex-tank-l: #1B2637;
	--ex-tank-t: #32425C;
	--ex-pool: #1F4A64;
	--ex-pool-2: #15364B;
	--ex-pool-edge: #22304A;
	--ex-wave: #5E93B3;
	--ex-plant: #3E6B4F;
	--ex-shadow: #000000;
}
.explorer__art { width: 100%; display: block; }

/* صورة مبنى مرفوعة بدل الرسم المدمج — تُعرض كلوحة داكنة مقصودة */
.explorer__frame--photo {
	/* لون السطح نفسه: الصور الشفافة (PNG / WebP) تندمج مع القسم في الوضعين */
	background: var(--surface);
	border-color: rgba(185, 138, 80, .28);
	box-shadow: var(--shadow);
}
.explorer__photo {
	width: 100%;
	aspect-ratio: 600 / 520;
	object-fit: cover;
	object-position: center;
	display: block;
}

.explorer__dot {
	position: absolute;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px 7px 7px;
	border-radius: 100px;
	background: rgba(255, 255, 255, .95);
	border: 1px solid rgba(185, 138, 80, .5);
	color: var(--heading);
	box-shadow: 0 6px 18px rgba(31, 29, 26, .18);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: all var(--t);
	z-index: 2;
}
:root[data-theme="dark"] .explorer__dot { background: rgba(18, 27, 43, .95); color: var(--heading); }
.explorer__dot:hover { transform: translate(-50%, -50%) scale(1.05); }
.explorer__dot.is-active {
	background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
	border-color: transparent;
	color: #1A1206;
	box-shadow: var(--shadow-gold);
}
.explorer__dot-ic { display: grid; place-items: center; }
.explorer__dot-pulse {
	position: absolute;
	inset-inline-end: 10px;
	top: 50%;
	width: 10px; height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: var(--gold-500);
	opacity: 0;
}
.explorer__dot:not(.is-active) .explorer__dot-pulse { opacity: 1; animation: exPulse 2.4s var(--ease) infinite; }
@keyframes exPulse {
	0% { box-shadow: 0 0 0 0 rgba(185, 138, 80, .55); }
	70% { box-shadow: 0 0 0 12px rgba(185, 138, 80, 0); }
	100% { box-shadow: 0 0 0 0 rgba(185, 138, 80, 0); }
}
.explorer__dot:not(.is-active) .explorer__dot-ic,
.explorer__dot:not(.is-active) .explorer__dot-label { position: relative; z-index: 1; }

.explorer__hint {
	position: absolute;
	inset-inline-end: 14px;
	top: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 100px;
	background: rgba(27, 26, 24, .8);
	color: #fff;
	font-size: 12.5px;
	backdrop-filter: blur(6px);
}

.explorer__panel { display: flex; flex-direction: column; gap: 14px; }

/* قائمة أجزاء المبنى — تُستخدم مع الصور التي بها أيقونات مرسومة */
.explorer__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.explorer__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border-radius: 100px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--text-2);
	font-size: 14.2px;
	font-weight: 600;
	transition: all var(--t);
}
.explorer__chip:hover { border-color: var(--gold-500); color: var(--heading); transform: translateY(-2px); }
.explorer__chip-ic { display: grid; place-items: center; color: var(--gold-600); }
.explorer__chip.is-active {
	background: var(--ink-800);
	border-color: var(--ink-800);
	color: #fff;
	box-shadow: var(--shadow);
}
.explorer__chip.is-active .explorer__chip-ic { color: var(--gold-400); }
.explorer__card {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	padding: clamp(22px, 2.6vw, 32px);
	box-shadow: var(--shadow-sm);
	animation: fadeUp .4s var(--ease);
	display: flex;
	flex-direction: column;
}
.explorer__card-ic {
	width: 58px; height: 58px;
	display: grid; place-items: center;
	border-radius: 16px;
	background: var(--gold-soft);
	color: var(--gold-600);
	margin-bottom: 16px;
}
.explorer__card-title { font-size: 21px; color: var(--heading); margin-bottom: 10px; }
.explorer__card-text { color: var(--muted); font-size: 15px; line-height: 1.95; }
.explorer__facts { display: grid; gap: 12px; margin: 6px 0 20px; }
.explorer__facts li {
	padding: 14px 16px;
	border-radius: var(--radius);
	background: var(--paper-2);
	border: 1px solid var(--line);
}
.explorer__facts-k {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gold-600);
	margin-bottom: 5px;
}
.explorer__facts-v { display: block; font-size: 15px; color: var(--text-2); line-height: 1.8; }
.explorer__card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* ---------- 26. ماذا يحدث إذا تأخرت؟ ---------- */
.section--risk {
	background: var(--ink-800);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.section--risk .sec-title { color: #fff; }
.section--risk /* خط نحاسي قصير تحت العنوان — مستوحى من مطبوعات الهوية */
.sec-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin: 18px 0 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
.sec-head--center .sec-title::after { margin-inline: auto; }
.sec-title--start::after { margin-inline-start: 0; }

.sec-sub { color: var(--white-55); }
.risk__bg { position: absolute; inset: 0; z-index: -1; }
.risk__glow {
	position: absolute;
	width: 560px; height: 560px;
	border-radius: 50%;
	background: rgba(194, 84, 60, .16);
	filter: blur(110px);
	inset-inline-end: -120px;
	top: -140px;
	transition: background .6s var(--ease);
}
.risk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 46px); align-items: start; }
.risk[data-level="mid"] ~ .risk__bg .risk__glow { background: rgba(214, 122, 44, .2); }

.risk__range-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.risk__range {
	width: 100%;
	margin: 0 0 22px;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
}
.risk__range::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 6px;
	background: var(--range-track, rgba(255, 255, 255, .12));
}
.risk__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--range-track, rgba(255, 255, 255, .12)); }
.risk__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px; height: 22px;
	margin-top: -8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
	border: 3px solid var(--range-edge, #1B1A18);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
.risk__range::-moz-range-thumb {
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--gold-500);
	border: 3px solid var(--range-edge, #1B1A18);
}

.risk__steps { display: grid; gap: 10px; }
.risk__step {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 12px 14px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	text-align: start;
	transition: all var(--t);
}
.risk__step:hover { background: rgba(255, 255, 255, .08); }
.risk__step-dot {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, .07);
	color: var(--white-55);
	flex-shrink: 0;
	transition: all var(--t);
}
.risk__step-label { font-size: 15px; font-weight: 600; color: var(--white-70); }
.risk__step.is-passed .risk__step-dot { background: rgba(185, 138, 80, .2); color: var(--gold-400); }
.risk__step.is-active {
	background: rgba(185, 138, 80, .14);
	border-color: rgba(185, 138, 80, .45);
}
.risk__step.is-active .risk__step-dot { background: var(--gold-500); color: #1A1206; }
.risk__step.is-active .risk__step-label { color: #fff; }

.risk__meter {
	height: 8px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .1);
	overflow: hidden;
	margin-top: 20px;
}
.risk__meter-fill {
	display: block;
	height: 100%;
	border-radius: 8px;
	background: linear-gradient(90deg, #3FA96B, #D9A441 55%, #C2543C);
	transition: width .45s var(--ease);
}
.risk__meter-legend {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 12px;
	color: var(--white-55);
}

.risk__card {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--radius-xl);
	padding: clamp(22px, 2.6vw, 30px);
	animation: fadeUp .4s var(--ease);
}
.risk__card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.risk__card-num {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: rgba(185, 138, 80, .16);
	color: var(--gold-400);
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
}
.risk__card-title { font-size: 20px; }
.risk__card-tag {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 100px;
	background: rgba(194, 84, 60, .2);
	color: #F0A48C;
}
.risk__card-text { color: var(--white-70); font-size: 15px; line-height: 1.95; }
.risk__card-grid { display: grid; gap: 12px; }
.risk__mini {
	padding: 14px 16px;
	border-radius: var(--radius);
	background: rgba(0, 0, 0, .22);
	border: 1px solid rgba(255, 255, 255, .07);
}
.risk__mini-k {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gold-400);
	margin-bottom: 5px;
}
.risk__mini-v { color: var(--white-70); font-size: 14.6px; line-height: 1.8; }
.risk__cta {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.risk__cta p { margin: 0; color: var(--white-55); font-size: 14.5px; }

/* ---------- بطاقة توجيه إلى صفحة أخرى ---------- */
.jump-card {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: clamp(26px, 3vw, 38px);
	padding: 20px clamp(20px, 2.4vw, 28px);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
	transition: all var(--t);
}
.jump-card:hover {
	background: rgba(185, 138, 80, .14);
	border-color: rgba(185, 138, 80, .45);
	transform: translateY(-3px);
}
.jump-card__ic {
	width: 56px; height: 56px;
	display: grid; place-items: center;
	border-radius: 16px;
	background: rgba(185, 138, 80, .16);
	color: var(--gold-400);
	flex-shrink: 0;
	transition: all var(--t);
}
.jump-card:hover .jump-card__ic { background: var(--gold-500); color: #1A1206; }
.jump-card__text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 200px; }
.jump-card__text strong { font-size: 18px; }
.jump-card__text small { font-size: 14.2px; color: var(--white-55); line-height: 1.8; }
.jump-card__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 100px;
	background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
	color: #1A1206;
	font-size: 14.4px;
	font-weight: 700;
	flex-shrink: 0;
	transition: transform var(--t);
}
.jump-card__go svg { transition: transform var(--t); }
.jump-card:hover .jump-card__go svg { transform: translateX(-4px); }

/* نسخة فاتحة للأقسام ذات الخلفية الفاتحة */
.jump-card--light {
	background: var(--surface);
	border-color: var(--line);
	color: var(--heading);
	box-shadow: var(--shadow-sm);
}
.jump-card--light:hover { background: var(--surface); border-color: var(--gold-500); }
.jump-card--light .jump-card__ic { background: var(--gold-soft); color: var(--gold-600); }
.jump-card--light .jump-card__text small { color: var(--muted); }

/* ---------- 27. تشخيص المشكلة ---------- */
.section--diagnose { background: var(--paper-2); }
.diag { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(22px, 3vw, 40px); align-items: start; }
.diag__options { display: grid; gap: 9px; }
.diag__opt {
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	text-align: start;
	transition: all var(--t);
}
.diag__opt:hover { border-color: var(--gold-500); transform: translateX(-3px); }
.diag__opt-ic {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: var(--gold-soft);
	color: var(--gold-600);
	flex-shrink: 0;
	transition: all var(--t);
}
.diag__opt-text { flex: 1; font-size: 15.2px; font-weight: 600; color: var(--heading); }
.diag__opt-arrow { color: var(--muted); transition: transform var(--t); }
.diag__opt.is-active {
	background: var(--ink-800);
	border-color: var(--ink-800);
	box-shadow: var(--shadow);
}
.diag__opt.is-active .diag__opt-text { color: #fff; }
.diag__opt.is-active .diag__opt-ic { background: var(--gold-500); color: #1A1206; }
.diag__opt.is-active .diag__opt-arrow { color: var(--gold-400); transform: translateX(-4px); }

.diag__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	padding: clamp(24px, 3vw, 34px);
	box-shadow: var(--shadow-sm);
	animation: fadeUp .4s var(--ease);
}
.diag__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 13px;
	border-radius: 100px;
	background: var(--gold-soft);
	color: var(--gold-600);
	font-size: 12.5px;
	font-weight: 700;
	margin-bottom: 14px;
}
.diag__card-title { font-size: 22px; color: var(--heading); margin-bottom: 10px; }
.diag__card-text { color: var(--muted); line-height: 1.95; }
.diag__rows { display: grid; gap: 12px; margin: 18px 0; }
.diag__row {
	display: flex;
	gap: 13px;
	padding: 15px 16px;
	border-radius: var(--radius);
	background: var(--paper-2);
	border: 1px solid var(--line);
}
.diag__row-ic {
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border-radius: 11px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--gold-600);
	flex-shrink: 0;
}
.diag__row-text { font-size: 15px; color: var(--text-2); line-height: 1.8; }
.diag__row-text strong { display: block; color: var(--heading); font-size: 13.5px; margin-bottom: 3px; }
.diag__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.2px;
	color: var(--muted);
	background: var(--paper-2);
	border-radius: var(--radius-sm);
	padding: 11px 14px;
	margin-bottom: 18px;
}
.diag__note svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-600); }
.diag__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 28. أنواع العزل ---------- */
.section--insulation { background: var(--paper); }
.ins__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 18px;
}
.ins__card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px;
	transition: all var(--t);
}
.ins__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(185, 138, 80, .4); }
.ins__card.is-picked { border-color: var(--gold-500); box-shadow: var(--shadow-gold); }
.ins__card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ins__ic {
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: var(--gold-soft);
	color: var(--gold-600);
	flex-shrink: 0;
}
.ins__title { font-size: 18px; color: var(--heading); }
.ins__tag {
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 100px;
	background: var(--ink-800);
	color: var(--gold-400);
}
.ins__text { color: var(--muted); font-size: 14.6px; line-height: 1.9; }
.ins__specs { display: grid; gap: 10px; margin: 4px 0 18px; }
.ins__specs div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--paper-2); }
.ins__specs dt {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--gold-600);
	margin-bottom: 4px;
}
.ins__specs dd { margin: 0; font-size: 14.4px; color: var(--text-2); line-height: 1.75; }
.ins__pick {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 100px;
	border: 1px solid var(--line);
	background: var(--paper-2);
	color: var(--heading);
	font-size: 14px;
	font-weight: 600;
	transition: all var(--t);
}
.ins__pick:hover { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }
.ins__card.is-picked .ins__pick {
	background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
	border-color: transparent;
	color: #1A1206;
}
.ins__summary {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 22px;
	padding: 20px 24px;
	border-radius: var(--radius-lg);
	background: var(--ink-800);
	background-image: radial-gradient(circle at 90% 10%, rgba(185, 138, 80, .22), transparent 60%);
	color: #fff;
	box-shadow: var(--shadow);
	animation: fadeUp .35s var(--ease);
}
.ins__summary-ic {
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 15px;
	background: rgba(185, 138, 80, .16);
	color: var(--gold-400);
}
.ins__summary-text { display: flex; flex-direction: column; line-height: 1.5; }
.ins__summary-text small { font-size: 12px; color: var(--white-55); }
.ins__summary-text strong { font-size: 18px; }
.ins__summary-actions { display: flex; gap: 10px; margin-inline-start: auto; flex-wrap: wrap; }
.ins__summary .btn--ghost { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07); color: #fff; }
.ins__note {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	margin: 20px 0 0;
	font-size: 13.4px;
	color: var(--muted);
}
.ins__note svg { color: var(--gold-600); }

/* ---------- 29. اختبار جودة التنفيذ ---------- */
.section--quality { background: var(--paper-2); }
.qa { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(22px, 3vw, 40px); align-items: start; }
.qa__list { display: grid; gap: 12px; }
.qa__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 22px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	transition: all var(--t);
	overflow: hidden;
}
.qa__item:hover { border-color: rgba(185, 138, 80, .45); transform: translateX(-4px); }
.qa__check {
	width: 28px; height: 28px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: #E9F6EF;
	color: #1E8A5A;
	flex-shrink: 0;
	margin-top: 3px;
}
:root[data-theme="dark"] .qa__check { background: #11291D; color: #6FD0A0; }
.qa__ic {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 13px;
	background: var(--gold-soft);
	color: var(--gold-600);
	flex-shrink: 0;
}
.qa__body { flex: 1; min-width: 0; }
.qa__title { font-size: 17.5px; color: var(--heading); margin-bottom: 5px; }
.qa__text { color: var(--muted); font-size: 14.6px; line-height: 1.85; margin-bottom: 10px; }
.qa__meta { display: grid; gap: 6px; }
.qa__meta-item {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 13.6px;
	color: var(--text-2);
	line-height: 1.75;
}
.qa__meta-item svg { color: var(--gold-600); flex-shrink: 0; margin-top: 3px; }
.qa__meta-item em { font-style: normal; font-weight: 700; color: var(--heading); }
.qa__num {
	position: absolute;
	inset-inline-start: 16px;
	bottom: 10px;
	font-size: 34px;
	font-weight: 700;
	color: var(--paper-3);
	letter-spacing: -1px;
	pointer-events: none;
}

.qa__aside {
	background: var(--ink-800);
	background-image: radial-gradient(circle at 100% 0%, rgba(185, 138, 80, .2), transparent 60%);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: clamp(24px, 3vw, 32px);
	box-shadow: var(--shadow-lg);
	position: sticky;
	top: calc(var(--header-h) + 20px);
}
.qa__aside-ic {
	width: 62px; height: 62px;
	display: grid; place-items: center;
	border-radius: 18px;
	background: rgba(185, 138, 80, .16);
	color: var(--gold-400);
	margin-bottom: 16px;
}
.qa__aside-title { font-size: 20px; margin-bottom: 10px; }
.qa__aside-text { color: var(--white-55); font-size: 14.6px; line-height: 1.9; }
.qa__aside-list { display: grid; gap: 11px; margin: 18px 0 22px; }
.qa__aside-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14.4px;
	color: var(--white-70);
}
.qa__aside-list svg { color: var(--gold-400); flex-shrink: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================
   نسخة فاتحة لقسمَي «وش يصير لو تأخرت» و«لماذا نحن»
   تُطبَّق في الوضع النهاري فقط — الوضع الليلي يبقى كما هو.
   ========================================================= */

/* ---- وش يصير لو تأخرت في العزل؟ ---- */
:root:not([data-theme="dark"]) .section--risk {
	background: linear-gradient(180deg, #FAF7F1 0%, #F3EEE5 100%);
	color: var(--text);
}
:root:not([data-theme="dark"]) .section--risk .sec-title { color: var(--ink-800); }
:root:not([data-theme="dark"]) .section--risk /* خط نحاسي قصير تحت العنوان — مستوحى من مطبوعات الهوية */
.sec-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin: 18px 0 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
.sec-head--center .sec-title::after { margin-inline: auto; }
.sec-title--start::after { margin-inline-start: 0; }

.sec-sub { color: var(--muted); }
:root:not([data-theme="dark"]) .section--risk .kicker--light {
	color: var(--gold-600);
	background: rgba(185, 138, 80, .13);
	border-color: rgba(185, 138, 80, .3);
}
:root:not([data-theme="dark"]) .risk__glow { background: rgba(194, 84, 60, .07); }
:root:not([data-theme="dark"]) .section--risk { --range-track: rgba(31, 29, 26, .1); --range-edge: #FAF7F1; }


:root:not([data-theme="dark"]) .risk__step {
	background: #FFFDFA;
	border-color: #E4DED4;
	box-shadow: 0 1px 2px rgba(80, 66, 46, .04);
}
:root:not([data-theme="dark"]) .risk__step:hover { background: #FFF; border-color: #D8CCB8; }
:root:not([data-theme="dark"]) .risk__step-dot { background: #F1EADE; color: var(--muted); }
:root:not([data-theme="dark"]) .risk__step-label { color: var(--text-2); }
:root:not([data-theme="dark"]) .risk__step.is-passed .risk__step-dot { background: rgba(185, 138, 80, .18); color: var(--gold-600); }
:root:not([data-theme="dark"]) .risk__step.is-active {
	background: #FFF;
	border-color: rgba(185, 138, 80, .55);
	box-shadow: 0 6px 18px rgba(154, 111, 60, .14);
}
:root:not([data-theme="dark"]) .risk__step.is-active .risk__step-dot { background: var(--gold-500); color: #1A1206; }
:root:not([data-theme="dark"]) .risk__step.is-active .risk__step-label { color: var(--ink-800); }

:root:not([data-theme="dark"]) .risk__meter { background: rgba(31, 29, 26, .09); }
:root:not([data-theme="dark"]) .risk__meter-legend { color: var(--muted); }

:root:not([data-theme="dark"]) .risk__card {
	background: #FFFDFA;
	border-color: #E4DED4;
	box-shadow: var(--shadow-sm);
}
:root:not([data-theme="dark"]) .risk__card-num { background: rgba(185, 138, 80, .15); color: var(--gold-600); }
:root:not([data-theme="dark"]) .risk__card-title { color: var(--ink-800); }
:root:not([data-theme="dark"]) .risk__card-tag { background: rgba(178, 74, 52, .12); color: #A34530; }
:root:not([data-theme="dark"]) .risk__card-text { color: var(--text-2); }
:root:not([data-theme="dark"]) .risk__mini { background: #F6F1E8; border-color: #E4DED4; }
:root:not([data-theme="dark"]) .risk__mini-k { color: var(--gold-600); }
:root:not([data-theme="dark"]) .risk__mini-v { color: var(--text-2); }
:root:not([data-theme="dark"]) .risk__cta { border-top-color: #E4DED4; }
:root:not([data-theme="dark"]) .risk__cta p { color: var(--muted); }

/* بطاقة التوجيه داخل قسم فاتح */
:root:not([data-theme="dark"]) .section--risk .jump-card {
	background: #FFFDFA;
	border-color: #E4DED4;
	color: var(--heading);
	box-shadow: var(--shadow-sm);
}
:root:not([data-theme="dark"]) .section--risk .jump-card:hover { background: #FFF; border-color: var(--gold-500); }
:root:not([data-theme="dark"]) .section--risk .jump-card__ic { background: var(--gold-soft); color: var(--gold-600); }
:root:not([data-theme="dark"]) .section--risk .jump-card__text small { color: var(--muted); }

/* ---- لماذا نحن ---- */
:root:not([data-theme="dark"]) .section--why {
	background: linear-gradient(180deg, #F6F2EA 0%, #EFE9DE 100%);
	color: var(--text);
}
:root:not([data-theme="dark"]) .section--why .sec-title { color: var(--ink-800); }
:root:not([data-theme="dark"]) .section--why /* خط نحاسي قصير تحت العنوان — مستوحى من مطبوعات الهوية */
.sec-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin: 18px 0 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
.sec-head--center .sec-title::after { margin-inline: auto; }
.sec-title--start::after { margin-inline-start: 0; }

.sec-sub { color: var(--muted); }
:root:not([data-theme="dark"]) .section--why .kicker {
	color: var(--gold-600);
	background: rgba(185, 138, 80, .13);
	border-color: rgba(185, 138, 80, .3);
}
:root:not([data-theme="dark"]) .why__glow { background: rgba(185, 138, 80, .1); }

:root:not([data-theme="dark"]) .why__item {
	background: #FFFDFA;
	border-color: #E4DED4;
	box-shadow: 0 1px 2px rgba(80, 66, 46, .04);
}
:root:not([data-theme="dark"]) .why__item:hover {
	background: #FFF;
	border-color: rgba(185, 138, 80, .5);
	box-shadow: 0 14px 34px rgba(120, 98, 62, .12);
}
:root:not([data-theme="dark"]) .why__index { color: rgba(120, 98, 62, .12); }
:root:not([data-theme="dark"]) .why__ic { background: var(--gold-soft); color: var(--gold-600); }
:root:not([data-theme="dark"]) .why__item:hover .why__ic { background: var(--gold-500); color: #1A1206; }
:root:not([data-theme="dark"]) .why__title { color: var(--ink-800); }
:root:not([data-theme="dark"]) .why__num { color: var(--gold-600); }
:root:not([data-theme="dark"]) .why__text { color: var(--muted); }

/* ---------- صور خلفيات الأقسام ---------- */
.section.has-bg,
.cta.has-bg,
.trust.has-bg,
.showcase.has-bg {
	position: relative;
	isolation: isolate;
	background-image: none;
}
.section.has-bg > .container,
.cta.has-bg > .container,
.trust.has-bg > .container,
.showcase.has-bg > .container { position: relative; z-index: 1; }

/* أقسام تقص زخارفها بـ hidden — clip يقص بنفس الطريقة دون أن يعطّل تثبيت الخلفية */
.section--why.has-bg,
.section--leaks.has-bg,
.section--risk.has-bg { overflow: clip; }

.topbar.has-bg { position: relative; isolation: isolate; }
.topbar.has-bg > .container { position: relative; z-index: 1; }
.site-header.has-bg,
.site-header.has-bg.is-stuck { background: none; }
.site-header.has-bg > .container { position: relative; z-index: 1; }
.page-hero.has-bg { background: none; }
.page-hero.has-bg > .sec-bg { z-index: -2; }

.sec-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sec-bg__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.sec-bg__veil { position: absolute; inset: 0; }
.sec-bg picture,
.site-footer__bg picture { display: block; width: 100%; height: 100%; }

/* الأقسام الطويلة: الخلفية بمقاس الشاشة وتثبت أثناء تمرير القسم،
   فمقاس الصورة واحد لكل جهاز مهما طال المحتوى. */
.sec-bg--screen { overflow: visible; clip-path: inset(0); }
.sec-bg--screen .sec-bg__img {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100lvh;
}

/* الأقسام الفاتحة — طبقة ورقية دافئة تحافظ على وضوح النص الداكن */
.sec-bg--light .sec-bg__veil { background: rgba(247, 244, 239, var(--sec-veil, .92)); }
:root[data-theme="dark"] .sec-bg--light .sec-bg__veil { background: rgba(26, 25, 23, var(--sec-veil, .92)); }

/* الأقسام الداكنة */
.sec-bg--dark .sec-bg__veil { background: rgba(17, 17, 16, var(--sec-veil, .92)); }

.sec-bg--v-light { --sec-veil: .80; --sec-veil-low: .40; }
.sec-bg--v-medium { --sec-veil: .88; --sec-veil-low: .52; }
.sec-bg--v-strong { --sec-veil: .94; --sec-veil-low: .62; }

/* «اكتشف احتياج مبناك»: البطاقات والصورة صلبة، فتظهر الخلفية أوضح حولها،
   مع طبقة قوية خلف العنوان أعلى القسم حتى يبقى مقروءًا */
.section--explorer .sec-bg { --veil-head: 340px; }
.section--explorer .sec-bg--light .sec-bg__veil {
	background: linear-gradient(to bottom,
		rgba(247, 244, 239, var(--sec-veil, .92)) 0,
		rgba(247, 244, 239, var(--sec-veil, .92)) var(--veil-head),
		rgba(247, 244, 239, var(--sec-veil-low, .6)) calc(var(--veil-head) + 220px));
}
:root[data-theme="dark"] .section--explorer .sec-bg--light .sec-bg__veil {
	background: linear-gradient(to bottom,
		rgba(26, 25, 23, var(--sec-veil, .92)) 0,
		rgba(26, 25, 23, var(--sec-veil, .92)) var(--veil-head),
		rgba(26, 25, 23, var(--sec-veil-low, .6)) calc(var(--veil-head) + 220px));
}
@media (max-width: 680px) {
	.section--explorer .sec-bg { --veil-head: 380px; }
}

/* ---------- 23. حركات الظهور ---------- */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* ---------- 24. الاستجابة ---------- */
@media (max-width: 1180px) {
	.nav__list { gap: 0; }
	.nav__list > li > a { padding: 10px 8px; font-size: 14px; }
	/* مساحة للقائمة: الرقم متاح في زر «اطلب معاينة» وقسم التواصل */
	.header-phone { display: none; }
	.footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (max-width: 1024px) {
	.nav, .header-phone { display: none; }
	.burger { display: flex; }
	/* دفع زر القائمة وزر الوضع الليلي إلى أقصى اليسار بعد إخفاء القائمة الأفقية */
	.site-header__actions { margin-inline-start: auto; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
	.hero__scroll { display: none; }
	.about { grid-template-columns: 1fr; }
	.about__media { max-width: 560px; }
	.leaks { grid-template-columns: 1fr; }
	.leaks__media { max-width: 520px; margin-inline: auto; width: 100%; }
	.faq { grid-template-columns: 1fr; }
	.contact { grid-template-columns: 1fr; }
	.ba-wrap { grid-template-columns: 1fr; }
	.ba-thumbs { grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; max-height: none; padding-bottom: 6px; }
	.service-single, .project-single { grid-template-columns: 1fr; }
	.side-card { position: static; }
	.timeline::before { display: none; }
	/* على الشاشات الصغيرة النص يأخذ العرض كاملًا — طبقة تعتيم متدرجة رأسيًا */
	.hero__veil {
		background:
			linear-gradient(to bottom,
				rgba(17, 16, 15, calc(var(--hero-veil, .82) * .96)) 0%,
				rgba(17, 16, 15, calc(var(--hero-veil, .82) * .88)) 50%,
				rgba(17, 16, 15, .96) 100%);
	}
	.explorer { grid-template-columns: 1fr; }
	.risk { grid-template-columns: 1fr; }
	.diag { grid-template-columns: 1fr; }
	.qa { grid-template-columns: 1fr; }
	.qa__aside { position: static; }
}

@media (max-width: 860px) {
	.topbar__item--hide-md { display: none; }
	.stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.stats__item + .stats__item::before { display: none; }
	.stats__item:nth-child(odd)::after {
		content: "";
		position: absolute;
		inset-inline-end: -5px;
		top: 15%;
		height: 70%;
		width: 1px;
		background: rgba(255, 255, 255, .1);
	}
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__col--brand { grid-column: 1 / -1; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
	:root { --gutter: 16px; --header-h: 68px; }
	body { font-size: 15.4px; }
	.topbar { display: none; }
	.brand__k { height: 40px; }
	.brand__name { font-size: 15.5px; }
	.ba--showcase .ba__frame { aspect-ratio: 4 / 3; }
	.showcase__badge {
		position: relative;
		inset: auto;
		display: flex;
		width: fit-content;
		max-width: calc(100% - 24px);
		margin: -24px auto 0;
	}
	.brand__tag { display: none; }
	.site-header__actions .btn { display: none; }
	.hero { padding-top: 40px; }
	.hero__points { gap: 8px 14px; }
	.hero__points li { font-size: 13.6px; }
	.hero__badge { position: static; margin-top: 18px; max-width: 100%; }
	.hero__actions .btn { flex: 1; }
	.about__list { grid-template-columns: 1fr; }
	.about__media { padding-inline-start: 26px; padding-bottom: 30px; }
	.about__chip { inset-inline-start: -6px; padding: 10px 13px; }
	.form__row { grid-template-columns: 1fr; gap: 0; }
	.contact__actions { grid-template-columns: 1fr; }
	.contact__action { flex-direction: row; justify-content: center; }
	.trust__inner { grid-template-columns: repeat(2, 1fr); gap: 4px 0; }
	.trust__item {
		flex-direction: row;
		justify-content: flex-start;
		text-align: start;
		gap: 9px;
		font-size: 13.4px;
		padding: 13px 12px;
		border-inline-start: 0;
		border-top: 1px solid var(--line);
	}
	.trust__item:nth-child(-n+2) { border-top: 0; }
	.trust__item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
	.trust__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0; }
	.quickbar { display: flex; }
	/* مساحة أسفل الصفحة بقدر الشريط + منطقة الأمان في أجهزة iPhone */
	body { padding-bottom: calc(var(--quickbar-h) + env(safe-area-inset-bottom)); }
	/* زر العودة للأعلى يقف فوق الشريط دائمًا ولا يختفي خلفه */
	.to-top {
		bottom: calc(var(--quickbar-h) + env(safe-area-inset-bottom) + 14px);
		inset-inline-end: 14px;
	}
	.footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.footer__contact { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.ba__handle-knob { width: 40px; height: 40px; }
	.section__foot { flex-direction: column; gap: 12px; }
	.tabs__nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.tabs__btn { flex-shrink: 0; }
	.filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.filters__btn { flex-shrink: 0; }

	/* على الجوال: السحب باللمس بدل الأسهم */
	.carousel__nav { display: none; }
	.carousel__hint { display: flex; }
	.projects--carousel > .project { flex: 0 0 min(80%, 300px); }

	/* الأقسام التفاعلية على الجوال */
	.explorer__dot { padding: 6px 9px 6px 6px; font-size: 11.5px; gap: 5px; }
	.explorer__dot-label { display: none; }
	.explorer__dot.is-active .explorer__dot-label { display: inline; }
	.explorer__hint {
		inset-inline-end: auto;
		inset-inline-start: 10px;
		top: auto;
		bottom: 10px;
		font-size: 11.5px;
	}
	.explorer__card-actions .btn { flex: 1; }
	.risk__cta { flex-direction: column; align-items: stretch; }
	.risk__cta .btn { width: 100%; }
	.risk__meter-legend { font-size: 11px; }
	.diag__opt-text { font-size: 14.4px; }
	.diag__actions .btn { flex: 1; }
	.ins__summary { flex-direction: column; align-items: stretch; text-align: center; }
	.ins__summary-ic { margin-inline: auto; }
	.ins__summary-actions { margin-inline-start: 0; }
	.ins__summary-actions .btn { flex: 1; }
	.qa__item { padding: 16px; gap: 11px; flex-wrap: wrap; }
	.qa__num { display: none; }
	.theme-toggle { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
	.stats { grid-template-columns: 1fr 1fr; }
	.cards, .projects { grid-template-columns: 1fr; }
	.quickbar__btn { font-size: 11px; }
}

/* الطباعة */
@media print {
	.site-header, .topbar, .quickbar, .to-top, .cta, .mobile-menu, .menu-backdrop, .hero__scroll { display: none !important; }
	body { color: #000; background: #fff; }
	.section { padding: 20px 0; }
}
