/*
Theme Name: Al-Shaheqah
Theme URI: https://alshaheqah.com
Author: Al-Shaheqah for Modern Building Systems
Description: قالب ووردبريس ثنائي اللغة (عربي/إنجليزي) لشركة الشاهقة لأنظمة المباني الحديثة — مقاولات عامة، تأسست 1993. Bilingual WordPress theme for Al-Shaheqah, a Saudi general contracting company founded in 1993.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: al-shaheqah
Tags: rtl-language-support, translation-ready, custom-logo, one-column, business
*/

/* =========================================================
   1. المتغيرات | Design tokens
   ========================================================= */
:root {
	--navy-900: #0E1720;
	--navy-800: #16222C;
	--navy-700: #1F3A5F;
	--navy-600: #2F5E8C;
	--slate:    #3D464D;
	--gold:     #B98A4B;
	--gold-lt:  #D4AF72;
	--gold-dk:  #8E6832;
	--sand:     #F7F4EF;
	--paper:    #FFFFFF;
	--ink:      #17202A;
	--muted:    #5D6873;
	--line:     #E4E1DB;
	--line-dk:  rgba(255,255,255,.14);

	--r-sm: 6px;
	--r:    12px;
	--r-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(14,23,32,.06), 0 2px 8px rgba(14,23,32,.05);
	--shadow:    0 2px 4px rgba(14,23,32,.05), 0 12px 32px rgba(14,23,32,.09);
	--shadow-lg: 0 8px 24px rgba(14,23,32,.10), 0 32px 64px rgba(14,23,32,.14);

	--max: 1220px;
	--gut: 20px;

	--font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--head: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem);
	--head-sm: clamp(1.45rem, 1rem + 1.6vw, 2.1rem);
}

/* =========================================================
   2. الأساسيات | Base
   ========================================================= */
*, *::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; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ar);
	font-size: 17px;
	line-height: 1.78;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.alsh-ltr { font-family: var(--font-en); line-height: 1.7; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--navy-800); }
body.alsh-ltr h1, body.alsh-ltr h2, body.alsh-ltr h3, body.alsh-ltr h4 { letter-spacing: -.02em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-dk); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px;
}

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 1.15em; padding-inline-start: 1.25em; }
li { margin-bottom: .45em; }

.ic { flex: 0 0 auto; }
body.alsh-rtl .ic-flip { transform: scaleX(-1); }

.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-link {
	position: absolute; inset-inline-start: 12px; top: -60px; z-index: 999;
	background: var(--gold); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
	transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* =========================================================
   3. التخطيط | Layout
   ========================================================= */
.wrap { width: min(100% - (var(--gut) * 2), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gut) * 2), 860px); margin-inline: auto; }

section { padding-block: clamp(56px, 7vw, 104px); }
.sec-tight { padding-block: clamp(40px, 5vw, 72px); }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.bg-sand { background: var(--sand); }
.bg-dark { background: var(--navy-800); color: #E7ECF1; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: #BFCBD6; }

/* عناوين الأقسام | Section headings */
.kicker {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
	color: var(--gold-dk); margin-bottom: 14px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--gold); display: block; }
.bg-dark .kicker { color: var(--gold-lt); }

.sec-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: var(--head); }
.sec-head p { color: var(--muted); font-size: 1.06rem; }
.bg-dark .sec-head p { color: #A8B6C3; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }

/* =========================================================
   4. الأزرار | Buttons
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 13px 26px; border-radius: 100px; border: 1.5px solid transparent;
	font-family: inherit; font-size: .97rem; font-weight: 600; cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
	text-align: center; line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.03rem; }

.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(185,138,75,.32); }
.btn-gold:hover { background: var(--gold-dk); color: #fff; box-shadow: 0 8px 22px rgba(185,138,75,.42); }

.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-out { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-out:hover { border-color: var(--navy-800); color: var(--navy-800); }

/* =========================================================
   5. الترويسة | Header
   ========================================================= */
.topbar {
	background: var(--navy-900); color: #A9B7C4;
	font-size: .84rem; padding: 8px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #CDD8E2; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-lt); }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar .tag { color: var(--gold-lt); letter-spacing: .04em; }
@media (max-width: 720px) { .topbar-l .hide-sm { display: none; } }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.94);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.22; }
.brand-name { font-weight: 700; font-size: 1.02rem; color: var(--navy-800); }
.brand-sub { font-size: .73rem; color: var(--gold-dk); letter-spacing: .05em; font-weight: 500; }
@media (max-width: 520px) { .brand img { height: 42px; } .brand-name { font-size: .9rem; } }

