/* ==========================================================================
   STEP | خطوة — main stylesheet
   Design language: whitespace, typography, lines, photography, the logo's
   diamond as the only ornament. Logical properties throughout → RTL/LTR.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	/* Brand — primary extracted from the vector logo: #3C4A34 */
	--step-primary: #3C4A34;
	--step-primary-dark: #29331F;
	--step-primary-deep: #20281A;
	--step-primary-light: #E8EBE3;
	--step-sage: #8FA27F;          /* light tint of the logo green (section numbers) */
	--step-white: #FFFFFF;
	--step-off-white: #F6F5F0;
	--step-text: #1D2219;
	--step-muted: #5F665A;
	--step-border: #E2E3DB;
	--step-line: rgba(60, 74, 52, .16);
	--step-error: #B3261E;

	/* Type */
	--step-font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
	--step-fs-base: 1.0625rem;
	--step-heading-weight: 600;
	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
	--fs-xl: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
	--fs-h3: clamp(1.2rem, 1.08rem + .5vw, 1.45rem);
	--fs-h2: clamp(1.85rem, 1.35rem + 2vw, 3rem);
	--fs-h1: clamp(2.2rem, 1.45rem + 3.2vw, 4.25rem);
	--fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 5.5rem);
	--lh: 1.85;
	--lh-tight: 1.25;

	/* Space */
	--sp-1: .5rem;
	--sp-2: 1rem;
	--sp-3: 1.5rem;
	--sp-4: 2rem;
	--sp-5: 3rem;
	--sp-6: 4.5rem;
	--sec: clamp(4.5rem, 3rem + 6vw, 8.5rem);
	--gutter: clamp(1.25rem, .9rem + 1.6vw, 2rem);
	--header-h: 88px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--radius: 2px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font-family: var(--step-font);
	font-size: var(--step-fs-base);
	line-height: var(--lh);
	color: var(--step-text);
	background: var(--step-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.is-ltr { --lh: 1.7; }
body.menu-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--step-primary); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--step-heading-weight); line-height: var(--lh-tight); color: var(--step-text); }
.h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
blockquote { margin: 0; }
::selection { background: var(--step-primary); color: #fff; }

:focus-visible { outline: 2px solid var(--step-primary); outline-offset: 3px; }
.dark :focus-visible, .green :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
	position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000;
	background: var(--step-primary); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { top: 1rem; color: #fff; }
.site-main:focus { outline: none; }

.container { padding-inline: var(--gutter); max-width: 1320px; }
.container-narrow { max-width: 860px; }

/* ---------- 3. Ornament: the logo diamond ---------- */
.diamond {
	display: inline-block; flex: none;
	width: .5em; height: .5em;
	background: currentColor;
	transform: rotate(45deg);
}

/* ---------- 4. Buttons ---------- */
.btn {
	--btn-bg: var(--step-primary);
	--btn-fg: #fff;
	--btn-bd: var(--step-primary);
	display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
	min-height: 52px;
	padding: .85rem 1.6rem;
	font-size: var(--fs-sm); font-weight: 500; line-height: 1.2;
	color: var(--btn-fg); background: var(--btn-bg);
	border: 1px solid var(--btn-bd); border-radius: var(--radius);
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
	white-space: nowrap;
}
.btn .i-arrow { transition: transform .35s var(--ease); flex: none; }
/* Hover shine: a soft light sweep across solid/outline buttons */
.btn:not(.btn-link) { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(.btn-link)::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1; pointer-events: none;
	background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
	transform: skewX(-20deg); transition: none;
}
.btn:not(.btn-link) > span { position: relative; z-index: 1; }
.btn:not(.btn-link):hover::before { left: 130%; transition: left .85s var(--ease); }
.btn-line::before { background: linear-gradient(100deg, rgba(60,74,52,0) 0%, rgba(60,74,52,.14) 50%, rgba(60,74,52,0) 100%); }
.btn-line:hover::before { background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 100%); }
.btn-light::before { background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 100%); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-primary:hover { --btn-bg: var(--step-primary-dark); --btn-bd: var(--step-primary-dark); color: #fff; }
.btn-line { --btn-bg: transparent; --btn-fg: var(--step-primary); }
.btn-line:hover { --btn-bg: var(--step-primary); --btn-fg: #fff; color: #fff; }
.btn-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn-light:hover { --btn-bg: #fff; --btn-fg: var(--step-primary); --btn-bd: #fff; color: var(--step-primary); }
.btn-sm { min-height: 44px; padding: .6rem 1.2rem; }
.btn-lg { min-height: 60px; padding: 1rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-link {
	min-height: 0; padding: 0 0 .35rem;
	--btn-bg: transparent; --btn-fg: var(--step-primary); --btn-bd: transparent;
	border: 0; border-radius: 0; position: relative; font-weight: 600;
}
.btn-link::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
	background: currentColor; transform-origin: var(--origin-end, right); transition: transform .45s var(--ease);
}
.btn-link:hover::after { transform: scaleX(.35); }
.btn-link:hover { color: var(--step-primary-dark); }

/* ---------- 5. Header ---------- */
.site-header {
	position: absolute; inset-inline: 0; top: 0; z-index: 100;
	height: var(--header-h);
	transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-sticky { position: fixed; }
.admin-bar .site-header { top: 32px; }
.site-header.header--solid,
.site-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--step-border); }
@supports (backdrop-filter: blur(8px)) {
	.site-header.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { --header-h: 74px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-4); }
.header-inner .brand { justify-self: start; }
.header-actions { justify-self: end; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand .logo-img { height: 52px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand .logo-img { height: 44px; }
.logo-text { font-weight: 700; font-size: 1.35rem; color: var(--step-primary); }

.main-nav { justify-self: center; }
.menu--primary { display: flex; align-items: center; }
.menu--primary { gap: clamp(.25rem, .1rem + .5vw, .75rem); }
.menu--primary a {
	position: relative; display: flex; align-items: center; gap: .5rem;
	padding: .55rem 1.05rem; border-radius: 999px;
	font-size: var(--fs-sm); font-weight: 500; color: var(--step-text);
	transition: color .25s var(--ease), background-color .3s var(--ease);
}
.menu--primary a:hover { color: var(--step-primary); background: rgba(60, 74, 52, .06); }
.menu--primary .current-menu-item > a,
.menu--primary .current-menu-ancestor > a,
.menu--primary .current_page_parent > a {
	color: var(--step-primary); background: var(--step-primary-light); font-weight: 600;
}
.menu--primary .current-menu-item > a::before,
.menu--primary .current-menu-ancestor > a::before,
.menu--primary .current_page_parent > a::before {
	content: ""; width: .38rem; height: .38rem; background: currentColor; transform: rotate(45deg); flex: none;
}

/* Logo swap over dark (image) heroes */
.brand .logo-on-dark { display: none; }

.header-actions { justify-self: end; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand .logo-img { height: 52px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand .logo-img { height: 44px; }
.logo-text { font-weight: 700; font-size: 1.35rem; color: var(--step-primary); }

.main-nav { justify-self: center; }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.lang-switch {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: .5rem;
	font-size: var(--fs-sm); font-weight: 600; color: var(--step-primary);
	border: 1px solid var(--step-line); border-radius: var(--radius);
}
.lang-switch:hover { border-color: var(--step-primary); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span, .offcanvas-close span {
	position: absolute; inset-inline-start: 10px; width: 24px; height: 1.5px; background: var(--step-text);
	transition: transform .35s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; width: 16px; }

/* Offcanvas (mobile) */
.offcanvas {
	position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 300;
	width: min(420px, 100%); background: var(--step-white);
	display: flex; flex-direction: column;
	padding: 1.25rem var(--gutter) 2rem;
	transform: translateX(var(--oc-from, 100%)); visibility: hidden;
	transition: transform .5s var(--ease), visibility 0s linear .5s;
	overflow-y: auto;
}
.offcanvas.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.offcanvas-backdrop { position: fixed; inset: 0; z-index: 250; background: rgba(20, 26, 17, .45); opacity: 0; transition: opacity .4s var(--ease); }
.offcanvas-backdrop.is-open { opacity: 1; }
.offcanvas-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.offcanvas-head .logo-img { height: 42px; width: auto; }
.offcanvas-close { width: 44px; height: 44px; position: relative; }
.offcanvas-close span { top: 21px; }
.offcanvas-close span:first-child { transform: rotate(45deg); }
.offcanvas-close span:last-child { transform: rotate(-45deg); }
.offcanvas-nav { margin-block: var(--sp-5) var(--sp-4); }
.menu--mobile li { border-bottom: 1px solid var(--step-border); }
.menu--mobile a {
	display: flex; align-items: center; justify-content: space-between;
	padding-block: 1.05rem; font-size: 1.3rem; font-weight: 500;
}
.menu--mobile .current-menu-item > a { color: var(--step-primary); }
.offcanvas-foot { margin-top: auto; display: grid; gap: var(--sp-2); }
.lang-switch--full { width: 100%; height: 52px; }

/* ---------- 6. Section heading system ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec-head { margin-bottom: var(--sp-4); }
.sec-kicker {
	display: flex; align-items: center; gap: .85rem;
	margin-bottom: var(--sp-3);
	font-size: var(--fs-sm); color: var(--step-muted); line-height: 1.4;
}
.sec-num { font-weight: 700; font-size: 1.05rem; color: var(--step-sage); letter-spacing: .02em; }
.sec-num::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; background: var(--step-line); vertical-align: middle; margin-inline-start: .85rem; }
.sec-label { font-weight: 500; }
.sec-title { font-size: var(--fs-h2); letter-spacing: -.01em; }
.is-rtl .sec-title { letter-spacing: 0; }
.sec-intro { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-4) var(--sp-6); align-items: end; margin-bottom: var(--sp-6); }
.sec-intro .sec-head { margin-bottom: 0; }
.sec-lead { font-size: var(--fs-lg); color: var(--step-muted); max-width: 44rem; }
.sec-foot { margin-top: var(--sp-5); }
.lead-xl { font-size: var(--fs-xl); line-height: 1.6; font-weight: 400; color: var(--step-text); max-width: 52rem; }
.alt-label { font-size: var(--fs-xs); color: var(--step-sage); font-weight: 500; margin: .35rem 0 .75rem; letter-spacing: .02em; }
.small-label { font-size: var(--fs-xs); font-weight: 600; color: var(--step-muted); margin-bottom: var(--sp-2); letter-spacing: .04em; }
.is-ltr .small-label { text-transform: uppercase; letter-spacing: .12em; }

.prose { color: var(--step-muted); }
.prose p { margin-bottom: 1.1em; }
.prose-lg { font-size: var(--fs-lg); }
.prose strong { color: var(--step-text); font-weight: 600; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.1em; }
.prose ul li { position: relative; padding-inline-start: 1.4rem; margin-bottom: .4rem; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: .4rem; height: .4rem; background: var(--step-primary); transform: rotate(45deg); }
.prose a { color: var(--step-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 7. Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--step-off-white);
	padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem));
	padding-bottom: clamp(3.5rem, 2rem + 5vw, 7rem);
}
.hero-lines { position: absolute; inset: 0; pointer-events: none; display: flex; justify-content: space-around; max-width: 1320px; margin-inline: auto; }
.hero-lines span { width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--step-line) 25%, var(--step-line) 75%, transparent); opacity: .6; }
.hero-grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.hero--no-media .hero-grid { grid-template-columns: 1fr; max-width: 980px; }
.hero-eyebrow { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-sm); font-weight: 500; color: var(--step-primary); margin-bottom: var(--sp-4); }
.hero-eyebrow .diamond { font-size: .9rem; }
.hero-title { font-size: var(--fs-display); line-height: 1.08; font-weight: 600; color: var(--step-primary); letter-spacing: -.02em; margin-bottom: var(--sp-4); }
.is-rtl .hero-title { line-height: 1.3; letter-spacing: 0; }
.hero-text { font-size: var(--fs-xl); line-height: 1.65; color: var(--step-muted); max-width: 38rem; margin-bottom: var(--sp-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; justify-self: end; width: 100%; }
.hero-media::before {
	content: ""; position: absolute; inset: 1.5rem; inset-inline-start: -1.5rem; inset-block-end: -1.5rem;
	border: 1px solid var(--step-line); z-index: 0;
}
.hero-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 8. About ---------- */
.sec-about .lead-xl { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.05rem); line-height: 1.55; color: var(--step-text); }
.is-rtl .sec-about .lead-xl { line-height: 1.75; }
.about-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: end; margin-top: var(--sp-6); }
.about-body--text { grid-template-columns: 1fr; max-width: 52rem; margin-inline-start: auto; }
.about-media { aspect-ratio: 16 / 10; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text .btn { margin-top: var(--sp-3); }

/* ---------- 9. Vision & Mission ---------- */
.sec-vm { padding-top: 0; }
.vm-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.vm-row + .vm-row { margin-top: var(--sec); }
.vm-row--flip .vm-media { order: 2; }
.vm-row--text { grid-template-columns: 1fr; max-width: 52rem; }
.vm-media { aspect-ratio: 4 / 5; overflow: hidden; max-height: 640px; position: relative; }
.vm-media::after { content: ""; position: absolute; inset: 0; background: var(--step-primary); mix-blend-mode: color; opacity: .7; pointer-events: none; }
.vm-media img { width: 100%; height: 100%; object-fit: cover; }
.vm-quote { display: flex; align-items: center; gap: .75rem; margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--step-line); font-size: var(--fs-xl); font-weight: 600; color: var(--step-primary); }
.vm-quote .diamond { font-size: .7rem; }

/* ---------- 10. Services explorer ---------- */
.sec-services { background: var(--step-white); border-top: 1px solid var(--step-border); }
.svc-list { display: grid; grid-template-columns: 5fr 6fr; column-gap: clamp(2rem, 1rem + 5vw, 7rem); counter-reset: svc; }
.svc-item { display: contents; }
.svc-tab {
	grid-column: 1; position: relative;
	display: flex; align-items: center; gap: 1.25rem; width: 100%;
	padding-block: 1.35rem; text-align: start;
	border-bottom: 1px solid var(--step-border);
	transition: color .3s var(--ease);
}
.svc-item:first-child .svc-tab { border-top: 1px solid var(--step-border); }
.svc-tab::before {
	content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 1px; width: 100%;
	background: var(--step-primary); transform: scaleX(0); transform-origin: var(--origin-start, left); transition: transform .6s var(--ease);
}
.svc-num { font-size: var(--fs-sm); font-weight: 600; color: var(--step-sage); min-width: 1.75rem; font-variant-numeric: tabular-nums; }
.svc-name { flex: 1; font-size: clamp(1.1rem, .95rem + .75vw, 1.5rem); font-weight: 500; line-height: 1.35; transition: transform .45s var(--ease), color .3s var(--ease); }
.svc-tab:hover .svc-name { color: var(--step-primary); }
.svc-item.is-active .svc-name { color: var(--step-primary); transform: translateX(var(--nudge, .5rem)); font-weight: 600; }
.svc-item.is-active .svc-tab::before { transform: scaleX(1); }
.svc-plus { display: none; }
.svc-panel {
	grid-column: 2; grid-row: 1 / span 12; align-self: start;
	position: sticky; top: calc(var(--header-h) + 1.5rem);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s;
}
.svc-item.is-active .svc-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: var(--sp-4); background: var(--step-primary-light); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.svc-item.is-active .svc-media img { transform: none; }
.svc-body { color: var(--step-muted); font-size: var(--fs-lg); max-width: 36rem; }
.svc-body .btn { margin-top: var(--sp-3); }

/* ---------- 11. Why STEP ---------- */
.sec-why { background: var(--step-off-white); }
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 5vw, 7rem); }
.why-sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-media { aspect-ratio: 4 / 3; overflow: hidden; margin-top: var(--sp-4); }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(1.25rem, .5rem + 2vw, 2.5rem); padding-block: var(--sp-4); border-bottom: 1px solid var(--step-line); }
.why-item:first-child { padding-top: 0; }
.why-num { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-weight: 300; line-height: 1; color: var(--step-sage); font-variant-numeric: tabular-nums; }
.why-title { font-size: var(--fs-h3); color: var(--step-primary); }
.why-item p:not(.alt-label) { color: var(--step-muted); }

/* ---------- 12. Approach timeline ---------- */
.sec-approach { background: var(--step-white); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 6), 1fr); gap: var(--sp-4); padding-top: 2.25rem; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: .45rem; inset-inline: 0; height: 1px; background: var(--step-border); }
.timeline::after { background: var(--step-primary); transform: scaleX(0); transform-origin: var(--origin-start, left); transition: transform 1.8s var(--ease); }
.timeline.is-in::after { transform: scaleX(1); }
.tl-step { position: relative; }
.tl-node {
	position: absolute; top: -2.25rem; inset-inline-start: 0;
	width: .95rem; height: .95rem; background: var(--step-white); border: 1px solid var(--step-primary);
	transform: rotate(45deg); transition: background-color .4s var(--ease) calc(var(--i) * .22s);
}
.timeline.is-in .tl-node { background: var(--step-primary); }
.tl-num { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--step-sage); margin-bottom: .5rem; }
.tl-title { font-size: var(--fs-h3); color: var(--step-primary); letter-spacing: .02em; }
.is-ltr .tl-title { text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; }
.tl-key { font-size: var(--fs-xs); letter-spacing: .12em; color: var(--step-sage); font-weight: 600; margin: .3rem 0 .6rem; }
.tl-text { margin-top: .75rem; font-size: var(--fs-sm); color: var(--step-muted); line-height: 1.75; }
.timeline .tl-step { opacity: .001; transform: translateY(14px); transition: opacity .7s var(--ease) calc(var(--i) * .18s), transform .7s var(--ease) calc(var(--i) * .18s); }
.timeline.is-in .tl-step, .no-js .timeline .tl-step { opacity: 1; transform: none; }

