/* ==========================================================================
   قالب مأذون أنكحة — الأنماط
   عربي RTL · خط تجوال · لوحة كحلي وذهبي
   ========================================================================== */

:root {
	--ink: #0f1a2b;
	--ink-2: #1c2b45;
	--body: #3d4d66;
	--muted: #6b7a91;
	--line: #e2e8f2;
	--bg: #ffffff;
	--bg-alt: #f5f8fc;
	--gold: #b8944a;
	--gold-dark: #96762f;
	--gold-soft: #fdf8ee;
	--green: #1f8a5b;
	--green-dark: #16704a;

	--wrap: 1140px;
	--narrow: 780px;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 2px 4px rgba(15, 26, 43, .04), 0 8px 24px rgba(15, 26, 43, .06);
	--shadow-lg: 0 4px 8px rgba(15, 26, 43, .06), 0 16px 40px rgba(15, 26, 43, .1);

	--font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.85;
	color: var(--body);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	color: var(--ink);
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 .6em;
}

p {
	margin: 0 0 1.15em;
}

a {
	color: var(--gold-dark);
	text-decoration: none;
	transition: color .15s ease;
}

a:hover {
	color: var(--ink);
}

img {
	max-width: 100%;
	height: auto;
}

ul {
	padding-inline-start: 1.3em;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: .75rem 1.25rem;
	z-index: 999;
}

.skip:focus {
	inset-inline-start: 0;
}

/* ---------- التخطيط ---------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 20px;
}

.wrap.narrow {
	max-width: var(--narrow);
}

.center {
	text-align: center;
}

.section {
	padding-block: 72px;
}

.section-alt {
	background: var(--bg-alt);
	border-block: 1px solid var(--line);
}

.eyebrow {
	color: var(--gold-dark);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin-bottom: .5rem;
}

.section-title {
	font-size: clamp(1.6rem, 3.4vw, 2.15rem);
	margin-bottom: .5rem;
}

.section-lead {
	color: var(--muted);
	max-width: 62ch;
	margin-bottom: 2.5rem;
}

/* ---------- الترويسة ---------- */

.site-head {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.head-inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 72px;
}

.brand {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	color: var(--ink);
	flex-shrink: 0;
}

.brand-name {
	font-weight: 800;
	font-size: 1.05rem;
}

.brand-sub {
	font-size: .74rem;
	color: var(--gold-dark);
	font-weight: 500;
}

.site-nav {
	margin-inline-start: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: .35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list li {
	position: relative;
}

.nav-list a {
	display: block;
	padding: .5rem .7rem;
	color: var(--ink-2);
	font-size: .93rem;
	font-weight: 500;
	border-radius: 8px;
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
	background: var(--bg-alt);
	color: var(--ink);
}

/* القوائم الفرعية */
.nav-list .sub-menu {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	padding: .4rem;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-toggle {
	display: none;
	margin-inline-start: auto;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--ink);
	transform: translateX(-50%);
	content: "";
}

.nav-toggle-bar {
	top: 50%;
	margin-top: -1px;
}

.nav-toggle-bar::before {
	top: -6px;
}

.nav-toggle-bar::after {
	top: 6px;
}

/* ---------- الأزرار ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	padding: .7rem 1.3rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
	white-space: nowrap;
	transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-lg {
	padding: .9rem 1.7rem;
	font-size: 1.02rem;
}

.btn-call {
	background: var(--gold);
	color: #fff;
	box-shadow: 0 4px 14px rgba(184, 148, 74, .3);
}

.btn-call:hover {
	background: var(--gold-dark);
	color: #fff;
}

.btn-wa {
	background: var(--green);
	color: #fff;
	box-shadow: 0 4px 14px rgba(31, 138, 91, .28);
}

.btn-wa:hover {
	background: var(--green-dark);
	color: #fff;
}

.head-call {
	flex-shrink: 0;
}

.head-call .btn-num {
	font-size: .85rem;
	opacity: .92;
}

/* ---------- الواجهة الرئيسية ---------- */

.hero {
	background:
		radial-gradient(1000px 460px at 78% -10%, rgba(184, 148, 74, .14), transparent 62%),
		linear-gradient(180deg, #0f1a2b 0%, #16233a 100%);
	color: #e8eefa;
	padding-block: 84px 76px;
	text-align: center;
}

.hero-badge {
	display: inline-block;
	background: rgba(184, 148, 74, .16);
	border: 1px solid rgba(184, 148, 74, .38);
	color: #e6c88a;
	font-size: .82rem;
	font-weight: 600;
	padding: .4rem 1.05rem;
	border-radius: 999px;
	margin-bottom: 1.4rem;
}

.hero-title {
	color: #fff;
	font-size: clamp(1.85rem, 5vw, 3rem);
	font-weight: 800;
	margin-bottom: .7rem;
}

.hero-title-accent {
	display: block;
	color: var(--gold);
	font-size: .74em;
	font-weight: 700;
	margin-top: .3rem;
}

.hero-lead {
	color: #b9c6dc;
	max-width: 56ch;
	margin-inline: auto;
	margin-bottom: 2rem;
	font-size: 1.06rem;
}

.hero-actions {
	display: flex;
	gap: .8rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}

.hero-points {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 1.9rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-points li {
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.hero-points strong {
	color: #fff;
	font-size: 1rem;
}

.hero-points span {
	color: #8fa2be;
	font-size: .85rem;
}

/* ---------- البطاقات ---------- */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	gap: 1.15rem;
}

.card {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.7rem 1.5rem;
	box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .18s ease, border-color .15s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(184, 148, 74, .45);
}

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--gold-soft);
	border-radius: 12px;
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.card-title {
	font-size: 1.16rem;
	margin-bottom: .45rem;
}

.card-text {
	color: var(--muted);
	font-size: .95rem;
	margin-bottom: 1rem;
}

.card-more {
	color: var(--gold-dark);
	font-weight: 700;
	font-size: .9rem;
}

.card-more::after {
	content: " ←";
}

/* ---------- المناطق ---------- */

.area-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.4rem;
}

.area {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.7rem 1.6rem;
	box-shadow: var(--shadow);
}

.area-title {
	font-size: 1.24rem;
	margin-bottom: .5rem;
}

.area-title a {
	color: var(--ink);
}

.area-title a:hover {
	color: var(--gold-dark);
}

.area-text {
	color: var(--muted);
	font-size: .95rem;
}

.area-children {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px dashed var(--line);
}

.area-children a {
	display: inline-block;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .32rem .85rem;
	font-size: .85rem;
	color: var(--ink-2);
}

.area-children a:hover {
	background: var(--gold-soft);
	border-color: rgba(184, 148, 74, .45);
	color: var(--gold-dark);
}

/* ---------- المتطلبات ---------- */

.req-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.6rem;
	display: grid;
	gap: .7rem;
}