/* التنقل | Navigation */
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-main li { margin: 0; }
.nav-main a {
	display: block; padding: 9px 12px; border-radius: var(--r-sm);
	color: var(--slate); font-size: .95rem; font-weight: 500; white-space: nowrap;
}
.nav-main a:hover { color: var(--navy-800); background: var(--sand); }
.nav-main .current-menu-item > a,
.nav-main .current_page_item > a { color: var(--navy-800); font-weight: 600; background: var(--sand); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 100px;
	font-size: .85rem; font-weight: 600; color: var(--navy-800); background: #fff;
	font-family: var(--font-en);
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold-dk); }

.burger {
	display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
	background: none; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; color: var(--navy-800);
}
.burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: .2s; }
.burger span::before, .burger span::after {
	content: ''; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: currentColor; transition: .2s;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1220px) {
	.burger { display: flex; }
	.nav-main {
		position: absolute; inset-inline: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.nav-main.open { max-height: 70vh; overflow-y: auto; }
	.nav-main ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gut) 18px; }
	.nav-main a { padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
	.nav-main li:last-child a { border-bottom: 0; }
	.header-actions .btn { display: none; }
}

/* =========================================================
   6. البطل | Hero
   ========================================================= */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(14,23,32,.86) 0%, rgba(14,23,32,.72) 45%, rgba(14,23,32,.95) 100%);
}
body.alsh-rtl .hero-bg::after {
	background: linear-gradient(to left, rgba(14,23,32,.94) 0%, rgba(14,23,32,.74) 55%, rgba(14,23,32,.55) 100%),
	            linear-gradient(to bottom, rgba(14,23,32,.5), rgba(14,23,32,.9));
}
body.alsh-ltr .hero-bg::after {
	background: linear-gradient(to right, rgba(14,23,32,.94) 0%, rgba(14,23,32,.74) 55%, rgba(14,23,32,.55) 100%),
	            linear-gradient(to bottom, rgba(14,23,32,.5), rgba(14,23,32,.9));
}
.hero-inner { position: relative; padding-block: clamp(70px, 11vw, 150px); max-width: 44rem; }
.hero .kicker { color: var(--gold-lt); }
.hero h1 {
	color: #fff; font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.3rem);
	line-height: 1.12; margin-bottom: .45em; font-weight: 700;
}
.hero p { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: #C6D2DE; max-width: 54ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }

/* شريط الأرقام | Stats strip */
.stats { background: var(--navy-800); border-top: 1px solid var(--line-dk); position: relative; }
.stats .grid { gap: 0; }
.stat { padding: 30px 22px; border-inline-end: 1px solid var(--line-dk); }
.stat:last-child { border-inline-end: 0; }
.stat-n {
	font-size: clamp(2rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 700; color: var(--gold-lt);
	line-height: 1; margin-bottom: 8px; font-family: var(--font-en); letter-spacing: -.02em;
}
.stat-l { font-size: .9rem; color: #9FB0BF; line-height: 1.5; }
@media (max-width: 960px) {
	.stat:nth-child(2) { border-inline-end: 0; }
	.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-dk); }
}
@media (max-width: 620px) {
	.stat { border-inline-end: 0 !important; border-bottom: 1px solid var(--line-dk); padding: 22px 0; }
	.stat:last-child { border-bottom: 0; }
}

/* =========================================================
   7. البطاقات | Cards
   ========================================================= */
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: 30px 26px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6D2CA; }
.card h3 { font-size: 1.14rem; margin-bottom: .55em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-ic {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: linear-gradient(140deg, var(--sand), #EDE7DC); color: var(--gold-dk); margin-bottom: 20px;
}
.bg-dark .card { background: rgba(255,255,255,.045); border-color: var(--line-dk); }
.bg-dark .card:hover { background: rgba(255,255,255,.075); border-color: rgba(212,175,114,.4); }
.bg-dark .card-ic { background: rgba(212,175,114,.14); color: var(--gold-lt); }

/* بطاقة مرقّمة | Numbered card */
.num-card { position: relative; padding-top: 34px; }
.num {
	font-family: var(--font-en); font-size: 2.4rem; font-weight: 700; line-height: 1;
	color: var(--sand); margin-bottom: 10px;
}
.bg-dark .num { color: rgba(255,255,255,.1); }

/* =========================================================
   8. المشاريع | Projects
   ========================================================= */
.prj-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filter-btn {
	padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--line);
	background: #fff; color: var(--slate); font-family: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
	transition: .18s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dk); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.prj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .prj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prj-grid { grid-template-columns: 1fr; } }

