/* ==========================================================================
   Moudi — نظام التصميم
   لغة بصرية صناعية: غبار خرسانة، شريط تحذير، أرقام بخط أحادي.
   ========================================================================== */

:root {
	/* الداكن: كحلي عميق للأقسام الداكنة والرأس */
	--ink: #0e1c2b;
	--ink-2: #16293c;
	--navy-deep: #0a1520;

	/* الفاتح */
	--paper: #fff;
	--dust: #f4f7f9;
	--line: #e3e9ee;
	--steel: #5a6b7b;

	/* التمييز */
	--hazard: #ef6820;
	--hazard-dark: #d4540f;
	--hazard-soft: #fdeee5;

	/* الثانوي: فيروزي للشارات والنقاط */
	--teal: #17a398;
	--teal-dark: #0f7d74;
	--teal-soft: #e3f4f2;

	--white: #fff;
	--ok: #25d366;

	--ff-display: "Cairo", "Segoe UI", Tahoma, sans-serif;
	--ff-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
	--ff-mono: "Cairo", "Segoe UI", Tahoma, sans-serif;

	--wrap: 1180px;
	--gap: clamp(1rem, 2.2vw, 1.75rem);
	--radius: 10px;
	--shadow: 0 1px 2px rgba(14, 28, 43, .05), 0 18px 40px -28px rgba(14, 28, 43, .5);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
	font-variant-numeric: tabular-nums;
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--ff-body);
	font-size: 1.0625rem;
	line-height: 1.85;
	font-feature-settings: "kern";
}

img, svg, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--copper); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--hazard); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 800; line-height: 1.35; margin: 0 0 .6em; }
h1 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1.15em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

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

.skip-link {
	position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
	background: var(--hazard); color: var(--ink); padding: .75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- التوقيع البصري: شريط التحذير ---------- */
.hazard-strip {
	height: 8px;
	background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--ink) 14px 28px);
}

/* ---------- الأزرار ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
	padding: .85rem 1.4rem; font-weight: 700; font-family: var(--ff-display);
	text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
	cursor: pointer; font-size: 1rem; transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--call { background: var(--hazard); color: var(--ink); }
.btn--call:hover { background: #ffb81c; color: var(--ink); }
.btn--wa { background: var(--ok); color: var(--white); }
.btn--wa:hover { background: #17654a; color: var(--white); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--slab); color: var(--white); }
.btn--sm { padding: .5rem .9rem; font-size: .875rem; }
.btn--block { width: 100%; }

.cta-buttons { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.25rem 0; }

/* ---------- شريط الأسعار المتحرك ---------- */
.ticker { background: var(--hazard); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.ticker__track { display: flex; gap: 2.5rem; padding: .5rem 0; white-space: nowrap; animation: moudi-ticker 42s linear infinite; width: max-content; }
.ticker__item { font-family: var(--ff-mono); font-size: .8125rem; font-weight: 600; }
.ticker__item::before { content: "◆"; margin-inline-end: .6rem; opacity: .55; }
@keyframes moudi-ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- شريط الثقة ---------- */
.trust-bar {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem; list-style: none; margin: 1.75rem 0; padding: 1.1rem 0;
	border-block: 1px solid var(--line);
}
.trust-bar__value { display: block; font-family: var(--ff-mono); font-size: 1.0625rem; font-weight: 600; }
.trust-bar__label { font-size: .8125rem; color: var(--steel); }

/* ---------- الأقسام ---------- */
.section { padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.section--dark { background: var(--slab); color: #d5dbe2; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__title { position: relative; padding-top: .85rem; }
.section__title::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 56px; height: 4px; background: var(--hazard); }
.section__lead { max-width: 70ch; color: var(--steel); }
.section--dark .section__lead { color: #9daabb; }

/* ---------- البطاقات ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--gap); margin: 1.75rem 0; }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.35rem; display: flex; flex-direction: column;
}
.card--hub { border-top: 4px solid var(--hazard); }
.card__media { display: block; margin: -1.35rem -1.35rem 1rem; }
.card__media img { width: 100%; object-fit: cover; }
.card__title { margin-bottom: .4em; font-size: 1.15rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--copper); }
.card__text { color: var(--steel); font-size: .95rem; margin-bottom: 1rem; }
.card__links { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .9rem; }
.card__links li { border-top: 1px dashed var(--line); }
.card__links a { display: block; padding: .4rem 0; text-decoration: none; }
.card__link { margin-top: auto; font-weight: 700; font-size: .9rem; text-decoration: none; }
.card__link::after { content: " ←"; }
.card__specs { list-style: none; padding: 0; margin: 0 0 .75rem; font-size: .85rem; }
.card__specs li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: .25rem 0; }

/* ---------- المراحل ---------- */
.process { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); counter-reset: step; }
.process__item { border-top: 2px solid rgba(255,255,255,.15); padding-top: 1rem; }
.process__num { font-family: var(--ff-mono); font-size: .9rem; color: var(--hazard); display: block; margin-bottom: .4rem; }
.process__title { font-size: 1.1rem; margin-bottom: .35em; }
.process__text { font-size: .95rem; margin: 0; }

/* ---------- المقارنة ---------- */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin-top: 1.75rem; }
.compare__col { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--radius); }
.compare__col--win { border: 2px solid var(--ink); background: var(--dust); }
.compare__head { font-size: 1.1rem; }
.compare__list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.compare__list li { padding: .45rem 0 .45rem 0; padding-inline-start: 1.6rem; position: relative; border-bottom: 1px dashed var(--line); }
.compare__list li::before { position: absolute; inset-inline-start: 0; font-weight: 700; }
.compare__list--neg li::before { content: "×"; color: #a33; }
.compare__list--pos li::before { content: "✓"; color: var(--ok); }

/* ---------- التغطية الجغرافية ---------- */
.geo-block { background: var(--dust); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); margin: 2rem 0; }
.geo-block__lead { color: var(--steel); max-width: 65ch; }
.geo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; }
.geo-grid__zone { font-size: .95rem; margin-bottom: .4em; color: var(--copper); }
.geo-grid__list { list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--steel); }
.geo-grid__list li { padding: .15rem 0; }

