/* =========================================================
   AHEC Site — main stylesheet (mobile first)
   Brand: #1B4426 #0C6024 #99B068 #F4FFF1 #EBFDFF
   ========================================================= */
:root {
	--g900: #1B4426;
	--g700: #0C6024;
	--olive: #99B068;
	--mint: #F4FFF1;
	--ice: #EBFDFF;
	--white: #FFFFFF;
	--black: #000000;
	--ink: #13261A;
	--muted: #4D5F53;
	--line: rgba(27, 68, 38, .12);
	--f-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-slab: 'Roboto Slab', Georgia, serif;
	--f-small: 'Roboto', system-ui, sans-serif;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 18px 50px -20px rgba(12, 40, 20, .35);
	--shadow-sm: 0 6px 20px -10px rgba(12, 40, 20, .3);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%2399B068' stroke-width='1.1'%3E%3Cpath d='M260 60c90 0 170 50 180 130s-40 170-120 200-190 10-240-60S90 140 150 95s70-35 110-35z'/%3E%3Cpath d='M262 100c70 0 130 40 138 100s-32 130-92 152-146 8-184-46-14-120 30-158 66-48 108-48z'/%3E%3Cpath d='M264 142c50 0 92 28 98 70s-22 92-64 108-104 6-130-32-10-84 22-112 44-34 74-34z'/%3E%3Cpath d='M266 184c30 0 54 16 58 40s-14 54-38 64-60 4-76-18-6-50 12-66 26-20 44-20z'/%3E%3Cpath d='M-20 470c60-30 120-20 170 10s110 40 170 0 140-60 220-20'/%3E%3Cpath d='M-20 505c60-30 120-20 170 10s110 40 170 0 140-60 220-20'/%3E%3Cpath d='M-20 20c50 20 90 10 120-15'/%3E%3Cpath d='M420 0c10 40 50 60 110 50'/%3E%3C/g%3E%3C/svg%3E");
}
.ahec-rtl {
	--f-head: 'IBM Plex Sans Arabic', 'Montserrat', system-ui, sans-serif;
	--f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--f-slab: 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--f-small: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body.ahec {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}
.ahec img { max-width: 100%; height: auto; display: block; }
:where(.ahec) a { color: inherit; text-decoration: none; }
.ahec h1, .ahec h2, .ahec h3, .ahec h4 { font-family: var(--f-head); line-height: 1.2; margin: 0 0 .6em; color: inherit; letter-spacing: -.01em; }
.ahec-rtl h1, .ahec-rtl h2, .ahec-rtl h3, .ahec-rtl h4 { letter-spacing: 0; line-height: 1.45; }
.ahec p { margin: 0 0 1em; }
.ahec ul { margin: 0; padding: 0; list-style: none; }
.ahec button { font: inherit; cursor: pointer; }
.ahec-ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.ahec-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ahec-skip { position: absolute; left: 8px; top: -100px; z-index: 999; background: var(--white); color: var(--g900); padding: 8px 14px; border-radius: 8px; }
.ahec-skip:focus { top: 8px; }
.ahec :focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.ahec-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1.2;
	transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
	white-space: nowrap;
}
.ahec-btn .ahec-ic { font-size: 18px; transition: transform .25s var(--ease); }
.ahec-rtl .ahec-btn .ahec-ic { transform: scaleX(-1); }
.ahec-btn:hover .ahec-ic { transform: translateX(4px); }
.ahec-rtl .ahec-btn:hover .ahec-ic { transform: scaleX(-1) translateX(4px); }
.ahec-btn-accent { background: var(--olive); color: var(--g900); box-shadow: 0 10px 30px -12px rgba(153, 176, 104, .8); }
.ahec-btn-accent:hover { background: #a9c078; transform: translateY(-2px); }
.ahec-btn-primary { background: var(--g900); color: var(--mint); }
.ahec-btn-primary:hover { background: var(--g700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ahec-btn-ghost { border-color: rgba(244, 255, 241, .55); color: var(--mint); background: rgba(244, 255, 241, .06); backdrop-filter: blur(4px); }
.ahec-btn-ghost:hover { background: var(--mint); color: var(--g900); }

/* ---------- Header ---------- */
.ahec-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: var(--header-h);
	background: var(--g900);
	transition: background .35s, box-shadow .35s, height .35s;
}
.ahec-has-hero .ahec-header { background: transparent; }
.ahec-has-hero .ahec-header::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(10, 30, 16, .55), rgba(10, 30, 16, 0));
}
.ahec-header.is-scrolled, .ahec-has-hero .ahec-header.is-scrolled {
	background: rgba(27, 68, 38, .97);
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
}
.ahec-header.is-scrolled::before { opacity: 0; }
body.ahec:not(.ahec-has-hero) main { padding-top: var(--header-h); }
.ahec-header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.ahec-logo img { height: 50px; width: auto; }
/* Logo always shown in white on the green header/footer */
.ahec-logo img, .ahec-fbrand img { filter: brightness(0) invert(1); }
.ahec-header-tools { display: flex; align-items: center; gap: 10px; }

.ahec-lang {
	display: inline-flex; align-items: center; gap: 6px;
	height: 38px; padding: 0 14px; border-radius: 999px;
	border: 1px solid rgba(244, 255, 241, .35); color: var(--mint);
	font-size: 14px; font-weight: 600; line-height: 1;
	transition: background .25s, color .25s;
}
.ahec-lang[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; }
.ahec-lang[lang="en"], .ahec-lang[lang="fr"] { font-family: 'Montserrat', sans-serif; }
.ahec-lang:hover { background: var(--mint); color: var(--g900); }
.ahec-lang .ahec-ic { font-size: 16px; }

/* Burger */
.ahec-burger {
	width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(244, 255, 241, .3);
	background: rgba(244, 255, 241, .06); display: inline-flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.ahec-burger span { display: block; width: 20px; height: 2px; background: var(--mint); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.ahec-menu-open .ahec-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ahec-menu-open .ahec-burger span:nth-child(2) { opacity: 0; }
.ahec-menu-open .ahec-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.ahec-nav {
	position: fixed; top: var(--header-h); bottom: 0; right: 0; width: min(88vw, 380px);
	background: var(--g900); color: var(--mint);
	padding: 18px 20px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch;
	transform: translateX(105%); transition: transform .4s var(--ease);
	box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .6);
	visibility: hidden;
}
.ahec-rtl .ahec-nav { right: auto; left: 0; transform: translateX(-105%); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .6); }
.ahec-menu-open .ahec-nav { transform: translateX(0); visibility: visible; }
.ahec-overlay { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(5, 18, 9, .55); z-index: 90; opacity: 0; transition: opacity .3s; }
.ahec-menu-open .ahec-overlay { opacity: 1; }
body.ahec-menu-open { overflow: hidden; }

.ahec-menu > li { border-bottom: 1px solid rgba(244, 255, 241, .1); }
.ahec-menu a { display: block; padding: 14px 4px; font-weight: 600; font-size: 16px; color: var(--mint); }
.ahec-menu > li.is-current > a, .ahec-menu > li.is-current > .ahec-sub-row > a, .ahec-sub li.is-current a { color: var(--olive); }
.ahec-sub-row { display: flex; align-items: center; justify-content: space-between; }
.ahec-sub-row > a { flex: 1; }
.ahec-sub-toggle { width: 44px; height: 44px; border: 0; background: transparent; color: var(--mint); display: inline-flex; align-items: center; justify-content: center; }
.ahec-sub-toggle .ahec-ic { font-size: 22px; transition: transform .3s var(--ease); }
.ahec-sub-toggle[aria-expanded="true"] .ahec-ic { transform: rotate(180deg); }
.ahec-sub { display: none; padding: 0 0 10px 12px; }
.ahec-rtl .ahec-sub { padding: 0 12px 10px 0; }
.ahec-has-sub.is-open .ahec-sub { display: block; }
.ahec-sub a { padding: 9px 4px; font-weight: 500; font-size: 15px; opacity: .9; }
.ahec-nav-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }

.ahec-nav-cta { width: 100%; }

