/* ==========================================================================
   Miro Marble Pro v2.0 — Royal Saudi Deep Emerald (#0B4F3A) & Champagne Gold (#D4AF37)
   Architectural Luxury • Kinetic Scroll-Reveal • 3D Riyadh Map • Mobile-Safe RTL
   ========================================================================== */

:root {
	--emerald: #0B4F3A;
	--emerald-dark: #062B20;
	--emerald-deep: #041B14;
	--gold: #D4AF37;
	--gold-light: #F0D57B;
	--gold-deep: #A67C1E;
	--bg: #FAF8F4;
	--surface: #FFFFFF;
	--surface-2: #F1EDE4;
	--text: #10201A;
	--text-muted: #4E635B;
	--border: rgba(11, 79, 58, 0.14);
	--shadow-sm: 0 8px 24px rgba(4, 27, 20, 0.06);
	--shadow-md: 0 18px 42px rgba(4, 27, 20, 0.10);
	--shadow-lg: 0 28px 64px rgba(4, 27, 20, 0.16);
	--radius: 22px;
	--radius-sm: 14px;
	--logo-h: 46px;
	--font-body: 'Tajawal', system-ui, -apple-system, sans-serif;
	--font-head: 'Cairo', 'Tajawal', sans-serif;
}

[data-theme="dark"] {
	--bg: #06110D;
	--surface: #0B1D16;
	--surface-2: #112920;
	--text: #F4F7F5;
	--text-muted: #A4BAB0;
	--border: rgba(212, 175, 55, 0.22);
	--shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.38);
	--shadow-md: 0 20px 44px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 30px 66px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--text);
	line-height: 1.78;
	overflow-x: clip;
	transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin-top: 0; line-height: 1.32; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* Generous Architectural Breathing Room */
.container {
	width: min(1240px, 100%);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 48px);
}
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--surface-2); }

/* Scroll Reveal Animations */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.sec-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.sec-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(11, 79, 58, 0.09);
	color: var(--emerald);
	border: 1px solid rgba(11, 79, 58, 0.22);
	padding: 6px 18px; border-radius: 999px;
	font-weight: 800; font-size: 0.86rem; margin-bottom: 14px;
	letter-spacing: 0.2px;
}
[data-theme="dark"] .sec-kicker {
	background: rgba(212, 175, 55, 0.14);
	color: var(--gold-light);
	border-color: rgba(212, 175, 55, 0.35);
}
.sec-title { font-size: clamp(1.8rem, 3.3vw, 2.65rem); font-weight: 900; margin-bottom: 14px; }
.sec-sub { color: var(--text-muted); font-size: 1.06rem; margin: 0; }