/* ---------- المحتوى ---------- */
.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; padding-block: 2rem; }
@media (max-width: 1000px) { .layout--sidebar { grid-template-columns: 1fr; } }

.entry { padding-block: 1.5rem 2.5rem; }
.entry__header { max-width: 78ch; }
.entry__title { margin-bottom: .35em; }
.entry__meta { color: var(--steel); font-size: .875rem; }
.entry__media { margin: 1.5rem 0; }

.prose { max-width: 78ch; }
.prose h2 { margin-top: 2em; padding-top: .85rem; position: relative; }
.prose h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 48px; height: 3px; background: var(--hazard); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.35rem; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
	margin: 1.75rem 0; padding: 1rem 1.25rem; background: var(--dust);
	border-inline-start: 4px solid var(--hazard); font-size: 1.05rem;
}
.prose strong { font-weight: 700; }

.answer-box {
	background: var(--white); border: 1px solid var(--line);
	border-inline-start: 5px solid var(--hazard);
	padding: 1.1rem 1.25rem; margin: 1.5rem 0; border-radius: var(--radius);
}
.answer-box__label { display: block; font-size: .72rem; letter-spacing: .18em; color: var(--steel); margin-bottom: .35rem; font-weight: 700; }
.answer-box p { margin: 0; font-size: 1.05rem; }

.table-wrap { overflow-x: auto; margin: 1.75rem 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.data-table caption { text-align: start; font-size: .85rem; color: var(--steel); padding-bottom: .5rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: .7rem .85rem; text-align: start; }
.data-table thead th { background: var(--slab); color: var(--white); font-family: var(--ff-display); }
.data-table tbody tr:nth-child(even) { background: var(--dust); }
.data-table td:not(:first-child) { font-family: var(--ff-mono); font-size: .9rem; }

/* ---------- الأسئلة الشائعة ---------- */
.faq { margin: 2.5rem 0; }
.faq__item { background: var(--white); border: 1px solid var(--line); margin-bottom: .6rem; border-radius: var(--radius); }
.faq__q { cursor: pointer; padding: .95rem 1.15rem; font-family: var(--ff-display); font-weight: 700; list-style: none; position: relative; padding-inline-end: 2.5rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; inset-inline-end: 1rem; font-size: 1.3rem; color: var(--hazard); }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 1.15rem 1rem; color: var(--steel); }
.faq__a p { margin: 0; }

/* ---------- فتات الخبز ---------- */
.breadcrumbs { padding: .9rem 0 0; font-size: .8125rem; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; color: var(--steel); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin-inline-end: .35rem; opacity: .5; }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--copper); }

