/* ============ COME Engineering — light one-page (v2, Ebdaat style) ============ */
:root {
	--bg: #ffffff;
	--bg-soft: #f2f4f8;
	--ink: #1c2333;
	--ink-dim: #5c6675;
	--blue: #0233a0;
	--blue-soft: #e8edf9;
	--red: #d42027;
	--line: #e3e7ee;
	--shadow: 0 10px 34px rgba(28, 35, 51, .08);
	--font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
	--font-en: "Space Grotesk", system-ui, sans-serif;
	--radius: 16px;
	--container: 1200px;
	--header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ar);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.dir-ltr { font-family: var(--font-en); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 90px; position: relative; }
.section-soft { background: var(--bg-soft); }

h1, h2, h3 { line-height: 1.35; font-weight: 700; color: var(--ink); }

/* Ebdaat-style title bars */
.title-bars { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; }
.title-bars span:first-child { width: 220px; height: 12px; background: #b9bec8; }
.title-bars span:last-child { width: 110px; height: 12px; background: var(--red); }
.section-head { margin-bottom: 46px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-sub { color: var(--ink-dim); max-width: 640px; margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 30px; border-radius: 10px;
	font-weight: 600; font-size: .95rem; cursor: pointer; border: 0;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(2, 51, 160, .25); }
.btn-accent:hover { background: #06277a; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(212, 32, 39, .25); }
.btn-red:hover { background: #ab161c; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 16px 42px; font-size: 1.05rem; }

/* ---------- Header (transparent → white) ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.header-inner {
	max-width: var(--container); margin-inline: auto; padding: 14px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .brand-logo { max-height: 48px; width: auto; background: #fff; border-radius: 10px; padding: 5px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.brand-text { font-family: var(--font-en); font-weight: 700; font-size: 1.5rem; color: #fff; }
.brand-sub { font-size: .68rem; color: rgba(255,255,255,.85); max-width: 200px; line-height: 1.4; }
.nav-list { display: flex; gap: 4px; }
.nav-list a { padding: 9px 15px; border-radius: 999px; font-size: .98rem; font-weight: 500; color: rgba(255,255,255,.92); transition: color .2s, background .2s; }
.nav-list a:hover { color: #fff; background: rgba(255,255,255,.14); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch ul { display: flex; gap: 8px; }
.lang-switch a { display: inline-block; padding: 6px 12px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; font-size: .8rem; text-transform: uppercase; color: #fff; font-family: var(--font-en); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* scrolled state: white bar, dark text */
.site-header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 4px 22px rgba(28,35,51,.09); }
.site-header.scrolled .nav-list a { color: var(--ink-dim); }
.site-header.scrolled .nav-list a:hover { color: var(--blue); background: var(--blue-soft); }
.site-header.scrolled .brand-text { color: var(--blue); }
.site-header.scrolled .brand-sub { color: var(--ink-dim); }
.site-header.scrolled .lang-switch a { color: var(--ink-dim); border-color: var(--line); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.site-header.scrolled .brand .brand-logo { box-shadow: none; border: 1px solid var(--line); }

/* ---------- WhatsApp float ---------- */
.wa-float {
	position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 90;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, .4); animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
	0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.45); }
	50% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- Hero (photo + gradient) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(6, 18, 48, .55) 0%, rgba(2, 51, 160, .55) 55%, rgba(2, 20, 60, .78) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); color: #fff; }
.hero-kicker { color: rgba(255,255,255,.85); font-weight: 500; margin-bottom: 14px; letter-spacing: .04em; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 860px; margin-bottom: 20px; color: #fff; }
.hero-title .txt-accent { color: #ff6b71; }
.hero-sub { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 640px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: row; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.stat-num, .stat-plus { font-family: var(--font-en); font-size: 2.4rem; font-weight: 700; color: #fff; }
.stat-plus { color: #ff6b71; }
.stat-label { width: 100%; color: rgba(255,255,255,.8); font-size: .9rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 54px; align-items: start; }
.about-text .lead { font-size: 1.18rem; font-weight: 600; margin-bottom: 18px; }
.about-text p { color: var(--ink-dim); margin-bottom: 16px; }
.about-fields { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.about-fields h3 { margin-bottom: 18px; font-size: 1.15rem; }
.check-list li { position: relative; padding-inline-start: 30px; margin-bottom: 12px; color: var(--ink-dim); font-size: .95rem; }
.check-list li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 8px;
	width: 14px; height: 14px; border-radius: 4px; background: var(--red);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' stroke='black' stroke-width='4' fill='none'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' stroke='black' stroke-width='4' fill='none'/%3E%3C/svg%3E");
}

/* ---------- Services (white cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.service-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 34px 26px; box-shadow: var(--shadow);
	transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(28, 35, 51, .13); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-dim); font-size: .93rem; }
.service-card ul { margin-top: 12px; }
.service-card ul li { position: relative; padding-inline-start: 20px; color: var(--ink-dim); font-size: .88rem; margin-bottom: 7px; }
.service-card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); opacity: .55; }
.service-icon { width: 58px; height: 58px; border-radius: 14px; margin-bottom: 20px; position: relative; background: var(--blue-soft); }
.service-icon::after {
	content: ""; position: absolute; inset: 13px; background: linear-gradient(135deg, var(--blue), var(--red));
	-webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.icon-hvac::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5L5 19' stroke='black' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='3.5' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5L5 19' stroke='black' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='3.5' fill='black'/%3E%3C/svg%3E"); }
.icon-fire::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 4-4 6-4 11a4 4 0 008 0c0-2-1-3-1-3s3 1 3 4a6 6 0 11-12 0C6 8 12 7 12 2z' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 4-4 6-4 11a4 4 0 008 0c0-2-1-3-1-3s3 1 3 4a6 6 0 11-12 0C6 8 12 7 12 2z' fill='black'/%3E%3C/svg%3E"); }
.icon-pump::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='12' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M15 12h7M19 8v8M10 7V3M10 21v-4' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='12' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M15 12h7M19 8v8M10 7V3M10 21v-4' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.icon-studies::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }

/* ---------- Why (numbered) ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.why-item { display: flex; gap: 22px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-num { font-family: var(--font-en); font-size: 1.6rem; font-weight: 700; color: var(--red); line-height: 1.2; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.why-item p { color: var(--ink-dim); font-size: .95rem; }

/* ---------- Projects grid (Ebdaat overlay tiles) ---------- */
.projects-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.project-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-tile:hover img { transform: scale(1.07); }
.project-tile::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(6, 18, 48, .72) 100%);
	transition: background .3s;
}
.project-tile figcaption {
	position: absolute; bottom: 14px; inset-inline: 18px; z-index: 2;
	color: #fff; font-weight: 600; font-size: 1.02rem;
}

/* ---------- Clients ---------- */
.clients-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 36s linear infinite; align-items: center; }
.clients-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo, .client-pill {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 16px 30px; border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff; box-shadow: var(--shadow); transition: transform .25s;
}
.client-logo:hover, .client-pill:hover { transform: translateY(-3px); }
.client-logo img { height: 46px; width: auto; max-width: 160px; object-fit: contain; }
.client-pill { font-family: var(--font-en); color: var(--ink-dim); font-weight: 600; font-size: 1.02rem; white-space: nowrap; }

/* ---------- Lead form ---------- */
.lead-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.lead-note { color: var(--ink-dim); margin-bottom: 24px; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--ink-dim); font-weight: 500; }
.contact-form input, .contact-form textarea, .contact-form select {
	background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 10px;
	padding: 13px 16px; color: var(--ink); font-family: inherit; font-size: 1rem; transition: border-color .25s, background .25s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--blue); background: #fff; }
.hp-field { position: absolute !important; inset-inline-start: -9999px !important; }
.form-success { background: #e8f9ef; border: 1px solid #9be3b8; color: #187a3c; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.contact-quick { margin-top: 26px; }
.contact-quick li { margin-bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.contact-quick strong { color: var(--red); font-size: .82rem; letter-spacing: .04em; }
.contact-quick a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1633; color: #c6cfdf; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; padding-bottom: 44px; }
.footer-brand { font-family: var(--font-en); font-size: 1.6rem; font-weight: 700; display: block; margin-bottom: 12px; color: #fff; }
.footer-col p, .footer-col li, .footer-nav a { color: #9fb0cc; font-size: .93rem; }
.footer-col h4 { margin-bottom: 16px; font-size: 1rem; color: #fff; }
.footer-nav li, .footer-contact li { margin-bottom: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px; font-size: .85rem; color: #8b99b5; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.no-js .reveal, .reveal.shown { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.why-grid, .about-grid, .lead-grid { grid-template-columns: 1fr; gap: 36px; }
	.why-intro { position: static; }
}
@media (max-width: 860px) {
	.main-nav {
		position: fixed; top: var(--header-h); inset-inline: 0;
		background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
		padding: 18px 24px 28px; transform: translateY(-130%); transition: transform .35s ease;
		z-index: 99; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(28,35,51,.08);
	}
	.main-nav.open { transform: translateY(0); }
	.nav-list { flex-direction: column; }
	.nav-list a, .site-header .nav-list a { display: block; padding: 13px 10px; font-size: 1.05rem; color: var(--ink); }
	.nav-toggle { display: flex; }
	.header-cta { display: none; }
	.section { padding-block: 60px; }
	.hero-stats { gap: 26px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.form-row { grid-template-columns: 1fr; }
	.client-logo img { height: 36px; }
	.title-bars span:first-child { width: 150px; height: 10px; }
	.title-bars span:last-child { width: 74px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	.marquee-track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Hero Ken Burns slideshow ---------- */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
	position: absolute; inset: -6%;
	background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1.8s ease;
	will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns {
	from { transform: scale(1) translate(0, 0); }
	to   { transform: scale(1.12) translate(1.5%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) { .hero-slide.active { animation: none; } }

/* ============ v2.2 Ebdaat-exact additions ============ */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--blue), var(--red)); z-index: 200; transition: width .1s linear; }

/* Centered stacked header over hero (Ebdaat) */
.site-header { position: absolute; background: transparent; }
.header-inner { flex-direction: column; gap: 10px; padding-top: 22px; justify-content: center; }
.brand { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.header-side { position: absolute; top: 24px; inset-inline-end: 24px; }
.nav-list a { font-size: 1.05rem; }

/* compact sticky bar when scrolled */
.site-header.scrolled {
	position: fixed; background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
	box-shadow: 0 4px 22px rgba(28,35,51,.09);
	animation: header-drop .35s ease;
}
@keyframes header-drop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.site-header.scrolled .header-inner { flex-direction: row; justify-content: space-between; padding-block: 8px; min-height: 64px; }
.site-header.scrolled .brand { flex-direction: row; gap: 10px; }
.site-header.scrolled .brand .brand-logo { max-height: 38px; }
.site-header.scrolled .brand-sub { display: none; }
.site-header.scrolled .header-side { position: static; }

/* Side quick tab (Ebdaat-style) */
.side-tab {
	position: fixed; top: 50%; inset-inline-end: 0; z-index: 95;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	background: var(--blue); color: #fff;
	padding: 20px 10px; border-radius: 10px 0 0 10px;
	font-weight: 600; font-size: .9rem; letter-spacing: .05em;
	box-shadow: -4px 4px 18px rgba(2,51,160,.3);
	transition: background .25s, padding .25s;
}
[dir="ltr"] .side-tab { border-radius: 0 10px 10px 0; }
.side-tab:hover { background: var(--red); padding-inline-end: 16px; }

/* Values cards (overlapping hero like Ebdaat) */
.values { position: relative; z-index: 5; margin-top: -70px; padding-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.value-card {
	background: #fff; border-radius: var(--radius); padding: 26px 22px;
	box-shadow: 0 18px 44px rgba(28, 35, 51, .12); border-top: 4px solid var(--blue);
	transition: transform .3s, border-color .3s;
}
.value-card:hover { transform: translateY(-6px); border-top-color: var(--red); }
.value-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-dim); font-size: .86rem; }

/* Chairman (Ebdaat circular photo + ring) */
.chairman-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: center; }
.chairman-photo { position: relative; width: min(320px, 80%); aspect-ratio: 1; margin-inline: auto; }
.chairman-avatar {
	position: absolute; inset: 8%;
	border-radius: 50%; background: linear-gradient(160deg, var(--blue) 0%, #06277a 100%);
	display: grid; place-items: center; color: #fff;
	font-size: 3.2rem; font-weight: 700;
	box-shadow: 0 24px 60px rgba(2, 51, 160, .3);
}
.chairman-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed rgba(212, 32, 39, .5); animation: ring-spin 30s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.chairman-text p { color: var(--ink-dim); font-size: 1.04rem; margin-bottom: 22px; }
.chairman-sign strong { display: block; color: var(--blue); font-size: 1.1rem; }
.chairman-sign span { color: var(--ink-dim); font-size: .88rem; }

@media (max-width: 1024px) {
	.chairman-grid { grid-template-columns: 1fr; gap: 30px; }
	.values { margin-top: -40px; }
}
@media (max-width: 860px) {
	.header-inner { flex-direction: row; justify-content: space-between; padding-top: 14px; }
	.brand { flex-direction: row; }
	.brand-sub { display: none; }
	.header-side { position: static; }
	.side-tab { display: none; }
	.values { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .chairman-ring { animation: none; } }

/* ============ v2.2.1 header/hero fixes ============ */

/* Logo: white version over hero (no box), original colors on white bar */
.brand .brand-logo {
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	max-height: 62px;
	filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}
.site-header.scrolled .brand .brand-logo { filter: none; max-height: 40px; }

/* Lighter hero overlay */
.hero-overlay {
	background:
		linear-gradient(200deg, rgba(6, 18, 48, .30) 0%, rgba(2, 51, 160, .38) 55%, rgba(4, 16, 45, .55) 100%);
}
/* readability boost behind the text only */
.hero-content { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-content .btn { text-shadow: none; }

/* Reserve space at hero bottom so value cards never cover the stats */
.hero { padding-bottom: 130px; }
.values { margin-top: -85px; }

@media (max-width: 860px) {
	.hero { padding-bottom: 40px; }
	.values { margin-top: 16px; }
	.brand .brand-logo { max-height: 44px; }
}

/* ============ v2.2.2 chairman quote redesign ============ */
.chairman-quote {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 60px 40px; box-shadow: var(--shadow);
	position: relative; overflow: hidden;
}
.chairman-quote::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px;
	background: linear-gradient(180deg, var(--blue), var(--red));
}
.quote-mark { width: 90px; color: var(--blue); opacity: .16; }
.chairman-logo { max-height: 64px; width: auto; }
.chairman-text p { font-size: 1.08rem; line-height: 2; }
@media (max-width: 1024px) { .chairman-quote { padding: 40px 24px; } }

/* ============ v3.0 — typography, colors, VM cards, timeline, news, footer, mobile ============ */

:root {
	--font-ar: "Tajawal", system-ui, sans-serif;
	--font-head: "Alexandria", "Tajawal", sans-serif;
	--ink: #0e1b33;
	--ink-dim: #55617a;
	--blue-deep: #071a3e;
	--shadow: 0 12px 36px rgba(7, 26, 62, .10);
}
body { font-family: var(--font-ar); }
body.dir-ltr { font-family: var(--font-en); }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.01em; }
body.dir-ltr h1, body.dir-ltr h2, body.dir-ltr h3 { font-family: var(--font-en); }
.section-title { color: var(--blue-deep); }

/* white logo (transparent header) vs color logo (scrolled) */
.brand .logo-white { display: block; }
.brand .logo-color { display: none; }
.brand .brand-logo, .brand img { max-height: 60px; width: auto; background: transparent !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.brand .logo-white { filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-color { display: block; max-height: 40px; }

/* ---------- VM cards (Ebdaat fill hover) ---------- */
.vm-card {
	position: relative; overflow: hidden;
	background: #fff; border-radius: var(--radius); padding: 34px 26px;
	box-shadow: 0 18px 44px rgba(7, 26, 62, .12);
	transition: transform .35s ease, box-shadow .35s ease;
	z-index: 1;
}
.vm-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(160deg, var(--blue) 0%, #06277a 100%);
	transform: translateY(101%); transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.vm-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(7, 26, 62, .22); }
.vm-card:hover::before { transform: translateY(0); }
.vm-card h3 { font-size: 1.2rem; margin-bottom: 10px; transition: color .35s; }
.vm-card p { color: var(--ink-dim); font-size: .92rem; transition: color .35s; }
.vm-card:hover h3 { color: #fff; }
.vm-card:hover p { color: rgba(255, 255, 255, .85); }
.vm-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px; background: var(--blue-soft); position: relative; transition: background .35s; }
.vm-card:hover .vm-icon { background: rgba(255, 255, 255, .15); }
.vm-icon::after { content: ""; position: absolute; inset: 13px; background: var(--blue); transition: background .35s; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.vm-card:hover .vm-icon::after { background: #fff; }
.vm-eye::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3C/svg%3E"); }
.vm-target::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.vm-gem::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12l4 6-10 12L2 9l4-6zM2 9h20M9 3l3 6 3-6M12 21L9 9M12 21l3-12' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12l4 6-10 12L2 9l4-6zM2 9h20M9 3l3 6 3-6M12 21L9 9M12 21l3-12' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.vm-flag::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 22V3M5 3h13l-3 4.5L18 12H5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 22V3M5 3h13l-3 4.5L18 12H5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }

/* ---------- Journey timeline ---------- */
.journey2 { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.timeline { position: relative; margin-top: 30px; }
.timeline-line { position: absolute; top: 118px; inset-inline: 40px; height: 4px; background: var(--line); border-radius: 4px; }
.timeline-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 4px; transition: width .2s linear; }
[dir="rtl"] .timeline-fill { float: right; background: linear-gradient(270deg, var(--blue), var(--red)); }
.timeline-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.tstep { text-align: center; padding-top: 8px; }
.tstep-icon {
	width: 86px; height: 86px; margin: 0 auto 8px;
	background: #fff; border: 1px solid var(--line); border-radius: 22px;
	display: grid; place-items: center; box-shadow: var(--shadow);
	transition: transform .35s, border-color .35s;
}
.tstep-icon svg { width: 54px; height: 54px; }
.tstep .tl { stroke: #b6c1d6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: stroke .4s; }
.tstep .tl-red { stroke: #d9b2b4; }
.tstep.active .tl { stroke: var(--blue); }
.tstep.active .tl-red { stroke: var(--red); }
.tstep.active .tstep-icon { transform: translateY(-6px); border-color: rgba(2, 51, 160, .35); }
.tstep-node {
	width: 34px; height: 34px; margin: 0 auto 14px;
	background: #fff; border: 3px solid var(--line); border-radius: 50%;
	display: grid; place-items: center;
	font-family: var(--font-en); font-weight: 700; font-size: .8rem; color: var(--ink-dim);
	position: relative; z-index: 2; transition: all .35s;
}
.tstep.active .tstep-node { background: var(--red); border-color: #fff; color: #fff; box-shadow: 0 0 0 4px rgba(212, 32, 39, .25); }
.tstep h3 { font-size: 1.02rem; margin-bottom: 6px; }
.tstep p { color: var(--ink-dim); font-size: .85rem; max-width: 210px; margin-inline: auto; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 54px rgba(7, 26, 62, .16); }
.news-thumb { display: block; position: relative; overflow: hidden; }
.news-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-date { position: absolute; bottom: 12px; inset-inline-start: 12px; background: var(--blue); color: #fff; font-size: .78rem; padding: 5px 12px; border-radius: 8px; }
.news-body { padding: 22px; }
.news-body h3 { font-size: 1.05rem; line-height: 1.55; margin-bottom: 10px; }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { color: var(--ink-dim); font-size: .9rem; margin-bottom: 14px; }
.news-more { color: var(--red); font-weight: 600; font-size: .9rem; }
.news-more:hover { color: var(--blue); }

/* ---------- Footer v3 ---------- */
.site-footer { background: var(--blue-deep); padding-top: 0; }
.footer-top { border-top: 5px solid; border-image: linear-gradient(90deg, var(--blue), var(--red)) 1; padding-block: 64px 44px; }
.footer-logo { max-height: 54px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; padding-bottom: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #c6cfdf; transition: background .25s, color .25s, transform .25s; }
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 5px; color: var(--red-light, #ff6b71); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.back-top { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .25s; }
.back-top:hover { background: var(--blue); transform: translateY(-3px); }

/* ---------- Mobile-first polish ---------- */
@media (max-width: 1024px) {
	.timeline-line { display: none; }
	.timeline-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
	.tstep { display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'node icon' 'node text'; text-align: start; gap: 6px 16px; align-items: start; }
	.tstep-icon { grid-area: icon; margin: 0; width: 70px; height: 70px; }
	.tstep-node { grid-area: node; margin: 0; }
	.tstep h3, .tstep p { grid-column: 2; max-width: none; margin: 0; }
}
@media (max-width: 860px) {
	.hero-title { font-size: clamp(1.7rem, 7.5vw, 2.3rem); }
	.hero-sub { font-size: 1rem; }
	.hero-cta .btn { width: 100%; justify-content: center; }
	.hero-stats { gap: 18px; justify-content: space-between; }
	.stat-num, .stat-plus { font-size: 1.7rem; }
	.section-title { font-size: 1.5rem; }
	.values-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.vm-card { padding: 22px 16px; }
	.vm-card h3 { font-size: 1rem; }
	.vm-card p { font-size: .82rem; }
	.chairman-quote { padding: 30px 20px; }
	.quote-mark { width: 60px; }
	.projects-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
	.news-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.footer-bottom-inner { flex-direction: row; }
	.wa-float { width: 50px; height: 50px; bottom: 18px; inset-inline-end: 18px; }
	.contact-form-wrap { padding: 26px 18px; }
}
@media (max-width: 480px) {
	.values-grid { grid-template-columns: 1fr; }
	.projects-strip { grid-template-columns: 1fr; }
	.hero { padding-bottom: 30px; }
}

/* side-tab position fix */
.side-tab { top: 45vh !important; transform: none; }

/* solid mobile menu */
@media (max-width: 860px) {
	.main-nav { background: #fff !important; }
	.main-nav .nav-list a { color: var(--ink) !important; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .nav-list li:last-child a { border-bottom: 0; }
}

/* ============ v3.1 — header spacing + type scale ============ */

/* real stacked header height */
:root { --header-stack: 200px; }

/* hero: block flow with guaranteed clearance under the stacked header */
.hero { display: block; min-height: 0; }
.hero-content {
	padding-top: clamp(230px, 26vh, 320px);
	padding-bottom: 60px;
}
.hero { padding-bottom: 150px; }

/* --- type scale (consistent hierarchy) --- */
html { font-size: 17px; }
body { line-height: 1.85; }
.nav-list a { font-size: 1rem; font-weight: 500; padding: 10px 18px; }
.brand-sub { font-size: .78rem; letter-spacing: .02em; }
.hero-kicker { font-size: .95rem; opacity: .9; }
.hero-title { font-size: clamp(2.1rem, 3.3vw, 3.1rem); line-height: 1.45; font-weight: 700; max-width: 780px; }
.hero-sub { font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.9; }
.hero-stats { margin-top: 10px; }
.stat-num, .stat-plus { font-size: 2rem; }
.stat-label { font-size: .88rem; }
.section-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.5; }
.section-sub { font-size: 1rem; }
.btn { font-size: .98rem; }
.btn-lg { font-size: 1.02rem; }

/* nav gets a subtle backdrop so it never visually collides with content */
.main-nav .nav-list { background: rgba(7, 26, 62, .28); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 10px; }
.site-header.scrolled .main-nav .nav-list { background: transparent; backdrop-filter: none; padding: 0; }

@media (max-width: 860px) {
	html { font-size: 16px; }
	.hero-content { padding-top: 130px; padding-bottom: 30px; }
	.hero { padding-bottom: 40px; }
	.main-nav .nav-list { background: transparent; backdrop-filter: none; border-radius: 0; padding: 0; }
	.hero-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
}

/* ============ v3.2 — shorter banner + stats band ============ */
.hero { padding-bottom: 70px; }
.hero-content { padding-top: clamp(200px, 22vh, 250px); padding-bottom: 10px; }
.hero-cta { margin-bottom: 10px; }

.stats-band {
	background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
	padding-block: 46px;
}
.stats-band .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.stats-band .stat { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.stats-band .stat-num, .stats-band .stat-plus { font-size: 2.6rem; color: #fff; }
.stats-band .stat-plus { color: #ff6b71; }
.stats-band .stat-label { color: rgba(255, 255, 255, .85); font-size: .95rem; width: auto; }

.values { margin-top: 0; padding-top: 60px; }

@media (max-width: 860px) {
	.hero-content { padding-top: 120px; }
	.hero { padding-bottom: 30px; }
	.stats-band { padding-block: 30px; }
	.stats-band .stat-num, .stats-band .stat-plus { font-size: 1.9rem; }
	.values { padding-top: 40px; }
}

/* ============ v3.3 — Alexandria everywhere, centered light hero, ebdaat footer & inner pages ============ */

:root { --font-ar: "Alexandria", "Tajawal", sans-serif; }
body { font-weight: 300; }
body strong, body b { font-weight: 600; }

/* --- Hero: centered like Ebdaat + light overlay --- */
.hero-overlay { background: linear-gradient(180deg, rgba(14, 20, 35, .42) 0%, rgba(14, 20, 35, .30) 55%, rgba(14, 20, 35, .48) 100%); }
.hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { margin-inline: auto; }
.hero-sub { margin-inline: auto; }
.hero-cta { justify-content: center; }

/* --- Service cards with images --- */
.service-card { padding: 0 0 26px; overflow: hidden; }
.service-card .service-img { margin-bottom: 0; }
.service-card .service-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-card .service-icon { margin: -29px auto 14px; position: relative; z-index: 2; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.service-card h3, .service-card p, .service-card ul { padding-inline: 24px; }
.service-card h3 { text-align: center; }
.service-card p { text-align: center; font-size: .9rem; }

/* --- Inner pages: photo band + title strip (Ebdaat) --- */
.page-band {
	height: 300px;
	background:
		linear-gradient(180deg, rgba(14, 20, 35, .55), rgba(14, 20, 35, .35)),
		url('../img/band.jpg') center/cover no-repeat, var(--blue-deep);
}
.page-title-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: 40px; }
.pts-inner h1 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
.breadcrumb { color: var(--ink-dim); font-size: .9rem; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--blue); }

/* --- Footer v3.3 (Ebdaat exact) --- */
.site-footer2 { background: #fff; }
.footer-contactbar { background: #f1f2f5; border-top: 1px solid var(--line); padding-block: 18px; }
.fcb-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.fcb-item { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-dim); font-size: .88rem; }
.fcb-item svg { color: var(--red); }
a.fcb-item:hover { color: var(--blue); }
.fcb-social { display: inline-flex; gap: 14px; }
.fcb-social a { color: var(--ink); transition: color .25s, transform .25s; }
.fcb-social a:hover { color: var(--red); transform: translateY(-2px); }

.footer-main { background: #e9ebf0; padding-block: 56px; position: relative; }
.footer-main-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.fm-bars-top { position: absolute; top: -20px; inset-inline-end: 0; align-items: flex-end; }
.fm-bars-bottom { position: absolute; bottom: -20px; inset-inline-start: 0; }
.fm-logo { max-height: 88px; width: auto; margin-bottom: 22px; }
.fm-about { color: var(--ink-dim); max-width: 720px; font-size: .95rem; margin-bottom: 26px; }
.fm-nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.fm-nav-list a { position: relative; padding-inline-start: 18px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.fm-nav-list a::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 4px;
	background: var(--red); box-shadow: 6px 0 0 -1px #b9bec8;
}
[dir="rtl"] .fm-nav-list a::before { box-shadow: -6px 0 0 -1px #b9bec8; }
.fm-nav-list a:hover { color: var(--blue); }

.footer-bottom2 { background: var(--blue-deep); padding-block: 14px; color: #c6cfdf; font-size: .85rem; }
.fb2-inner { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 860px) {
	.fcb-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
	.page-band { height: 180px; }
	.fm-nav-list { gap: 10px 18px; }
	.fm-bars-top, .fm-bars-bottom { display: none; }
}

/* ============ v3.3.1 — stats band fix + lang switch beside menu ============ */

/* stats: number + plus inline, label under */
.stats-band .stat { display: block; text-align: center; }
.stats-band .stat-num, .stats-band .stat-plus { display: inline-block; font-size: 2.6rem; vertical-align: baseline; }
.stats-band .stat-label { display: block; margin-top: 4px; }

/* lang switch inside nav row */
.main-nav { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lang-switch ul { display: flex; gap: 0; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; overflow: hidden; }
.lang-switch li a {
	display: inline-block; padding: 7px 16px; font-size: .85rem; color: #fff;
	border: 0; border-radius: 0; text-transform: none; font-family: inherit;
}
.lang-switch li.current-lang a { background: var(--red); color: #fff; font-weight: 600; }
.lang-switch li a:hover { background: rgba(255,255,255,.15); }
.site-header.scrolled .lang-switch ul { border-color: var(--line); }
.site-header.scrolled .lang-switch li a { color: var(--ink-dim); }
.site-header.scrolled .lang-switch li.current-lang a { background: var(--red); color: #fff; }

@media (max-width: 860px) {
	.main-nav { display: block; }
	.lang-switch { padding: 12px 10px 0; }
	.lang-switch ul { justify-content: center; border-color: var(--line); width: max-content; margin-inline: auto; }
	.lang-switch li a { color: var(--ink); }
	.stats-band .stat-num, .stats-band .stat-plus { font-size: 2rem; }
}

/* ============ v3.4 — creative contact panel ============ */
.contact-cta { background: #fff; }
.cc-panel {
	position: relative; overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(140deg, var(--blue-deep) 0%, var(--blue) 60%, #06277a 100%);
	box-shadow: 0 30px 80px rgba(7, 26, 62, .35);
	padding: clamp(28px, 4vw, 56px);
}
.cc-pattern {
	position: absolute; inset: 0; opacity: .35;
	background:
		radial-gradient(circle at 85% 15%, rgba(212, 32, 39, .35), transparent 40%),
		repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px),
		repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px);
}
.cc-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.cc-chip { display: inline-block; background: var(--red); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; }
.cc-info h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.cc-info > p { color: rgba(255, 255, 255, .85); margin-bottom: 22px; font-size: .98rem; }
.cc-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cc-features span {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
	color: #fff; font-size: .84rem; padding: 7px 14px; border-radius: 999px;
}
.cc-features span::before {
	content: ""; width: 13px; height: 13px; background: #7ff0a8;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' stroke='black' stroke-width='4' fill='none'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' stroke='black' stroke-width='4' fill='none'/%3E%3C/svg%3E");
	-webkit-mask-size: contain; mask-size: contain;
}
.cc-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cc-method {
	display: flex; align-items: center; gap: 10px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(6px);
	color: #fff; padding: 13px 16px; border-radius: 14px;
	font-size: .86rem; transition: background .25s, transform .25s;
	overflow-wrap: anywhere;
}
.cc-method:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.cc-method svg { flex-shrink: 0; color: #ff8a8f; }
.cc-address { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: .84rem; }
.cc-address svg { color: #ff8a8f; flex-shrink: 0; }

.contact-cta .contact-form-wrap { background: #fff; border: 0; border-radius: 20px; padding: 30px 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.contact-cta .contact-form { gap: 14px; }
.contact-cta .contact-form input, .contact-cta .contact-form select, .contact-cta .contact-form textarea { padding: 11px 14px; }

@media (max-width: 1024px) {
	.cc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.cc-panel { border-radius: 18px; }
	.cc-methods { grid-template-columns: 1fr; }
}

/* ============ v3.5 — clean nav (no pill bg), subtle lang switch ============ */
.main-nav .nav-list { background: transparent !important; backdrop-filter: none !important; padding: 0; border-radius: 0; gap: 8px; }
.nav-list a {
	background: transparent !important;
	position: relative; padding: 8px 14px; border-radius: 0;
	color: #fff; font-weight: 500;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.nav-list a::after {
	content: ""; position: absolute; bottom: 2px; inset-inline-start: 14px; inset-inline-end: 14px;
	height: 2px; background: var(--red); transform: scaleX(0); transform-origin: center;
	transition: transform .3s ease;
}
.nav-list a:hover::after, .nav-list .current-menu-item a::after { transform: scaleX(1); }
.site-header.scrolled .nav-list a { color: var(--ink); text-shadow: none; }

/* lang switch: minimal text style */
.lang-switch ul { border: 0; border-radius: 0; overflow: visible; gap: 2px; }
.lang-switch li a {
	padding: 8px 10px; font-size: .88rem; color: rgba(255, 255, 255, .85);
	background: transparent !important; position: relative; text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.lang-switch li:not(:last-child)::after { content: "|"; color: rgba(255,255,255,.4); }
.lang-switch li { display: inline-flex; align-items: center; }
.lang-switch li.current-lang a { color: #fff; font-weight: 700; }
.lang-switch li.current-lang a::after {
	content: ""; position: absolute; bottom: 2px; inset-inline-start: 10px; inset-inline-end: 10px;
	height: 2px; background: var(--red);
}
.site-header.scrolled .lang-switch li a { color: var(--ink-dim); text-shadow: none; }
.site-header.scrolled .lang-switch li.current-lang a { color: var(--ink); background: transparent !important; }
.site-header.scrolled .lang-switch li:not(:last-child)::after { color: var(--line); }

/* stronger hero text contrast without heavy overlay */
.hero-overlay { background: linear-gradient(180deg, rgba(10, 16, 30, .38) 0%, rgba(10, 16, 30, .26) 50%, rgba(10, 16, 30, .5) 100%); }
.hero-title, .hero-sub { text-shadow: 0 2px 22px rgba(0, 0, 0, .45); }

/* ============ v3.5.2 — service card redesign ============ */
.service-card { text-align: start; }
.service-card .service-img { position: relative; }
.service-card .service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 26, 62, .35)); }
.service-card .service-icon {
	position: relative; z-index: 2;
	width: 48px; height: 48px; border-radius: 12px;
	margin: -24px 24px 12px; float: none;
}
.service-card .service-icon::after { inset: 11px; }
.service-card h3 { text-align: start; font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { text-align: start; color: var(--ink-dim); }
.service-card ul { margin-top: 10px; padding-bottom: 4px; }
.service-card ul li { font-size: .86rem; margin-bottom: 8px; }
.service-card ul li::before { border-radius: 50%; background: var(--red); opacity: .8; width: 7px; height: 7px; top: 12px; }

/* ============ v3.6 — Industrey-inspired touches ============ */

/* header phone + quote block */
.header-side { display: flex; align-items: center; gap: 14px; }
.hs-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-en); font-weight: 600; font-size: .92rem; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hs-phone svg { color: #ff8a8f; }
.hs-quote { padding: 10px 22px; font-size: .88rem; }
.site-header.scrolled .hs-phone { color: var(--ink); text-shadow: none; }
.site-header.scrolled .hs-phone svg { color: var(--red); }
@media (max-width: 1100px) { .hs-phone { display: none; } }
@media (max-width: 860px) { .hs-quote { display: none; } }

/* ghost watermark titles */
.section-head { position: relative; }
.ghost-title {
	position: absolute; top: -34px; inset-inline-start: -6px;
	font-family: var(--font-head); font-weight: 800;
	font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px rgba(7, 26, 62, .07);
	white-space: nowrap; pointer-events: none; user-select: none; z-index: 0;
}
.section-head > *:not(.ghost-title) { position: relative; z-index: 1; }

/* projects hover reveal (Industrey style) */
.project-tile::after { transition: opacity .35s; }
.project-tile::before {
	content: "+"; position: absolute; z-index: 3;
	top: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%) scale(.4);
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--red); color: #fff; font-size: 1.9rem; font-weight: 300;
	display: grid; place-items: center;
	opacity: 0; transition: opacity .35s, transform .35s;
}
[dir="rtl"] .project-tile::before { transform: translate(50%, -50%) scale(.4); }
.project-tile:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
[dir="rtl"] .project-tile:hover::before { transform: translate(50%, -50%) scale(1); }
.project-tile:hover::after { background: linear-gradient(180deg, rgba(2, 51, 160, .35) 0%, rgba(7, 26, 62, .8) 100%); }

/* ticker strip */
.ticker { background: var(--blue-deep); overflow: hidden; padding-block: 16px; border-top: 3px solid var(--red); }
.ticker-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track span { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.ticker-track i { color: var(--red-light, #ff6b71); font-style: normal; font-size: .8rem; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* diagonal cut on service images */
.service-card .service-img { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }

@media (max-width: 860px) {
	.ghost-title { font-size: 2.6rem; top: -20px; }
	.ticker-track span { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============ v4.1 — side tabs, full map, single design, dedup titles, wide services, Ebdaat mobile ============ */

/* kill ghost titles for good */
.ghost-title { display: none !important; }

/* hide duplicated section head on inner pages (title already in strip) */
body.page main > section.section:nth-of-type(2) .section-head { display: none; }

/* ---- side tabs (both) ---- */
.side-tabs { position: fixed; top: 42vh; inset-inline-end: 0; z-index: 95; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.side-tab { position: static !important; transform: none !important; display: flex; align-items: center; gap: 8px; writing-mode: vertical-rl; padding: 18px 10px; border-radius: 12px 0 0 12px; font-weight: 600; font-size: .88rem; transition: padding .25s, background .25s; }
[dir="ltr"] .side-tab { border-radius: 0 12px 12px 0; }
.side-consult { background: var(--blue); color: #fff; box-shadow: -4px 4px 18px rgba(2, 51, 160, .3); }
.side-consult:hover { background: var(--red); }
.side-loc { background: #eef0f4; color: var(--ink); box-shadow: -4px 4px 18px rgba(7, 26, 62, .15); }
.side-loc:hover { background: #fff; }
.loc-dot { width: 22px; height: 22px; border-radius: 50%; background: #111; flex-shrink: 0; }

/* ---- full-width map (Ebdaat) ---- */
.location-full { padding: 0; }
.map-full iframe { display: block; width: 100%; height: 480px; border: 0; filter: saturate(.9); }
.map-bar { background: var(--blue-deep); color: #fff; padding-block: 18px; }
.map-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.map-bar p { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; }
.map-bar svg { color: #ff8a8f; }

/* ---- single post design ---- */
.single-section { background: var(--bg-soft); }
.single-wrap { max-width: 860px; margin-inline: auto; padding-inline: 24px; }
.single-title { max-width: 900px; }
.single-meta { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.single-meta span { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.single-date { background: var(--blue); color: #fff; }
.single-cat { background: #fff; color: var(--ink-dim); border: 1px solid var(--line); }
.single-thumb { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; }
.single-thumb img { width: 100%; max-height: 440px; object-fit: cover; display: block; }
.single-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.single-content p { color: var(--ink-dim); font-size: 1.02rem; line-height: 2; margin-bottom: 18px; }
.single-content h2 { font-size: 1.3rem; color: var(--blue-deep); margin: 30px 0 14px; padding-inline-start: 14px; border-inline-start: 4px solid var(--red); }
.single-content ul { margin: 0 0 18px; padding-inline-start: 6px; }
.single-content ul li { position: relative; padding-inline-start: 26px; margin-bottom: 10px; color: var(--ink-dim); }
.single-content ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); opacity: .7; }
.single-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; border-radius: var(--radius); padding: 28px 30px; margin-block: 30px; }
.single-cta h3 { color: #fff; margin-bottom: 4px; }
.single-cta p { color: rgba(255,255,255,.8); margin: 0; }
.single-related { margin-top: 40px; }
.single-related > h3 { margin-bottom: 20px; font-size: 1.2rem; }

/* ---- wider service cards ---- */
@media (min-width: 1025px) {
	.services-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.service-card .service-img img { aspect-ratio: 21/9; }
	.service-card h3 { font-size: 1.2rem; }
	.service-card p, .service-card ul li { font-size: .95rem; }
}

/* ---- Ebdaat-exact mobile ---- */
@media (max-width: 860px) {
	.header-inner { flex-direction: column; gap: 4px; padding-top: 16px; position: relative; }
	.brand { flex-direction: column; }
	.brand .brand-logo { max-height: 52px; }
	.header-side { position: absolute !important; top: 20px; inset-inline-end: 16px; }
	.hero { min-height: 64vh; padding-bottom: 20px; }
	.hero-content { padding-top: 140px; }
	.hero-title { font-size: clamp(1.45rem, 6.4vw, 1.9rem); line-height: 1.6; }
	.hero-sub { font-size: .95rem; }
	.hero-cta { flex-direction: column; align-items: stretch; }
	.values-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.vm-card { text-align: center; border-radius: 22px; }
	.vm-icon { margin-inline: auto; }
	.side-tabs { display: flex; top: auto; bottom: 22vh; }
	.side-tab { display: flex; padding: 14px 8px; font-size: .8rem; }
	.side-consult { display: none; }
	.loc-dot { width: 18px; height: 18px; }
	.map-full iframe { height: 320px; }
	.map-bar-inner { flex-direction: column; align-items: flex-start; }
	.single-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
	.values-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ v4.2 — modern title accent (bars removed) ============ */
.title-bars { display: none !important; }
.section-head .section-title, .why-intro .section-title {
	position: relative;
	padding-bottom: 16px;
	margin-bottom: 14px;
}
.section-head .section-title::after, .why-intro .section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 2px;
	width: 58px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--red) 0 55%, var(--blue) 55% 100%);
}
[dir="rtl"] .section-head .section-title::after, [dir="rtl"] .why-intro .section-title::after {
	background: linear-gradient(270deg, var(--red) 0 55%, var(--blue) 55% 100%);
}

/* ============ v4.2.1 — side tabs pinned to RIGHT + proper location pin icon ============ */
.side-tabs { inset-inline-end: auto !important; left: auto !important; right: 0 !important; align-items: flex-end; }
.side-tab, [dir="ltr"] .side-tab, [dir="rtl"] .side-tab { border-radius: 12px 0 0 12px !important; }
.side-consult { box-shadow: -4px 4px 18px rgba(2, 51, 160, .3); }
.side-loc { box-shadow: -4px 4px 18px rgba(7, 26, 62, .15); }

/* location pin icon instead of plain dot */
.loc-dot {
	width: 20px !important; height: 20px !important; border-radius: 0 !important;
	background: var(--red) !important;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 1116 0z' fill='black'/%3E%3Ccircle cx='12' cy='10' r='3' fill='white'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 1116 0z' fill='black'/%3E%3Ccircle cx='12' cy='10' r='3' fill='white'/%3E%3C/svg%3E");
	-webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}

/* ============ v4.3 — lang switch black/red, Ebdaat-style موقعنا pill, wider VM cards on mobile ============ */

/* lang switch: white chip, black links, active red — readable everywhere */
.lang-switch ul {
	background: rgba(255, 255, 255, .95);
	border: 1px solid var(--line) !important;
	border-radius: 999px !important;
	padding: 3px !important;
	box-shadow: 0 4px 14px rgba(7, 26, 62, .10);
}
.lang-switch li a, .site-header.scrolled .lang-switch li a {
	color: var(--ink) !important;
	text-shadow: none !important;
	font-weight: 500;
	border-radius: 999px !important;
	padding: 6px 14px !important;
}
.lang-switch li.current-lang a, .site-header.scrolled .lang-switch li.current-lang a {
	color: #fff !important;
	background: var(--red) !important;
	font-weight: 700;
}
.lang-switch li a::after { display: none !important; }
.lang-switch li:not(:last-child)::after { color: transparent !important; content: "" !important; }
.lang-switch li a:hover { background: var(--bg-soft) !important; }

/* موقعنا pill: Ebdaat capsule — fully rounded, floating off the edge, black dot */
.side-loc {
	border-radius: 999px !important;
	margin-inline-end: 10px;
	background: #f2f3f5 !important;
	color: #111 !important;
	font-weight: 700;
	padding: 22px 12px !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .18) !important;
}
.side-loc:hover { background: #fff !important; }
.loc-dot {
	width: 26px !important; height: 26px !important;
	border-radius: 50% !important;
	background: #111 !important;
	-webkit-mask-image: none !important; mask-image: none !important;
}
.side-consult { margin-inline-end: 0; }

/* wider VM cards on mobile */
@media (max-width: 860px) {
	.values .container { padding-inline: 14px; }
	.values-grid { gap: 10px; }
	.vm-card { padding: 20px 14px; border-radius: 18px; }
	.vm-card p { font-size: .85rem; }
	.vm-icon { width: 48px; height: 48px; margin-bottom: 12px; }
}

/* ============ v4.4 — mobile type scale, journey mobile animation, Ebdaat projects slider ============ */

/* --- projects: horizontal snap slider (all sizes, like Ebdaat) --- */
.projects-strip {
	display: flex !important;
	grid-template-columns: none !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 14px;
	padding-bottom: 10px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.projects-strip::-webkit-scrollbar { display: none; }
.projects-strip .project-tile {
	flex: 0 0 32%;
	scroll-snap-align: start;
	aspect-ratio: 4/3;
}

/* --- journey: vertical animated timeline on mobile/tablet --- */
#timeline { --tp: 0%; }
.timeline-fill { width: var(--tp); }
@media (max-width: 1024px) {
	.timeline { position: relative; }
	.timeline-line {
		display: block !important;
		position: absolute; top: 10px; bottom: 10px;
		inset-inline: auto; inset-inline-start: 15px;
		width: 4px; height: auto;
	}
	.timeline-fill { width: 100% !important; height: var(--tp); background: linear-gradient(180deg, var(--blue), var(--red)); float: none; }
	.timeline-steps { grid-template-columns: 1fr; gap: 34px; }
	.tstep { grid-template-columns: 34px auto 1fr; grid-template-areas: 'node icon text' 'node icon text2'; align-items: center; position: relative; }
	.tstep-node { grid-area: node; z-index: 2; }
	.tstep-icon { grid-area: icon; width: 64px; height: 64px; margin-inline-end: 14px; }
	.tstep-icon svg { width: 42px; height: 42px; }
	.tstep h3 { grid-area: text; align-self: end; font-size: 1rem; margin: 0; }
	.tstep p { grid-area: text2; align-self: start; font-size: .82rem; margin: 2px 0 0; }
	/* step entrance animation when activated */
	.tstep { opacity: .35; transform: translateX(0); transition: opacity .5s ease, transform .5s ease; }
	[dir="rtl"] .tstep { transform: translateX(-14px); }
	[dir="ltr"] .tstep { transform: translateX(14px); }
	.tstep.active { opacity: 1; transform: translateX(0) !important; }
}

/* --- mobile type & logo scale --- */
@media (max-width: 860px) {
	.brand .brand-logo { max-height: 38px !important; }
	.site-header.scrolled .brand .brand-logo { max-height: 32px !important; }
	.hero-content { padding-top: 110px; }
	.hero-title { font-size: 1.35rem !important; line-height: 1.7 !important; max-width: 92%; }
	.hero-sub { font-size: .88rem !important; line-height: 1.9; max-width: 92%; }
	.hero-cta .btn { padding: 12px 20px; font-size: .9rem; }
	.section-title { font-size: 1.3rem !important; }
	.section-sub { font-size: .88rem; }
	.pts-inner h1, .single-title { font-size: 1.4rem !important; }
	.stats-band .stat-num, .stats-band .stat-plus { font-size: 1.6rem; }
	.stats-band .stat-label { font-size: .8rem; }
	.projects-strip .project-tile { flex: 0 0 80%; }
	.vm-card h3 { font-size: .95rem; }
	.news-body h3 { font-size: .95rem; }
	.cc-info h2 { font-size: 1.25rem; }
	.footer-logo, .fm-logo { max-height: 44px; }
}

/* ============ v4.5 — clients & news as Ebdaat sliders ============ */

/* clients: big plain logos, no boxes, snap slider */
.clients-marquee {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	-webkit-mask-image: none !important; mask-image: none !important;
	padding-block: 10px;
}
.clients-marquee::-webkit-scrollbar { display: none; }
.marquee-track { animation: none !important; gap: clamp(40px, 6vw, 90px); align-items: center; padding-inline: 24px; }
.client-logo, .client-pill {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	scroll-snap-align: center;
}
.client-logo img { height: 74px; max-width: 220px; }
.client-pill { font-size: 1.5rem; color: var(--ink); font-weight: 700; }
.client-logo:hover, .client-pill:hover { transform: none; }

/* news on home: horizontal snap slider */
body.home .news-grid {
	display: flex;
	grid-template-columns: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 20px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
}
body.home .news-grid::-webkit-scrollbar { display: none; }
body.home .news-card { flex: 0 0 32%; scroll-snap-align: start; }

@media (max-width: 860px) {
	.client-logo img { height: 52px; }
	.client-pill { font-size: 1.15rem; }
	body.home .news-card { flex: 0 0 84%; }
}

/* ============ v4.6 — footer polished like Ebdaat ============ */

/* restore decorative bars inside footer only */
.footer-main .title-bars { display: flex !important; flex-direction: column; gap: 6px; }
.footer-main .title-bars span:first-child { width: 190px; height: 11px; background: #b9bec8; }
.footer-main .title-bars span:last-child { width: 95px; height: 11px; background: var(--red); }
.fm-bars-top { position: absolute; top: -26px; inset-inline-end: 0; align-items: flex-end; }
.fm-bars-bottom { position: absolute; bottom: -26px; inset-inline-start: 0; align-items: flex-start; }

/* contact bar: icons in dark circles like Ebdaat */
.fcb-item svg {
	box-sizing: content-box;
	background: var(--blue-deep);
	color: #fff;
	padding: 8px;
	border-radius: 50%;
}
.fcb-social a { background: transparent; color: var(--ink); width: auto; height: auto; }
.fcb-social a:hover { background: transparent; color: var(--red); transform: translateY(-2px); }
.fcb-social svg { width: 22px; height: 22px; }

/* mobile: fully centered like Ebdaat */
@media (max-width: 860px) {
	.fcb-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
	.fcb-item { flex-direction: column; gap: 8px; font-size: .9rem; }
	.fcb-address { max-width: 320px; line-height: 1.9; }
	.fcb-social { justify-content: center; gap: 22px; }
	.footer-main { padding-block: 44px; }
	.footer-main .fm-bars-top { top: -14px; }
	.footer-main .fm-bars-bottom { bottom: -14px; }
	.fm-logo { max-height: 64px; }
	.fm-about { font-size: .9rem; line-height: 2; }
	.fm-nav-list { gap: 14px 20px; }
	.fb2-inner { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============ v4.6.1 — wider consultation panel & article cards (mobile) ============ */
@media (max-width: 860px) {
	/* consultation panel: near edge-to-edge */
	.contact-cta .container { padding-inline: 10px; }
	.cc-panel { border-radius: 16px; padding: 22px 14px; }
	.contact-cta .contact-form-wrap { padding: 20px 14px; border-radius: 14px; }
	.cc-info h2 { font-size: 1.3rem; }
	.cc-features { gap: 8px; }
	.cc-features span { font-size: .78rem; padding: 6px 11px; }

	/* news listing + related + single: wider cards */
	#news .container, .single-wrap { padding-inline: 12px; }
	body.blog .container, body.home .news-grid { padding-inline: 0; }
	.news-grid { gap: 14px; }
	.news-body { padding: 16px 14px; }
	.single-content { padding: 20px 14px; border-radius: 14px; }
	.single-thumb { border-radius: 14px; }
	.single-cta { padding: 20px 16px; }
}
@media (max-width: 480px) {
	.cc-panel { padding: 18px 10px; }
	.contact-cta .container { padding-inline: 8px; }
}