.prj {
	position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy-800);
	aspect-ratio: 4 / 3;
}
.prj img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s cubic-bezier(.2,.7,.3,1), filter .35s ease;
}
.prj:hover img { transform: scale(1.06); }
.prj-ov {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 22px 20px;
	background: linear-gradient(to top, rgba(14,23,32,.92) 0%, rgba(14,23,32,.5) 42%, rgba(14,23,32,0) 72%);
}
.prj-cat {
	font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
	color: var(--gold-lt); margin-bottom: 5px;
}
.prj-t { color: #fff; font-size: 1.02rem; font-weight: 600; line-height: 1.45; margin: 0; }
.prj.hidden { display: none; }

/* =========================================================
   9. الرسم البياني للقطاعات | Sector chart
   ========================================================= */
.sector-layout { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .sector-layout { grid-template-columns: 1fr; } }

.donut-wrap { position: relative; width: 100%; max-width: 360px; margin-inline: auto; }
.donut { width: 100%; height: auto; transform: rotate(-90deg); }
body.alsh-rtl .donut { transform: rotate(-90deg) scaleY(-1); }
.donut circle { transition: stroke-width .25s ease, opacity .25s ease; }
.donut-center {
	position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.donut-center b { display: block; font-size: 2.1rem; font-family: var(--font-en); font-weight: 700; color: var(--navy-800); line-height: 1; }
.donut-center span { font-size: .82rem; color: var(--muted); }

.sector-list { list-style: none; margin: 0; padding: 0; }
.sector-list li {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
	padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.sector-list li:last-child { border-bottom: 0; }
.dot { width: 13px; height: 13px; border-radius: 4px; }
.sector-name { font-weight: 500; font-size: 1rem; }
.sector-pct { font-family: var(--font-en); font-weight: 700; font-size: 1.15rem; color: var(--navy-800); }
.sector-bar { grid-column: 1 / -1; height: 5px; border-radius: 100px; background: var(--line); overflow: hidden; }
.sector-bar i { display: block; height: 100%; border-radius: 100px; }

/* =========================================================
   10. الهندسة القيمية | Value engineering
   ========================================================= */
.ve-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border-radius: var(--r); overflow: hidden; }
@media (max-width: 620px) { .ve-numbers { grid-template-columns: 1fr; } }
.ve-num { background: var(--navy-800); padding: 28px 22px; text-align: center; }
.ve-num b {
	display: block; font-family: var(--font-en); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
	font-weight: 700; line-height: 1; margin-bottom: 8px;
}
.ve-num.before b { color: #8FA8BD; text-decoration: line-through; text-decoration-thickness: 2px; }
.ve-num.after b  { color: #fff; }
.ve-num.saved b  { color: var(--gold-lt); }
.ve-num span { font-size: .88rem; color: #A8B6C3; display: block; }
.ve-num small { display: block; font-size: .78rem; color: #7F8F9E; margin-top: 3px; }

blockquote.pull {
	margin: 34px 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--gold);
	font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.6; font-weight: 500; color: var(--navy-800);
}
.bg-dark blockquote.pull { color: #fff; }

/* =========================================================
   11. المسيرة | Timeline
   ========================================================= */
.timeline { position: relative; padding-inline-start: 30px; }
.timeline::before {
	content: ''; position: absolute; inset-block: 8px; inset-inline-start: 5px;
	width: 2px; background: linear-gradient(to bottom, var(--gold), var(--line));
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
	content: ''; position: absolute; inset-inline-start: -30px; top: 9px;
	width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
	box-shadow: 0 0 0 4px rgba(185,138,75,.18);
}
.tl-y { font-family: var(--font-en); font-weight: 700; color: var(--gold-dk); font-size: .92rem; letter-spacing: .04em; }
body.alsh-rtl .tl-y { font-family: var(--font-ar); }
.tl-item h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: .96rem; margin: 0; }

/* =========================================================
   12. كلمة المدير | GM message
   ========================================================= */
.gm { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 800px) { .gm { grid-template-columns: 1fr; } }
.gm-photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.gm-sign { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.bg-dark .gm-sign { border-color: var(--line-dk); }
.gm-sign b { display: block; font-size: 1.08rem; color: var(--navy-800); }
.bg-dark .gm-sign b { color: #fff; }
.gm-sign span { font-size: .9rem; color: var(--gold-dk); }
.bg-dark .gm-sign span { color: var(--gold-lt); }

/* =========================================================
   13. صورة/نص | Media + text
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 66px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; font-size: .99rem; }
.checklist .ic { color: var(--gold); margin-top: 5px; }

/* =========================================================
   14. رأس الصفحة الداخلية | Page header
   ========================================================= */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero .hero-bg img { opacity: .26; }
.page-hero-inner { position: relative; padding-block: clamp(54px, 7vw, 92px); }
.page-hero h1 { color: #fff; font-size: var(--head); margin-bottom: .35em; }
.page-hero p { color: #B9C7D4; max-width: 58ch; font-size: 1.05rem; margin: 0; }
.crumbs { font-size: .85rem; color: #8FA2B2; margin-bottom: 14px; }
.crumbs a { color: #B9C7D4; }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs span { margin-inline: 8px; opacity: .6; }

/* =========================================================
   15. النموذج | Form
   ========================================================= */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.field { margin: 0 0 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
	font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
	border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,75,.14); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #A5AEB7; }
.hp { position: absolute; inset-inline-start: -9999px; }

.alert {
	display: flex; align-items: center; gap: 10px;
	padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 22px; font-size: .96rem; font-weight: 500;
}
.alert-ok  { background: #EAF6EE; color: #1E6B38; border: 1px solid #BFE3CC; }
.alert-err { background: #FDECEA; color: #A32B1C; border: 1px solid #F5C6C0; }

/* بطاقات التواصل | Contact cards */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; padding: 17px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { color: var(--gold); margin-top: 3px; }
.contact-list b { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list span, .contact-list a { font-size: 1.03rem; color: var(--navy-800); font-weight: 500; }
.contact-list a:hover { color: var(--gold-dk); }
.contact-list .ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

.map-box { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-empty { background: var(--sand); padding: 40px 24px; text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* =========================================================
   16. نداء الفعل | CTA band
   ========================================================= */
.cta-band { position: relative; overflow: hidden; background: var(--navy-800); }
.cta-band .hero-bg img { opacity: .18; }
.cta-inner { position: relative; text-align: center; padding-block: clamp(54px, 6vw, 88px); }
.cta-inner h2 { color: #fff; font-size: var(--head); margin-bottom: .4em; }
.cta-inner p { color: #B9C7D4; max-width: 52ch; margin: 0 auto 2rem; font-size: 1.06rem; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   17. التذييل | Footer
   ========================================================= */
.site-footer { background: var(--navy-900); color: #93A3B2; padding-top: clamp(48px, 6vw, 76px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: clamp(28px, 4vw, 58px); padding-bottom: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 78px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #8496A6; max-width: 40ch; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #93A3B2; }
.site-footer a:hover { color: var(--gold-lt); }

.foot-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot-contact .ic { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.foot-contact .ltr { direction: ltr; unicode-bidi: isolate; }

.footer-bottom {
	border-top: 1px solid var(--line-dk); padding: 22px 0;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: .87rem; color: #74848F;
}
.socials { display: flex; gap: 10px; }
.socials a {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dk);
	display: grid; place-items: center; color: #93A3B2;
}
.socials a:hover { border-color: var(--gold); color: var(--gold-lt); }

/* زر واتساب عائم | Floating WhatsApp */
.wa-float {
	position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 90;
	width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
	display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.4);
	transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* =========================================================
   18. المحتوى العام | Generic WP content
   ========================================================= */
.entry-content { max-width: 74ch; }
.entry-content h2 { font-size: var(--head-sm); margin-top: 1.7em; }
.entry-content h3 { font-size: 1.24rem; margin-top: 1.5em; }
.entry-content img { border-radius: var(--r); margin-block: 1.6em; }
.entry-content blockquote { margin: 1.8em 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--gold); color: var(--muted); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 1.6em; }
.entry-content th, .entry-content td { padding: 11px 14px; border: 1px solid var(--line); text-align: start; }
.entry-content th { background: var(--sand); font-weight: 600; }

.notice-box {
	background: var(--sand); border-inline-start: 3px solid var(--gold);
	padding: 18px 22px; border-radius: var(--r-sm); font-size: .95rem; color: var(--slate);
}

/* 404 */
.err404 { text-align: center; padding-block: clamp(70px, 10vw, 140px); }
.err404 .big { font-family: var(--font-en); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; color: var(--sand); line-height: 1; }

/* =========================================================
   19. الحركة | Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   20. الطباعة | Print
   ========================================================= */
@media print {
	.site-header, .site-footer, .topbar, .wa-float, .hero-cta, .cta-band { display: none !important; }
	body { font-size: 12pt; color: #000; }
	.hero, .page-hero { background: none !important; color: #000 !important; }
	.hero h1, .page-hero h1 { color: #000 !important; }
	.hero-bg { display: none; }
}