/* Luxury Buttons with Shimmer */
.btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 28px; border-radius: 999px; font-weight: 800; font-size: 0.96rem;
	cursor: pointer; border: 2px solid transparent; transition: all 0.28s ease;
	white-space: nowrap;
}
.btn::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
	transform: translateX(120%); transition: transform 0.65s ease;
}
.btn:hover::after { transform: translateX(-120%); }
.btn-emerald {
	background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
	color: #fff; box-shadow: 0 12px 26px rgba(11, 79, 58, 0.3);
}
.btn-emerald:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 79, 58, 0.42); }
.btn-gold {
	background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
	color: #041B14; box-shadow: 0 12px 28px rgba(212, 175, 55, 0.34);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline-light {
	background: rgba(255, 255, 255, 0.08); color: #fff;
	border-color: rgba(240, 213, 123, 0.55); backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: #fff; color: var(--emerald-dark); }
.btn-outline {
	background: transparent; color: var(--emerald); border-color: var(--emerald);
}
[data-theme="dark"] .btn-outline { color: var(--gold-light); border-color: var(--gold); }
.btn-outline:hover { background: var(--emerald); color: #fff; }

/* ==========================================================================
   Floating Pill Header (100% Mobile-Safe — Zero Overflow)
   ========================================================================== */
.site-header {
	position: fixed; top: 14px; inset-inline: 0; z-index: 900;
	transition: top 0.25s ease;
}
.site-header.scrolled { top: 8px; }
.header-pill {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; max-width: 100%;
	background: rgba(255, 255, 255, 0.93);
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 8px 16px;
	box-shadow: var(--shadow-md);
}
[data-theme="dark"] .header-pill { background: rgba(11, 29, 22, 0.93); }

.brand-link {
	display: inline-flex; align-items: center; gap: 10px;
	min-width: 0; flex-shrink: 1;
}
.brand-logo-wrap {
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0; border-radius: 10px; transition: background 0.25s ease;
}
[data-theme="dark"] .brand-logo-wrap {
	background: rgba(250, 248, 244, 0.92);
	padding: 3px 8px;
}
.brand-link img { height: var(--logo-h); width: auto; max-width: 130px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong {
	font-family: var(--font-head); font-size: 1.02rem; color: var(--emerald);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-theme="dark"] .brand-text strong { color: var(--gold-light); }
.brand-text span {
	font-size: 0.72rem; color: var(--text-muted); font-weight: 700;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
	transition: background 0.2s ease, color 0.2s ease;
}
.main-nav > li > a:hover, .main-nav > li.current-menu-item > a {
	background: rgba(11, 79, 58, 0.1); color: var(--emerald);
}
[data-theme="dark"] .main-nav > li > a:hover { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); }

.has-dropdown .sub-dropdown {
	position: absolute; top: 118%; right: 0; min-width: 270px;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all 0.22s ease; z-index: 950;
}
.has-dropdown:hover .sub-dropdown, .has-dropdown:focus-within .sub-dropdown {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-dropdown a {
	display: flex; align-items: center; padding: 9px 12px; border-radius: 10px;
	font-size: 0.88rem; font-weight: 700;
}
.sub-dropdown a:hover { background: var(--surface-2); color: var(--emerald); }
[data-theme="dark"] .sub-dropdown a:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
	background: var(--surface-2); color: var(--text); flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; transition: all 0.2s ease;
}
.icon-btn:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.header-call-btn { padding: 9px 18px; font-size: 0.86rem; }
.menu-toggle { display: none; }

/* Mobile Drawer */
.mobile-drawer {
	position: fixed; inset: 0; z-index: 1100; visibility: hidden; opacity: 0;
	transition: all 0.28s ease;
}
.mobile-drawer.open { visibility: visible; opacity: 1; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 27, 20, 0.72); backdrop-filter: blur(5px); }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
	background: var(--surface); padding: 24px; overflow-y: auto;
	transform: translateX(100%); transition: transform 0.3s ease;
	display: flex; flex-direction: column; gap: 18px;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.drawer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.drawer-links a { display: block; padding: 11px 14px; border-radius: 12px; font-weight: 700; }
.drawer-links a:hover { background: var(--surface-2); color: var(--emerald); }

/* ==========================================================================
   Dynamic 2-Column Luxury Hero + Ambient Orbs + Live Dispatch Card
   ========================================================================== */
.hero-wrap {
	position: relative; min-height: 90vh; display: flex; align-items: center;
	padding: 148px 0 84px; overflow: hidden;
	background: var(--emerald-deep); color: #fff;
}
.hero-slides, .hero-video-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.07); transition: opacity 1s ease, transform 6s ease;
}
.hero-slide-bg.active { opacity: 1; transform: scale(1); }
.hero-overlay {
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(circle at 18% 22%, rgba(212, 175, 55, 0.22), transparent 44%),
		linear-gradient(115deg, rgba(4, 27, 20, 0.92) 0%, rgba(6, 43, 32, 0.78) 55%, rgba(4, 27, 20, 0.88) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-grid {
	display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center;
	margin-bottom: 42px;
}
.hero-content { padding-inline-start: 6px; }
.hero-slide-text { display: none; animation: fadeUp 0.65s ease both; }
.hero-slide-text.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(212, 175, 55, 0.16); border: 1px solid rgba(240, 213, 123, 0.55);
	color: var(--gold-light); padding: 7px 18px; border-radius: 999px;
	font-weight: 800; font-size: 0.88rem; margin-bottom: 20px;
}
.hero-title { font-size: clamp(2rem, 4.1vw, 3.35rem); font-weight: 900; margin-bottom: 18px; color: #fff; line-height: 1.26; }
.hero-title span {
	background: linear-gradient(120deg, var(--gold-light), var(--gold));
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: rgba(255, 255, 255, 0.88); margin-bottom: 30px; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-dots { display: flex; gap: 10px; }
.hero-dot {
	width: 34px; height: 6px; border-radius: 999px; border: 0;
	background: rgba(255, 255, 255, 0.28); cursor: pointer; transition: all 0.3s ease;
}
.hero-dot.active { width: 58px; background: var(--gold-light); }

/* Floating Hero Showcase Card */
.hero-showcase {
	background: rgba(11, 79, 58, 0.32);
	border: 1px solid rgba(240, 213, 123, 0.35);
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	border-radius: 26px; padding: 18px; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
	animation: floatSlow 5.5s ease-in-out infinite;
}
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-showcase-img { border-radius: 18px; overflow: hidden; margin-bottom: 16px; border: 1px solid rgba(240, 213, 123, 0.3); }
.hero-showcase-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.live-pill {
	display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800;
	color: #A7F3D0; margin-bottom: 8px;
}
.live-dot {
	width: 9px; height: 9px; border-radius: 50%; background: #34D399;
	box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: pulseLive 1.8s infinite;
}
@keyframes pulseLive { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-showcase h3 { font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.hero-showcase p { font-size: 0.88rem; color: rgba(255,255,255,0.82); margin: 0 0 14px; }

/* Stats Strip */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
	background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(240, 213, 123, 0.24);
	backdrop-filter: blur(12px); border-radius: 18px; padding: 18px 20px; text-align: center;
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--gold-light); }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--gold-light); line-height: 1.1; }
.stat-lbl { font-size: 0.88rem; color: rgba(255, 255, 255, 0.88); font-weight: 600; margin-top: 4px; }

/* Kinetic Marble Types Marquee Strip */
.marquee-strip {
	background: var(--emerald-dark); color: var(--gold-light);
	border-top: 1px solid rgba(212, 175, 55, 0.35);
	border-bottom: 1px solid rgba(212, 175, 55, 0.35);
	padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
	display: inline-flex; gap: 36px; font-weight: 800; font-size: 0.96rem;
	animation: marqueeScroll 28s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column;
	transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.srv-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.srv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.service-card:hover .srv-media img { transform: scale(1.07); }
.srv-badge {
	position: absolute; top: 14px; right: 14px;
	background: rgba(6, 43, 32, 0.92); color: var(--gold-light);
	border: 1px solid rgba(212, 175, 55, 0.45);
	padding: 5px 13px; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
}
.srv-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.srv-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.srv-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 18px; flex: 1; }
.srv-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding-top: 14px; border-top: 1px solid var(--border);
}
.srv-price { font-weight: 800; color: var(--emerald); font-size: 0.9rem; }
[data-theme="dark"] .srv-price { color: var(--gold-light); }
.srv-wa {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(11, 79, 58, 0.1); color: var(--emerald);
	padding: 7px 15px; border-radius: 999px; font-weight: 800; font-size: 0.84rem;
	transition: all 0.2s ease;
}
[data-theme="dark"] .srv-wa { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); }
.srv-wa:hover { background: var(--emerald); color: #fff; }

/* ==========================================================================
   3D Tilt About Section
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.tilt-wrap { perspective: 1000px; }
.tilt-card {
	position: relative; border-radius: 26px; overflow: hidden;
	border: 2px solid rgba(212, 175, 55, 0.45); box-shadow: var(--shadow-lg);
	transform-style: preserve-3d; transition: transform 0.18s ease-out;
}
.tilt-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tilt-float {
	position: absolute; bottom: 20px; right: 20px;
	background: rgba(4, 27, 20, 0.92); color: #fff;
	border: 1px solid var(--gold); border-radius: 16px; padding: 14px 18px;
	backdrop-filter: blur(8px);
}
.tilt-float strong { display: block; color: var(--gold-light); font-size: 1.2rem; }
.tilt-float span { font-size: 0.84rem; opacity: 0.9; }

.eeat-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eeat-list li {
	display: flex; align-items: center; gap: 10px;
	background: var(--surface); border: 1px solid var(--border);
	padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 0.93rem;
}
.eeat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ==========================================================================
   Before / After & SAR Calculator
   ========================================================================== */
.ba-calc-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: stretch; }
.ba-box {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-md);
	display: flex; flex-direction: column;
}
.ba-stage {
	position: relative; width: 100%; aspect-ratio: 16 / 11; border-radius: 16px;
	overflow: hidden; user-select: none; touch-action: none; cursor: ew-resize; flex: 1;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; border-left: 3px solid var(--gold-light); }