/* Desktop nav */
@media (min-width: 1100px) {
	:root { --header-h: 84px; }
	.ahec-header.is-scrolled { height: 70px; background: rgba(27, 68, 38, .9); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
	.ahec-burger, .ahec-lang-top, .ahec-overlay { display: none !important; }
	.ahec-nav {
		position: static; width: auto; transform: none; visibility: visible; background: none;
		padding: 0; overflow: visible; box-shadow: none; display: flex; align-items: center; gap: 22px;
	}
	.ahec-rtl .ahec-nav { transform: none; box-shadow: none; }
	.ahec-menu { display: flex; align-items: center; gap: 2px; }
	.ahec-menu > li { border: 0; position: relative; }
	.ahec-menu > li > a, .ahec-sub-row > a {
		padding: 10px 12px; font-size: 14.5px; position: relative;
	}
	.ahec-rtl .ahec-menu > li > a, .ahec-rtl .ahec-sub-row > a { font-size: 15.5px; }
	.ahec-menu > li > a::after, .ahec-sub-row > a::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
		background: var(--olive); transform: scaleX(0); transition: transform .3s var(--ease);
	}
	.ahec-menu > li > a:hover::after, .ahec-sub-row > a:hover::after, .ahec-menu > li.is-current > a::after, .ahec-has-sub.is-current .ahec-sub-row > a::after { transform: scaleX(1); }
	.ahec-sub-row > a { padding-right: 4px; }
	.ahec-rtl .ahec-sub-row > a { padding-right: 12px; padding-left: 4px; }
	.ahec-sub-toggle { width: 22px; height: 30px; }
	.ahec-sub-toggle .ahec-ic { font-size: 18px; }
	.ahec-sub {
		display: block; position: absolute; top: 100%; left: -10px; min-width: 330px;
		background: var(--white); border-radius: 16px; padding: 10px; box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.ahec-rtl .ahec-sub { left: auto; right: -10px; padding: 10px; }
	.ahec-sub::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
	.ahec-has-sub:hover .ahec-sub, .ahec-has-sub:focus-within .ahec-sub, .ahec-has-sub.is-open .ahec-sub { opacity: 1; visibility: visible; transform: translateY(0); }
	.ahec-sub a { color: var(--ink); padding: 10px 14px; border-radius: 10px; font-size: 14.5px; opacity: 1; }
	.ahec-sub a:hover { background: var(--mint); color: var(--g700); }
	.ahec-sub li.is-current a { color: var(--g700); background: var(--mint); }
	.ahec-nav-extra { flex-direction: row; align-items: center; margin: 0; gap: 12px; }
	.ahec-nav-cta { width: auto; min-height: 44px; padding: 0 20px; font-size: 14px; }
}
@media (min-width: 1100px) and (max-width: 1240px) {
	.ahec-nav-cta { display: none; }
}

/* ---------- Topographic texture ---------- */
.ahec-topo { position: absolute; inset: 0; background-image: var(--topo); background-size: 520px; opacity: .12; pointer-events: none; }

/* ---------- Home hero ---------- */
.ahec-hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; color: var(--mint); overflow: hidden;
	padding: calc(var(--header-h) + 40px) 0 90px; isolation: isolate;
}
.ahec-hero-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; z-index: -2; opacity: 0; transition: opacity 1.4s ease; }
.ahec-hero-bg.is-active { opacity: 1; animation: ahecZoom 14s ease-out forwards; }
@keyframes ahecZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ahec-hero-shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(120% 80% at 85% 10%, rgba(153, 176, 104, .28), transparent 55%),
		linear-gradient(105deg, rgba(10, 34, 18, .92) 0%, rgba(27, 68, 38, .72) 50%, rgba(12, 96, 36, .3) 100%);
}
.ahec-rtl .ahec-hero-shade {
	background:
		radial-gradient(120% 80% at 15% 10%, rgba(153, 176, 104, .28), transparent 55%),
		linear-gradient(255deg, rgba(10, 34, 18, .92) 0%, rgba(27, 68, 38, .72) 50%, rgba(12, 96, 36, .3) 100%);
}
.ahec-hero .ahec-topo { opacity: .1; z-index: -1; }
.ahec-hero-in { max-width: 1240px; }
.ahec-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-small); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
	padding: 8px 16px; border-radius: 999px; background: rgba(244, 255, 241, .08); border: 1px solid rgba(244, 255, 241, .18);
	margin-bottom: 26px;
}
.ahec-rtl .ahec-eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ahec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 4px rgba(153, 176, 104, .25); flex: none; }
.ahec-hero-title { font-size: clamp(34px, 8.4vw, 76px); font-weight: 800; margin: 0 0 24px; line-height: 1.05; }
.ahec-rtl .ahec-hero-title { font-weight: 700; line-height: 1.3; }
.ahec-hero-title span { display: block; }
.ahec-accent-text { color: var(--olive); }
.ahec-hero-lead { font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; opacity: .92; margin-bottom: 34px; }
.ahec-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ahec-scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(244, 255, 241, .5); border-radius: 14px; }
.ahec-scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--mint); border-radius: 2px; animation: ahecScroll 1.8s infinite; }
@keyframes ahecScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Inner page hero ---------- */
.ahec-phero {
	position: relative; overflow: hidden; color: var(--mint);
	background: radial-gradient(90% 120% at 90% 0%, rgba(153, 176, 104, .25), transparent 60%), linear-gradient(135deg, var(--g900), var(--g700));
	padding: 56px 0 64px;
}
.ahec-rtl .ahec-phero { background: radial-gradient(90% 120% at 10% 0%, rgba(153, 176, 104, .25), transparent 60%), linear-gradient(225deg, var(--g900), var(--g700)); }
.ahec-phero-in { position: relative; }
.ahec-phero h1 { font-size: clamp(30px, 6vw, 54px); font-weight: 800; margin-bottom: 14px; max-width: 900px; }
.ahec-rtl .ahec-phero h1 { font-weight: 700; }
.ahec-phero-sub { font-size: clamp(16px, 2vw, 19px); max-width: 760px; opacity: .88; margin: 0; }
.ahec-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--f-small); font-size: 14px; margin-bottom: 18px; opacity: .85; }
.ahec-crumbs a:hover { color: var(--olive); }
.ahec-crumb-sep { opacity: .5; }

/* ---------- Sections ---------- */
.ahec-section { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .ahec-section { padding: 110px 0; } .ahec-phero { padding: 90px 0 100px; } }
.ahec-kicker {
	display: inline-block; font-family: var(--f-slab); font-weight: 600; font-size: 14px; color: var(--g700);
	letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px;
}
.ahec-rtl .ahec-kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.ahec-soon {
	max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 26px; border-radius: 24px;
	background: linear-gradient(180deg, var(--mint), var(--ice)); border: 1px solid var(--line);
}
.ahec-soon h2 { font-size: clamp(22px, 3.4vw, 32px); color: var(--g900); }
.ahec-soon p { color: var(--muted); }
.ahec-soon .ahec-btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.ahec-footer { position: relative; background: #0f2a17; color: rgba(244, 255, 241, .82); overflow: hidden; font-size: 15px; }
.ahec-footer-topo { position: absolute; inset: 0; background-image: var(--topo); background-size: 600px; opacity: .06; pointer-events: none; }
.ahec-footer-grid { position: relative; display: grid; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
@media (min-width: 700px) { .ahec-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ahec-footer-grid { grid-template-columns: 1.4fr .8fr 1.2fr 1.2fr; gap: 50px; } }
.ahec-footer h3 { color: var(--white); font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.ahec-footer h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--olive); }
.ahec-rtl .ahec-footer h3::after { left: auto; right: 0; }
.ahec-fbrand img { height: 52px; width: auto; margin-bottom: 20px; }
.ahec-fbrand p { max-width: 340px; }
.ahec-badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--olive); border: 1px solid rgba(153, 176, 104, .45); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.ahec-social { display: flex; gap: 10px; }
.ahec-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(244, 255, 241, .08); color: var(--mint); transition: background .25s, color .25s, transform .25s; }
.ahec-social a:hover { background: var(--olive); color: var(--g900); transform: translateY(-3px); }
.ahec-social .ahec-ic { font-size: 18px; }
.ahec-footer ul li { margin-bottom: 10px; }
.ahec-footer ul a { transition: color .2s, padding .2s; }
.ahec-footer ul a:hover { color: var(--olive); padding-left: 4px; }
.ahec-rtl .ahec-footer ul a:hover { padding-left: 0; padding-right: 4px; }
.ahec-fcontact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ahec-fcontact .ahec-ic { color: var(--olive); font-size: 18px; margin-top: 4px; }
.ahec-fcontact a:hover { color: var(--olive); }
.ahec-fcontact strong { color: var(--white); }
.ahec-office-2 { margin-top: 22px; }
.ahec-footer-bottom { position: relative; border-top: 1px solid rgba(244, 255, 241, .1); padding: 22px 0 90px; font-size: 14px; text-align: center; }
.ahec-footer-bottom p { margin: 0; }
@media (min-width: 700px) { .ahec-footer-bottom { padding-bottom: 22px; } }