.req-list li {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: .95rem 3rem .95rem 1.1rem;
	font-size: .96rem;
	box-shadow: 0 1px 2px rgba(15, 26, 43, .03);
}

.req-list li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 1.05rem;
	top: .95rem;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	background: var(--gold-soft);
	color: var(--gold-dark);
	border-radius: 50%;
	font-size: .78rem;
	font-weight: 700;
}

.req-note {
	background: var(--gold-soft);
	border: 1px solid rgba(184, 148, 74, .3);
	border-radius: var(--radius-sm);
	padding: 1rem 1.2rem;
	font-size: .95rem;
	margin: 0;
}

/* ---------- المقالات والصفحات ---------- */

.entry {
	padding-block: 48px 72px;
}

.crumbs {
	margin-bottom: 1.6rem;
	font-size: .85rem;
	color: var(--muted);
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.crumbs li + li::before {
	content: "‹";
	margin-inline-end: .4rem;
	color: var(--line);
}

.entry-head {
	padding-bottom: 1.8rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--line);
}

.entry-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	background: var(--gold-soft);
	border-radius: 14px;
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

.entry-title {
	font-size: clamp(1.7rem, 4vw, 2.35rem);
	margin-bottom: .6rem;
}

.entry-lead {
	color: var(--muted);
	font-size: 1.05rem;
	margin-bottom: 1.5rem;
}

.entry-actions {
	display: flex;
	gap: .7rem;
	flex-wrap: wrap;
}

.entry-body h2 {
	font-size: 1.42rem;
	margin-top: 2.4rem;
	padding-inline-start: .85rem;
	border-inline-start: 3px solid var(--gold);
}

.entry-body h3 {
	font-size: 1.15rem;
	margin-top: 1.8rem;
}

.entry-body ul {
	margin-bottom: 1.3rem;
}

.entry-body li {
	margin-bottom: .5rem;
}

/* ---------- الأسئلة الشائعة ---------- */

.faq-block {
	margin-top: 3rem;
}

.faq-heading {
	font-size: 1.5rem;
	margin-bottom: 1.3rem;
}

.faq-list {
	display: grid;
	gap: .7rem;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color .15s ease;
}

.faq-item[open] {
	border-color: rgba(184, 148, 74, .45);
	box-shadow: var(--shadow);
}

.faq-q {
	cursor: pointer;
	list-style: none;
	padding: 1.05rem 1.25rem;
	font-weight: 700;
	color: var(--ink);
	font-size: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.faq-q::-webkit-details-marker {
	display: none;
}

.faq-q::after {
	content: "+";
	color: var(--gold-dark);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	flex-shrink: 0;
}

.faq-item[open] .faq-q::after {
	content: "−";
}

.faq-a {
	padding: 0 1.25rem 1.15rem;
	color: var(--body);
	font-size: .96rem;
}

.faq-a p {
	margin: 0;
}

.faq-more {
	margin-top: 1.5rem;
	font-weight: 700;
}

.faq-cta {
	margin-top: 2.5rem;
	background: var(--gold-soft);
	border: 1px solid rgba(184, 148, 74, .3);
	border-radius: var(--radius);
	padding: 1.6rem;
}

.faq-cta h2 {
	font-size: 1.2rem;
	margin-bottom: .4rem;
}

.faq-cta p {
	margin: 0;
}

/* ---------- القوائم الداخلية ---------- */

.child-areas,
.loc-services,
.related {
	margin-top: 3rem;
}

.child-areas h2,
.loc-services h2,
.related h2 {
	font-size: 1.4rem;
	margin-bottom: 1.1rem;
}

.child-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .7rem;
}