.ba-before-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.42) contrast(0.84) brightness(0.82); }
.ba-handle {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--emerald); color: var(--gold-light);
	border: 3px solid var(--gold-light); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	display: flex; align-items: center; justify-content: center; font-weight: 900; pointer-events: none;
}
.ba-tag {
	position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px;
	font-size: 0.82rem; font-weight: 800; background: rgba(4, 27, 20, 0.86); color: #fff;
}
.ba-tag-after { left: 14px; border: 1px solid var(--gold); color: var(--gold-light); }
.ba-tag-before { right: 14px; }
.ba-range { width: 100%; margin-top: 14px; accent-color: var(--emerald); cursor: pointer; }

.calc-card {
	background: linear-gradient(160deg, var(--emerald), var(--emerald-deep));
	color: #fff; border-radius: var(--radius); padding: 30px;
	border: 1px solid rgba(212, 175, 55, 0.45); box-shadow: var(--shadow-lg);
	display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.calc-card h3 { color: var(--gold-light); font-size: 1.45rem; margin-bottom: 6px; }
.calc-group label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.92); }
.calc-select, .calc-input {
	width: 100%; padding: 12px 14px; border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1);
	color: #fff; font-weight: 700; font-size: 0.96rem;
}
.calc-select option { color: #111; }
.calc-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pkg-btn {
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff; border-radius: 12px; padding: 10px 8px; cursor: pointer;
	font-weight: 700; font-size: 0.82rem; transition: all 0.2s ease; text-align: center;
}
.pkg-btn.active { background: var(--gold); color: #041B14; border-color: var(--gold-light); }
.calc-result {
	background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(240, 213, 123, 0.42);
	border-radius: 16px; padding: 16px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.calc-total { font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; color: var(--gold-light); }

/* ==========================================================================
   6-Stage Auto-Advancing Timeline
   ========================================================================== */
.timeline-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tl-step {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: 18px; padding: 20px 16px; text-align: center; cursor: pointer;
	transition: all 0.3s ease;
}
.tl-step.active {
	background: linear-gradient(160deg, var(--emerald), var(--emerald-dark));
	color: #fff; border-color: var(--gold); transform: translateY(-8px);
	box-shadow: var(--shadow-md);
}
.tl-num {
	width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
	background: rgba(11, 79, 58, 0.12); color: var(--emerald);
	display: flex; align-items: center; justify-content: center;
	font-weight: 900; font-family: var(--font-head);
}
.tl-step.active .tl-num { background: var(--gold); color: #041B14; }
.tl-step h4 { font-size: 0.98rem; margin-bottom: 6px; }
.tl-step p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }
.tl-step.active p { color: rgba(255, 255, 255, 0.9); }

/* ==========================================================================
   Portfolio & Lightbox
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter-btn {
	padding: 9px 22px; border-radius: 999px; border: 1px solid var(--border);
	background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer;
	transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.port-card {
	position: relative; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4 / 3; cursor: pointer; box-shadow: var(--shadow-sm);
	border: 1px solid var(--border);
}
.port-card.hidden { display: none; }
.port-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.port-card:hover img { transform: scale(1.08); }
.port-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(4, 27, 20, 0.92) 0%, rgba(4, 27, 20, 0.14) 55%, transparent 100%);
	display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff;
}
.port-area { font-size: 0.78rem; color: var(--gold-light); font-weight: 800; margin-bottom: 4px; }
.port-overlay h3 { font-size: 1.05rem; margin: 0; color: #fff; }

.lightbox {
	position: fixed; inset: 0; z-index: 1200; background: rgba(4, 18, 13, 0.92);
	backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lb-box {
	width: min(860px, 96vw); background: var(--surface); border-radius: 22px;
	overflow: hidden; border: 1px solid var(--gold); box-shadow: var(--shadow-lg);
}
.lb-media { position: relative; background: #000; max-height: 58vh; overflow: hidden; }
.lb-media img { width: 100%; max-height: 58vh; object-fit: contain; }
.lb-close {
	position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 1.3rem; cursor: pointer;
}
.lb-info { padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.lb-thumbs { display: flex; gap: 8px; padding: 0 22px 18px; overflow-x: auto; }
.lb-thumb { width: 68px; height: 48px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: 0.55; border: 2px solid transparent; flex-shrink: 0; }
.lb-thumb.active { opacity: 1; border-color: var(--gold); }

/* ==========================================================================
   3D Isometric Interactive Riyadh City Map
   ========================================================================== */
.riyadh-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 34px; align-items: center; }
.riyadh-3d-stage {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	border: 2px solid rgba(212, 175, 55, 0.45);
	box-shadow: 0 28px 64px rgba(4, 27, 20, 0.34);
	background: #041B14;
	transform: perspective(1200px) rotateX(2deg);
	transition: transform 0.35s ease;
}
.riyadh-3d-stage:hover { transform: perspective(1200px) rotateX(0deg); }
.riyadh-3d-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: contrast(1.04) saturate(1.06); }
.riyadh-3d-vignette {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(circle at center, transparent 48%, rgba(4, 27, 20, 0.52) 100%);
}
.map-legend {
	position: absolute; bottom: 14px; right: 14px; left: 14px;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: rgba(4, 27, 20, 0.82); backdrop-filter: blur(10px);
	border: 1px solid rgba(212, 175, 55, 0.38); border-radius: 14px;
	padding: 9px 14px; color: #fff; font-size: 0.8rem; font-weight: 700;
}

/* 3D Interactive Floating Radar Pins */
.ryd-hotspot {
	position: absolute; transform: translate(-50%, -50%);
	background: rgba(4, 27, 20, 0.9); color: #fff;
	border: 1.5px solid rgba(240, 213, 123, 0.7);
	border-radius: 999px; padding: 7px 14px;
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-head); font-weight: 800; font-size: 0.84rem;
	cursor: pointer; z-index: 4;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
	transition: all 0.25s ease; white-space: nowrap;
}
.ryd-hotspot:hover { transform: translate(-50%, -56%) scale(1.06); border-color: var(--gold-light); }
.ryd-hotspot.active {
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	color: #041B14; border-color: #fff;
	transform: translate(-50%, -58%) scale(1.1);
	box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.28), 0 14px 30px rgba(0, 0, 0, 0.55);
	z-index: 6;
}
.hs-pulse {
	width: 10px; height: 10px; border-radius: 50%; background: var(--gold-light);
	position: relative; flex-shrink: 0;
}
.ryd-hotspot.active .hs-pulse { background: #041B14; }
.ryd-hotspot.active .hs-pulse::after {
	content: ''; position: absolute; inset: -6px; border-radius: 50%;
	border: 2px solid #041B14; animation: radarRing 1.5s infinite;
}
@keyframes radarRing { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }

.riyadh-info-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: 26px; padding: 30px; box-shadow: var(--shadow-md);
}
.zone-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.zone-tab {
	padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
	background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 0.85rem; cursor: pointer;
	transition: all 0.2s ease;
}
.zone-tab.active { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.zone-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.zone-metric { background: var(--surface-2); border-radius: 14px; padding: 13px 15px; border: 1px solid var(--border); }
.zone-metric span { display: block; font-size: 0.8rem; color: var(--text-muted); }
.zone-metric strong { font-size: 1.06rem; color: var(--emerald); }
[data-theme="dark"] .zone-metric strong { color: var(--gold-light); }
.hood-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.hood-chip {
	background: rgba(11, 79, 58, 0.09); color: var(--emerald);
	border: 1px solid rgba(11, 79, 58, 0.2); padding: 5px 12px;
	border-radius: 999px; font-size: 0.84rem; font-weight: 700;
}
[data-theme="dark"] .hood-chip { background: rgba(212, 175, 55, 0.14); color: var(--gold-light); border-color: rgba(212, 175, 55, 0.3); }

/* ==========================================================================
   CTA, FAQ & Booking
   ========================================================================== */
.cta-banner {
	background: linear-gradient(125deg, var(--emerald-deep), var(--emerald), var(--emerald-dark));
	color: #fff; border-radius: 28px; padding: 50px 40px;
	border: 1px solid rgba(212, 175, 55, 0.48); box-shadow: var(--shadow-lg);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 620px; }

.faq-book-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-q {
	width: 100%; background: none; border: 0; padding: 18px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	text-align: right; font-weight: 800; font-size: 1rem; color: var(--text); cursor: pointer;
}
.faq-icon { font-size: 1.3rem; color: var(--emerald); transition: transform 0.25s ease; }
[data-theme="dark"] .faq-icon { color: var(--gold-light); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--text-muted); font-size: 0.95rem; }