/* ---------- 13. Future (dark) ---------- */
.dark { background: var(--step-primary-deep); color: rgba(255,255,255,.78); }
.dark .sec-title, .dark h3 { color: #fff; }
.dark .sec-kicker { color: rgba(255,255,255,.6); }
.dark .sec-num::after { background: rgba(255,255,255,.2); }
.sec-future { overflow: hidden; }
.future-layout { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 1rem + 5vw, 7.5rem); align-items: start; }
.future-sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.future-lead { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.7; color: #fff; font-weight: 400; margin-top: var(--sp-3); }
.future-list { counter-reset: none; }
.future-item {
	display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem;
	padding-block: var(--sp-4); border-top: 1px solid rgba(255,255,255,.12);
}
.future-item:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.future-num { font-size: 1.05rem; font-weight: 500; color: var(--step-sage); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.future-text p { font-size: var(--fs-lg); line-height: 1.95; color: rgba(255,255,255,.78); }

/* ---------- 14. Industries ---------- */
.ind-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.ind-grid--text { grid-template-columns: 1fr; }
.ind-media { aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: calc(var(--header-h) + 2rem); }
.ind-media img { width: 100%; height: 100%; object-fit: cover; }
.ind-copy .sec-lead { margin-bottom: var(--sp-5); }
.ind-list li {
	display: flex; align-items: baseline; gap: 1.25rem;
	padding-block: 1.15rem; border-bottom: 1px solid var(--step-border);
	transition: padding .4s var(--ease);
}
.ind-list li:first-child { border-top: 1px solid var(--step-border); }
.ind-num { font-size: var(--fs-sm); font-weight: 600; color: var(--step-sage); min-width: 1.75rem; }
.ind-name { font-size: clamp(1.1rem, .95rem + .7vw, 1.5rem); font-weight: 500; line-height: 1.4; transition: color .3s var(--ease), transform .45s var(--ease); }
.ind-list li:hover .ind-name { color: var(--step-primary); transform: translateX(var(--nudge, .5rem)); }

/* ---------- 15. Values ---------- */
.values-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 1rem + 5vw, 7rem); margin-top: var(--sp-5); }
.value { padding-block: var(--sp-4); border-top: 1px solid var(--step-line); }
.value-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.value-title { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); color: var(--step-primary); }
.value .alt-label { margin: 0; }
.value p:not(.alt-label) { color: var(--step-muted); font-size: var(--fs-lg); }

