/* ==========================================================================
   Al-Harash Group — "Blueprint Engineering" Theme
   ========================================================================== */

:root{
	--ah-primary: #0a1622;
	--ah-secondary: #0f2b45;
	--ah-accent: #0ea5b7;
	--ah-accent-light: #22d3ee;
	--ah-dark-bg: #060b12;
	--ah-text-light: #e7f1f7;
	--ah-gold: #c9a227;

	--ah-white: #ffffff;
	--ah-gray-50: #f4f7fa;
	--ah-gray-100: #e9eef3;
	--ah-gray-300: #c1cdd9;
	--ah-gray-600: #5b6b7a;
	--ah-gray-800: #16232f;

	--ah-font-en: 'Montserrat', sans-serif;
	--ah-font-ar: 'Cairo', sans-serif;
	--ah-font-mono: 'JetBrains Mono', 'Space Mono', monospace;
	--ah-radius: 4px;
	--ah-radius-lg: 6px;
	--ah-shadow: 0 10px 40px rgba(6, 11, 18, 0.12);
	--ah-shadow-lg: 0 30px 70px rgba(6, 11, 18, 0.4);
	--ah-transition: all 0.4s cubic-bezier(.4,0,.2,1);
	--ah-transition-fast: all 0.25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
	margin: 0;
	font-family: var(--ah-font-en);
	color: var(--ah-gray-800);
	background: var(--ah-white);
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	position: relative;
}
body.lang-ar{ font-family: var(--ah-font-ar); }

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; transition: var(--ah-transition-fast); }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6{ margin: 0 0 .5em; font-weight: 800; line-height: 1.2; color: var(--ah-primary); letter-spacing: -0.01em; }
p{ margin: 0 0 1em; }
button{ font-family: inherit; cursor: pointer; }
input, textarea{ font-family: inherit; }

.screen-reader-text{
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}
.skip-link{
	position: absolute; top: -100px; left: 10px; z-index: 999999;
	background: var(--ah-primary); color: #fff; padding: 10px 18px; border-radius: 4px;
}
.skip-link:focus{ top: 10px; }

.ah-container{
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

.ah-section{ padding: 100px 0; position: relative; }
@media (max-width: 782px){ .ah-section{ padding: 60px 0; } }

.ah-dark-section{
	background: linear-gradient(165deg, var(--ah-dark-bg) 0%, var(--ah-primary) 60%, var(--ah-secondary) 100%);
	color: var(--ah-text-light);
}
.ah-dark-section h2, .ah-dark-section h3{ color: var(--ah-white); }
.ah-dark-section p{ color: rgba(231,241,247,0.75); }

.ah-text-center{ text-align: center; }

.ah-eyebrow{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--ah-accent);
	font-weight: 700;
	margin-bottom: 14px;
}
.ah-eyebrow::before{
	content: '';
	width: 26px; height: 2px;
	background: var(--ah-gold);
	display: inline-block;
}
.ah-eyebrow-mono{ font-family: var(--ah-font-mono); }
.ah-eyebrow-light{ color: var(--ah-accent-light); }

.ah-section-heading h2{ font-size: 38px; margin-bottom: 14px; }
.ah-section-heading p{ color: var(--ah-gray-600); max-width: 620px; margin: 0 auto; }
.ah-dark-section .ah-section-heading p{ color: rgba(231,241,247,0.7); }
.ah-section-heading.ah-text-center{ margin-bottom: 54px; }
.ah-section-heading.ah-text-center .ah-eyebrow{ justify-content: center; }

/* ==========================================================================
   BACKGROUND LAYER — blueprint grid + floating geometric shapes
   ========================================================================== */