.child-list a {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 1rem 1.2rem;
	transition: border-color .15s ease, transform .12s ease;
}

.child-list a:hover {
	border-color: rgba(184, 148, 74, .5);
	transform: translateX(-3px);
}

.child-list strong {
	display: block;
	color: var(--ink);
	margin-bottom: .2rem;
}

.child-list span {
	color: var(--muted);
	font-size: .9rem;
}

/* ---------- التواصل ---------- */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1rem;
	margin-bottom: 3rem;
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
	transition: transform .12s ease, border-color .15s ease;
}

.contact-card:not(.is-static):hover {
	transform: translateY(-2px);
	border-color: rgba(184, 148, 74, .5);
}

.contact-icon {
	font-size: 1.5rem;
	margin-bottom: .4rem;
}

.contact-card strong {
	color: var(--ink);
	font-size: 1.02rem;
}

.contact-val {
	color: var(--muted);
	font-size: .92rem;
}

/* ---------- دعوة الإجراء ---------- */

.cta {
	background: linear-gradient(135deg, #0f1a2b 0%, #1c2b45 100%);
	color: #fff;
	padding-block: 56px;
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.cta-title {
	color: #fff;
	font-size: 1.6rem;
	margin-bottom: .3rem;
}

.cta-sub {
	color: #a9b8d0;
	margin: 0;
	max-width: 52ch;
}

.cta-actions {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
}

/* ---------- التذييل ---------- */

.site-foot {
	background: #0b1422;
	color: #93a3bd;
	padding-block: 56px 0;
	font-size: .93rem;
}

.foot-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.foot-brand {
	color: #fff;
	font-size: 1.15rem;
	margin-bottom: .6rem;
}

.foot-desc {
	line-height: 1.8;
	margin: 0;
}

.site-foot h4 {
	color: #fff;
	font-size: .98rem;
	margin-bottom: .9rem;
}

.foot-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .5rem;
}

.foot-list a {
	color: #93a3bd;
}

.foot-list a:hover {
	color: var(--gold);
}

.foot-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding-block: 1.3rem;
	font-size: .85rem;
}

.foot-bottom p {
	margin: 0;
}

/* ---------- الشريط العائم (جوال) ---------- */

.float-bar {
	display: none;
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 200;
	background: #fff;
	border-top: 1px solid var(--line);
	box-shadow: 0 -4px 20px rgba(15, 26, 43, .1);
}

.float-btn {
	flex: 1;
	text-align: center;
	padding: .95rem .5rem;
	font-weight: 700;
	color: #fff;
	font-size: .98rem;
}

.float-call {
	background: var(--gold);
}

.float-wa {
	background: var(--green);
}

/* ---------- المتجاوب ---------- */

@media (max-width: 900px) {
	.foot-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 780px) {
	body {
		font-size: 16px;
	}

	.section {
		padding-block: 52px;
	}

	.nav-toggle {
		display: block;
	}

	.head-call {
		display: none;
	}

	.site-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		display: none;
		padding: .6rem 20px 1rem;
	}

	.site-nav.is-open {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-list a {
		padding: .7rem .4rem;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}

	.nav-list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 0 .8rem;
		margin: 0;
	}

	.nav-list .sub-menu a {
		font-size: .88rem;
		color: var(--muted);
	}

	.hero {
		padding-block: 56px 52px;
	}

	.hero-points {
		gap: 1.5rem;
	}

	.hero-points li {
		flex: 1 1 40%;
	}

	.float-bar {
		display: flex;
	}

	body {
		padding-bottom: 56px;
	}

	.cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.foot-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- ترقيم الصفحات ---------- */

.pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 .8rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-weight: 700;
	font-size: .93rem;
}

.pagination .page-numbers:hover {
	border-color: rgba(184, 148, 74, .5);
	color: var(--gold-dark);
}

.pagination .page-numbers.current {
	background: var(--gold);
	border-color: var(--gold);
	color: #fff;
}

/* ---------- الصور والرسوم التوضيحية ---------- */

.figure {
	margin: 2rem 0 2.5rem;
}

.figure img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.figure figcaption {
	margin-top: .7rem;
	color: var(--muted);
	font-size: .88rem;
	text-align: center;
}

.entry-body .figure {
	margin-inline: 0;
}