/* ---------- الشريط الجانبي ---------- */
.sidebar { position: sticky; top: 1rem; display: grid; gap: 1rem; }
.sidebar__box { background: var(--white); border: 1px solid var(--line); padding: 1.25rem; border-radius: var(--radius); }
.sidebar__box--call { border-top: 4px solid var(--hazard); }
.sidebar__title { font-size: 1.05rem; }
.sidebar__list { list-style: none; margin: 0; padding: 0; font-size: .925rem; }
.sidebar__list li { border-bottom: 1px dashed var(--line); }
.sidebar__list a { display: block; padding: .5rem 0; text-decoration: none; color: var(--ink); }
.sidebar__list .is-current a { color: var(--copper); font-weight: 700; }
.sidebar .cta-buttons { flex-direction: column; }
.sidebar .btn { width: 100%; }

/* ---------- روابط مرتبطة ---------- */
.related { margin: 2.5rem 0; }
.related__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.related__list a {
	display: block; padding: .45rem .9rem; background: var(--white);
	border: 1px solid var(--line); border-radius: 100px; text-decoration: none;
	font-size: .875rem; color: var(--ink);
}
.related__list a:hover { border-color: var(--ink); background: var(--dust); }

.updated-stamp { font-size: .8125rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: .85rem; margin-top: 2rem; }

/* ---------- الدعوة النهائية والنموذج ---------- */
.cta-band { background: var(--ink); color: var(--white); padding: 1.75rem; border-radius: var(--radius); margin: 2rem 0; }
.cta-band__title { color: var(--white); }
.cta-band__text { color: #c2cad3; }

.cta-final { background: var(--slab); color: var(--white); padding: clamp(2.25rem, 5vw, 3.5rem) 0; margin-top: 2.5rem; }
.cta-final__grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 900px) { .cta-final__grid { grid-template-columns: 1fr; } }
.cta-final__title { color: var(--white); }
.cta-final__text { color: #b9c2cd; max-width: 52ch; }
.cta-final__points { list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: .925rem; color: #b9c2cd; }
.cta-final__points li { padding: .35rem 0; padding-inline-start: 1.5rem; position: relative; }
.cta-final__points li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--hazard); font-weight: 700; }

.lead-form { background: var(--white); color: var(--ink); padding: 1.5rem; border-radius: var(--radius); border-top: 5px solid var(--hazard); }
.lead-form__title { font-size: 1.2rem; margin-bottom: 1rem; }
.lead-form__row { margin-bottom: .85rem; }
.lead-form__row label { display: block; font-size: .8125rem; font-weight: 700; margin-bottom: .3rem; }
.lead-form input, .lead-form select, .lead-form textarea {
	width: 100%; padding: .7rem .8rem; border: 1px solid var(--line);
	border-radius: var(--radius); font-family: inherit; font-size: .95rem; background: var(--paper);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--ink); background: var(--white); }