.booking-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 0.95rem; }

/* ==========================================================================
   Elevated Blog, Category Archives, Search & Single Posts
   ========================================================================== */
.page-hero {
	background:
		radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.2), transparent 45%),
		linear-gradient(125deg, var(--emerald-deep), var(--emerald-dark));
	color: #fff; padding: 142px 0 64px; border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: #fff; font-size: clamp(1.85rem, 3.3vw, 2.75rem); margin-bottom: 12px; }
.breadcrumbs { font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a:hover { color: var(--gold-light); }

.archive-tools {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px; margin-top: 26px;
}
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill {
	padding: 7px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 700;
	background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff; transition: all 0.2s ease;
}
.cat-pill:hover, .cat-pill.active { background: var(--gold); color: #041B14; border-color: var(--gold-light); }

.archive-search {
	display: flex; background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
	padding: 4px; min-width: min(320px, 100%);
}
.archive-search input {
	flex: 1; border: 0; background: transparent; color: #fff; padding: 8px 14px;
	font-size: 0.9rem; outline: none;
}
.archive-search input::placeholder { color: rgba(255, 255, 255, 0.72); }
.archive-search button {
	border: 0; background: var(--gold); color: #041B14; font-weight: 800;
	padding: 8px 18px; border-radius: 999px; cursor: pointer;
}

/* Featured Lead Article Card in Archives */
.featured-post {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-md);
	margin-bottom: 42px;
}
.featured-post-thumb { position: relative; height: 100%; min-height: 320px; overflow: hidden; }
.featured-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.featured-post:hover .featured-post-thumb img { transform: scale(1.05); }
.featured-post-body { padding: 32px; }
.featured-post-body h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); margin-bottom: 12px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-cat-badge {
	position: absolute; top: 12px; right: 12px;
	background: rgba(4, 27, 20, 0.88); color: var(--gold-light);
	border: 1px solid rgba(212, 175, 55, 0.45);
	padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 800;
}
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-body h2 { font-size: 1.15rem; margin-bottom: 10px; }
.post-body p { font-size: 0.93rem; color: var(--text-muted); margin: 0 0 18px; flex: 1; }