.ah-bg-layer{
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.ah-bg-grid{
	position: absolute;
	inset: -2px;
	background-image:
		linear-gradient(rgba(14,165,183,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14,165,183,0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 90%);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 90%);
}

.ah-float-shape{
	position: absolute;
	color: var(--ah-accent);
	opacity: 0.09;
	width: 90px;
	height: 90px;
	animation: ahFloat 22s ease-in-out infinite;
}
.ah-shape-1{ top: 8%;  left: 4%;   width: 70px; height: 70px; animation-duration: 26s; }
.ah-shape-2{ top: 16%; right: 8%;  width: 110px; height: 110px; animation-duration: 30s; animation-delay: -4s; color: var(--ah-gold); }
.ah-shape-3{ top: 42%; left: 12%;  width: 50px; height: 50px; animation-duration: 20s; animation-delay: -8s; }
.ah-shape-4{ top: 60%; right: 6%;  width: 80px; height: 80px; animation-duration: 24s; animation-delay: -2s; }
.ah-shape-5{ top: 75%; left: 6%;   width: 100px; height: 100px; animation-duration: 32s; animation-delay: -12s; color: var(--ah-gold); }
.ah-shape-6{ top: 30%; right: 20%; width: 60px; height: 60px; animation-duration: 18s; animation-delay: -6s; }
.ah-shape-7{ top: 88%; right: 15%; width: 90px; height: 90px; animation-duration: 28s; animation-delay: -10s; }
.ah-shape-8{ top: 55%; left: 40%;  width: 40px; height: 40px; animation-duration: 16s; animation-delay: -3s; opacity: 0.06; }

@keyframes ahFloat{
	0%   { transform: translate(0,0) rotate(0deg); }
	25%  { transform: translate(14px, -18px) rotate(8deg); }
	50%  { transform: translate(-8px, 10px) rotate(-6deg); }
	75%  { transform: translate(10px, 18px) rotate(5deg); }
	100% { transform: translate(0,0) rotate(0deg); }
}

@media (max-width: 782px){
	.ah-float-shape{ opacity: 0.05; }
	.ah-shape-6, .ah-shape-8{ display: none; }
}
@media (prefers-reduced-motion: reduce){
	.ah-float-shape{ animation: none; }
	html{ scroll-behavior: auto; }
}

/* ==========================================================================
   PAGE TRANSITION OVERLAY
   ========================================================================== */
.ah-transition-overlay{
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: var(--ah-dark-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}
.ah-transition-overlay.active{
	opacity: 1;
	visibility: visible;
}
.ah-transition-mark{
	width: 56px; height: 56px;
	color: var(--ah-accent-light);
	opacity: 0;
	transform: scale(0.6) rotate(-20deg);
	transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}
.ah-transition-overlay.active .ah-transition-mark{
	opacity: 1;
	transform: scale(1) rotate(0deg);
	animation: ahSpinMark 1.4s linear infinite;
}
@keyframes ahSpinMark{
	from{ transform: rotate(0deg); }
	to{ transform: rotate(360deg); }
}

body.ah-loaded #page{ animation: ahPageIn 0.6s ease both; }
@keyframes ahPageIn{
	from{ opacity: 0; transform: translateY(14px); }
	to{ opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.ah-btn{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: var(--ah-radius);
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: .2px;
	border: 1.5px solid transparent;
	transition: var(--ah-transition-fast);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.ah-btn-icon{ width: 18px; height: 18px; transition: transform 0.3s ease; }
.ah-btn-primary{
	background: linear-gradient(120deg, var(--ah-accent), var(--ah-accent-light));
	color: #04141a;
	box-shadow: 0 10px 25px rgba(14,165,183,0.3);
}
.ah-btn-primary:hover{
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(14,165,183,0.4);
	color: #04141a;
}
.ah-btn-primary:hover .ah-btn-icon{ transform: translateX(4px); }
body.lang-ar .ah-btn-primary:hover .ah-btn-icon{ transform: translateX(-4px) scaleX(-1); }
body.lang-ar .ah-btn-icon{ transform: scaleX(-1); }

.ah-btn-ghost{
	border-color: rgba(231,241,247,0.3);
	color: var(--ah-text-light);
	background: rgba(255,255,255,0.03);
}
.ah-btn-ghost:hover{
	background: rgba(255,255,255,0.08);
	border-color: var(--ah-accent-light);
	transform: translateY(-3px);
}
.ah-btn-outline{
	border-color: rgba(255,255,255,0.5);
	color: #fff;
}
.ah-btn-outline:hover{
	background: #fff;
	color: var(--ah-primary);
	transform: translateY(-3px);
}
.ah-btn-gold{
	background: linear-gradient(120deg, var(--ah-gold), #e8c452);
	color: var(--ah-dark-bg);
	box-shadow: 0 10px 25px rgba(201,162,39,0.3);
}
.ah-btn-gold:hover{
	transform: translateY(-3px);
	color: var(--ah-dark-bg);
	box-shadow: 0 16px 34px rgba(201,162,39,0.4);
}

/* ---------- Top bar ---------- */
.ah-topbar{
	background: var(--ah-dark-bg);
	color: rgba(231,241,247,0.8);
	font-size: 12.5px;
	position: relative;
	z-index: 40;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ah-topbar-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 24px;
	flex-wrap: wrap;
	gap: 8px;
}
.ah-topbar-contact{ display: flex; gap: 24px; flex-wrap: wrap; }
.ah-topbar-contact a{ display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.ah-topbar-contact a:hover{ color: var(--ah-accent-light); }
.ah-icon-sm{ width: 15px; height: 15px; flex-shrink: 0; }

.ah-topbar-right{ display: flex; align-items: center; gap: 22px; }

.ah-social-links{ display: flex; gap: 9px; align-items: center; }
.ah-social-icon{
	width: 28px; height: 28px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.1);
}
.ah-social-icon svg{ width: 13px; height: 13px; }
.ah-social-icon:hover{ background: var(--ah-accent); border-color: var(--ah-accent); transform: translateY(-2px) rotate(8deg); }
.ah-footer .ah-social-icon{ background: rgba(255,255,255,0.08); }

.ah-lang-toggle{ display: flex; align-items: center; gap: 8px; font-family: var(--ah-font-mono); }
.ah-lang-toggle a{ color: inherit; opacity: .65; font-weight: 600; font-size: 12px; }
.ah-lang-toggle a.active{ opacity: 1; color: var(--ah-accent-light); }
.ah-lang-toggle span{ opacity: .3; }

/* ---------- Header / Nav ---------- */
.ah-header{
	background: rgba(6,11,18,0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	position: sticky;
	top: 0;
	z-index: 500;
	transition: var(--ah-transition-fast);
}
.ah-header.is-scrolled{
	background: rgba(6,11,18,0.97);
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ah-header-edge{
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--ah-accent), transparent);
	opacity: 0.4;
}
.ah-header-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	gap: 30px;
}
.ah-logo-link{ display: flex; align-items: center; gap: 14px; }
.ah-logo-frame{
	position: relative;
	width: 58px; height: 58px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.ah-logo-frame::before{
	content: '';
	position: absolute; inset: 0;
	border: 1px solid rgba(34,211,238,0.35);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	transition: var(--ah-transition-fast);
}
.ah-logo-link:hover .ah-logo-frame::before{
	border-color: var(--ah-accent-light);
	transform: rotate(30deg);
}
.ah-logo-img, .custom-logo{ height: 42px; width: auto; object-fit: contain; position: relative; z-index: 1; }
.ah-logo-text{ display: flex; flex-direction: column; color: #fff; line-height: 1.3; }
.ah-logo-text strong{ font-size: 16.5px; font-weight: 800; }
.ah-logo-text small{ font-size: 10.5px; color: var(--ah-accent-light); letter-spacing: .5px; font-family: var(--ah-font-mono); }

.ah-main-nav{ flex: 1; display: flex; justify-content: center; }
.ah-menu{ display: flex; gap: 4px; align-items: center; }
.ah-menu > li{ position: relative; }
.ah-menu > li > a{
	display: block;
	padding: 12px 16px;
	color: rgba(255,255,255,0.82);
	font-weight: 600;
	font-size: 14px;
	border-radius: var(--ah-radius);
	position: relative;
}
.ah-menu > li > a::after{
	content: '';
	position: absolute;
	bottom: 6px; left: 16px; right: 16px;
	height: 2px;
	background: var(--ah-accent-light);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}
.ah-menu > li > a:hover,
.ah-menu > li.current-menu-item > a{
	color: #fff;
}
.ah-menu > li > a:hover::after,
.ah-menu > li.current-menu-item > a::after{
	transform: scaleX(1);
}
.ah-menu .sub-menu{
	position: absolute;
	top: 100%; left: 0;
	background: var(--ah-primary);
	border: 1px solid rgba(255,255,255,0.08);
	min-width: 230px;
	border-radius: var(--ah-radius-lg);
	box-shadow: var(--ah-shadow-lg);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: var(--ah-transition-fast);
	z-index: 100;
}
.ah-menu > li:hover > .sub-menu{
	opacity: 1; visibility: visible; transform: translateY(0);
}
.ah-menu .sub-menu a{
	display: block; padding: 10px 14px; border-radius: 4px; color: #fff; font-size: 14px;
}
.ah-menu .sub-menu a:hover{ background: rgba(255,255,255,0.08); }

.ah-mobile-toggle{
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none; border: none; padding: 10px;
}
.ah-mobile-toggle span{
	width: 26px; height: 2px; background: #fff; transition: var(--ah-transition-fast);
}
.ah-mobile-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.ah-mobile-toggle.active span:nth-child(2){ opacity: 0; }
.ah-mobile-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Breadcrumb ---------- */
.ah-breadcrumb{
	background: var(--ah-gray-50);
	border-bottom: 1px solid var(--ah-gray-100);
	font-size: 13px;
	padding: 14px 0;
	color: var(--ah-gray-600);
	font-family: var(--ah-font-mono);
	position: relative;
	z-index: 2;
}
.ah-breadcrumb a{ color: var(--ah-accent); font-weight: 600; }
.ah-breadcrumb span{ margin: 0 8px; opacity: .5; }
.ah-breadcrumb .current{ color: var(--ah-gray-800); }

/* ==========================================================================
   HERO (static, no slider)
   ========================================================================== */
.ah-hero-static{
	position: relative;
	padding: 90px 0 60px;
	background: linear-gradient(180deg, var(--ah-dark-bg) 0%, var(--ah-primary) 100%);
	overflow: hidden;
}
.ah-hero-static-grid{
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 60px;
	align-items: center;
}
.ah-hero-static-text h1{
	font-size: 50px;
	color: #fff;
	line-height: 1.18;
	margin-bottom: 20px;
}
.ah-hero-highlight{
	display: block;
	background: linear-gradient(120deg, var(--ah-accent-light), var(--ah-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ah-hero-static-text > p{
	font-size: 17px;
	color: rgba(231,241,247,0.78);
	max-width: 540px;
	margin-bottom: 34px;
}
.ah-hero-buttons{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.ah-hero-stats{
	display: grid;
	grid-template-columns: repeat(4, auto);
	gap: 34px;
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 30px;
}
.ah-stat{ display: flex; flex-direction: column; }
.ah-stat-number{
	font-family: var(--ah-font-mono);
	font-size: 34px;
	font-weight: 700;
	color: var(--ah-accent-light);
	line-height: 1;
}
.ah-stat-plus{ font-family: var(--ah-font-mono); font-size: 20px; color: var(--ah-gold); font-weight: 700; }
.ah-stat-label{
	font-size: 12px;
	color: rgba(231,241,247,0.6);
	margin-top: 8px;
	max-width: 110px;
	line-height: 1.4;
}

.ah-hero-static-media{ position: relative; }
.ah-blueprint-frame{
	position: relative;
	border-radius: var(--ah-radius);
	overflow: visible;
}
.ah-blueprint-frame img{
	border-radius: var(--ah-radius);
	position: relative;
	z-index: 1;
	box-shadow: var(--ah-shadow-lg);
}
.ah-corner{
	position: absolute;
	width: 26px; height: 26px;
	border: 2px solid var(--ah-accent-light);
	z-index: 2;
	pointer-events: none;
}
.ah-corner-tl{ top: -10px; left: -10px; border-right: none; border-bottom: none; }
.ah-corner-tr{ top: -10px; right: -10px; border-left: none; border-bottom: none; }
.ah-corner-bl{ bottom: -10px; left: -10px; border-right: none; border-top: none; }
.ah-corner-br{ bottom: -10px; right: -10px; border-left: none; border-top: none; }

.ah-blueprint-tag{
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(6,11,18,0.85);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(34,211,238,0.3);
	color: #fff;
	font-size: 12px;
	font-family: var(--ah-font-mono);
	padding: 9px 14px;
	border-radius: 30px;
	z-index: 3;
	animation: ahTagFloat 5s ease-in-out infinite;
}
.ah-blueprint-tag-1{ top: 14%; left: -14%; animation-delay: 0s; }
.ah-blueprint-tag-2{ bottom: 10%; right: -12%; animation-delay: -2.5s; }
body.lang-ar .ah-blueprint-tag-1{ left: auto; right: -14%; }
body.lang-ar .ah-blueprint-tag-2{ right: auto; left: -12%; }
@keyframes ahTagFloat{
	0%, 100%{ transform: translateY(0); }
	50%{ transform: translateY(-10px); }
}
.ah-blueprint-dot{
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--ah-accent-light);
	box-shadow: 0 0 0 3px rgba(34,211,238,0.25);
	flex-shrink: 0;
}

.ah-hero-emblem-badge{
	position: absolute;
	bottom: -30px; left: -30px;
	width: 84px; height: 84px;
	background: var(--ah-dark-bg);
	border: 1px solid rgba(34,211,238,0.3);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	box-shadow: var(--ah-shadow-lg);
	z-index: 4;
}
body.lang-ar .ah-hero-emblem-badge{ left: auto; right: -30px; }

.ah-hero-scroll-cue{
	display: flex;
	justify-content: center;
	margin-top: 60px;
}
.ah-hero-scroll-cue span{
	width: 26px; height: 42px;
	border: 2px solid rgba(255,255,255,0.25);
	border-radius: 20px;
	position: relative;
	display: block;
}
.ah-hero-scroll-cue span::before{
	content: '';
	position: absolute;
	top: 8px; left: 50%;
	width: 4px; height: 8px;
	background: var(--ah-accent-light);
	border-radius: 2px;
	transform: translateX(-50%);
	animation: ahScrollDot 1.8s ease infinite;
}
@keyframes ahScrollDot{
	0%{ opacity: 1; top: 8px; }
	100%{ opacity: 0; top: 22px; }
}

@media (max-width: 980px){
	.ah-hero-static-grid{ grid-template-columns: 1fr; }
	.ah-hero-static-text h1{ font-size: 36px; }
	.ah-hero-stats{ grid-template-columns: repeat(2, auto); row-gap: 24px; }
	.ah-hero-static-media{ margin-top: 20px; }
	.ah-blueprint-tag{ display: none; }
	.ah-hero-emblem-badge{ width: 64px; height: 64px; bottom: -20px; left: 20px; }
	body.lang-ar .ah-hero-emblem-badge{ right: 20px; }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.ah-about-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}
.ah-blueprint-frame-sm img{ width: 100%; }
.ah-about-text h2{ font-size: 32px; margin-bottom: 18px; }
.ah-about-text p{ color: var(--ah-gray-600); margin-bottom: 24px; }
.ah-about-points{ margin-bottom: 30px; }
.ah-about-points li{
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-weight: 600;
	color: var(--ah-gray-800);
	font-size: 14.5px;
}
.ah-about-points li::before{
	content: '';
	position: absolute; left: 0; top: 6px;
	width: 16px; height: 16px;
	background: var(--ah-accent);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
body.lang-ar .ah-about-points li{ padding-left: 0; padding-right: 30px; }
body.lang-ar .ah-about-points li::before{ left: auto; right: 0; }

@media (max-width: 900px){
	.ah-about-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOW WE WORK / STEPS
   ========================================================================== */
.ah-steps-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	margin-top: 20px;
	position: relative;
}
.ah-step-card{
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--ah-radius-lg);
	padding: 36px 26px;
	transition: var(--ah-transition-fast);
	position: relative;
}
.ah-step-card:hover{
	background: rgba(255,255,255,0.08);
	transform: translateY(-8px);
	border-color: var(--ah-accent-light);
}
.ah-step-number{
	display: block;
	font-family: var(--ah-font-mono);
	font-size: 34px;
	font-weight: 700;
	color: var(--ah-accent-light);
	opacity: 0.5;
	margin-bottom: 16px;
	transition: var(--ah-transition-fast);
}
.ah-step-card:hover .ah-step-number{ opacity: 1; }
.ah-step-card h3{ color: #fff; font-size: 18.5px; margin-bottom: 10px; }
.ah-step-card p{ font-size: 14px; color: rgba(231,241,247,0.7); margin: 0; }

@media (max-width: 900px){ .ah-steps-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .ah-steps-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   DIVISIONS GRID
   ========================================================================== */
.ah-divisions-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.ah-division-card{
	position: relative;
	height: 420px;
	border-radius: var(--ah-radius-lg);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	box-shadow: var(--ah-shadow);
	isolation: isolate;
}
.ah-division-media{
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.ah-division-card:hover .ah-division-media{ transform: scale(1.12); }
.ah-division-overlay{
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(6,11,18,0.95) 15%, rgba(6,11,18,0.35) 65%, rgba(6,11,18,0.15) 100%);
	transition: var(--ah-transition-fast);
}
.ah-division-card:hover .ah-division-overlay{ background: linear-gradient(0deg, rgba(10,22,34,0.97) 25%, rgba(14,165,183,0.35) 100%); }
.ah-division-index{
	position: absolute;
	top: 24px; right: 24px;
	font-family: var(--ah-font-mono);
	font-size: 46px;
	font-weight: 700;
	color: rgba(255,255,255,0.15);
	z-index: 2;
	transition: var(--ah-transition-fast);
}
body.lang-ar .ah-division-index{ right: auto; left: 24px; }
.ah-division-card:hover .ah-division-index{ color: rgba(34,211,238,0.4); transform: translateY(-4px); }
.ah-division-content{
	position: relative; z-index: 2;
	padding: 30px 28px;
	color: #fff;
}
.ah-division-content h3{ color: #fff; font-size: 21px; margin-bottom: 10px; }
.ah-division-content p{ font-size: 13.5px; color: rgba(255,255,255,0.82); margin-bottom: 16px; }
.ah-division-link{
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; color: var(--ah-accent-light);
	font-size: 13.5px;
	transition: var(--ah-transition-fast);
}
.ah-division-link svg{ width: 16px; height: 16px; transition: transform 0.3s ease; }
.ah-division-card:hover .ah-division-link{ color: var(--ah-gold); }
.ah-division-card:hover .ah-division-link svg{ transform: translateX(6px); }
body.lang-ar .ah-division-card:hover .ah-division-link svg{ transform: translateX(-6px) scaleX(-1); }
body.lang-ar .ah-division-link svg{ transform: scaleX(-1); }
.ah-division-card:hover{ transform: translateY(-8px); box-shadow: var(--ah-shadow-lg); }

@media (max-width: 900px){ .ah-divisions-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.ah-page-hero{
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: var(--ah-dark-bg);
	overflow: hidden;
}
.ah-page-hero-simple{ background: linear-gradient(150deg, var(--ah-dark-bg), var(--ah-primary), var(--ah-secondary)); }
.ah-page-hero-overlay{
	position: absolute; inset: 0;
	background: linear-gradient(120deg, rgba(6,11,18,0.94) 25%, rgba(15,43,69,0.65) 100%);
}
.ah-page-hero-grid-mark{
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(34,211,238,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(120deg, black, transparent 70%);
	-webkit-mask-image: linear-gradient(120deg, black, transparent 70%);
}
.ah-page-hero-content{ position: relative; z-index: 2; color: #fff; padding: 64px 24px; }
.ah-page-hero-content h1{ color: #fff; font-size: 42px; margin-bottom: 14px; }
.ah-page-hero-content p{ color: rgba(231,241,247,0.8); font-size: 17px; max-width: 640px; margin: 0; }

/* ==========================================================================
   DIVISION INTRO
   ========================================================================== */
.ah-division-intro-grid{
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 64px;
	align-items: center;
}
.ah-division-intro-text p{ color: var(--ah-gray-600); }
@media (max-width: 900px){ .ah-division-intro-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES GRID (division pages)
   ========================================================================== */
.ah-services-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-top: 10px;
}
.ah-service-card{
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--ah-radius-lg);
	padding: 34px 28px;
	transition: var(--ah-transition-fast);
	position: relative;
	overflow: hidden;
}
.ah-service-card::before{
	content: '';
	position: absolute; top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--ah-accent), var(--ah-gold));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}
.ah-service-card:hover::before{ transform: scaleX(1); }
.ah-service-card:hover{
	transform: translateY(-8px);
	background: rgba(255,255,255,0.08);
	border-color: rgba(34,211,238,0.3);
}
.ah-service-index{
	position: absolute; top: 20px; right: 24px;
	font-family: var(--ah-font-mono);
	font-size: 12px;
	color: rgba(255,255,255,0.3);
}
body.lang-ar .ah-service-index{ right: auto; left: 24px; }
.ah-service-icon{
	width: 54px; height: 54px;
	border-radius: var(--ah-radius);
	background: linear-gradient(135deg, var(--ah-accent), var(--ah-accent-light));
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
	color: #04141a;
	transition: var(--ah-transition-fast);
}
.ah-service-card:hover .ah-service-icon{ transform: rotate(-8deg) scale(1.08); }
.ah-service-icon svg{ width: 26px; height: 26px; }
.ah-service-card h3{ color: #fff; font-size: 18px; margin-bottom: 10px; }
.ah-service-card p{ font-size: 14px; color: rgba(231,241,247,0.7); margin: 0; }

@media (max-width: 900px){ .ah-services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .ah-services-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   GALLERY GRID + LIGHTBOX
   ========================================================================== */
.ah-gallery-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.ah-gallery-item{
	position: relative;
	display: block;
	border-radius: var(--ah-radius);
	overflow: hidden;
	aspect-ratio: 4/3;
	background: var(--ah-gray-100);
	isolation: isolate;
}
.ah-gallery-item img{
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.ah-gallery-item:hover img{ transform: scale(1.15) rotate(1deg); }
.ah-gallery-item::after{
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(6,11,18,0.75), transparent 55%);
	opacity: 0;
	transition: var(--ah-transition-fast);
}
.ah-gallery-item:hover::after{ opacity: 1; }
.ah-gallery-index{
	position: absolute; top: 10px; left: 10px;
	font-family: var(--ah-font-mono);
	font-size: 11px;
	color: #fff;
	background: rgba(6,11,18,0.6);
	padding: 3px 8px;
	border-radius: 20px;
	z-index: 2;
	opacity: 0;
	transform: translateY(-6px);
	transition: var(--ah-transition-fast);
}
body.lang-ar .ah-gallery-index{ left: auto; right: 10px; }
.ah-gallery-item:hover .ah-gallery-index{ opacity: 1; transform: translateY(0); }
.ah-gallery-zoom{
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	opacity: 0;
	transition: var(--ah-transition-fast);
}
.ah-gallery-zoom svg{
	width: 40px; height: 40px;
	color: #fff;
	padding: 10px;
	border: 1.5px solid rgba(255,255,255,0.5);
	border-radius: 50%;
	transform: scale(0.7) rotate(-15deg);
	transition: var(--ah-transition-fast);
}
.ah-gallery-item:hover .ah-gallery-zoom{ opacity: 1; }
.ah-gallery-item:hover .ah-gallery-zoom svg{ transform: scale(1) rotate(0deg); border-color: var(--ah-accent-light); }

@media (max-width: 900px){ .ah-gallery-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ .ah-gallery-grid{ grid-template-columns: repeat(2, 1fr); } }

.ah-lightbox{
	position: fixed; inset: 0;
	z-index: 9999;
	background: rgba(2,5,9,0.96);
	display: none;
	align-items: center;
	justify-content: center;
}
.ah-lightbox.active{ display: flex; }
.ah-lightbox-img{
	max-width: 88vw; max-height: 86vh;
	border-radius: 6px;
	box-shadow: 0 30px 80px rgba(0,0,0,0.7);
	animation: ahLightboxIn 0.4s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes ahLightboxIn{
	from{ opacity: 0; transform: scale(0.85); }
	to{ opacity: 1; transform: scale(1); }
}
.ah-lightbox-close{
	position: absolute; top: 24px; right: 30px;
	background: none; border: none; color: #fff; font-size: 40px; line-height: 1;
	transition: var(--ah-transition-fast);
}
.ah-lightbox-close:hover{ transform: rotate(90deg); color: var(--ah-accent-light); }
.ah-lightbox-prev, .ah-lightbox-next{
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
	color: #fff; width: 52px; height: 52px; border-radius: 50%;
	font-size: 28px; display: flex; align-items: center; justify-content: center;
	transition: var(--ah-transition-fast);
}
.ah-lightbox-prev{ left: 24px; }
.ah-lightbox-next{ right: 24px; }
.ah-lightbox-prev:hover, .ah-lightbox-next:hover{ background: var(--ah-accent); border-color: var(--ah-accent); }

/* ==========================================================================
   NEWS CARDS
   ========================================================================== */
.ah-news-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.ah-news-card{
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--ah-radius-lg);
	overflow: hidden;
	transition: var(--ah-transition-fast);
}
.ah-news-card:hover{ transform: translateY(-8px); border-color: var(--ah-accent-light); box-shadow: var(--ah-shadow-lg); }
.ah-news-thumb{ aspect-ratio: 16/10; overflow: hidden; }
.ah-news-thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ah-news-card:hover .ah-news-thumb img{ transform: scale(1.1); }
.ah-news-body{ padding: 24px; }
.ah-news-date{ font-size: 11.5px; color: var(--ah-accent-light); font-weight: 700; letter-spacing: 1px; font-family: var(--ah-font-mono); text-transform: uppercase; }
.ah-news-body h3{ color: #fff; font-size: 18px; margin: 12px 0 10px; }
.ah-news-body h3 a{ color: inherit; }
.ah-news-body h3 a:hover{ color: var(--ah-accent-light); }
.ah-news-body p{ font-size: 14px; color: rgba(231,241,247,0.7); margin: 0; }

@media (max-width: 900px){ .ah-news-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.ah-cta-strip{
	background: linear-gradient(120deg, var(--ah-primary), var(--ah-secondary));
	padding: 64px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.ah-cta-strip::before{
	content: '';
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(34,211,238,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,0.06) 1px, transparent 1px);
	background-size: 40px 40px;
}
.ah-cta-inner{ position: relative; z-index: 1; }
.ah-cta-inner h2{ color: #fff; font-size: 30px; margin-bottom: 10px; }
.ah-cta-inner p{ color: rgba(255,255,255,0.8); margin-bottom: 26px; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.ah-contact-info-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.ah-contact-info-card{
	text-align: center;
	padding: 42px 28px;
	border-radius: var(--ah-radius-lg);
	background: var(--ah-gray-50);
	border: 1px solid var(--ah-gray-100);
	transition: var(--ah-transition-fast);
}
.ah-contact-info-card:hover{ box-shadow: var(--ah-shadow); transform: translateY(-8px); border-color: var(--ah-accent); }
.ah-contact-info-icon{
	width: 60px; height: 60px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ah-accent), var(--ah-primary));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	transition: var(--ah-transition-fast);
}
.ah-contact-info-card:hover .ah-contact-info-icon{ transform: rotate(-10deg) scale(1.08); }
.ah-contact-info-icon svg{ width: 26px; height: 26px; }
.ah-contact-info-card h3{ font-size: 17px; margin-bottom: 8px; }
.ah-contact-info-card p{ color: var(--ah-gray-600); margin: 0; font-size: 14.5px; }

@media (max-width: 900px){ .ah-contact-info-grid{ grid-template-columns: 1fr; } }

/* ---------- Team tabs ---------- */
.ah-team-tab-buttons{
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 40px;
	position: relative;
}
.ah-team-tab-btn{
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 50px;
	padding: 10px 22px 10px 10px;
	color: #fff;
	transition: var(--ah-transition-fast);
}
body.lang-ar .ah-team-tab-btn{ padding: 10px 10px 10px 22px; }
.ah-team-tab-btn:hover{ border-color: var(--ah-accent-light); background: rgba(255,255,255,0.08); }
.ah-team-tab-btn.active{
	background: linear-gradient(120deg, var(--ah-accent), var(--ah-accent-light));
	border-color: transparent;
	color: #04141a;
}
.ah-team-tab-avatar-ring{
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	transition: var(--ah-transition-fast);
}
.ah-team-tab-btn.active .ah-team-tab-avatar-ring{ background: rgba(4,20,26,0.15); }
.ah-team-tab-initial{ font-family: var(--ah-font-mono); font-weight: 700; font-size: 16px; }
.ah-team-tab-info{ display: flex; flex-direction: column; text-align: left; }
body.lang-ar .ah-team-tab-info{ text-align: right; }
.ah-team-tab-name{ font-weight: 700; font-size: 14px; }
.ah-team-tab-title{ font-size: 11px; opacity: .75; }

.ah-team-tab-panel{ display: none; }
.ah-team-tab-panel.active{ display: block; animation: ahPanelIn 0.5s ease both; }
@keyframes ahPanelIn{
	from{ opacity: 0; transform: translateY(16px); }
	to{ opacity: 1; transform: translateY(0); }
}

.ah-team-panel-grid{
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 40px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--ah-radius-lg);
	padding: 44px;
}
.ah-team-panel-info{ text-align: center; }
.ah-team-avatar{
	width: 96px; height: 96px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ah-accent), var(--ah-secondary));
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--ah-shadow);
	border: 2px solid rgba(34,211,238,0.4);
}
.ah-team-avatar-initial{ font-family: var(--ah-font-mono); font-size: 36px; font-weight: 700; color: #fff; }
.ah-team-panel-info h3{ color: #fff; font-size: 20px; margin-bottom: 4px; }
.ah-team-role{ display: block; color: var(--ah-gold); font-weight: 600; font-size: 13px; margin-bottom: 22px; font-family: var(--ah-font-mono); }
.ah-team-contact-list li{ display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.ah-team-contact-list a{ color: rgba(231,241,247,0.85); font-size: 14px; }
.ah-team-contact-list a:hover{ color: var(--ah-accent-light); }
.ah-team-contact-list svg{ opacity: .7; }

@media (max-width: 900px){
	.ah-team-panel-grid{ grid-template-columns: 1fr; padding: 28px; }
	.ah-team-tab-info{ display: none; }
	.ah-team-tab-btn{ padding: 8px; border-radius: 50%; }
}

/* ---------- Forms ---------- */
.ah-form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ah-form-group{ margin-bottom: 18px; }
.ah-form-group label{
	display: block; margin-bottom: 8px;
	font-size: 12.5px; font-weight: 700;
	color: rgba(231,241,247,0.9);
	text-transform: uppercase;
	letter-spacing: .5px;
	font-family: var(--ah-font-mono);
}
.ah-form-group input,
.ah-form-group textarea{
	width: 100%;
	padding: 13px 16px;
	border-radius: var(--ah-radius);
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(255,255,255,0.05);
	color: #fff;
	font-size: 14.5px;
	transition: var(--ah-transition-fast);
}
.ah-form-group input::placeholder,
.ah-form-group textarea::placeholder{ color: rgba(231,241,247,0.35); }
.ah-form-group input:focus,
.ah-form-group textarea:focus{
	outline: none;
	border-color: var(--ah-accent-light);
	background: rgba(255,255,255,0.09);
	box-shadow: 0 0 0 3px rgba(34,211,238,0.15);
}
.ah-contact-form button{ width: 100%; justify-content: center; margin-top: 6px; }
.ah-form-response{
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	min-height: 20px;
}
.ah-form-response.success{ color: #4fd97b; }
.ah-form-response.error{ color: #ff6b6b; }

@media (max-width: 560px){ .ah-form-row{ grid-template-columns: 1fr; } }

/* ---------- Map ---------- */
.ah-map-embed{ border-radius: var(--ah-radius-lg); overflow: hidden; box-shadow: var(--ah-shadow); filter: grayscale(0.3) contrast(1.05); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ah-footer{ background: var(--ah-dark-bg); color: rgba(231,241,247,0.75); position: relative; }
.ah-footer-edge{ height: 1px; background: linear-gradient(90deg, transparent, var(--ah-accent), transparent); opacity: 0.4; }
.ah-footer-top{ padding: 70px 0 40px; }
.ah-footer-grid{
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}
.ah-footer-logo{ height: 50px; margin-bottom: 18px; }
.ah-footer-about p{ font-size: 14px; margin-bottom: 20px; }
.ah-footer-col h4{ color: #fff; font-size: 15.5px; margin-bottom: 20px; position: relative; padding-bottom: 12px; font-family: var(--ah-font-mono); }
.ah-footer-col h4::after{
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 30px; height: 2px; background: var(--ah-gold);
}
body.lang-ar .ah-footer-col h4::after{ left: auto; right: 0; }
.ah-footer-col ul li{ margin-bottom: 12px; }
.ah-footer-col ul li a{ font-size: 14px; color: rgba(231,241,247,0.7); }
.ah-footer-col ul li a:hover{ color: var(--ah-accent-light); padding-left: 4px; }
.footer-widget-title{ color: #fff; font-size: 15.5px; }

.ah-footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.ah-footer-bottom-inner{ text-align: center; font-size: 12.5px; font-family: var(--ah-font-mono); }
.ah-footer-bottom p{ margin: 0; }

@media (max-width: 900px){
	.ah-footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
	.ah-footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Back to top ---------- */
.ah-back-to-top{
	position: fixed;
	bottom: 30px; right: 30px;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ah-accent), var(--ah-primary));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--ah-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: var(--ah-transition-fast);
	z-index: 400;
}
.ah-back-to-top svg{ width: 20px; height: 20px; }
.ah-back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.ah-back-to-top:hover{ transform: translateY(-4px); }
body.lang-ar .ah-back-to-top{ right: auto; left: 30px; }

/* ==========================================================================
   GENERIC POSTS / ARCHIVE / 404 / COMMENTS
   ========================================================================== */
.ah-post-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ah-post-card{ border: 1px solid var(--ah-gray-100); border-radius: var(--ah-radius-lg); overflow: hidden; transition: var(--ah-transition-fast); }
.ah-post-card:hover{ box-shadow: var(--ah-shadow); transform: translateY(-8px); }
.ah-post-thumb{ display: block; aspect-ratio: 16/10; overflow: hidden; }
.ah-post-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.ah-post-body{ padding: 22px; }
.ah-post-body h2{ font-size: 18px; margin-bottom: 8px; }
.ah-post-body h2 a:hover{ color: var(--ah-accent); }
.ah-post-date{ font-size: 12px; color: var(--ah-gray-600); font-family: var(--ah-font-mono); }
@media (max-width: 900px){ .ah-post-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .ah-post-grid{ grid-template-columns: 1fr; } }

.ah-pagination{ margin-top: 40px; text-align: center; }
.ah-pagination .page-numbers{
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin: 0 4px;
	border-radius: var(--ah-radius); background: var(--ah-gray-50); color: var(--ah-gray-800); font-weight: 600;
	font-family: var(--ah-font-mono);
}
.ah-pagination .page-numbers.current{ background: var(--ah-accent); color: #fff; }

.ah-404{ text-align: center; padding: 130px 0; }
.ah-404 h1{ font-family: var(--ah-font-mono); font-size: 110px; color: var(--ah-accent); margin-bottom: 0; }

.ah-single-thumb{ margin-bottom: 30px; border-radius: var(--ah-radius-lg); overflow: hidden; }
.ah-page-content{ max-width: 900px; margin: 0 auto; }

.ah-comments{ margin-top: 50px; max-width: 900px; }
.ah-comment-list{ margin-bottom: 30px; }

/* ==========================================================================
   AOS-lite scroll reveal helpers (no external lib)
   ========================================================================== */
[data-aos]{ opacity: 0; transition: opacity .8s ease, transform .8s ease; }
[data-aos="fade-right"]{ transform: translateX(-40px); }
[data-aos="fade-left"]{ transform: translateX(40px); }
[data-aos="fade-up"]{ transform: translateY(30px); }
[data-aos="zoom-in"]{ transform: scale(0.9); }
[data-aos].in-view{ opacity: 1; transform: none; }

@media (max-width: 1100px){
	.ah-main-nav{ display: none; }
	.ah-mobile-toggle{ display: flex; }
	.ah-header-inner{ position: relative; }
	.ah-main-nav.mobile-open{
		display: block;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--ah-primary);
		padding: 10px;
		box-shadow: var(--ah-shadow-lg);
	}
	.ah-main-nav.mobile-open .ah-menu{ flex-direction: column; align-items: stretch; }
	.ah-main-nav.mobile-open .sub-menu{ position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
	.ah-main-nav.mobile-open li.submenu-open .sub-menu{ display: block; }
}