/* ---------- 16. Promise (green) ---------- */
.green { background: var(--step-primary); color: rgba(255,255,255,.85); }
.green .sec-title { color: #fff; }
.green .sec-kicker { color: rgba(255,255,255,.65); }
.green .sec-num { color: rgba(255,255,255,.55); }
.green .sec-num::after { background: rgba(255,255,255,.25); }
.sec-promise { overflow: hidden; }
.promise-bg { position: absolute; inset: 0; }
.promise-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(1); }
.promise-inner { position: relative; max-width: 62rem; }
.promise-lead { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.3; font-weight: 500; color: #fff; margin-bottom: var(--sp-4); }
.is-rtl .promise-lead { line-height: 1.55; }
.promise-text { font-size: var(--fs-xl); line-height: 1.7; max-width: 50rem; }

/* ---------- 17. CTA ---------- */
.sec-cta { background: var(--step-off-white); text-align: center; }
.cta-inner { max-width: 60rem; margin-inline: auto; display: grid; justify-items: center; gap: var(--sp-3); }
.cta-mark { position: relative; width: 4.6rem; height: 3.2rem; color: var(--step-primary); margin-bottom: var(--sp-2); }
.cta-mark .diamond { position: absolute; font-size: 2.6rem; top: 0; }
.cta-mark .diamond:nth-child(1) { inset-inline-start: 0; }
.cta-mark .diamond:nth-child(2) { inset-inline-start: 1.45rem; }
.cta-mark .diamond.is-alt { inset-inline-start: 3.4rem; top: 1.5rem; }
.cta-title { font-size: var(--fs-h1); line-height: 1.2; font-weight: 600; color: var(--step-primary); letter-spacing: -.015em; }
.is-rtl .cta-title { line-height: 1.5; letter-spacing: 0; }
.cta-text { font-size: var(--fs-xl); color: var(--step-muted); font-weight: 500; }
.cta-inner .btn { margin-top: var(--sp-3); }

/* ---------- 18. Inner page hero ---------- */
.page-hero { position: relative; background: var(--step-off-white); padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem)); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.page-hero-copy { position: relative; max-width: 58rem; }
.page-kicker { font-size: var(--fs-sm); font-weight: 600; color: var(--step-sage); margin-bottom: var(--sp-2); }
.page-title { font-size: var(--fs-h1); color: var(--step-primary); letter-spacing: -.015em; }
.is-rtl .page-title { line-height: 1.35; letter-spacing: 0; }
.page-intro { font-size: var(--fs-xl); line-height: 1.65; color: var(--step-muted); max-width: 46rem; margin-top: var(--sp-3); }