/* Single Post */
.single-hero {
	background: linear-gradient(135deg, var(--emerald-deep), var(--emerald-dark));
	color: #fff; padding: 140px 0 64px; border-bottom: 3px solid var(--gold);
}
.single-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.single-hero-img { border-radius: 22px; overflow: hidden; border: 2px solid rgba(212, 175, 55, 0.45); box-shadow: var(--shadow-lg); }
.single-hero-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.single-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; padding: 54px 0 80px; }
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-sm); }
.toc-box { background: var(--surface-2); border: 1px solid var(--border); border-right: 4px solid var(--emerald); border-radius: 14px; padding: 18px 20px; margin-bottom: 26px; }
.toc-box h3 { font-size: 1.05rem; margin-bottom: 10px; }
.toc-list { margin: 0; padding-right: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.toc-list a:hover { color: var(--emerald); text-decoration: underline; }

.entry-content { font-size: 1.06rem; line-height: 1.92; }
.entry-content h2 { font-size: 1.5rem; margin: 30px 0 12px; color: var(--emerald); }
[data-theme="dark"] .entry-content h2 { color: var(--gold-light); }
.entry-content h3 { font-size: 1.22rem; margin: 22px 0 10px; }
.entry-content img { border-radius: 14px; margin: 20px auto; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; overflow-x: auto; display: block; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: right; }
.entry-content th { background: var(--surface-2); }

.eeat-box {
	margin-top: 34px; padding: 22px; border-radius: 18px;
	background: var(--surface-2); border: 1px solid var(--border);
	display: flex; gap: 16px; align-items: center;
}
.eeat-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex-shrink: 0; }