/* ---------- Floating buttons ---------- */
.ahec-wa {
	position: fixed; z-index: 80; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; color: var(--white); display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease);
}
.ahec-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ahecPulse 2.4s infinite; }
@keyframes ahecPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.ahec-wa .ahec-ic { font-size: 30px; }
.ahec-wa:hover { transform: scale(1.07); }
.ahec-rtl .ahec-wa { right: auto; left: 18px; }
.ahec-top {
	position: fixed; z-index: 80; right: 24px; bottom: 88px; width: 46px; height: 46px; border-radius: 50%;
	border: 0; background: var(--g900); color: var(--mint); display: inline-flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.ahec-top .ahec-ic { font-size: 24px; transform: rotate(180deg); }
.ahec-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ahec-rtl .ahec-top { right: auto; left: 24px; }

/* ---------- Scroll reveal ---------- */
.ahec-js .ahec-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ahec-js .ahec-reveal.is-in { opacity: 1; transform: none; }
.ahec-hero .ahec-reveal:nth-child(2) { transition-delay: .1s; }
.ahec-hero .ahec-reveal:nth-child(3) { transition-delay: .2s; }
.ahec-hero .ahec-reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ahec-js .ahec-reveal { opacity: 1; transform: none; }
}
.ahec-menu-open .ahec-header, .ahec-menu-open.ahec-has-hero .ahec-header { background: var(--g900); }
.ahec-menu-open .ahec-header::before { opacity: 0; }

/* =========================================================
   v1.0.1 — Home page
   ========================================================= */
/* Hero slides */
.ahec-slides { display: grid; }
.ahec-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; }
.ahec-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.ahec-hero-title-2 { font-size: clamp(30px, 6.6vw, 64px); }
.ahec-dots { display: flex; gap: 10px; margin-top: 42px; }
.ahec-dot-btn { width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(244, 255, 241, .3); transition: background .3s, width .3s; position: relative; }
.ahec-dot-btn::before { content: ""; position: absolute; inset: -12px 0; }
.ahec-dot-btn.is-active { background: var(--olive); width: 54px; }
.ahec-hero { padding-bottom: 150px; }
.ahec-scroll-hint { display: none; }

/* Section heads */
.ahec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.ahec-head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; color: var(--g900); }
.ahec-rtl .ahec-head h2 { font-weight: 700; }
.ahec-head p { color: var(--muted); font-size: 17px; margin: 0; }
.ahec-head-light h2 { color: var(--white); }
.ahec-head-light p { color: rgba(244, 255, 241, .8); }
.ahec-head-light .ahec-kicker { color: var(--olive); }
.ahec-center { text-align: center; margin-top: 44px; }
.ahec-lead { font-size: 18px; color: var(--ink); font-weight: 500; }
.ahec-btn-outline { border-color: var(--g900); color: var(--g900); }
.ahec-btn-outline:hover { background: var(--g900); color: var(--mint); }

/* Stats */
.ahec-stats-wrap { position: relative; z-index: 3; margin-top: -90px; }
.ahec-stats {
	display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 24px;
	box-shadow: 0 30px 70px -30px rgba(12, 40, 20, .45); overflow: hidden; border: 1px solid var(--line);
}
.ahec-stat { padding: 26px 16px; text-align: center; position: relative; }
.ahec-stat:nth-child(odd) { border-right: 1px solid var(--line); }
.ahec-rtl .ahec-stat:nth-child(odd) { border-right: 0; border-left: 1px solid var(--line); }
.ahec-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.ahec-stat-ic { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--mint); color: var(--g700); margin-bottom: 10px; }
.ahec-stat-ic .ahec-ic { font-size: 22px; }
.ahec-stat-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.1; color: var(--g900); }
.ahec-rtl .ahec-stat-num { font-family: var(--f-head); }
.ahec-suf { color: var(--olive); }
.ahec-stat-label { margin: 6px 0 0; font-family: var(--f-small); font-size: 14px; color: var(--muted); font-weight: 500; }
@media (min-width: 900px) {
	.ahec-stats { grid-template-columns: repeat(4, 1fr); }
	.ahec-stat { padding: 36px 20px; }
	.ahec-stat:nth-child(-n+2) { border-bottom: 0; }
	.ahec-stat:not(:last-child) { border-right: 1px solid var(--line); }
	.ahec-rtl .ahec-stat:not(:last-child) { border-right: 0; border-left: 1px solid var(--line); }
	.ahec-rtl .ahec-stat:last-child { border-left: 0; }
}

/* About */
.ahec-about-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .ahec-about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.ahec-about-media { position: relative; padding: 0 0 60px 0; max-width: 560px; margin: 0 auto; width: 100%; }
.ahec-about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--mint); }
.ahec-about-img img { width: 100%; height: 100%; object-fit: cover; }
.ahec-about-img-1 { width: 82%; aspect-ratio: 4 / 4.4; }
.ahec-about-img-2 { position: absolute; width: 50%; aspect-ratio: 1; right: 0; bottom: 0; border: 6px solid var(--white); }
.ahec-rtl .ahec-about-img-1 { margin-left: auto; }
.ahec-rtl .ahec-about-img-2 { right: auto; left: 0; }
.ahec-about-badge {
	position: absolute; top: 24px; right: 4%; background: var(--g900); color: var(--mint); border-radius: 18px;
	padding: 16px 20px; text-align: center; box-shadow: var(--shadow); background-image: var(--topo); background-size: 300px;
}
.ahec-rtl .ahec-about-badge { right: auto; left: 4%; }
.ahec-about-badge strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 800; color: var(--olive); line-height: 1.1; }
.ahec-about-badge span { font-size: 13px; font-weight: 600; }
.ahec-about-text h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; color: var(--g900); }
.ahec-rtl .ahec-about-text h2 { font-weight: 700; }
.ahec-about-text p { color: var(--muted); }
.ahec-about-text .ahec-lead { color: var(--ink); }
.ahec .ahec-checks { display: grid; gap: 12px; margin: 26px 0 36px; }
@media (min-width: 560px) { .ahec-checks { grid-template-columns: 1fr 1fr; } }
.ahec-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--g900); }
.ahec-checks .ahec-ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--olive); fill: var(--white); }

/* Services cards */
.ahec-services { background: linear-gradient(180deg, var(--white), var(--mint) 30%, var(--ice)); }
.ahec-cards { display: grid; gap: 22px; }
@media (min-width: 640px) { .ahec-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ahec-cards { grid-template-columns: repeat(4, 1fr); } }
.ahec-card {
	display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(12, 40, 20, .5);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ahec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ahec-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--g900); }
.ahec-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ahec-card:hover .ahec-card-img img { transform: scale(1.07); }
.ahec-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 34, 18, .55)); }
.ahec-card-num { position: absolute; z-index: 1; left: 16px; bottom: 12px; font-family: 'Roboto Slab', serif; font-weight: 600; font-size: 15px; color: var(--mint); background: rgba(27, 68, 38, .75); padding: 2px 10px; border-radius: 999px; }
.ahec-rtl .ahec-card-num { left: auto; right: 16px; }
.ahec-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ahec-card-body h3 { font-size: 18px; color: var(--g900); margin-bottom: 10px; }
.ahec-card-body p { font-size: 15px; color: var(--muted); flex: 1; }
.ahec-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--g700); }
.ahec-more .ahec-ic { transition: transform .3s var(--ease); }
.ahec-rtl .ahec-more .ahec-ic { transform: scaleX(-1); }
.ahec-card:hover .ahec-more .ahec-ic { transform: translateX(5px); }
.ahec-rtl .ahec-card:hover .ahec-more .ahec-ic { transform: scaleX(-1) translateX(5px); }