/* With image: full-bleed photo, deep-green overlay, white text */
.page-hero--image {
	display: flex; align-items: flex-end;
	min-height: clamp(360px, 30vw + 180px, 560px);
	padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
	background: var(--step-primary-deep); overflow: hidden; isolation: isolate;
}
.page-hero--image > .container { width: 100%; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: stepZoom 2.2s var(--ease) both; }
.page-hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(26, 33, 21, .92) 0%, rgba(32, 40, 26, .72) 45%, rgba(32, 40, 26, .45) 100%);
}
.page-hero--image .page-title { color: #fff; }
.page-hero--image .page-intro { color: rgba(255,255,255,.82); }
.page-hero--image .page-kicker { color: var(--step-sage); }

/* Breadcrumb: compact pill with diamond separators */
.breadcrumb { margin-bottom: var(--sp-4); }
.breadcrumb ol {
	display: inline-flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem;
	padding: .45rem 1rem; border-radius: 999px;
	font-size: var(--fs-xs); line-height: 1.5;
	color: var(--step-muted); background: rgba(60, 74, 52, .06); border: 1px solid var(--step-line);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .6rem; }
.breadcrumb li + li::before { content: ""; width: .32rem; height: .32rem; background: var(--step-sage); transform: rotate(45deg); }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--step-primary); }
.breadcrumb [aria-current] { color: var(--step-primary); font-weight: 600; }
.page-hero--image .breadcrumb ol { color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.page-hero--image .breadcrumb a:hover { color: #fff; }
.page-hero--image .breadcrumb [aria-current] { color: #fff; }

/* Header over a dark hero (until scrolled) */
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .brand .logo-main { display: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .brand .logo-on-dark { display: block; }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .menu--primary a { color: rgba(255,255,255,.85); }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .menu--primary a:hover { color: #fff; background: rgba(255,255,255,.1); }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .menu--primary .current-menu-item > a,
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .menu--primary .current_page_parent > a,
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .menu--primary .current-menu-ancestor > a { color: var(--step-primary); background: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .burger span { background: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .header-cta { --btn-bg: #fff; --btn-fg: var(--step-primary); --btn-bd: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.header--solid) .header-cta:hover { --btn-bg: var(--step-primary-light); --btn-bd: var(--step-primary-light); color: var(--step-primary); }

/* ---------- 19. Services index + single ---------- */
.svc-index-lead { margin-bottom: var(--sec); }
.svc-row { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.svc-row--flip { grid-template-columns: 5fr 6fr; }
.svc-row--flip .svc-row-media { order: 2; }
.svc-row--text { grid-template-columns: 1fr; max-width: 52rem; }
.svc-row-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-row-media:hover img { transform: scale(1.04); }
.svc-row-num { display: block; font-size: clamp(2.5rem, 2rem + 2vw, 4rem); font-weight: 300; line-height: 1; color: var(--step-sage); margin-bottom: var(--sp-3); }
.svc-row-title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem); margin-bottom: var(--sp-3); }
.svc-row-title a:hover { color: var(--step-primary); }
.svc-row-copy p { color: var(--step-muted); font-size: var(--fs-lg); margin-bottom: var(--sp-3); }

.svc-single-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.svc-single-grid--text { grid-template-columns: minmax(0, 52rem); }
.svc-single-body .prose p:first-child { font-size: var(--fs-xl); color: var(--step-text); line-height: 1.6; }
.svc-single-body .btn { margin-top: var(--sp-4); }
.svc-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: var(--sp-4); color: var(--step-primary); border: 1px solid var(--step-line); font-size: 1.25rem; }
.svc-single-media { aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: calc(var(--header-h) + 2rem); }
.svc-single-media img { width: 100%; height: 100%; object-fit: cover; }
.sec-svc-nav { padding-top: 0; }
.svc-nav-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--sp-4); }
.svc-nav-list a { display: flex; align-items: center; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--step-border); font-weight: 500; }
.svc-nav-list a span:nth-child(2) { flex: 1; }
.svc-nav-list .i-arrow { opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); color: var(--step-primary); }
.svc-nav-list a:hover .i-arrow { opacity: 1; transform: none; }
.svc-nav-list .is-current a { color: var(--step-primary); border-top-color: var(--step-primary); }

/* ---------- 20. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.contact-grid--form { grid-template-columns: minmax(0, 46rem); }
.contact-dl { margin: 0; }
.contact-dl > div { padding-block: 1.1rem; border-bottom: 1px solid var(--step-border); }
.contact-dl > div:first-child { border-top: 1px solid var(--step-border); }
.contact-dl dt { font-size: var(--fs-xs); font-weight: 600; color: var(--step-sage); margin-bottom: .25rem; }
.contact-dl dd { margin: 0; font-size: var(--fs-lg); font-weight: 500; }
.contact-dl a:hover { color: var(--step-primary); }
.contact-social { margin-top: var(--sp-4); }
.contact-map { margin-top: var(--sec); }
.contact-map iframe { width: 100%; height: clamp(320px, 40vw, 480px); border: 0; filter: grayscale(.85) contrast(1.05); }

/* Phone / WhatsApp numbers: LTR digits, aligned to the RTL start (right) */
.contact-list a[dir="ltr"], .contact-dl a[dir="ltr"] { justify-self: start; display: inline-block; unicode-bidi: isolate; text-align: start; }
.is-rtl .contact-list a[dir="ltr"], .is-rtl .contact-dl a[dir="ltr"] { text-align: right; }

/* ---------- 21. Social ---------- */
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid; border-radius: 50%; font-size: .95rem; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.social--dark a { border-color: var(--step-line); color: var(--step-primary); }
.social--dark a:hover { background: var(--step-primary); border-color: var(--step-primary); color: #fff; }
.social--light a { border-color: rgba(255,255,255,.25); color: #fff; }
.social--light a:hover { background: #fff; color: var(--step-primary); border-color: #fff; }

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--step-primary-deep); color: rgba(255,255,255,.7); font-size: var(--fs-sm); padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: var(--sp-5) clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: var(--sp-6); }
.footer-brand .logo-img { height: 70px; width: auto; margin-bottom: var(--sp-4); }
.footer-text { max-width: 24rem; line-height: 1.8; margin-bottom: var(--sp-4); }
.footer-title { font-size: var(--fs-xs); font-weight: 600; color: var(--step-sage); margin-bottom: var(--sp-3); letter-spacing: .04em; }
.is-ltr .footer-title { text-transform: uppercase; letter-spacing: .12em; }
.footer-menu li + li { margin-top: .6rem; }
.footer-menu a { color: rgba(255,255,255,.82); }
.contact-list li { display: grid; gap: .1rem; margin-bottom: 1rem; color: #fff; }
.contact-list li span { font-size: var(--fs-xs); color: rgba(255,255,255,.5); }
.footer-contact .social { margin-top: var(--sp-3); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: var(--sp-4); border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.footer-tagline { color: var(--step-sage); font-weight: 500; }

/* ---------- 23. Floating WhatsApp ---------- */
.wa-float {
	position: fixed; bottom: 1.5rem; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	background: #25D366; color: #fff; font-size: 1.75rem;
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
	transition: transform .3s var(--ease);
}
.wa-float--left { left: 1.5rem; }
.wa-float--right { right: 1.5rem; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float i { position: relative; z-index: 1; }
.wa-float.has-pulse::before, .wa-float.has-pulse::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: #25D366; opacity: .45; animation: waPulse 2.6s ease-out infinite;
}
.wa-float.has-pulse::after { animation-delay: 1.3s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .4; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-tip {
	position: absolute; bottom: 50%; transform: translateY(50%);
	white-space: nowrap; font-size: var(--fs-xs); font-weight: 500;
	background: var(--step-text); color: #fff; padding: .4rem .75rem; border-radius: var(--radius);
	opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.wa-float--left .wa-tip { left: calc(100% + .75rem); }
.wa-float--right .wa-tip { right: calc(100% + .75rem); }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- 24. Service request page ---------- */
.sec-request { background: var(--step-off-white); }
.request-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); align-items: start; }
.request-grid--solo { grid-template-columns: minmax(0, 46rem); justify-content: center; }
.request-card {
	background: var(--step-white); border: 1px solid var(--step-border); border-top: 3px solid var(--step-primary);
	padding: clamp(1.5rem, .8rem + 3vw, 3.25rem); box-shadow: 0 20px 50px rgba(29, 34, 25, .06);
}
.request-head { padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); border-bottom: 1px solid var(--step-border); }
.request-title { font-size: var(--fs-h3); color: var(--step-primary); }
.request-text { margin-top: .5rem; color: var(--step-muted); font-size: var(--fs-sm); }
.request-side { display: grid; gap: var(--sp-3); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.side-block { background: var(--step-white); border: 1px solid var(--step-border); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.side-block--dark { background: var(--step-primary-deep); border-color: var(--step-primary-deep); color: rgba(255,255,255,.8); }
.side-title { font-size: var(--fs-sm); font-weight: 600; color: var(--step-primary); margin-bottom: var(--sp-3); padding-bottom: .75rem; border-bottom: 1px solid var(--step-border); }
.side-block--dark .side-title { color: #fff; border-color: rgba(255,255,255,.14); }
.side-services li + li { border-top: 1px solid var(--step-border); }
.side-services a { display: flex; align-items: center; gap: .75rem; padding-block: .8rem; font-weight: 500; font-size: var(--fs-sm); }
.side-services .diamond { font-size: .7rem; color: var(--step-sage); transition: color .25s var(--ease); }
.side-services a:hover .diamond { color: var(--step-primary); }
.side-contact { margin: 0; }
.side-contact > div + div { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.side-contact dt { font-size: var(--fs-xs); color: var(--step-sage); margin-bottom: .2rem; }
.side-contact dd { margin: 0; color: #fff; font-weight: 500; }
.side-contact a { color: #fff; }
.side-contact a[dir="ltr"] { display: inline-block; unicode-bidi: isolate; }

/* ---------- 25. 404 / misc ---------- */
.sec-404 { padding-top: calc(var(--header-h) + var(--sec)); text-align: center; }
.sec-404 .page-title { margin-bottom: var(--sp-4); }
.big-404 { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 300; line-height: 1; color: var(--step-primary-light); margin-bottom: var(--sp-2); }
.post-list li { padding-block: var(--sp-4); border-bottom: 1px solid var(--step-border); }

/* ---------- 24. Motion ---------- */
@keyframes stepFadeUp { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes stepFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes stepReveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stepZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Scroll reveal (IntersectionObserver in main.js). Content is visible without JS. */
.js-reveal .wow { opacity: 0; }
.js-reveal .img-reveal { opacity: 1; clip-path: inset(100% 0 0 0); }
.js-reveal .wow.animated { opacity: 1; }
.animated { animation-duration: .9s; animation-fill-mode: both; animation-timing-function: var(--ease); animation-delay: var(--d, 0s); }
.animated.fadeUp { animation-name: stepFadeUp; }
.animated.fadeIn { animation-name: stepFade; }
.animated.img-reveal { animation-name: stepReveal; animation-duration: 1.2s; }
.img-reveal.animated img { animation: stepZoom 1.6s var(--ease) both; }

.load-up { animation: stepFadeUp 1s var(--ease) both; animation-delay: var(--d, .05s); }
.load-reveal { animation: stepReveal 1.4s var(--ease) .15s both; }
.load-reveal img { animation: stepZoom 2s var(--ease) .15s both; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js-reveal .wow, .js-reveal .img-reveal { opacity: 1 !important; clip-path: none !important; }
	.wa-float::before, .wa-float::after { display: none; }
	.timeline .tl-step { opacity: 1; transform: none; }
}