.sidebar-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.side-widget { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); }
.side-cta { background: linear-gradient(155deg, var(--emerald), var(--emerald-deep)); color: #fff; border-color: var(--gold); }
.side-cta h3 { color: var(--gold-light); }

/* ==========================================================================
   Footer & Dual Floating Buttons
   ========================================================================== */
.site-footer {
	background: var(--emerald-deep); color: rgba(255, 255, 255, 0.88);
	padding: 72px 0 30px; border-top: 4px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; margin-bottom: 42px; }
.footer-col h3 { color: var(--gold-light); font-size: 1.15rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a:hover { color: var(--gold-light); padding-right: 4px; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 0.88rem;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; }
.legal-links a:hover { color: var(--gold-light); }

.float-btn {
	position: fixed; bottom: 22px; z-index: 980;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 18px; border-radius: 999px; font-weight: 800; font-size: 0.92rem;
	color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
	transition: transform 0.25s ease;
}
.float-btn:hover { transform: translateY(-4px) scale(1.03); }
.float-wa { background: #25D366; right: 20px; }
.float-call { background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); border: 2px solid var(--gold-light); left: 20px; }
.float-swapped .float-wa { right: auto; left: 20px; }
.float-swapped .float-call { left: auto; right: 20px; }
.float-btn svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }
.pagination .page-numbers.current { background: var(--emerald); color: #fff; border-color: var(--emerald); }

/* ==========================================================================
   Responsive Breakpoints (Mobile Header 100% Locked Inside Pill)
   ========================================================================== */
@media (max-width: 1060px) {
	.desktop-nav, .header-call-btn { display: none; }
	.menu-toggle { display: inline-flex; }
	.hero-grid { grid-template-columns: 1fr; gap: 28px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.services-grid, .portfolio-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
	.timeline-grid { grid-template-columns: repeat(3, 1fr); }
	.featured-post, .about-grid, .ba-calc-grid, .riyadh-grid, .faq-book-grid, .single-hero-grid, .single-layout, .footer-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 680px) {
	.container { padding-inline: 16px; }
	.site-header { top: 10px; }
	.header-pill { padding: 7px 12px; gap: 8px; border-radius: 20px; }
	.brand-link { gap: 8px; }
	.brand-link img { height: 34px; max-width: 90px; }
	.brand-text strong { font-size: 0.94rem; }
	.brand-text span { display: none; }
	.icon-btn { width: 36px; height: 36px; }
	.hero-wrap { padding: 118px 0 64px; }
	.section { padding: 64px 0; }
	.services-grid, .portfolio-grid, .blog-grid, .eeat-list { grid-template-columns: 1fr; }
	.timeline-grid { grid-template-columns: repeat(2, 1fr); }
	.calc-pkgs { grid-template-columns: 1fr; }
	.ryd-hotspot { padding: 5px 10px; font-size: 0.74rem; gap: 5px; }
	.map-legend { font-size: 0.72rem; flex-direction: column; align-items: flex-start; }
	.float-btn span { display: none; }
	.float-btn { padding: 14px; border-radius: 50%; bottom: 16px; }
	.article-card, .featured-post-body { padding: 22px 18px; }
}