/* Why choose us */
.ahec-why { background: radial-gradient(80% 60% at 100% 0%, rgba(153, 176, 104, .18), transparent 60%), var(--g900); color: var(--mint); overflow: hidden; }
.ahec-why .ahec-topo { opacity: .07; }
.ahec-why .ahec-wrap { position: relative; }
.ahec-why-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .ahec-why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ahec-why-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ahec-why-item {
	padding: 30px 26px; border-radius: var(--radius); background: rgba(244, 255, 241, .05);
	border: 1px solid rgba(244, 255, 241, .12); transition: background .35s, transform .35s var(--ease), border-color .35s;
}
.ahec-why-item:hover { background: rgba(244, 255, 241, .1); border-color: rgba(153, 176, 104, .5); transform: translateY(-4px); }
.ahec-why-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; align-items: center; justify-content: center; background: var(--olive); color: var(--g900); margin-bottom: 18px; }
.ahec-why-ic .ahec-ic { font-size: 28px; }
.ahec-why-item h3 { font-size: 19px; color: var(--white); }
.ahec-why-item p { margin: 0; color: rgba(244, 255, 241, .78); font-size: 15px; }

/* CTA */
.ahec-cta-sec { padding: 72px 0 0; }
@media (min-width: 900px) { .ahec-cta-sec { padding-top: 100px; } }
.ahec-cta {
	position: relative; overflow: hidden; border-radius: 28px; padding: 40px 28px;
	background: linear-gradient(120deg, var(--olive), #b9cc8c); color: var(--g900);
	display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
}
.ahec-cta::after { content: ""; position: absolute; inset: 0; background-image: var(--topo); background-size: 420px; opacity: .25; filter: brightness(.3); pointer-events: none; }
.ahec-cta > * { position: relative; z-index: 1; }
.ahec-cta h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; margin-bottom: 10px; }
.ahec-rtl .ahec-cta h2 { font-weight: 700; }
.ahec-cta p { margin: 0; font-size: 17px; max-width: 640px; }
@media (min-width: 900px) { .ahec-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 60px; } }

/* Testimonials */
.ahec-testi-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .ahec-testi-grid { grid-template-columns: 1fr 1fr; } }
.ahec-quote { margin: 0; position: relative; padding: 34px 28px 28px; border-radius: var(--radius); background: var(--mint); border: 1px solid var(--line); }
.ahec-quote-ic { position: absolute; top: -18px; left: 28px; width: 48px; height: 48px; border-radius: 14px; background: var(--g900); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; }
.ahec-rtl .ahec-quote-ic { left: auto; right: 28px; }
.ahec-quote-ic .ahec-ic { font-size: 24px; }
.ahec-quote blockquote { margin: 10px 0 22px; }
.ahec-quote blockquote p { font-family: var(--f-slab); font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0; }
.ahec-quote figcaption { display: flex; align-items: center; gap: 14px; }
.ahec-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--g700); color: var(--mint); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex: none; }
.ahec-quote strong { display: block; color: var(--g900); }
.ahec-quote small { display: block; color: var(--muted); font-family: var(--f-small); font-size: 14px; }

/* =========================================================
   v1.0.2 — Language switch: EN · FR · العربية
   ========================================================= */
.ahec-langs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(244, 255, 241, .3); background: rgba(244, 255, 241, .06); }
.ahec-lang-opt {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding: 0 10px;
	border-radius: 999px; color: var(--mint) !important; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; line-height: 1;
	transition: background .2s, color .2s;
}
.ahec-lang-opt[lang="ar"] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; font-size: 14px; font-weight: 600; }
.ahec-lang-opt[lang="ar"] { padding: 0 12px; white-space: nowrap; }
.ahec-lang-opt:hover { background: rgba(244, 255, 241, .14); }
.ahec-lang-opt.is-current { background: var(--olive); color: var(--g900) !important; }
/* Mobile top bar: compact */
.ahec-lang-top .ahec-lang-opt { min-width: 32px; height: 30px; padding: 0 8px; font-size: 12px; }
.ahec-lang-top .ahec-lang-opt[lang="ar"] { font-size: 13px; }
/* Inside the mobile menu: full width row */
.ahec-nav-extra .ahec-langs { display: flex; width: 100%; padding: 4px; }
.ahec-nav-extra .ahec-lang-opt { flex: 1; height: 42px; font-size: 14px; }
@media (min-width: 1100px) {
	.ahec-nav-extra .ahec-langs { display: inline-flex; width: auto; padding: 3px; }
	.ahec-nav-extra .ahec-lang-opt { flex: none; height: 32px; font-size: 13px; }
}
@media (max-width: 359px) { .ahec-lang-top { display: none !important; } }
/* French labels are longer: keep the desktop header on one line */
/* v1.0.7 — menu items never wrap onto two lines (all languages) */
@media (min-width: 1100px) {
	.ahec-logo { flex: none; }
	.ahec-menu > li > a, .ahec-sub-row > a { white-space: nowrap; }
	.ahec-sub-row { flex-wrap: nowrap; }
	.ahec-nav-cta, .ahec-langs { flex: none; white-space: nowrap; }
	/* French labels are longer: tighter spacing, and the header button only on wide screens */
	html[lang="fr"] .ahec-nav { gap: 14px; }
	html[lang="fr"] .ahec-menu > li > a, html[lang="fr"] .ahec-sub-row > a { padding-left: 9px; padding-right: 9px; font-size: 14px; }
	html[lang="fr"] .ahec-sub-row > a { padding-right: 3px; }
	html[lang="fr"] .ahec-menu > li > a::after, html[lang="fr"] .ahec-sub-row > a::after { left: 9px; right: 9px; }
}
@media (min-width: 1100px) and (max-width: 1499px) {
	html[lang="fr"] .ahec-nav-cta { display: none; }
}

/* =========================================================
   v1.0.3 — Contact form, Contact page, popup, map
   ========================================================= */
.ahec-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ahec-rtl .ahec-hp { left: auto; right: -9999px; }
.ahec-form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .ahec-form-grid { grid-template-columns: 1fr 1fr; } .ahec-fld-full { grid-column: 1 / -1; } }
.ahec-fld label { display: block; font-size: 14px; font-weight: 600; color: var(--g900); margin-bottom: 6px; }
.ahec-fld label b { color: #b8452f; font-weight: 700; }
.ahec-fld input, .ahec-fld textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
	border: 1.5px solid rgba(27, 68, 38, .18); border-radius: 12px; padding: 13px 14px; min-height: 50px;
	transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.ahec-fld textarea { resize: vertical; min-height: 130px; }
.ahec-fld input:focus, .ahec-fld textarea:focus { outline: none; border-color: var(--g700); box-shadow: 0 0 0 4px rgba(153, 176, 104, .3); }
.ahec-fld .is-invalid { border-color: #b8452f; box-shadow: 0 0 0 3px rgba(184, 69, 47, .15); }
.ahec-rtl .ahec-fld input[dir="ltr"] { text-align: right; }
.ahec-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 16px 0 18px; line-height: 1.55; }
.ahec-privacy .ahec-ic { color: var(--g700); font-size: 16px; margin-top: 2px; }
.ahec-form-foot .ahec-btn { width: 100%; }
@media (min-width: 640px) { .ahec-form-foot .ahec-btn { width: auto; } }
.ahec-submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.ahec-form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.ahec-form-status.is-ok { background: #e6f4e3; color: var(--g700); border: 1px solid rgba(12, 96, 36, .25); }
.ahec-form-status.is-err { background: #fbecea; color: #9c3422; border: 1px solid rgba(184, 69, 47, .25); }

/* Contact page */
.ahec-contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .ahec-contact-grid { grid-template-columns: 1.45fr 1fr; gap: 50px; } }
.ahec-contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px 22px; box-shadow: 0 30px 70px -40px rgba(12, 40, 20, .45); }
@media (min-width: 640px) { .ahec-contact-form-card { padding: 42px 40px; } }
.ahec-contact-form-card h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--g900); }
.ahec-rtl .ahec-contact-form-card h2 { font-weight: 700; }
.ahec-muted { color: var(--muted); margin-bottom: 26px !important; }
.ahec-side-title { font-size: 22px; color: var(--g900); margin-bottom: 18px; }
.ahec-contact-side { display: grid; gap: 18px; }
.ahec-office-card { border-radius: 20px; padding: 24px; background: var(--g900); color: var(--mint); position: relative; overflow: hidden; }
.ahec-office-card::after { content: ""; position: absolute; inset: 0; background-image: var(--topo); background-size: 360px; opacity: .08; pointer-events: none; }
.ahec-office-card > * { position: relative; }
.ahec-office-card + .ahec-office-card { background: linear-gradient(135deg, var(--g700), var(--g900)); }
.ahec-office-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.ahec-office-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--olive); color: var(--g900); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ahec-office-ic .ahec-ic { font-size: 24px; }
.ahec-office-top h3 { margin: 0; font-size: 19px; color: var(--white); }
.ahec-office-top p { margin: 0; opacity: .8; font-size: 15px; }
.ahec-office-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(244, 255, 241, .12); }
.ahec-office-list .ahec-ic { color: var(--olive); font-size: 18px; }
.ahec-office-list a:hover { color: var(--olive); }