.lead-form__hp { position: absolute; left: -9999px; }
.lead-form__note { font-size: .75rem; color: var(--steel); margin: .75rem 0 0; }
.lead-form__status { margin-top: .75rem; font-size: .9rem; font-weight: 600; }
.lead-form__status.is-ok { color: var(--ok); }
.lead-form__status.is-error { color: #b3261e; }

/* ---------- التواصل ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin: 1.5rem 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__nap { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact__nap li { padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.contact__map { margin: 2rem 0; border: 1px solid var(--line); }

/* ---------- مواصفات المشروع ---------- */
.project-specs { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; border-block: 1px solid var(--line); padding-block: 1rem; }
.project-specs__k { display: block; font-size: .75rem; color: var(--steel); letter-spacing: .1em; }
.project-specs__v { font-family: var(--ff-mono); font-size: 1rem; }

/* ---------- التذييل ---------- */
.site-footer { background: var(--ink); color: #a9b3bf; margin-top: 3rem; font-size: .925rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding: 2.75rem 0 2rem; }
@media (max-width: 850px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__name { font-family: var(--ff-display); font-weight: 800; color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; }
.footer__desc { color: #8d97a3; font-size: .875rem; }
.footer__title { color: var(--white); font-size: 1rem; }
.footer__nap, .footer__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.footer__nap li, .footer__list li { padding: .3rem 0; }
.footer__nap strong { color: #d5dce4; }
.site-footer a { color: var(--hazard); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__areas { font-size: .8125rem; color: #7f8a97; line-height: 2; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; font-size: .8125rem; }
.footer__legal { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }

/* ---------- البحث والتنقل بين الصفحات ---------- */
.search-form { display: flex; gap: .5rem; margin: 1.5rem 0; max-width: 460px; }
.search-form input { flex: 1; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); }
.search-form button { padding: .7rem 1.2rem; background: var(--ink); color: var(--white); border: 0; border-radius: var(--radius); cursor: pointer; }

.pagination { margin: 2rem 0; }
.pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers {
	padding: .5rem .85rem; border: 1px solid var(--line); background: var(--white);
	text-decoration: none; border-radius: var(--radius); color: var(--ink);
}
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

.archive__header { padding-block: 1.5rem .5rem; }
.archive__desc { color: var(--steel); max-width: 70ch; }

/* ==========================================================================
   الرأس — شفاف فوق الهيرو
   ========================================================================== */

.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: relative;
	z-index: 50;
}
.site-header--overlay {
	position: absolute; inset-inline: 0; top: 0;
	background: transparent; border-bottom: 0;
}
.header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; padding: 1.1rem 0;
}

/* الهوية */
.brand__link { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark {
	display: grid; place-items: center; width: 42px; height: 42px;
	color: var(--hazard); flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__name {
	display: block; font-family: var(--ff-display); font-weight: 800;
	font-size: 1.3rem; line-height: 1.2; color: var(--ink);
}
.brand__tag { display: block; font-size: .7rem; color: var(--steel); letter-spacing: .02em; }
.site-header--overlay .brand__name { color: #fff; }
.site-header--overlay .brand__tag { color: rgba(255, 255, 255, .72); }
.custom-logo { max-height: 54px; width: auto; }

/* أدوات الرأس */
.header__tools { display: flex; align-items: center; gap: .5rem; }
.header__lang {
	font-size: .82rem; font-weight: 600; color: var(--ink);
	text-decoration: none; padding: .4rem .6rem;
}
.header__icon {
	display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 50%; border: 1px solid var(--line); background: transparent;
	color: var(--ink); cursor: pointer; padding: 0;
	transition: background .16s ease, border-color .16s ease;
}
.header__icon svg { width: 18px; height: 18px; }
.header__icon:hover { background: var(--dust); }

.site-header--overlay .header__lang { color: #fff; }
.site-header--overlay .header__icon { border-color: rgba(255, 255, 255, .3); color: #fff; }
.site-header--overlay .header__icon:hover { background: rgba(255, 255, 255, .14); }
.site-header--overlay .btn--outline { border-color: rgba(255, 255, 255, .4); color: #fff; }
.site-header--overlay .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.nav-toggle {
	display: grid; place-content: center; gap: 4px;
	width: 44px; height: 44px; padding: 0;
	background: transparent; border: 1px solid var(--line);
	border-radius: 10px; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.site-header--overlay .nav-toggle { border-color: rgba(255, 255, 255, .3); }
.site-header--overlay .nav-toggle__bar { background: #fff; }

@media (max-width: 720px) {
	.header__lang, .header__help { display: none; }
	.brand__tag { display: none; }
}

/* ==========================================================================
   لوحة القائمة
   ========================================================================== */

.panel { position: fixed; inset: 0; z-index: 200; }
.panel[hidden] { display: none; }
.panel__scrim {
	position: absolute; inset: 0;
	background: rgba(16, 20, 26, .55);
	backdrop-filter: blur(2px);
	animation: moudi-fade .2s ease;
}
.panel__sheet {
	position: absolute; inset-block: 0; inset-inline-start: 0;
	width: min(440px, 92vw);
	background: var(--white);
	display: flex; flex-direction: column;
	box-shadow: 0 0 60px rgba(0, 0, 0, .35);
	animation: moudi-slide .26s cubic-bezier(.22, 1, .36, 1);
}
@keyframes moudi-fade { from { opacity: 0; } }
@keyframes moudi-slide { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.panel__scrim, .panel__sheet { animation: none; }
}

.panel__top {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line);
}
.panel__title { font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; }
.panel__close {
	display: grid; place-items: center; width: 38px; height: 38px;
	border: 1px solid var(--line); border-radius: 50%;
	background: transparent; cursor: pointer; color: var(--ink);
}
.panel__close svg { width: 17px; height: 17px; }
.panel__close:hover { background: var(--dust); }

.panel__search { padding: 1rem 1.3rem 0; }
.panel__search .search-form { margin: 0; max-width: none; }

.panel__nav { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.panel__list, .panel__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.panel__list > li { border-bottom: 1px solid var(--line); }
.panel__list > li > a {
	display: block; padding: .85rem 0;
	font-family: var(--ff-display); font-weight: 700; font-size: 1rem;
	color: var(--ink); text-decoration: none;
}
.panel__list > li > a:hover { color: var(--hazard); }
.panel__list .sub-menu { padding: 0 0 .8rem; }
.panel__list .sub-menu a {
	display: block; padding: .38rem 0; padding-inline-start: .9rem;
	font-size: .9rem; color: var(--steel); text-decoration: none;
	border-inline-start: 2px solid var(--line);
}
.panel__list .sub-menu a:hover { color: var(--ink); border-inline-start-color: var(--hazard); }

.panel__foot { padding: 1.1rem 1.3rem; border-top: 1px solid var(--line); background: var(--paper); }
.panel__foot .btn { margin-bottom: .5rem; }
.panel__note { font-size: .75rem; color: var(--steel); margin: .6rem 0 0; text-align: center; }

body.panel-open { overflow: hidden; }

/* ==========================================================================
   الهيرو
   ========================================================================== */

.hero {
	position: relative;
	min-height: clamp(560px, 88vh, 780px);
	display: flex; align-items: center;
	padding: clamp(7rem, 14vh, 9rem) 0 clamp(3rem, 7vh, 4.5rem);
	overflow: hidden;
	background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 38%; }
/* طبقتان: تعتيم عام + تدرّج من جهة النص لضمان التباين */
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(270deg, rgba(16, 20, 26, .93) 0%, rgba(16, 20, 26, .78) 38%, rgba(16, 20, 26, .35) 70%, rgba(16, 20, 26, .55) 100%),
		linear-gradient(0deg, rgba(16, 20, 26, .75) 0%, transparent 45%);
}

.hero__grid {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1.15fr minmax(340px, 420px);
	gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__eyebrow {
	display: flex; align-items: center; gap: .7rem;
	font-size: .84rem; font-weight: 600; color: var(--hazard);
	margin: 0 0 1.1rem;
}
.hero__eyebrow span { display: block; width: 34px; height: 2px; background: var(--hazard); }

.hero__title {
	color: #fff; margin: 0 0 1rem;
	font-size: clamp(2.1rem, 5.4vw, 3.9rem);
	line-height: 1.22; letter-spacing: -.02em; font-weight: 800;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}
.hero__accent { color: var(--hazard); }

.hero__lead {
	color: rgba(255, 255, 255, .86);
	font-size: clamp(1rem, 1.3vw, 1.1rem);
	max-width: 56ch; margin: 0 0 1.75rem; line-height: 1.95;
}

.hero__ticks {
	list-style: none; margin: 1.9rem 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 1.25rem;
}
.hero__ticks li {
	display: inline-flex; align-items: center; gap: .45rem;
	color: rgba(255, 255, 255, .9); font-size: .9rem; font-weight: 600;
}
.hero__ticks svg { width: 15px; height: 15px; color: var(--hazard); }

/* بطاقة عرض السعر */
.quote-card {
	background: rgba(22, 27, 34, .74);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px;
	padding: 1.6rem 1.5rem 1.4rem;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75);
}
.quote-card__title {
	color: #fff; font-size: 1.2rem; margin: 0 0 1.1rem; text-align: center;
}
.quote-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .7rem; }
@media (max-width: 460px) { .quote-card__row { grid-template-columns: 1fr; } }
.quote-card input {
	width: 100%; padding: .85rem .9rem;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 9px; color: #fff;
	font-family: inherit; font-size: .93rem;
}
.quote-card input::placeholder { color: rgba(255, 255, 255, .5); }
.quote-card input:focus {
	outline: none; border-color: var(--hazard);
	background: rgba(255, 255, 255, .11);
}
.quote-card__hp { position: absolute; left: -9999px; }
.quote-card__note {
	color: rgba(255, 255, 255, .55); font-size: .76rem;
	text-align: center; margin: .8rem 0 0;
}
.quote-card__status { margin-top: .6rem; font-size: .85rem; font-weight: 600; text-align: center; }
.quote-card__status.is-ok { color: #4ade80; }
.quote-card__status.is-error { color: #fca5a5; }

/* ==========================================================================
   أزرار التواصل
   ========================================================================== */

.quick-contact {
	/* القالب RTL دائماً، والمُعرّفات المنطقية تعكس الجهة هنا،
	   لذا نستخدم right الصريح لضمان الحافة اليمنى. */
	position: fixed;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 95;
	display: flex; flex-direction: column; gap: .65rem;
}

.quick-contact__btn {
	position: relative;
	display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%;
	color: #fff; text-decoration: none;
	box-shadow: 0 8px 22px -6px rgba(10, 21, 32, .5);
	transition: transform .18s cubic-bezier(.22, 1, .36, 1), box-shadow .18s ease;
}
.quick-contact__btn svg { width: 24px; height: 24px; }
.quick-contact__btn:hover,
.quick-contact__btn:focus-visible {
	color: #fff; transform: scale(1.08);
	box-shadow: 0 12px 28px -6px rgba(10, 21, 32, .55);
}

.quick-contact__btn--call { background: var(--hazard); }
.quick-contact__btn--call:hover { background: var(--hazard-dark); }
.quick-contact__btn--wa { background: #25d366; }
.quick-contact__btn--wa:hover { background: #1eb857; }
.quick-contact__btn--quote { background: var(--ink); }
.quick-contact__btn--quote:hover { background: var(--ink-2); }

/* نبضة خفيفة على زر الاتصال لجذب الانتباه دون إزعاج */
.quick-contact__btn--call::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 2px solid var(--hazard);
	animation: moudi-pulse 2.6s ease-out infinite;
}
@keyframes moudi-pulse {
	0% { transform: scale(1); opacity: .7; }
	70% { transform: scale(1.45); opacity: 0; }
	100% { opacity: 0; }
}

/* التسمية تنزلق من جهة المحتوى عند التمرير */
.quick-contact__label {
	position: absolute; right: calc(100% + 12px);
	background: var(--ink); color: #fff;
	padding: .38rem .8rem; border-radius: 8px;
	font-family: var(--ff-display); font-size: .8rem; font-weight: 700;
	white-space: nowrap;
	opacity: 0; pointer-events: none; transform: translateX(8px);
	transition: opacity .18s ease, transform .18s ease;
	box-shadow: 0 6px 16px -6px rgba(10, 21, 32, .5);
}
/* سهم صغير يشير إلى الزر */
.quick-contact__label::after {
	content: ""; position: absolute; left: -9px; top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-right-color: var(--ink);
}
.quick-contact__btn:hover .quick-contact__label,
.quick-contact__btn:focus-visible .quick-contact__label { opacity: 1; transform: translateX(0); }

@media (max-width: 780px) {
	.quick-contact { right: 10px; gap: .5rem; }
	.quick-contact__btn { width: 50px; height: 50px; }
	.quick-contact__btn svg { width: 21px; height: 21px; }
	/* على اللمس لا يوجد تمرير، فنخفي التسميات ونكتفي بالأيقونة */
	.quick-contact__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.quick-contact__btn--call::after { animation: none; }
	.quick-contact__btn { transition: none; }
}

/* أزرار إضافية */
.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 100px; }
.btn--primary { background: var(--hazard); color: #fff; border-color: var(--hazard); }
.btn--primary:hover { background: var(--hazard-dark); border-color: var(--hazard-dark); color: #fff; }
.btn--call { background: var(--hazard); color: #fff; }
.btn--call:hover { background: var(--hazard-dark); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* الرأس الشفاف بعد التمرير */
.site-header--overlay.is-stuck {
	position: fixed; inset-inline: 0; top: 0;
	background: rgba(16, 20, 26, .96);
	backdrop-filter: blur(10px);
	box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .7);
	animation: moudi-drop .28s ease;
}
@keyframes moudi-drop { from { transform: translateY(-100%); } }
.site-header--overlay.is-stuck .header__inner { padding: .7rem 0; }
@media (prefers-reduced-motion: reduce) { .site-header--overlay.is-stuck { animation: none; } }

/* ==========================================================================
   إيقاع الأقسام: تناوب فاتح وداكن
   ========================================================================== */

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--tint { background: var(--dust); }
.section--dark {
	background: var(--ink);
	color: rgba(255, 255, 255, .78);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, .68); }

/* عنوان القسم: كلمة علوية بشرطة، ثم عنوان بكلمة مميّزة */
.section__eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .82rem; font-weight: 700; color: var(--hazard);
	margin: 0 0 .9rem;
}
.section__eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--hazard); }

.section__title {
	font-size: clamp(1.7rem, 3.6vw, 2.6rem);
	line-height: 1.3; letter-spacing: -.015em;
	max-width: 20ch; margin-bottom: .5em;
	padding-top: 0;
}
.section__title::before { display: none; }
.section__title .accent { color: var(--hazard); }
.section--dark .section__title { color: #fff; }

.section__lead { max-width: 62ch; color: var(--steel); font-size: 1.02rem; }

/* ==========================================================================
   قائمة مرقّمة — رقم، عنوان، وصف، خط شعري
   ========================================================================== */

.numbered { list-style: none; margin: 2rem 0 0; padding: 0; }
.numbered__item {
	display: grid; grid-template-columns: 1fr auto;
	gap: .2rem 1.1rem; align-items: baseline;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--line);
}
.numbered__item:first-child { border-top: 1px solid var(--line); }
.section--dark .numbered__item,
.section--dark .numbered__item:first-child { border-color: rgba(255, 255, 255, .14); }

.numbered__num {
	grid-column: 2; grid-row: 1 / span 2;
	font-family: var(--ff-mono); font-size: .85rem; font-weight: 600;
	color: var(--teal); align-self: center;
}
.section--dark .numbered__num { color: var(--hazard); }
.numbered__title { grid-column: 1; margin: 0 0 .2em; font-size: 1.08rem; }
.numbered__text { grid-column: 1; margin: 0; font-size: .95rem; color: var(--steel); }
.section--dark .numbered__text { color: rgba(255, 255, 255, .66); }

/* تخطيط: قائمة + صورة */
.split {
	display: grid; grid-template-columns: 1.05fr .95fr;
	gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split__media { position: relative; }
.split__media img { width: 100%; border-radius: 18px; display: block; }
.split__badge {
	position: absolute; inset-inline-start: -14px; top: 26px;
	background: var(--teal); color: #fff;
	padding: .85rem 1.15rem; border-radius: 14px; text-align: center;
	box-shadow: 0 14px 30px -14px rgba(23, 163, 152, .7);
}
.split__badge strong { display: block; font-family: var(--ff-display); font-size: 1.05rem; line-height: 1.2; }
.split__badge span { display: block; font-size: .72rem; opacity: .85; }

/* ==========================================================================
   حبّات الأحياء على خلفية داكنة
   ========================================================================== */

.areas { text-align: center; }
.areas__eyebrow { color: var(--hazard); font-size: .82rem; font-weight: 700; margin: 0 0 .8rem; }
.areas__title { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 1.8rem; }
.areas__title .accent { color: var(--hazard); }

.areas__grid {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: .6rem; margin-bottom: 1.6rem;
}
.area-chip {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .6rem 1.15rem; border-radius: 100px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .92); font-size: .9rem; font-weight: 600;
	transition: border-color .16s ease, background .16s ease;
}
.area-chip:hover { border-color: var(--hazard); background: rgba(239, 104, 32, .1); }
.area-chip::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: var(--teal); flex-shrink: 0;
}
.area-chip:nth-child(3n)::before { background: var(--hazard); }
.areas__note { font-size: .9rem; color: rgba(255, 255, 255, .6); margin: 0; }
.areas__note a { color: var(--hazard); font-weight: 700; }

/* أقسام النطاق داخل الحبّات */
.areas__zone {
	width: 100%; text-align: center;
	font-size: .76rem; letter-spacing: .16em; color: rgba(255, 255, 255, .4);
	margin: 1rem 0 .2rem;
}

/* ==========================================================================
   تعديلات على المكوّنات القائمة لتناسب اللوحة الجديدة
   ========================================================================== */

.hero::after {
	background:
		linear-gradient(270deg, rgba(10, 21, 32, .95) 0%, rgba(10, 21, 32, .82) 38%, rgba(10, 21, 32, .38) 70%, rgba(10, 21, 32, .6) 100%),
		linear-gradient(0deg, rgba(10, 21, 32, .8) 0%, transparent 45%);
}

.card { border-radius: 14px; }
.card--hub { border-top: 3px solid var(--hazard); }
.card__title a:hover { color: var(--hazard); }
.card__link { color: var(--hazard); }

.trust-bar__value { color: var(--ink); }
.hero .trust-bar__value { color: #fff; }
.hero .trust-bar__label { color: rgba(255, 255, 255, .6); }

.compare__col { border-radius: 14px; }
.compare__col--win { border: 2px solid var(--teal); background: var(--teal-soft); }
.compare__list--pos li::before { color: var(--teal); }

.answer-box { border-inline-start-color: var(--teal); border-radius: 12px; }
.faq__item { border-radius: 12px; }
.faq__q::after { color: var(--hazard); }

.data-table thead th { background: var(--ink); }
.prose h2::before { background: var(--hazard); }
.prose blockquote { border-inline-start-color: var(--teal); background: var(--teal-soft); }

.cta-final { background: var(--ink); }
.cta-final__points li::before { color: var(--teal); }
.lead-form { border-top-color: var(--hazard); border-radius: 14px; }

.geo-block { background: var(--dust); border-radius: 14px; }
.geo-grid__zone { color: var(--teal-dark); }

.site-footer { background: var(--navy-deep); }
.ticker { background: var(--hazard); color: #fff; border-block-color: rgba(0, 0, 0, .15); }
.hazard-strip { background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--ink) 14px 28px); }

/* ==========================================================================
   ترويسة الصفحات الداخلية
   ========================================================================== */

.site-header--solid {
	background: var(--ink);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header--solid .brand__name { color: #fff; }
.site-header--solid .brand__tag { color: rgba(255, 255, 255, .6); }
.site-header--solid .header__lang { color: #fff; }
.site-header--solid .header__icon { border-color: rgba(255, 255, 255, .22); color: #fff; }
.site-header--solid .header__icon:hover { background: rgba(255, 255, 255, .12); }
.site-header--solid .btn--outline { border-color: rgba(255, 255, 255, .32); color: #fff; }
.site-header--solid .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.site-header--solid .nav-toggle { border-color: rgba(255, 255, 255, .22); }
.site-header--solid .nav-toggle__bar { background: #fff; }

.page-hero {
	position: relative;
	background: var(--ink);
	color: #fff;
	padding: clamp(2.75rem, 6vw, 4.25rem) 0 0;
	overflow: hidden;
}
/* هالة خافتة تكسر مسطّح الخلفية دون صورة إضافية تثقل التحميل */
.page-hero__glow {
	position: absolute; inset-inline-end: -140px; top: -160px;
	width: 460px; height: 460px; border-radius: 50%;
	background: radial-gradient(circle, rgba(239, 104, 32, .16), transparent 68%);
	pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; text-align: center; }

.page-hero .breadcrumbs { padding: 0 0 1.5rem; }
.page-hero .breadcrumbs__list { justify-content: center; color: rgba(255, 255, 255, .5); }
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, .6); }
.page-hero .breadcrumbs a:hover { color: var(--hazard); }
.page-hero .breadcrumbs__item span[aria-current] { color: var(--teal); }

.page-hero__title {
	font-size: clamp(2rem, 5.4vw, 3.6rem);
	font-weight: 900; line-height: 1.22; letter-spacing: -.02em;
	color: #fff; margin: 0 0 1rem;
}
.page-hero__accent { color: var(--hazard); }

.page-hero__lead {
	max-width: 62ch; margin: 0 auto;
	color: rgba(255, 255, 255, .72);
	font-size: clamp(.95rem, 1.15vw, 1.05rem); line-height: 2;
}

.page-hero__stats {
	list-style: none; margin: 2rem 0 0; padding: 0;
	display: flex; justify-content: center; flex-wrap: wrap;
	gap: clamp(1.75rem, 5vw, 3.5rem);
}
.page-hero__stats li { text-align: center; }
.page-hero__stats strong {
	display: block; font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	font-weight: 700; color: var(--teal); line-height: 1.2;
}
.page-hero__stats span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .55); margin-top: .2rem; }

/* شريط الكلمات الباهت — سياق بصري لا نص للقراءة */
.page-hero__mark {
	margin-top: clamp(1.75rem, 4vw, 2.75rem);
	padding-bottom: clamp(1rem, 2vw, 1.5rem);
	text-align: center; white-space: nowrap; overflow: hidden;
	font-size: clamp(1.4rem, 4vw, 2.6rem); font-weight: 700;
	color: rgba(255, 255, 255, .045);
	user-select: none; line-height: 1.4;
	mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

/* المحتوى بعد الترويسة */
.page-hero + .wrap .entry { padding-block: clamp(2rem, 4vw, 3rem) 2.5rem; }
.page-hero + .wrap .layout--sidebar { padding-block: clamp(2rem, 4vw, 3rem); }

@media (max-width: 720px) {
	.page-hero__stats { gap: 1.5rem; }
	.page-hero__mark { font-size: 1.35rem; }
}
