:root {
	--gold: #9a7b2f;
	--gold-soft: #c4a35a;
	--bronze: #8b6508;
	--blue: #1e6ba8;
	--blue-bright: #2b8ed1;
	--navy: #0b1f33;
	--navy-deep: #07141f;
	--ink: #12202e;
	--paper: #ffffff;
	--muted: #d7e0ea;
	--header-h: 92px;
}

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

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	background: var(--navy-deep);
}

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

a {
	color: inherit;
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header — logos far left, company name far right */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	height: var(--header-h);
	background: var(--paper);
	border-bottom: 3px solid var(--gold);
	box-shadow: 0 8px 24px rgba(7, 20, 31, 0.08);
}

.header-inner {
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.logo-lockup {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo {
	width: auto;
	object-fit: contain;
	flex-shrink: 0;
}

.logo-road {
	height: 64px;
	width: 64px;
	border-radius: 10px;
}

.logo-mark {
	height: 56px;
	width: 56px;
}

.group-name {
	font-family: "Playfair Display", Georgia, serif;
	font-style: italic;
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--navy);
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.header-right {
	text-align: right;
}

.company-ar {
	margin: 0 0 4px;
	font-family: "Cairo", "Noto Naskh Arabic", serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--bronze);
	line-height: 1.3;
}

.company-en {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--blue);
}

/* Construction image fills the lower page */
.hero {
	position: relative;
	flex: 1 1 auto;
	min-height: 58vh;
	color: var(--paper);
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	background:
		url("../images/construction.jpg") center bottom / cover no-repeat;
	transform: scale(1.04);
}

.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 31, 51, 0.18) 0%, rgba(11, 31, 51, 0.28) 38%, rgba(7, 20, 31, 0.78) 70%, rgba(7, 20, 31, 0.9) 100%);
}

.hero-content {
	position: absolute;
	top: 68%;
	left: 50%;
	z-index: 2;
	width: min(820px, calc(100% - 40px));
	transform: translate(-50%, -50%);
	padding: 32px 36px 30px;
	text-align: center;
	background: rgba(7, 20, 31, 0.46);
	border: 1px solid rgba(196, 163, 90, 0.28);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.eyebrow {
	margin: 0 0 10px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold-soft);
}

.hero-content h1 {
	margin: 0 0 12px;
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: clamp(1.7rem, 4vw, 2.65rem);
	line-height: 1.2;
	color: #fff;
}

.subhead {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 500;
	color: var(--muted);
}

.contact {
	position: relative;
	z-index: 2;
	padding: 22px 24px 20px;
	text-align: center;
	background: var(--navy-deep);
	border-top: 1px solid rgba(196, 163, 90, 0.35);
}

.address-label {
	margin: 0 0 6px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-soft);
}

.address {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--gold-soft);
}

.contact-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
}

.contact-links a {
	color: #7ec4ef;
	font-weight: 600;
	font-size: 0.95rem;
	text-underline-offset: 3px;
}

.contact-links a:hover {
	color: #fff;
}

.contact-links .phone {
	color: #fff;
	text-decoration: none;
}

/* Footer — countries, SAM, UKAS, large QR */
.site-footer {
	background: var(--navy);
	color: var(--paper);
	border-top: 3px solid var(--gold);
}

.footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 22px 28px 20px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px 36px;
	align-items: center;
}

.footer-badges {
	display: flex;
	align-items: center;
	gap: 18px;
}

.badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 72px;
}

.badge span {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-soft);
	text-align: center;
}

.footer-regions {
	text-align: center;
}

.region-flags {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 22px;
}

.region-flags li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e8eef4;
}

.flag {
	width: 28px;
	height: 18px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
	background-size: cover;
	flex-shrink: 0;
}

.flag-sa {
	background: linear-gradient(#006c35, #006c35);
	position: relative;
}

.flag-eg {
	background: linear-gradient(#ce1126 0 33%, #fff 33% 66%, #000 66% 100%);
}

.flag-ae {
	background:
		linear-gradient(#ce1126 0 100%),
		linear-gradient(#00732f 0 33%, #fff 33% 66%, #000 66% 100%);
	background-size: 28% 100%, 100% 100%;
	background-repeat: no-repeat;
}

.flag-us {
	background: repeating-linear-gradient(
		#b22234 0 2px,
		#fff 2px 4px
	);
}

.flag-qa {
	background: linear-gradient(90deg, #fff 0 28%, #8a1538 28% 100%);
}

.region-line {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--gold-soft);
}

.footer-qr img {
	width: 210px;
	height: 210px;
	object-fit: contain;
	background: #fff;
	padding: 8px;
	border-radius: 6px;
}

@media (max-width: 900px) {
	:root {
		--header-h: auto;
	}

	.site-header {
		height: auto;
	}

	.header-inner {
		padding: 12px 16px;
		flex-wrap: wrap;
	}

	.logo-road {
		height: 52px;
		width: 52px;
	}

	.logo-mark {
		height: 46px;
		width: 46px;
	}

	.group-name {
		font-size: 1.1rem;
	}

	.header-right {
		width: 100%;
		text-align: right;
	}

	.hero {
		min-height: 72vh;
	}

	.hero-content {
		padding: 24px 18px 22px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding: 22px 16px 26px;
	}

	.footer-qr img {
		width: 200px;
		height: 200px;
	}
}

@media (max-width: 560px) {
	.group-name {
		display: none;
	}

	.company-ar {
		font-size: 1rem;
	}

	.company-en {
		font-size: 0.8rem;
	}

	.region-line {
		letter-spacing: 0.04em;
		font-size: 0.68rem;
	}
}