/* Map */
.ahec-map-sec { padding: 0 0 80px; }
.ahec-map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.ahec-map-head h2 { margin: 0; font-size: 26px; color: var(--g900); }
.ahec-map-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mint); border: 1px solid var(--line); }
.ahec-map-tab { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--g900); }
.ahec-map-tab.is-active { background: var(--g900); color: var(--mint); }
.ahec-map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--mint); aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .ahec-map { aspect-ratio: 21 / 8; } }
.ahec-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Popup */
.ahec-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .ahec-modal { align-items: center; padding: 24px; } }
.ahec-modal-bg { position: absolute; inset: 0; background: rgba(5, 18, 9, .6); opacity: 0; transition: opacity .25s; }
.ahec-modal-box {
	position: relative; width: 100%; max-width: 720px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
	background: var(--white); border-radius: 24px 24px 0 0; padding: 30px 20px 24px;
	transform: translateY(40px); opacity: 0; transition: transform .3s var(--ease), opacity .25s;
}
@media (min-width: 700px) { .ahec-modal-box { border-radius: 24px; padding: 40px 40px 32px; } }
.ahec-modal.is-open .ahec-modal-bg { opacity: 1; }
.ahec-modal.is-open .ahec-modal-box { transform: none; opacity: 1; }
.ahec-modal-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint); color: var(--g900); font-size: 28px; line-height: 1; }
.ahec-rtl .ahec-modal-x { right: auto; left: 12px; }
.ahec-modal-x:hover { background: var(--g900); color: var(--mint); }
.ahec-modal-head { padding-right: 40px; margin-bottom: 20px; }
.ahec-rtl .ahec-modal-head { padding-right: 0; padding-left: 40px; }
.ahec-modal-head h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: var(--g900); margin-bottom: 8px; }
.ahec-rtl .ahec-modal-head h2 { font-weight: 700; }
.ahec-modal-head p { color: var(--muted); margin: 0; }
body.ahec-modal-open { overflow: hidden; }
/* Anything marked hidden stays hidden (popup, status, busy label…) */
.ahec [hidden] { display: none !important; }

/* =========================================================
   v1.0.4 — About, Why Us, Industries, Projects
   ========================================================= */
.ahec-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ahec .ahec-h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--g900); }
.ahec-rtl .ahec-h2 { font-weight: 700; }
.ahec-bullets li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink); }
.ahec-bullets .ahec-ic { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--mint); fill: var(--g700); border: 1px solid rgba(12, 96, 36, .2); }
.ahec-bullets-sm li { font-size: 14.5px; padding: 5px 0; color: var(--muted); }
.ahec-bullets-sm li + li { border-top: 1px dashed var(--line); }

/* More about */
.ahec-moreabout { background: linear-gradient(180deg, var(--mint), var(--ice)); overflow: hidden; }
.ahec-moreabout .ahec-topo { opacity: .25; filter: hue-rotate(0deg) brightness(.6); }
.ahec-more-grid { position: relative; display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .ahec-more-grid { grid-template-columns: 1.15fr 1fr; gap: 60px; } }
.ahec-moreabout h2 { font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; color: var(--g900); }
.ahec-rtl .ahec-moreabout h2 { font-weight: 700; }
.ahec-moreabout p { color: var(--muted); }
.ahec-cap-card { background: var(--white); border-radius: 22px; padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ahec-cap-card h3 { color: var(--g900); font-size: 20px; margin-bottom: 10px; }
.ahec-cap-card .ahec-bullets li { font-size: 15px; border-top: 1px solid var(--line); }
.ahec-cap-card .ahec-bullets li:first-child { border-top: 0; }

/* Mission */
.ahec-mission-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ahec-mission-grid { grid-template-columns: repeat(3, 1fr); } }
.ahec-mission-card { position: relative; padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 40px -28px rgba(12, 40, 20, .5); overflow: hidden; }
.ahec-mission-card h3 { color: var(--g900); font-size: 20px; }
.ahec-mission-card p { color: var(--muted); font-size: 15px; margin: 0; }
.ahec-mission-num { position: absolute; top: 14px; right: 20px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 54px; color: var(--mint); line-height: 1; }
.ahec-rtl .ahec-mission-num { right: auto; left: 20px; }
.ahec-mission-card > *:not(.ahec-mission-num) { position: relative; }

/* Static cards (3 columns) */
@media (min-width: 1100px) { .ahec-cards-3 { grid-template-columns: repeat(3, 1fr); } }
.ahec-card-static:hover { transform: translateY(-4px); }
.ahec-values { background: linear-gradient(180deg, var(--white), var(--mint)); }

/* Client logos marquee */
.ahec-clients { padding-bottom: 60px; overflow: hidden; }
.ahec-marquee { position: relative; 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); }
.ahec-marquee-track { display: flex; gap: 18px; width: max-content; animation: ahecMarquee 70s linear infinite; }
.ahec-rtl .ahec-marquee-track { animation-name: ahecMarqueeRtl; }
.ahec-marquee:hover .ahec-marquee-track { animation-play-state: paused; }
@keyframes ahecMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ahecMarqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.ahec-logo-cell { flex: none; width: 160px; height: 90px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.ahec-logo-cell img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.ahec-logo-cell:hover img { filter: none; opacity: 1; }

/* FAQ */
.ahec-faq-sec { background: var(--ice); }
.ahec-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.ahec-faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ahec-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--g900); font-size: 16px; line-height: 1.45; }
.ahec-faq-item summary::-webkit-details-marker { display: none; }
.ahec-faq-item summary i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); }
.ahec-faq-item summary i::before, .ahec-faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--g700); border-radius: 2px; transition: transform .25s; }
.ahec-faq-item summary i::after { transform: rotate(90deg); }
.ahec-faq-item[open] summary i::after { transform: rotate(0); }
.ahec-faq-item[open] summary { color: var(--g700); }
.ahec-faq-a { padding: 0 20px 18px; color: var(--muted); }
.ahec-faq-a p { margin: 0; }

/* CTA on inner pages */
.ahec-cta-inner { padding-bottom: 80px; }
.ahec-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ahec-cta .ahec-btn-outline { border-color: var(--g900); }

/* Why Us stats */
.ahec-stats-inline { margin-top: 0; padding-top: 70px; }

/* Industries */
.ahec-ind-list { display: grid; gap: 34px; }
.ahec-ind { display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px -36px rgba(12, 40, 20, .55); }
@media (min-width: 900px) {
	.ahec-ind { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
	.ahec-ind.is-flip .ahec-ind-img { order: 2; }
}
.ahec-ind-img { position: relative; min-height: 240px; background: var(--g900); }
.ahec-ind-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahec-ind-img .ahec-card-num { bottom: 16px; }
.ahec-ind-body { padding: 28px 24px 30px; }
@media (min-width: 900px) { .ahec-ind-body { padding: 42px 44px; } }
.ahec-ind-body h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--g900); margin-bottom: 6px; }
.ahec-rtl .ahec-ind-body h2 { font-weight: 700; }
.ahec-ind-tag { font-family: var(--f-slab); color: var(--g700); font-weight: 600; font-size: 16px; }
.ahec-ind-body > p { color: var(--muted); }
.ahec-ind-body h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--g900); margin: 20px 0 10px; }
.ahec-rtl .ahec-ind-body h3 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.ahec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ahec-chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--mint); border: 1px solid rgba(12, 96, 36, .2); color: var(--g700); font-size: 14px; font-weight: 600; }

/* Projects */
.ahec-page-projects .ahec-phero { padding-bottom: 130px; }
.ahec-page-projects .ahec-phero-sub { font-size: 16px; }
.ahec-cat-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .ahec-cat-grid { grid-template-columns: repeat(3, 1fr); } }
.ahec-cat { text-align: center; padding: 32px 22px; border-radius: var(--radius); background: rgba(244, 255, 241, .06); border: 1px solid rgba(244, 255, 241, .14); }
.ahec-cat-num { font-family: 'Montserrat', sans-serif; font-size: clamp(40px, 6vw, 60px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 8px; }
.ahec-cat h3 { color: var(--olive); font-size: 18px; }
.ahec-cat p { margin: 0; color: rgba(244, 255, 241, .78); font-size: 15px; }
.ahec-split { display: grid; gap: 50px; }
@media (min-width: 1000px) { .ahec-split { grid-template-columns: 1fr 1fr; gap: 70px; } }
.ahec-bars { display: grid; gap: 16px; margin-top: 10px; }
.ahec-bar-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--g900); font-size: 15px; margin-bottom: 6px; }
.ahec-bar-top strong { color: var(--g700); }
.ahec-bar-track { height: 10px; border-radius: 10px; background: var(--mint); overflow: hidden; border: 1px solid var(--line); }
.ahec-bar-track span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--g700), var(--olive)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.ahec-rtl .ahec-bar-track span { transform-origin: right; background: linear-gradient(270deg, var(--g700), var(--olive)); }
.is-in .ahec-bar-track span, html:not(.ahec-js) .ahec-bar-track span { transform: scaleX(1); }
.ahec-regions { display: grid; gap: 12px; margin-top: 10px; }
.ahec-region { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(90deg, var(--mint), var(--white)); }
.ahec-rtl .ahec-region { background: linear-gradient(270deg, var(--mint), var(--white)); }
.ahec-region-num { flex: none; min-width: 86px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; color: var(--g900); }
.ahec-region h3 { margin: 0 0 2px; font-size: 17px; color: var(--g900); }
.ahec-region p { margin: 0; font-size: 14px; color: var(--muted); }

/* =========================================================
   v1.0.5 — Mobile bottom navigation + service pages
   ========================================================= */
.ahec-bnav, .ahec-sheet { display: none; }
@media (max-width: 1099px) {
	:root { --header-h: 64px; --bnav-h: 66px; }
	.ahec-nav { display: none !important; }
	.ahec-logo img { height: 42px; }
	.ahec-lang-top .ahec-lang-opt { min-width: 36px; height: 32px; padding: 0 10px; font-size: 12.5px; }
	.ahec-lang-top .ahec-lang-opt[lang="ar"] { font-size: 13.5px; }
	@media (max-width: 359px) { .ahec-lang-top { display: inline-flex !important; } .ahec-lang-top .ahec-lang-opt { padding: 0 7px; min-width: 30px; } }
	body.ahec { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); }
	.ahec-footer-bottom { padding-bottom: 22px; }

	.ahec-bnav {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 160;
		height: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); padding: 6px 6px env(safe-area-inset-bottom, 0px);
		background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(12, 40, 20, .45);
	}
	.ahec .ahec-bnav-i {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		border: 0; background: none; padding: 4px 2px; color: var(--muted) !important; font-family: var(--f-body);
		font-size: 11.5px; font-weight: 600; line-height: 1.1; border-radius: 14px; -webkit-tap-highlight-color: transparent;
	}
	.ahec.ahec-rtl .ahec-bnav-i { font-size: 12.5px; }
	.ahec-bnav-i .ahec-ic { font-size: 23px; transition: transform .25s var(--ease); }
	.ahec-bnav-i span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.ahec-bnav-i.is-current, .ahec-bnav-i.is-open { color: var(--g700) !important; }
	.ahec-bnav-i.is-current::before {
		content: ""; position: absolute; top: -6px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 4px 4px; background: var(--g700);
	}
	.ahec-bnav-i.is-current .ahec-ic, .ahec-bnav-i.is-open .ahec-ic { transform: translateY(-1px); }
	.ahec-bnav-i:active { background: var(--mint); }

	.ahec-sheet { display: block; position: fixed; inset: 0; z-index: 150; }
	.ahec-sheet-bg { position: absolute; inset: 0; background: rgba(5, 18, 9, .5); opacity: 0; transition: opacity .25s; }
	.ahec-sheet-box {
		position: absolute; left: 0; right: 0; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px));
		max-height: calc(100vh - var(--bnav-h) - 80px); max-height: calc(100dvh - var(--bnav-h) - 80px); overflow-y: auto;
		background: var(--white); border-radius: 22px 22px 0 0; padding: 10px 18px 18px;
		transform: translateY(105%); transition: transform .3s var(--ease); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .4);
	}
	.ahec-sheet.is-open .ahec-sheet-bg { opacity: 1; }
	.ahec-sheet.is-open .ahec-sheet-box { transform: none; }
	body.ahec-sheet-open { overflow: hidden; }
	.ahec-sheet-handle { display: block; width: 42px; height: 5px; border-radius: 5px; background: rgba(27, 68, 38, .2); margin: 2px auto 8px; }
	.ahec-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
	.ahec-sheet-head h2 { margin: 0; font-size: 19px; color: var(--g900); }
	.ahec-sheet-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mint); color: var(--g900); font-size: 26px; line-height: 1; }
	.ahec-sheet-list li + li { border-top: 1px solid var(--line); }
	.ahec-sheet-list a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; font-weight: 600; color: var(--ink); font-size: 15px; }
	.ahec-sheet-list a.is-current { color: var(--g700); }
	.ahec-sheet-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--mint); color: var(--g700); display: inline-flex; align-items: center; justify-content: center; }
	.ahec-sheet-ic .ahec-ic { font-size: 20px; }
	.ahec-sheet-list a.is-current .ahec-sheet-ic { background: var(--g900); color: var(--olive); }
	.ahec-sheet-all { width: 100%; margin-top: 12px; }

	.ahec-wa { bottom: calc(var(--bnav-h) + 14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
	.ahec-wa .ahec-ic { font-size: 27px; }
	.ahec-top { bottom: calc(var(--bnav-h) + 78px + env(safe-area-inset-bottom, 0px)); right: 21px; width: 42px; height: 42px; }
	.ahec-rtl .ahec-top { left: 21px; }
	.ahec-modal { z-index: 200; }
}

/* Service pages */
.ahec-svc-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .ahec-svc-grid { grid-template-columns: 1.1fr 1fr; gap: 70px; } }
.ahec-lead-sm { font-size: 17px; color: var(--muted); }
.ahec-svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 6px; }
.ahec-svc-facts div { padding: 16px 12px; border-radius: 16px; background: var(--mint); border: 1px solid var(--line); text-align: center; }
.ahec-svc-facts strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; color: var(--g900); line-height: 1.1; }
.ahec-svc-facts span { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 4px; }
.ahec-svc-media { position: relative; }
.ahec-svc-img { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--g900); }
.ahec-svc-img img { width: 100%; height: 100%; object-fit: cover; }
.ahec-svc-badge { position: absolute; left: -14px; bottom: -14px; width: 76px; height: 76px; border-radius: 22px; background: var(--g900); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); border: 5px solid var(--white); }
.ahec-rtl .ahec-svc-badge { left: auto; right: -14px; }
.ahec-svc-badge .ahec-ic { font-size: 34px; }
@media (max-width: 600px) { .ahec-svc-badge { left: 12px; bottom: -20px; width: 64px; height: 64px; } .ahec-rtl .ahec-svc-badge { right: 12px; } }

.ahec-capab { background: linear-gradient(180deg, var(--mint), var(--ice)); overflow: hidden; }
.ahec-capab .ahec-topo { opacity: .2; filter: brightness(.6); }
.ahec-capab .ahec-wrap { position: relative; }
.ahec-capg-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .ahec-capg-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ahec-capg { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 6px 20px 14px; box-shadow: 0 16px 40px -30px rgba(12, 40, 20, .55); }
.ahec-capg summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 0 10px; }
.ahec-capg summary::-webkit-details-marker { display: none; }
.ahec-capg-num { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--g900); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; }
.ahec-capg-t { flex: 1; font-weight: 700; color: var(--g900); font-size: 17px; line-height: 1.35; }
.ahec-capg-count { flex: none; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--mint); color: var(--g700); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ahec-capg summary i { flex: none; position: relative; width: 26px; height: 26px; }
.ahec-capg summary i::before, .ahec-capg summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--g700); border-radius: 2px; transition: transform .25s; }
.ahec-capg summary i::after { transform: rotate(90deg); }
.ahec-capg[open] summary i::after { transform: rotate(0); }

.ahec-mini-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .ahec-mini-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ahec-mini-grid { grid-template-columns: repeat(4, 1fr); } }
.ahec-mini { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ahec-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(12, 96, 36, .3); }
.ahec-mini-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--mint); color: var(--g700); display: inline-flex; align-items: center; justify-content: center; }
.ahec-mini-ic .ahec-ic { font-size: 22px; }
.ahec-mini-t { flex: 1; font-weight: 700; color: var(--g900); font-size: 15px; line-height: 1.35; }
.ahec-mini-arrow { color: var(--g700); }
.ahec-rtl .ahec-mini-arrow .ahec-ic { transform: scaleX(-1); }

.ahec-card-ic { position: absolute; z-index: 1; right: 14px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px; background: var(--olive); color: var(--g900); display: inline-flex; align-items: center; justify-content: center; }
.ahec-rtl .ahec-card-ic { right: auto; left: 14px; }
.ahec-card-ic .ahec-ic { font-size: 21px; }
.ahec-card-meta { font-size: 13px !important; color: var(--g700) !important; font-weight: 700; flex: 0 !important; margin-bottom: 12px !important; }

/* v1.0.6 — admin shortcut (visible only to logged-in admins) */
.ahec-adminpill { position: fixed; z-index: 170; left: 12px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: #1d2327; color: #fff !important; font: 600 12px/1.2 system-ui, sans-serif; opacity: .85; }
.ahec-adminpill:hover { opacity: 1; }
.ahec-rtl .ahec-adminpill { left: auto; right: 12px; }
@media (max-width: 1099px) { .ahec-adminpill { bottom: calc(var(--bnav-h) + 22px + env(safe-area-inset-bottom, 0px)); } }
.ahec img { -webkit-user-drag: none; }

/* =========================================================
   v1.0.9 — Regional homepage (hero, regional footprint, core expertise)
   ========================================================= */
.ahec-hero-title-r { font-size: clamp(30px, 5.4vw, 60px); line-height: 1.08; }
.ahec-rtl .ahec-hero-title-r { line-height: 1.35; }
.ahec-hero-title-r span + span { margin-top: .08em; }
.ahec-hero .ahec-hero-lead { max-width: 720px; font-size: clamp(16px, 1.9vw, 19px); }

.ahec-regional { background: radial-gradient(80% 60% at 0% 0%, rgba(153, 176, 104, .18), transparent 60%), var(--g900); color: var(--mint); overflow: hidden; }
.ahec-rtl .ahec-regional { background: radial-gradient(80% 60% at 100% 0%, rgba(153, 176, 104, .18), transparent 60%), var(--g900); }
.ahec-regional .ahec-topo { opacity: .07; }
.ahec-regional .ahec-wrap { position: relative; }
.ahec-regional-text { max-width: 900px; margin: -18px auto 40px; text-align: center; color: rgba(244, 255, 241, .85); font-size: 16.5px; }
.ahec-hubs { display: grid; gap: 20px; }
@media (min-width: 900px) { .ahec-hubs { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ahec-hub { padding: 28px 24px; border-radius: 22px; background: rgba(244, 255, 241, .05); border: 1px solid rgba(244, 255, 241, .14); }
@media (min-width: 900px) { .ahec-hub { padding: 34px 32px; } }
.ahec-hub-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ahec-hub-ic { flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--olive); color: var(--g900); display: inline-flex; align-items: center; justify-content: center; }
.ahec-hub-ic .ahec-ic { font-size: 26px; }
.ahec-hub h3 { margin: 0; font-size: 22px; color: var(--white); }
.ahec-hub-where { margin: 2px 0 0; color: var(--olive); font-weight: 600; font-size: 14.5px; }
.ahec-hub h4 { margin: 18px 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 255, 241, .6); }
.ahec-rtl .ahec-hub h4 { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ahec-bullets-light li { color: rgba(244, 255, 241, .88) !important; }
.ahec-bullets-light li + li { border-top-color: rgba(244, 255, 241, .12) !important; }
.ahec-bullets-light .ahec-ic { background: rgba(153, 176, 104, .2); fill: var(--olive); border-color: rgba(153, 176, 104, .4); }
.ahec-chips-light .ahec-chip { background: rgba(244, 255, 241, .08); border-color: rgba(244, 255, 241, .2); color: var(--mint); }
.ahec .ahec-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
@media (min-width: 900px) { .ahec .ahec-proof { grid-template-columns: repeat(4, 1fr); } }
.ahec-proof li { padding: 16px; border-radius: 16px; background: rgba(244, 255, 241, .06); border: 1px solid rgba(244, 255, 241, .12); text-align: center; }
.ahec-proof strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800; color: var(--olive); line-height: 1.15; }
.ahec-proof span { font-size: 13.5px; color: rgba(244, 255, 241, .8); font-weight: 600; }

.ahec-pillars { display: grid; gap: 20px; }
@media (min-width: 950px) { .ahec-pillars { grid-template-columns: repeat(3, 1fr); } }
.ahec-pillar { position: relative; display: flex; flex-direction: column; padding: 32px 26px 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 44px -32px rgba(12, 40, 20, .55); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.ahec-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ahec-pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--g700), var(--olive)); }
.ahec-pillar-num { position: absolute; top: 14px; right: 20px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 54px; line-height: 1; color: var(--mint); }
.ahec-rtl .ahec-pillar-num { right: auto; left: 20px; }
.ahec-pillar > *:not(.ahec-pillar-num) { position: relative; }
.ahec-pillar h3 { font-size: 20px; color: var(--g900); }
.ahec-pillar p { color: var(--muted); font-size: 15px; flex: 1; }
.ahec-pillar .ahec-more { margin-top: 6px; }
@media (max-width: 600px) {
	.ahec-hero-title-r { font-size: 27px; }
	.ahec-hero .ahec-hero-lead { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
	.ahec-hero .ahec-eyebrow { font-size: 11.5px; margin-bottom: 18px; }
	.ahec-rtl .ahec-hero .ahec-eyebrow { font-size: 13px; }
}

/* v1.0.10: regional section without intro text */
.ahec-regional .ahec-head { margin-bottom: 40px; }

/* v1.0.11 */
.ahec-hero-title, .ahec-hero-lead, .ahec-eyebrow { text-shadow: 0 2px 18px rgba(5, 20, 10, .45); }
.ahec-stats-5 .ahec-stat:last-child { grid-column: 1 / -1; border-right: 0 !important; border-left: 0 !important; }
@media (min-width: 900px) {
	.ahec-stats.ahec-stats-5 { grid-template-columns: repeat(5, 1fr); }
	.ahec-stats-5 .ahec-stat:last-child { grid-column: auto; }
	.ahec-stats-5 .ahec-stat-num { font-size: clamp(26px, 3.2vw, 40px); }
	.ahec-stats-5 .ahec-stat { padding: 32px 14px; }
}
.ahec-stats-5 .ahec-stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ahec-stats-5 .ahec-stat:nth-child(-n+4) { border-bottom: 0; } }
/* Hub cards: headings on the same level in both cards (desktop) */
@media (min-width: 900px) {
	.ahec-hubs { grid-template-rows: repeat(5, auto); row-gap: 0; }
	.ahec-hub { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; }
	.ahec-hub > h4 { align-self: end; }
	.ahec-hub > ul { align-self: start; }
}

/* ===== v1.0.13 ===== */
/* Service capability groups: closed by default, click to open */
.ahec-capg summary { cursor: pointer; }
.ahec-capg summary:hover .ahec-capg-t { color: var(--g700); }
.ahec-capg[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.ahec-capg summary i { border-radius: 50%; background: var(--mint); }

/* Mission cards: titles and paragraphs on the same line */
@media (min-width: 900px) {
	.ahec-mission-grid { grid-template-rows: auto auto 1fr; row-gap: 0; }
	.ahec-mission-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
	.ahec-mission-card h3 { align-self: start; margin: 14px 0 10px; }
}

/* Client logos: bigger and in colour */
.ahec-logo-cell { width: 220px; height: 120px; padding: 14px 18px; border-radius: 16px; }
.ahec-logo-cell img { max-height: 88px; filter: none; opacity: 1; }
@media (max-width: 600px) { .ahec-logo-cell { width: 170px; height: 96px; } .ahec-logo-cell img { max-height: 68px; } }

/* Key references */
.ahec-refs { display: grid; gap: 22px; margin-bottom: 34px; }
.ahec-refs-h { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--g700); margin: 0 0 12px; }
.ahec-refs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
@media (max-width: 600px) { .ahec-refs-grid { grid-template-columns: 1fr 1fr; } }
.ahec-ref { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px; min-height: 104px; display: flex; flex-direction: column; justify-content: center; gap: 6px; box-shadow: 0 14px 34px -28px rgba(12, 40, 20, .55); }
.ahec-ref strong { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 24px; color: var(--g900); line-height: 1.1; }
.ahec-ref span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Recent projects in Tunisia */
.ahec-tnp-sec { background: var(--ice); }
.ahec-tnp-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .ahec-tnp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ahec-tnp-grid { grid-template-columns: repeat(4, 1fr); } }
.ahec-tnp { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px -30px rgba(12, 40, 20, .55); }
.ahec-tnp-top { display: flex; align-items: center; gap: 10px; }
.ahec-tnp-badge { flex: none; background: var(--g900); color: var(--olive); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 10px; }
.ahec-tnp-client { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.ahec-tnp h3 { font-size: 16.5px; line-height: 1.4; color: var(--g900); margin: 4px 0 0; }
.ahec-tnp-meta { font-size: 13px; font-weight: 700; color: var(--g700); margin: 0; }
.ahec-tnp p:last-child { font-size: 14px; color: var(--muted); margin: 0; }

/* ===== v1.0.14 ===== */
.ahec-logo-txt { flex-direction: column; gap: 4px; text-align: center; }
.ahec-logo-txt strong { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 26px; color: var(--g900); line-height: 1; }
.ahec-logo-txt small { font-size: 11.5px; line-height: 1.3; color: var(--muted); max-width: 180px; }

/* ===== v1.0.17 — Team (photo on top) ===== */
.ahec-team { background: linear-gradient(180deg, var(--white), var(--mint)); }
.ahec-tm-grp { margin-top: 30px; }
.ahec-tm-grp-h { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--g700); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.ahec-tm-grp-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ahec-tm-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .ahec-tm-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.ahec-tm { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px -30px rgba(12, 40, 20, .55); transition: transform .3s, box-shadow .3s; }
.ahec-tm:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -28px rgba(12, 40, 20, .6); }
.ahec-tm-ph { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--g900), var(--g700)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ahec-tm-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.ahec-tm-ini { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 44px; color: var(--olive); letter-spacing: .03em; }
.ahec-tm-body { padding: 16px 16px 18px; text-align: center; }
.ahec-tm h3 { font-size: 17px; color: var(--g900); margin: 0 0 4px; }
.ahec-tm-role { font-size: 13.5px; font-weight: 600; color: var(--g700); margin: 0 0 10px; line-height: 1.4; }
.ahec-tm-yrs { margin: 0; font-size: 12.5px; color: var(--muted); }
.ahec-tm-yrs strong { display: inline-block; background: var(--g900); color: var(--olive); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12.5px; padding: 3px 9px; border-radius: 999px; margin-inline-end: 4px; }
@media (max-width: 600px) { .ahec-tm h3 { font-size: 15px; } .ahec-tm-role { font-size: 12.5px; } .ahec-tm-body { padding: 12px 10px 14px; } }
/* centre the team cards when a group has fewer cards */
.ahec-tm-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.ahec-tm-grid > .ahec-tm { width: calc(50% - 9px); }
@media (min-width: 900px) { .ahec-tm-grid > .ahec-tm { width: 260px; } }

/* ===== v1.0.19 — News ===== */
.ahec-ngrid { display: grid; gap: 22px; }
@media (min-width: 700px) { .ahec-ngrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ahec-ngrid { grid-template-columns: repeat(3, 1fr); } }
.ahec-ncard { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px -30px rgba(12, 40, 20, .55); transition: transform .3s, box-shadow .3s; }
.ahec-ncard:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -28px rgba(12, 40, 20, .6); }
.ahec-ncard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mint); }
.ahec-ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ahec-ncard:hover .ahec-ncard-img img { transform: scale(1.04); }
.ahec-ncard-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ahec-ndate { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--g700); letter-spacing: .02em; }
.ahec-ncard h3 { font-size: 18px; line-height: 1.4; margin: 0; }
.ahec-ncard h3 a { color: var(--g900); text-decoration: none; }
.ahec-ncard h3 a:hover { color: var(--g700); }
.ahec-ncard-body > p:not(.ahec-ndate) { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1; }
.ahec-nmore { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--g700); text-decoration: none; margin-top: 4px; }
.ahec-nmore svg { width: 16px; height: 16px; }
.ahec-rtl .ahec-nmore svg { transform: scaleX(-1); }
.ahec-pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.ahec-pager a { min-width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); color: var(--g900); font-weight: 700; text-decoration: none; }
.ahec-pager a.is-current { background: var(--g900); color: var(--olive); border-color: var(--g900); }
.ahec-home-news { background: var(--ice); }
.ahec-news-related { background: var(--mint); }
/* Article */
.ahec-article-wrap { max-width: 820px; }
.ahec-article-meta { margin-bottom: 18px; }
.ahec-article-img { margin: 0 0 28px; border-radius: 20px; overflow: hidden; }
.ahec-article-img img { width: 100%; height: auto; display: block; }
.ahec-article { font-size: 17px; line-height: 1.8; color: #2b3a2f; }
.ahec-article > * + * { margin-top: 1em; }
.ahec-article h2 { font-size: 26px; color: var(--g900); margin: 1.6em 0 .5em; line-height: 1.3; }
.ahec-article h3 { font-size: 21px; color: var(--g900); margin: 1.4em 0 .4em; }
.ahec-article a { color: var(--g700); text-decoration: underline; }
.ahec-article ul, .ahec-article ol { padding-inline-start: 1.4em; }
.ahec-article li + li { margin-top: .35em; }
.ahec-article img, .ahec-article figure { max-width: 100%; height: auto; border-radius: 14px; }
.ahec-article figure { margin: 1.5em 0; }
.ahec-article figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.ahec-article blockquote { margin: 1.5em 0; padding: 14px 20px; border-inline-start: 4px solid var(--olive); background: var(--mint); border-radius: 10px; font-style: italic; }
.ahec-article table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.ahec-article th, .ahec-article td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.ahec-article th { background: var(--mint); }
.ahec-share { display: flex; align-items: center; gap: 10px; margin: 36px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 700; color: var(--g900); }
.ahec-share a { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; color: var(--g900); }
.ahec-share a:hover { background: var(--g900); color: var(--olive); }
.ahec-share svg { width: 18px; height: 18px; fill: currentColor; }
.ahec-page-news_single .ahec-phero h1 { font-size: clamp(26px, 4vw, 42px); max-width: 900px; }
