/* =========================================================
   SMART PLANT — Design system
   ========================================================= */
:root {
	--forest-950: #0b2117;
	--forest-900: #123524;
	--forest-800: #1a4630;
	--forest-700: #24573d;
	--green-600: #2f6e4b;
	--green-500: #3f8a5f;
	--sage-400: #8db59a;
	--sage-300: #b5d0bb;
	--sage-200: #d4e4d6;
	--sage-100: #e8f0e7;
	--ivory: #f8f6f0;
	--sand: #f1ede3;
	--bg-soft: #eef3ec;
	--white: #fff;
	--ink: #17221c;
	--ink-2: #3a4a41;
	--muted: #5c6b62;
	--line: rgba(18, 53, 36, .12);
	--gold: #c9a96e;
	--danger: #b0442a;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--leaf: 140px;
	--shadow-sm: 0 1px 2px rgba(16, 40, 28, .05), 0 4px 14px rgba(16, 40, 28, .05);
	--shadow: 0 18px 40px -20px rgba(16, 40, 28, .28);
	--shadow-lg: 0 40px 80px -30px rgba(16, 40, 28, .4);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--focus: #2f6e4b;
	--dir: 1;
	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[lang="ar"] { --font: 'Alexandria', 'Segoe UI', Tahoma, sans-serif; --dir: -1; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.75;
	color: var(--ink);
	background: var(--ivory);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
html[lang="ar"] body { line-height: 1.9; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.5; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
main { display: block; outline: none; }

:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .page-hero, .site-footer, .nursery-feature, .final-cta, .bg-forest, .believe, .lightbox, .side-card-cta, .svc-featured, .project-card-featured,
.site-header:not(.is-scrolled) { --focus: #b5d0bb; }

.sr-only, .hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; inset-inline-start: 16px; top: -80px; z-index: 300;
	background: var(--forest-900); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600;
	transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.bg-soft { background: var(--bg-soft); }
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--forest-900); color: #fff; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-arrow { width: 18px; height: 18px; transform: translateX(var(--ax, 0)) scaleX(var(--flip, 1)); transition: transform .35s var(--ease); }
html[lang="ar"] .icon-arrow { --flip: -1; }

/* ---------- Typography ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--green-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.eyebrow-light { color: var(--sage-300); }
.section-title { font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.6rem); color: var(--forest-900); margin-bottom: 20px; }
.section-title-sm { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 8px; }
.lead { font-size: clamp(1rem, .96rem + .2vw, 1.08rem); color: var(--ink-2); }
.lead-lg { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink); }
.bg-forest .section-title, .nursery-feature .section-title { color: #fff; }
.bg-forest .lead, .nursery-feature .lead { color: rgba(255, 255, 255, .78); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .section-title { margin-bottom: 0; }
.section-head-center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-head-aside { margin-top: 18px; }
.section-head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head-split .section-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
	--ax: 0px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: .97rem; line-height: 1.2; text-align: center; white-space: nowrap;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon-arrow, .btn-ghost:hover .icon-arrow, a:hover > .btn-ghost .icon-arrow, a:hover .btn-ghost .icon-arrow { --ax: calc(4px * var(--dir) * -1); }
html[lang="en"] .btn:hover .icon-arrow, html[lang="en"] a:hover .btn-ghost .icon-arrow, html[lang="en"] .btn-ghost:hover .icon-arrow { --ax: 4px; }
html[lang="ar"] .btn:hover .icon-arrow, html[lang="ar"] a:hover .btn-ghost .icon-arrow, html[lang="ar"] .btn-ghost:hover .icon-arrow { --ax: -4px; }
.btn-primary { background: var(--forest-900); color: #fff; }
.btn-primary:hover { background: var(--forest-700); box-shadow: 0 14px 30px -14px rgba(18, 53, 36, .6); }
.btn-secondary { border-color: rgba(18, 53, 36, .22); color: var(--forest-900); }
.btn-secondary:hover { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.btn-light { background: #fff; color: var(--forest-900); }
.btn-light:hover { background: var(--sage-100); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn-ghost {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--green-600);
	transition: color .3s;
}
.btn-ghost:hover { color: var(--forest-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }
.center-row { display: flex; justify-content: center; margin-top: 56px; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
	padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.4;
	background: var(--sage-100); color: var(--forest-800);
}
.chip .icon { width: 16px; height: 16px; }
.chip-light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.chip-soft { background: var(--sand); }
.chip-float { position: absolute; top: 16px; inset-inline-start: 16px; background: rgba(255, 255, 255, .94); color: var(--forest-900); z-index: 1; }

.is-placeholder { border-bottom: 1px dashed currentColor; opacity: .85; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: fixed; top: 0; inset-inline: 0; z-index: 60; color: #fff;
	transition: background-color .4s var(--ease), box-shadow .4s, color .4s, height .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header.is-scrolled { top: 0; } }
.site-header::before {
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
	background: linear-gradient(to bottom, rgba(6, 22, 14, .55), rgba(6, 22, 14, 0));
	transition: opacity .4s;
}
.site-header.is-scrolled, .page-404 .site-header, .menu-open .site-header {
	background: rgba(248, 246, 240, .9); color: var(--ink);
	backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
	box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(16, 40, 28, .25);
}
.site-header.is-scrolled::before, .page-404 .site-header::before, .menu-open .site-header::before { opacity: 0; }
.menu-open .site-header { background: var(--ivory); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .3s; }
.site-header.is-scrolled .header-inner { height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; position: relative; }
.brand-logo { display: block; height: 56px; width: auto; transition: opacity .35s var(--ease); }
.brand-logo-dark { position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.is-scrolled .brand-logo-light, .menu-open .brand-logo-light, .page-404 .brand-logo-light { opacity: 0; }
.is-scrolled .brand-logo-dark, .menu-open .brand-logo-dark, .page-404 .brand-logo-dark { opacity: 1; }
.site-header.is-scrolled .brand-logo { height: 48px; }
.site-footer .brand-logo { height: 72px; }
.brand-mark { width: 42px; height: 42px; color: currentColor; --logo-dot: var(--gold); }
.is-scrolled .brand-mark, .page-404 .brand-mark, .menu-open .brand-mark { color: var(--forest-900); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; opacity: .72; margin-top: 3px; white-space: nowrap; }

.main-nav { flex: 1; display: none; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
	position: relative; display: block; padding: 8px 12px; border-radius: 999px;
	font-size: .9rem; font-weight: 500; white-space: nowrap; opacity: .88; transition: background-color .25s, opacity .25s;
}
.main-nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.is-scrolled .main-nav a:hover { background: var(--sage-100); }
.main-nav a[aria-current] { opacity: 1; font-weight: 600; }
.main-nav a[aria-current]::after {
	content: ""; position: absolute; bottom: 1px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
	border-radius: 50%; background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; flex: none; }
@media (min-width: 1200px) { .main-nav + .header-actions { margin-inline-start: 0; } }

.lang-switch { display: none; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); }
.lang-switch a { padding: 6px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; line-height: 1.4; opacity: .8; transition: .25s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current] { background: #fff; color: var(--forest-900); opacity: 1; }
.is-scrolled .lang-switch, .page-404 .lang-switch { border-color: var(--line); }
.is-scrolled .lang-switch a[aria-current], .page-404 .lang-switch a[aria-current] { background: var(--forest-900); color: #fff; }
.lang-switch a[lang="ar"] { font-family: 'Alexandria', sans-serif; }
.lang-switch a[lang="en"] { font-family: 'Manrope', system-ui, sans-serif; }

.lang-mini {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
	font-size: .85rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .28); transition: .25s;
}
.lang-mini .icon { width: 18px; height: 18px; }
.is-scrolled .lang-mini, .menu-open .lang-mini, .page-404 .lang-mini { border-color: var(--line); }
.lang-mini:hover { background: rgba(255, 255, 255, .12); }

.header-cta { display: none; }
.menu-toggle {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px;
	border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
	font-size: .88rem; font-weight: 600; transition: .25s; justify-content: center;
}
.is-scrolled .menu-toggle, .menu-open .menu-toggle, .page-404 .menu-toggle { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.menu-toggle-icon { position: relative; width: 18px; height: 12px; }
.menu-toggle-icon i { position: absolute; inset-inline-start: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), width .35s, top .35s; }
.menu-toggle-icon i:first-child { top: 1px; width: 18px; }
.menu-toggle-icon i:last-child { top: 9px; width: 12px; }
.menu-open .menu-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-icon i:last-child { top: 5px; width: 18px; transform: rotate(-45deg); }
@media (max-width: 1199px) {
	:root { --header-h: 72px; }
	.site-header.is-scrolled .header-inner { height: 64px; }
	.header-inner { gap: 12px; }
	.brand { gap: 10px; }
	.brand-logo { height: 46px; }
	.site-header.is-scrolled .brand-logo { height: 42px; }
	.brand-name { font-size: 1.05rem; }
	.brand-sub { font-size: .68rem; }
	.header-actions { gap: 8px; }
	.lang-mini { min-height: 40px; padding: 0 13px; font-size: .8rem; background: rgba(255, 255, 255, .08); }
	.is-scrolled .lang-mini, .menu-open .lang-mini, .page-404 .lang-mini { background: transparent; }
	.menu-toggle { min-height: 44px; }
}
@media (max-width: 639px) {
	.menu-toggle-label { display: none; }
	.menu-toggle { width: 44px; padding: 0; }
	.header-cta { display: none !important; }
}
@media (max-width: 380px) {
	.brand-sub { display: none; }
	.lang-mini .icon { display: none; }
	.brand-logo { height: 40px; }
}

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1200px) {
	.main-nav { display: flex; }
	.menu-toggle { display: none; }
}
@media (min-width: 1360px) {
	.lang-switch { display: inline-flex; }
	.lang-mini { display: none; }
	.main-nav a { padding: 8px 14px; font-size: .93rem; }
}
@media (min-width: 1200px) and (max-width: 1299px) { .brand-sub { display: none; } }

/* Mobile menu */
.mobile-menu {
	position: fixed; inset: 0; z-index: 55; background: var(--ivory);
	padding: calc(var(--header-h) + 12px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
	overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; visibility: hidden; transform: translateY(-12px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 58px); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu-inner { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; min-height: 100%; }
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: .45s var(--ease); transition-delay: calc(var(--i) * 35ms + 60ms); }
.menu-open .mobile-nav li { opacity: 1; transform: none; }
.mobile-nav a { display: flex; align-items: center; gap: 16px; min-height: 60px; padding-block: 10px; font-size: 1.25rem; font-weight: 600; color: var(--forest-900); }
.mobile-nav a[aria-current] { color: var(--green-600); }
.mobile-nav-num { font-size: .78rem; font-weight: 600; color: var(--sage-400); min-width: 22px; }
.mobile-nav-arrow { margin-inline-start: auto; opacity: .35; }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu-contact { display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.mobile-menu-contact > span { display: flex; align-items: center; gap: 10px; }
.mobile-menu-contact .icon { width: 18px; height: 18px; color: var(--green-600); }
.lang-switch-wide { display: flex; border-color: var(--line); align-self: flex-start; }
.lang-switch-wide a[aria-current] { background: var(--forest-900); color: #fff; }
.lang-switch-wide a { padding: 8px 18px; font-size: .9rem; }
@media (min-width: 1200px) { .mobile-menu { display: none; } }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
	position: relative; color: #fff; isolation: isolate; overflow: hidden;
	min-height: max(620px, min(90svh, 860px)); display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media, .page-hero-media, .final-cta-media, .believe-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img, .page-hero-media img, .final-cta-media img, .believe-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--forest-950); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7.5s linear; }
.hero-slide.is-active .hero-slide-img { transform: scale(1); }
.hero-slides::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to top, rgba(6, 22, 14, .92) 0%, rgba(6, 22, 14, .55) 34%, rgba(6, 22, 14, .12) 62%, rgba(6, 22, 14, .45) 100%),
		linear-gradient(to right, rgba(6, 22, 14, .55), rgba(6, 22, 14, 0) 60%);
}
html[dir="rtl"] .hero-slides::after {
	background:
		linear-gradient(to top, rgba(6, 22, 14, .92) 0%, rgba(6, 22, 14, .55) 34%, rgba(6, 22, 14, .12) 62%, rgba(6, 22, 14, .45) 100%),
		linear-gradient(to left, rgba(6, 22, 14, .55), rgba(6, 22, 14, 0) 60%);
}
.hero-inner {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: end;
	padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-content { max-width: 720px; display: grid; }
.hero-copy { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.hero-copy.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .25s, .25s, 0s; }
.hero-slides::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px 7px 14px;
	border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .92); line-height: 1.5;
}
html[lang="en"] .hero-eyebrow { letter-spacing: .04em; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 110, .25); flex: none; }
.hero-title {
	font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.5rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 600;
	margin-bottom: 22px; text-wrap: balance;
}
html[lang="ar"] .hero-title { font-size: clamp(2.05rem, 1.2rem + 3vw, 3.7rem); line-height: 1.38; letter-spacing: 0; }
.hero-text { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255, 255, 255, .84); max-width: 580px; margin-bottom: 34px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
	align-self: end; padding: 22px 22px 18px; border-radius: 24px;
	background: rgba(8, 30, 19, .42); border: 1px solid rgba(255, 255, 255, .16);
	backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.hero-card-label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .8rem; font-weight: 600; color: var(--sage-300); }
.hero-card-label .icon { width: 16px; height: 16px; }
.hero-card-list a { display: flex; align-items: center; gap: 14px; padding-block: 13px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; font-weight: 500; transition: color .25s, padding .35s var(--ease); }
.hero-card-list a:hover { color: var(--sage-200); padding-inline-start: 6px; }
.hero-card-num { font-size: .75rem; font-weight: 600; color: var(--gold); min-width: 20px; font-variant-numeric: tabular-nums; }
.hero-card-name { flex: 1; }
.hero-card-list .icon-arrow { width: 16px; height: 16px; opacity: .5; }
.hero-card-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: .88rem; font-weight: 600; color: #fff; }
.hero-card-all .icon-arrow { width: 16px; height: 16px; }
.hero-card-all:hover .icon-arrow { --ax: calc(4px * var(--dir) * -1); }
html[lang="en"] .hero-card-all:hover .icon-arrow { --ax: 4px; }
html[lang="ar"] .hero-card-all:hover .icon-arrow { --ax: -4px; }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-controls { display: flex; align-items: center; gap: 10px; }
.hero-nav { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .28); transition: background-color .25s, border-color .25s; }
.hero-nav:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero-nav .icon-arrow { width: 17px; height: 17px; }
.hero-prev .icon-arrow { --flip: -1; }
html[lang="ar"] .hero-prev .icon-arrow { --flip: 1; }
.hero-pause { position: relative; }
.hero-pause i { position: absolute; top: 14px; width: 2.5px; height: 13px; border-radius: 2px; background: currentColor; }
.hero-pause i:first-child { left: 16px; } .hero-pause i:last-child { left: 22px; }
.hero-pause.is-paused i:first-child { left: 17px; width: 0; height: 0; top: 14px; border-radius: 0; background: none; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.hero-pause.is-paused i:last-child { display: none; }
.hero-dots { display: flex; align-items: center; gap: 6px; padding-inline: 4px; }
.hero-dot { width: 28px; height: 28px; display: grid; place-items: center; }
.hero-dot span { position: relative; display: block; width: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; transition: width .4s var(--ease); }
.hero-dot.is-active span { width: 44px; }
.hero-dot.is-active span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
html[dir="rtl"] .hero-dot.is-active span::after { transform-origin: right; }
.is-paused-slider .hero-dot.is-active span::after { animation-play-state: paused; }
.hero-dot { width: auto; min-width: 28px; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: .9rem; color: rgba(255, 255, 255, .82); }
.hero-pillars li { display: inline-flex; align-items: center; gap: 9px; }
.hero-pillars .icon { width: 17px; height: 17px; color: var(--sage-300); }
.scroll-cue { flex: none; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 20px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 1023px) {
	.hero { min-height: min(760px, 88svh); }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-card { display: none; }
}
@media (max-width: 640px) {
	.hero { min-height: 0; }
	.hero-inner { padding-top: calc(var(--header-h) + 36px); }
	.hero-slide-img { object-position: 50% 72% !important; }
	.hero-slides::after, html[dir="rtl"] .hero-slides::after {
		background: linear-gradient(to top, rgba(6, 22, 14, .95) 0%, rgba(6, 22, 14, .7) 38%, rgba(6, 22, 14, .2) 66%, rgba(6, 22, 14, .5) 100%);
	}
	.hero-inner { padding-bottom: 26px; }
	.hero-eyebrow { font-size: .78rem; padding: 6px 13px; margin-bottom: 16px; }
	.hero-title { margin-bottom: 14px; }
	html[lang="ar"] .hero-title { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.4rem); line-height: 1.42; }
	.hero-text { font-size: .97rem; line-height: 1.85; margin-bottom: 26px; }
	.hero-actions { flex-wrap: nowrap; gap: 10px; }
	.hero-actions .btn { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 14px; font-size: .92rem; }
	.hero-actions .btn .icon-arrow { display: none; }
	.hero-foot { padding-block: 14px 18px; }
	.hero-pillars { display: none; }
	.hero-controls { width: 100%; justify-content: space-between; }
	.hero-dots { order: -1; margin-inline-end: auto; padding-inline: 0; }
	.hero-nav { width: 38px; height: 38px; }
	.hero-pause i { top: 12px; } .hero-pause i:first-child { left: 14px; } .hero-pause i:last-child { left: 20px; }
	.hero-pause.is-paused i:first-child { left: 15px; top: 12px; }
}
@media (max-width: 359px) { .hero-actions { flex-wrap: wrap; } .hero-actions .btn { flex-basis: 100%; } }

/* Mobile/tablet first screen: rounded, app-like */
@media (max-width: 1023px) {
	.hero-foot { border-top: 0; padding-bottom: 14px; }
	.hero-pillars { display: none; }
	.hero-controls { width: 100%; }
	.hero-dots { margin-inline-end: auto; }
}
@media (max-width: 640px) {
	.hero-inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: 6px; }
	.hero-eyebrow { margin-bottom: 14px; }
	html[lang="ar"] .hero-title { font-size: clamp(1.85rem, 1.1rem + 3.8vw, 2.25rem); line-height: 1.45; margin-bottom: 10px; }
	html[lang="en"] .hero-title { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.4rem); }
	.hero-text { font-size: .93rem; color: rgba(255, 255, 255, .8); margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.hero-actions .btn { min-height: 48px; font-size: .9rem; }
	.hero-foot { padding-top: 18px; }
	.hero-prev, .hero-next { display: none; }
	.hero-nav { width: 36px; height: 36px; border-color: rgba(255, 255, 255, .22); }
	.hero-pause i { top: 11px; height: 12px; } .hero-pause i:first-child { left: 13px; } .hero-pause i:last-child { left: 19px; }
	.hero-pause.is-paused i:first-child { left: 14px; top: 11px; height: 0; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
	.hero-dot.is-active span { width: 36px; }
}

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
	position: relative; isolation: isolate; color: #fff;
	min-height: clamp(400px, 56vh, 580px); display: flex; align-items: flex-end;
	padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(72px, 9vw, 110px);
}
.page-hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(7, 26, 17, .9) 0%, rgba(7, 26, 17, .55) 50%, rgba(7, 26, 17, .55) 100%);
}
.page-hero-inner > * { max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.2; margin-bottom: 18px; }
html[lang="ar"] .page-hero h1 { line-height: 1.45; }
.page-hero-text { font-size: clamp(1rem, .96rem + .3vw, 1.15rem); color: rgba(255, 255, 255, .85); max-width: 660px; }
.page-hero-badges { display: flex; gap: 8px; margin-top: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current] { color: #fff; }
.hero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; height: clamp(24px, 4vw, 56px); color: var(--ivory); }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .84rem; color: var(--muted); margin: 0; }
.meta-line > span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line .icon { width: 16px; height: 16px; }
.meta-line-light { color: rgba(255, 255, 255, .82); margin-top: 6px; }

/* =========================================================
   INTRO
   ========================================================= */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.intro-media { position: relative; padding-bottom: 64px; padding-inline-end: 56px; }
.intro-img-main { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; border-start-start-radius: var(--leaf); border-end-end-radius: var(--leaf); }
.intro-img-main img, .intro-img-sub img, .stack-main img, .stack-sub img, .leaf-frame img, .why-img img,
.nursery-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-img-sub { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; aspect-ratio: 1; overflow: hidden; border-radius: 24px; border: 8px solid var(--ivory); box-shadow: var(--shadow); }
.floating-card {
	position: absolute; top: 48px; inset-inline-end: 8px; display: flex; align-items: center; gap: 14px;
	background: #fff; padding: 16px 20px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 270px;
}
.floating-card strong { display: block; color: var(--forest-900); font-size: .98rem; }
.floating-card small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.floating-card-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sage-100); color: var(--green-600); }
.deco-leaf { position: absolute; z-index: -1; width: 220px; height: 220px; top: -60px; inset-inline-start: -70px; color: var(--sage-300); opacity: .7; }
.intro { isolation: isolate; }
.check-list { margin: 28px 0 36px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--ink); }
.check-list .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--sage-100); color: var(--green-600); }

/* =========================================================
   SERVICES BENTO
   ========================================================= */
.services-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; grid-auto-flow: dense; }
.svc-card {
	position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-link { display: flex; flex-direction: column; height: 100%; }
.svc-body { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-body p { color: var(--muted); font-size: .93rem; line-height: 1.75; margin: 0; }
.svc-body .btn-ghost { margin-top: auto; padding-top: 6px; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sage-100); color: var(--forest-800); transition: .4s var(--ease); }
.svc-icon .icon { width: 26px; height: 26px; }
.svc-card:hover .svc-icon { background: var(--forest-900); color: #fff; }
.svc-num { font-size: .85rem; font-weight: 600; color: var(--sage-400); font-variant-numeric: tabular-nums; }
.svc-plain .svc-num { font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--sage-200); }
.svc-title { font-size: 1.18rem; color: var(--forest-900); }
.svc-media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }

.svc-featured { grid-column: 1 / span 2; grid-row: 1 / span 2; color: #fff; min-height: 580px; border: 0; }
.svc-featured .svc-media { position: absolute; inset: 0; aspect-ratio: auto; }
.svc-featured .svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 26, 17, .92) 0%, rgba(7, 26, 17, .35) 55%, rgba(7, 26, 17, .1) 100%); }
.svc-featured .svc-body { justify-content: flex-end; padding: clamp(28px, 3.5vw, 44px); }
.svc-featured .svc-top { margin-bottom: auto; }
.svc-featured .svc-icon { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); }
.svc-featured .svc-num { color: rgba(255, 255, 255, .7); }
.svc-featured .svc-title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.svc-featured p { color: rgba(255, 255, 255, .85); font-size: 1rem; max-width: 460px; }
.svc-featured .btn-ghost { color: #fff; margin-top: 8px; }
.svc-wide { grid-column: span 2; }
.svc-wide .svc-link { flex-direction: row; }
.svc-wide .svc-media { width: 42%; aspect-ratio: auto; flex: none; }

@media (max-width: 1023px) {
	.services-bento { grid-template-columns: repeat(2, 1fr); }
	.svc-featured { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
}
@media (max-width: 640px) {
	.services-bento { grid-template-columns: 1fr; gap: 16px; }
	.svc-wide { grid-column: auto; }
	.svc-wide .svc-link { flex-direction: column; }
	.svc-wide .svc-media { width: auto; aspect-ratio: 16 / 9; }
	.svc-media { aspect-ratio: 16 / 9; }
	.svc-featured { min-height: 480px; }
	.svc-plain .svc-num { font-size: 2rem; }
}

/* =========================================================
   NURSERY FEATURE
   ========================================================= */
.nursery-feature {
	position: relative; color: #fff; background: var(--forest-900);
	background-image: radial-gradient(circle at 85% 15%, rgba(141, 181, 154, .2), transparent 45%), radial-gradient(circle at 10% 90%, rgba(201, 169, 110, .1), transparent 40%);
	padding-block: clamp(120px, 13vw, 190px);
}
.wave { position: absolute; left: 0; width: 100%; height: clamp(36px, 5vw, 70px); }
.wave-top { top: -1px; color: var(--bg-soft); }
.wave-bottom { bottom: -1px; color: var(--ivory); }
.nursery-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.nursery-points { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0 40px; }
.nursery-points li { display: flex; gap: 14px; align-items: flex-start; }
.nursery-points strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.nursery-points li > span:last-child { color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.7; }
.nursery-point-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--sage-300); }
.nursery-media { position: relative; aspect-ratio: 1 / 1.02; }
.nursery-media > div { position: absolute; overflow: hidden; }
.nursery-img-a { inset-inline-end: 0; top: 0; width: 76%; height: 84%; border-radius: 28px; border-start-start-radius: var(--leaf); border-end-end-radius: var(--leaf); }
.nursery-img-b { inset-inline-start: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: 24px; border: 8px solid var(--forest-900); }
.nursery-img-c { inset-inline-start: 6%; top: 6%; width: 26%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--forest-900); }
.nursery-badge { inset-inline-end: 4%; bottom: 2%; width: 128px; height: 128px; border-radius: 50%; background: var(--ivory); color: var(--forest-900); display: grid; place-items: center; overflow: visible !important; box-shadow: var(--shadow-lg); }
.nursery-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 28s linear infinite; }
.nursery-badge text { font-size: 10.5px; font-weight: 600; fill: currentColor; letter-spacing: .08em; }
html[lang="ar"] .nursery-badge text { letter-spacing: 0; font-size: 10px; }
.nursery-badge > span { width: 52px; height: 52px; border-radius: 50%; background: var(--forest-900); color: var(--sage-300); display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
	.nursery-grid { grid-template-columns: 1fr; }
	.nursery-media { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
	.nursery-points { grid-template-columns: 1fr; gap: 18px; }
	.nursery-badge { width: 100px; height: 100px; }
	.nursery-badge > span { width: 42px; height: 42px; }
	.nursery-feature .btn { width: 100%; }
}

/* =========================================================
   WHY
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why-aside { position: sticky; top: 110px; }
.why-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; border-start-end-radius: 110px; margin: 28px 0 32px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.why-item { display: flex; gap: 16px; padding-block: 26px; border-top: 1px solid var(--line); }
.why-item h3 { font-size: 1.04rem; color: var(--forest-900); margin-bottom: 6px; }
.why-item p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.75; }
.why-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-100); color: var(--forest-800); transition: .4s var(--ease); }
.why-item:hover .why-icon, .pillar:hover .why-icon { background: var(--forest-900); color: #fff; }
@media (max-width: 960px) {
	.why-grid { grid-template-columns: 1fr; }
	.why-aside { position: static; }
}
@media (max-width: 640px) { .why-list { grid-template-columns: 1fr; } }

/* =========================================================
   PROCESS TRACK
   ========================================================= */
.process-track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.process-track::before {
	content: ""; position: absolute; top: 28px; inset-inline: 8%; height: 2px;
	background: repeating-linear-gradient(90deg, var(--sage-400) 0 8px, transparent 8px 16px); opacity: .6;
}
.process-step { position: relative; text-align: center; }
.process-node {
	position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 600; font-size: .95rem; color: var(--forest-900);
	background: #fff; border: 1.5px solid var(--sage-300); box-shadow: 0 0 0 8px var(--sand); transition: .45s var(--ease);
}
.process-step:hover .process-node, .process-step.is-in .process-node { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.process-step h3 { font-size: 1.04rem; color: var(--forest-900); margin-bottom: 8px; }
.process-step p { font-size: .9rem; color: var(--muted); line-height: 1.75; }
@media (max-width: 1100px) {
	.process-track { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
	.process-track::before { display: none; }
}
@media (max-width: 640px) {
	.process-track { grid-template-columns: 1fr; row-gap: 0; }
	.process-track::before { display: block; top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 27px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--sage-400) 0 8px, transparent 8px 16px); }
	.process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: start; padding-bottom: 28px; }
	.process-node { grid-row: span 2; margin: 0; }
	.process-step h3 { align-self: center; margin: 14px 0 6px; }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects-showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.project-card { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card[hidden] { display: none; }
.project-card-link { display: flex; flex-direction: column; height: 100%; }
.project-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.06); }
.project-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.project-card-body .btn-ghost { margin-top: auto; padding-top: 6px; }
.project-card-title { font-size: 1.2rem; color: var(--forest-900); }

.project-card-featured { grid-column: span 7; grid-row: span 2; position: relative; color: #fff; min-height: 600px; border: 0; }
.project-card-featured .project-card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.project-card-featured .project-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 26, 17, .9), rgba(7, 26, 17, .1) 60%); }
.project-card-featured .project-card-body { position: relative; justify-content: flex-end; padding: clamp(28px, 3.5vw, 44px); }
.project-card-featured .project-card-title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.project-card-featured p { color: rgba(255, 255, 255, .84); max-width: 520px; }
.project-card-featured .btn-ghost { color: #fff; margin-top: 6px; }
.project-card-featured .chip { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); }
.project-card-row { grid-column: span 5; }
.project-card-row .project-card-link { flex-direction: row; }
.project-card-row .project-card-media { width: 44%; aspect-ratio: auto; flex: none; }
@media (max-width: 960px) {
	.project-card-featured { grid-column: 1 / -1; min-height: 480px; }
	.project-card-row { grid-column: span 6; }
	.project-card-row .project-card-link { flex-direction: column; }
	.project-card-row .project-card-media { width: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
	.projects-showcase { grid-template-columns: 1fr; gap: 18px; }
	.project-card-featured, .project-card-row { grid-column: auto; }
	.project-card-featured { min-height: 440px; }
}

/* =========================================================
   CARD GRIDS / ARTICLES
   ========================================================= */
.cards-grid { display: grid; gap: 28px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3 { grid-template-columns: 1fr; gap: 20px; } }
.article-card { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card[hidden] { display: none; }
.article-card-link { display: flex; flex-direction: column; height: 100%; }
.article-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.article-card:hover .article-card-media img { transform: scale(1.06); }
.article-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card-title { font-size: 1.12rem; line-height: 1.55; color: var(--forest-900); }
.article-card-body > p:not(.meta-line) { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-body .btn-ghost { margin-top: auto; }

/* Gallery teaser */
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 18vw, 250px); gap: 16px; }
.teaser-item { position: relative; overflow: hidden; border-radius: 20px; display: block; }
.teaser-item-1 { grid-column: span 2; grid-row: span 2; }
.teaser-item img, .masonry-item img, .pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.teaser-item:hover img, .masonry-item:hover img, .pg-item:hover img { transform: scale(1.06); }
.zoom-hint { position: absolute; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--forest-900); opacity: 0; transform: scale(.85); transition: .4s var(--ease); }
.zoom-hint .icon { width: 18px; height: 18px; }
a:hover > .zoom-hint, a:focus-visible > .zoom-hint, a:hover .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: .9; transform: none; width: 34px; height: 34px; } }
@media (max-width: 640px) {
	.teaser-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
	.teaser-item-1 { grid-row: span 1; }
}

/* FAQ */
.faq-teaser-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.accordion { background: #fff; border-radius: 24px; padding: 6px clamp(18px, 3vw, 32px); border: 1px solid var(--line); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; cursor: pointer; font-weight: 600; color: var(--forest-900); font-size: 1.01rem; line-height: 1.6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .35s var(--ease); }
.faq-toggle .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.faq-item[open] .faq-toggle { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.faq-item[open] .faq-toggle .icon { transform: rotate(45deg); }
.faq-answer { padding-bottom: 22px; color: var(--muted); }
.faq-item[open] .faq-answer { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq-teaser-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(110px, 13vw, 170px); }
.final-cta-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12, 38, 25, .62), rgba(7, 26, 17, .86)); }
.final-cta-inner { max-width: 760px; }
.final-cta-mark { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px); }
.final-cta-mark svg { width: 36px; height: 36px; color: #fff; }
.final-cta h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); margin-bottom: 18px; }
.final-cta p { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 36px; }
@media (max-width: 480px) { .final-cta .btn { width: 100%; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; overflow: hidden; background: var(--forest-950); color: rgba(255, 255, 255, .7); padding-top: clamp(72px, 8vw, 104px); font-size: .94rem; }
.footer-leaf { position: absolute; width: 440px; height: 440px; top: -80px; inset-inline-end: -100px; color: rgba(255, 255, 255, .05); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.25fr; gap: 48px; }
.brand-light { color: #fff; margin-bottom: 22px; }
.footer-brand p { max-width: 360px; line-height: 1.85; }
.footer-follow { margin-top: 26px; margin-bottom: 12px !important; color: #fff; font-weight: 600; font-size: .9rem; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a, .social span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: .3s; }
.social .icon { width: 19px; height: 19px; }
.social a:hover { background: #fff; color: var(--forest-900); }
.social .is-placeholder { opacity: .5; border-style: dashed; cursor: help; border-bottom-style: dashed; }
.contact-social { margin-top: 36px; }
.social-dark a { border-color: var(--sage-100, #dfe9e1); color: var(--forest-900); }
.social-dark a:hover { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: inline-block; padding-block: 5px; transition: color .25s, transform .25s; }
.footer-col li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-contact small { display: block; color: var(--sage-400); font-size: .76rem; line-height: 1.4; }
.footer-contact-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--sage-300); }
.footer-contact-icon .icon { width: 19px; height: 19px; }
.footer-contact li a, .footer-contact li span { color: #fff; word-break: break-word; }
.footer-contact .btn { color: var(--forest-900); }
.footer-acc summary { list-style: none; cursor: default; display: flex; align-items: center; justify-content: space-between; }
.footer-acc summary::-webkit-details-marker { display: none; }
.footer-acc-icon { display: none; }
.footer-credit { color: rgba(255, 255, 255, .6); }
.footer-credit a { color: var(--sage-300); font-weight: 600; }
.footer-credit a:hover { color: #fff; }
.footer-contact .btn { margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 64px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom-links .icon { width: 16px; height: 16px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
	.site-footer { padding-top: 56px; }
	.footer-grid { grid-template-columns: 1fr; gap: 0; }
	.footer-brand { text-align: center; padding-bottom: 28px; }
	.footer-brand .brand-light { margin-inline: auto; margin-bottom: 14px; }
	.footer-brand .brand-logo { height: 60px; }
	.footer-brand p { margin-inline: auto; font-size: .9rem; }
	.footer-follow { margin-top: 18px; }
	.site-footer .social { justify-content: center; }
	.footer-col { border-top: 1px solid rgba(255, 255, 255, .1); }
	.footer-acc summary { cursor: pointer; margin: 0; padding-block: 18px; }
	.footer-acc-icon { display: block; width: 18px; height: 18px; color: var(--sage-300); transition: transform .3s var(--ease); }
	.footer-acc[open] .footer-acc-icon { transform: rotate(180deg); }
	.footer-acc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-bottom: 16px; }
	.footer-contact { padding-top: 18px; }
	.footer-contact ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
	.footer-contact li { margin: 0; align-items: flex-start; font-size: .82rem; gap: 10px; }
	.footer-contact-icon { width: 34px; height: 34px; border-radius: 10px; }
	.footer-contact .btn { width: 100%; margin-top: 20px; }
	.footer-bottom { flex-direction: column; align-items: center; text-align: center; margin-top: 32px; gap: 10px; padding-bottom: 90px; }
}

/* Mobile action bar */
.action-bar {
	position: fixed; z-index: 50; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
	border-radius: 22px; box-shadow: 0 16px 40px -14px rgba(16, 40, 28, .4), 0 0 0 1px var(--line);
	transition: transform .4s var(--ease), opacity .3s;
}
.action-bar-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 16px; font-size: .7rem; font-weight: 600; color: var(--ink-2); }
.action-bar-item .icon { width: 21px; height: 21px; }
.action-bar-item[aria-current] { color: var(--green-600); background: var(--sage-100); }
.action-bar-item.is-primary { background: var(--forest-900); color: #fff; }
.menu-open .action-bar, .lb-open .action-bar { transform: translateY(140%); opacity: 0; }
@media (min-width: 1024px) { .action-bar { display: none; } }

/* Floating contact buttons */
.float-contact { position: fixed; z-index: 49; inset-inline-end: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.float-btn { position: relative; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 14px 30px -10px rgba(6, 22, 14, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-wa { width: 60px; height: 60px; background: #25d366; }
.float-wa .icon { width: 30px; height: 30px; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.6s var(--ease) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.float-call { width: 48px; height: 48px; background: var(--forest-900); }
.float-call .icon { width: 21px; height: 21px; }
.float-tip {
	position: absolute; inset-inline-end: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(calc(6px * var(--dir) * -1));
	white-space: nowrap; background: var(--forest-950); color: #fff; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 10px;
	opacity: 0; pointer-events: none; transition: .25s var(--ease);
}
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; transform: translateY(-50%); }
.menu-open .float-contact, .lb-open .float-contact { opacity: 0; pointer-events: none; }
@media (max-width: 1023px) {
	.float-contact { inset-inline-end: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); }
	.float-call { display: none; }
	.float-wa { width: 54px; height: 54px; }
	.float-wa .icon { width: 28px; height: 28px; }
	.float-tip { display: none; }
}

/* Quick services marquee — sits on the bottom of the hero slider (mobile/tablet) */
.quick-services { display: none; }
@media (max-width: 1023px) {
	.quick-services { display: block; position: relative; z-index: 3; padding-bottom: 18px; }
	.quick-services-viewport {
		overflow: hidden; padding-block: 2px;
		-webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
		mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
	}
	.quick-services-track { display: flex; gap: 10px; width: max-content; animation: marquee 42s linear infinite; }
	html[dir="rtl"] .quick-services-track { animation-name: marqueeRtl; }
	.quick-services:hover .quick-services-track, .quick-services:focus-within .quick-services-track, .quick-services.is-held .quick-services-track { animation-play-state: paused; }
	.quick-chip {
		display: flex; align-items: center; gap: 9px; height: 48px; padding-inline: 6px 16px; border-radius: 999px;
		background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22);
		backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
		font-size: .85rem; font-weight: 600; color: #fff; white-space: nowrap;
	}
	.quick-chip-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: var(--sage-200); flex: none; }
	.quick-chip-icon .icon { width: 18px; height: 18px; }
	.quick-chip.is-featured { background: #fff; border-color: #fff; color: var(--forest-900); }
	.quick-chip.is-featured .quick-chip-icon { background: var(--gold); color: var(--forest-950); }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
@keyframes marqueeRtl { to { transform: translateX(calc(50% + 5px)); } }
@media (prefers-reduced-motion: reduce) {
	.quick-services-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
	.quick-services-track { animation: none !important; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-content .btn { margin-top: 16px; }
.stack-media { position: relative; padding-bottom: 60px; padding-inline-start: 60px; }
.stack-main { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; border-start-end-radius: var(--leaf); border-end-start-radius: var(--leaf); }
.stack-sub { position: absolute; bottom: 0; inset-inline-start: 0; width: 44%; aspect-ratio: 1; overflow: hidden; border-radius: 24px; border: 8px solid var(--ivory); box-shadow: var(--shadow); }
.leaf-frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; border-start-start-radius: var(--leaf); border-end-end-radius: var(--leaf); }
.leaf-frame-sm { aspect-ratio: 16 / 11; margin-top: 32px; }
@media (max-width: 900px) {
	.split, .intro-grid { grid-template-columns: 1fr; }
	.split-media { max-width: 560px; width: 100%; margin-inline: auto; }
	.intro-media { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
	:root { --leaf: 90px; }
	.intro-media { padding-inline-end: 28px; padding-bottom: 48px; }
	.stack-media { padding-inline-start: 28px; padding-bottom: 48px; }
	.floating-card { top: auto; bottom: 64px; inset-inline-end: auto; inset-inline-start: -4px; padding: 12px 14px; max-width: 220px; }
	.floating-card-icon { width: 38px; height: 38px; }
	.deco-leaf { width: 140px; height: 140px; top: -30px; inset-inline-start: -30px; }
	.split-content .btn, .intro-content .btn { width: 100%; }
}

.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 3.5vw, 44px); }
.vmv-card h2 { font-size: 1.35rem; color: var(--forest-900); margin: 22px 0 12px; }
.vmv-card p { color: var(--muted); }
.vmv-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--sage-100); color: var(--green-600); }
.vmv-icon .icon { width: 28px; height: 28px; }
.vmv-card-accent { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.vmv-card-accent h2 { color: #fff; }
.vmv-card-accent p { color: rgba(255, 255, 255, .78); }
.vmv-card-accent .vmv-icon { background: rgba(255, 255, 255, .1); color: var(--sage-300); }
@media (max-width: 900px) { .vmv-grid { grid-template-columns: 1fr; } }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.value-card::after { content: ""; position: absolute; width: 120px; height: 120px; inset-inline-end: -40px; top: -40px; border-radius: 0 50%; background: var(--sage-100); opacity: .6; transition: .5s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card:hover::after { transform: scale(1.3); }
.value-card h3 { font-size: 1.15rem; color: var(--forest-900); margin: 22px 0 8px; position: relative; z-index: 1; }
.value-card p { color: var(--muted); font-size: .93rem; position: relative; z-index: 1; }
.value-icon { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--forest-900); color: var(--sage-300); }
.value-icon .icon { width: 26px; height: 26px; }
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

.believe { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(110px, 13vw, 180px); }
.believe-media::after { content: ""; position: absolute; inset: 0; background: rgba(9, 32, 21, .82); }
.believe-inner { max-width: 940px; }
.believe .eyebrow { justify-content: center; }
.believe blockquote { margin: 10px 0 24px; }
.believe-quote { width: 48px; height: 48px; margin: 0 auto 20px; color: var(--sage-300); }
.believe blockquote p { font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem); line-height: 1.6; font-weight: 500; }
.believe-text { color: rgba(255, 255, 255, .75); max-width: 600px; margin-inline: auto; }

.commit-list { margin-top: 28px; }
.commit-list li { display: flex; gap: 18px; padding-block: 18px; border-top: 1px solid var(--line); }
.commit-num { font-weight: 700; color: var(--green-600); font-size: .9rem; padding-top: 2px; }
.commit-list h3 { font-size: 1.05rem; color: var(--forest-900); margin-bottom: 4px; }
.commit-list p { color: var(--muted); font-size: .93rem; margin: 0; }

.partner-card { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-sm); }
.partner-media { position: relative; padding-bottom: 28px; }
.partner-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; border-start-start-radius: 90px; border-end-end-radius: 90px; background: var(--sage-100); }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; }
.partner-years { position: absolute; bottom: 0; inset-inline-end: -14px; display: flex; flex-direction: column; align-items: center; min-width: 118px; padding: 14px 18px; border-radius: 18px; background: var(--forest-900); color: #fff; box-shadow: var(--shadow); text-align: center; }
.partner-years strong { font-size: 1.7rem; line-height: 1.1; color: var(--gold); }
.partner-years span { font-size: .8rem; color: rgba(255, 255, 255, .8); }
.partner-body .section-title { margin-bottom: 6px; }
.partner-role { color: var(--green-600); font-weight: 600; font-size: .98rem; margin-bottom: 18px; }
.partner-text { color: var(--ink-2); font-size: .97rem; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.partner-tags li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sage-100); color: var(--forest-900); font-size: .86rem; font-weight: 500; }
.partner-tags .icon { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; }
@media (max-width: 760px) {
	.partner-card { grid-template-columns: 1fr; }
	.partner-media { max-width: 300px; width: 100%; margin-inline: auto; }
	.partner-years { inset-inline-end: -8px; }
}

/* Services list page */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-row { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-row:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-row-link { display: flex; flex-direction: column; height: 100%; }
.svc-row-media { aspect-ratio: 16 / 9; overflow: hidden; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-row:hover .svc-row-media img { transform: scale(1.05); }
.svc-row-body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc-row-body p { color: var(--muted); margin: 0; }
.svc-row-body .btn-ghost { margin-top: auto; }
.svc-row-body .svc-title { font-size: 1.35rem; }
.svc-row:hover .svc-icon { background: var(--forest-900); color: #fff; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-list li { font-size: .8rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.svc-row-featured { grid-column: 1 / -1; background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.svc-row-featured .svc-row-link { flex-direction: row; }
.svc-row-featured .svc-row-media { width: 50%; aspect-ratio: auto; min-height: 380px; flex: none; }
.svc-row-featured .svc-title { color: #fff; font-size: 1.8rem; }
.svc-row-featured p { color: rgba(255, 255, 255, .8); }
.svc-row-featured .svc-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.svc-row-featured .tag-list li { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }
.svc-row-featured .btn-ghost { color: var(--sage-300); }
.svc-row-featured .chip { background: var(--gold); color: var(--forest-950); }
@media (max-width: 900px) {
	.services-list { grid-template-columns: 1fr; }
	.svc-row-featured .svc-row-link { flex-direction: column; }
	.svc-row-featured .svc-row-media { width: auto; min-height: 0; aspect-ratio: 16 / 9; }
}

/* Detail pages */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.detail-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.prose { max-width: 760px; }
.prose p { color: var(--ink-2); margin-bottom: 1.2em; }
.prose .lead-lg { color: var(--ink); }
.block-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); color: var(--forest-900); margin-bottom: 24px; }
.block-title::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--gold); flex: none; }
.detail-block { margin-top: 56px; }
.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.includes-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; line-height: 1.6; }
.includes-grid .icon { width: 20px; height: 20px; color: var(--green-600); margin-top: 2px; }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-steps li { background: var(--sand); border-radius: 18px; padding: 20px; position: relative; }
.mini-steps span { display: block; font-weight: 700; color: var(--green-600); font-size: .85rem; margin-bottom: 8px; }
.mini-steps p { margin: 0; color: var(--ink); font-size: .94rem; line-height: 1.6; font-weight: 500; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.benefit h3 { font-size: 1.02rem; color: var(--forest-900); margin: 16px 0 6px; }
.benefit p { font-size: .9rem; color: var(--muted); margin: 0; }
.benefit-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); color: var(--green-600); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.side-card-cta { position: relative; overflow: hidden; background: var(--forest-900); color: #fff; border-color: var(--forest-900); }
.side-card-cta::after { content: ""; position: absolute; width: 180px; height: 180px; inset-inline-end: -60px; top: -60px; border-radius: 0 50%; background: rgba(255, 255, 255, .05); }
.side-card-cta h2 { font-size: 1.25rem; margin: 18px 0 8px; }
.side-card-cta p { color: rgba(255, 255, 255, .75); font-size: .93rem; margin-bottom: 22px; }
.side-card-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--sage-300); }
.side-title { font-size: 1rem; color: var(--forest-900); margin-bottom: 8px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: .93rem; font-weight: 500; transition: color .25s; }
.side-links li:last-child a { border-bottom: 0; }
.side-links span { font-size: .78rem; color: var(--sage-400); font-weight: 600; }
.side-links .icon-arrow { margin-inline-start: auto; opacity: .35; width: 16px; height: 16px; }
.side-links a:hover, .side-links a[aria-current] { color: var(--green-600); }
.side-links a[aria-current] { font-weight: 700; }
.side-links-compact a { padding-block: 8px; }
.facts { margin: 0; }
.facts > div { padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; color: var(--forest-900); }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 14px; }
.pg-item { position: relative; overflow: hidden; border-radius: 18px; display: block; }
.pg-item-1 { grid-column: span 3; grid-row: span 2; }
.next-project { background: var(--sand); }
.next-project-link { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.next-project-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; }
.next-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.next-project-link:hover img { transform: scale(1.05); }
@media (max-width: 1023px) {
	.detail-layout { grid-template-columns: 1fr; }
	.detail-side { position: static; }
	.mini-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.includes-grid, .benefit-grid { grid-template-columns: 1fr; }
	.next-project-link { grid-template-columns: 1fr; }
	.project-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
	.pg-item-1 { grid-column: span 2; }
	.pg-item-4 { grid-column: span 2; }
}
@media (max-width: 420px) { .mini-steps { grid-template-columns: 1fr; } }

/* Toolbar & filters */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.toolbar .section-title { margin-bottom: 0; }
.toolbar-center { justify-content: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 500; transition: .25s; }
.filter:hover { border-color: var(--forest-900); color: var(--forest-900); }
.filter.is-active { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.is-filtering { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } }

/* Masonry gallery */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.masonry-item { position: relative; overflow: hidden; border-radius: 18px; display: block; background: var(--sage-100); }
.masonry-item[hidden] { display: none; }
.masonry-item.is-big { grid-column: span 2; grid-row: span 2; }
.masonry-item.is-tall { grid-row: span 2; }
.masonry-item.is-wide { grid-column: span 2; }
.masonry-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 26, 17, .55), transparent 45%); opacity: 0; transition: opacity .4s; }
.masonry-item:hover::after, .masonry-item:focus-visible::after { opacity: 1; }
.masonry-caption { position: absolute; z-index: 1; inset-inline: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.masonry-caption .zoom-hint { position: static; opacity: 1; transform: none; }
.masonry-item:hover .masonry-caption, .masonry-item:focus-visible .masonry-caption { opacity: 1; transform: none; }
@media (max-width: 1023px) { .masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 640px) {
	.masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
	.masonry-item { border-radius: 14px; }
	.masonry-item.is-big { grid-column: span 2; }
	.masonry-caption { display: none; }
}

/* Why page */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.pillar { position: relative; padding: clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background-color .4s; }
.pillar:hover { background: #fff; }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.pillar-num { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--sage-200); }
.pillar h3 { font-size: 1.12rem; color: var(--forest-900); margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars-grid { grid-template-columns: 1fr; } }
.split-wide { grid-template-columns: .85fr 1.15fr; align-items: start; }
.compare { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; overflow: hidden; }
.compare-head { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head span { padding: 18px 24px; font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .55); }
.compare-head span:last-child { background: rgba(141, 181, 154, .14); color: var(--sage-200); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .1); }
.compare-row p { margin: 0; padding: 22px 24px; line-height: 1.7; }
.compare-old { color: rgba(255, 255, 255, .55); }
.compare-new { background: rgba(141, 181, 154, .08); color: #fff; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.compare-new .icon { color: var(--sage-300); width: 20px; height: 20px; margin-top: 3px; }
.compare-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 900px) { .split-wide { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.compare-head { display: none; }
	.compare-row { grid-template-columns: 1fr; }
	.compare-row p { padding: 16px 20px; }
	.compare-new { flex-wrap: wrap; }
	.compare-label { position: static; width: auto; height: auto; clip: auto; display: block; flex-basis: 100%; font-size: .75rem; font-weight: 600; opacity: .6; margin-bottom: 2px; }
	.compare-new .compare-label { order: -1; }
}

/* Process timeline page */
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 31px; width: 2px; background: linear-gradient(var(--sage-300), var(--sage-200)); }
.timeline-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding-bottom: 36px; }
.timeline-marker span { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--forest-900); box-shadow: 0 0 0 8px var(--ivory); }
.timeline-card { display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.timeline-media { min-height: 260px; }
.timeline-media img { width: 100%; height: 100%; object-fit: cover; }
.timeline-body { padding: clamp(24px, 3vw, 40px); }
.timeline-body .eyebrow { margin-bottom: 10px; }
.timeline-body h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: var(--forest-900); margin-bottom: 12px; }
.timeline-body p { color: var(--muted); }
.outcome { display: flex; gap: 10px; align-items: flex-start; background: var(--sage-100); color: var(--forest-900) !important; padding: 12px 16px; border-radius: 14px; font-size: .92rem; margin-top: 18px; }
.outcome .icon { width: 20px; height: 20px; color: var(--green-600); margin-top: 3px; }
@media (max-width: 760px) {
	.timeline::before { inset-inline-start: 21px; }
	.timeline-step { grid-template-columns: 44px 1fr; gap: 14px; }
	.timeline-marker span { width: 44px; height: 44px; font-size: .85rem; }
	.timeline-card { grid-template-columns: 1fr; }
	.timeline-media { min-height: 0; aspect-ratio: 16 / 9; }
}
.values-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .values-grid-3 { grid-template-columns: 1fr; } }

/* Insights */
.featured-article { margin-bottom: clamp(56px, 7vw, 88px); border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .5s; }
.featured-article:hover { box-shadow: var(--shadow); }
.featured-article-link { display: grid; grid-template-columns: 1.15fr 1fr; }
.featured-article-media { min-height: 440px; overflow: hidden; }
.featured-article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.featured-article:hover img { transform: scale(1.04); }
.featured-article-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-article-body .section-title { margin: 0; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); }
.featured-article-body .lead { margin: 0; }
.featured-article-body .btn { align-self: flex-start; margin-top: 8px; }
.featured-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
@media (max-width: 900px) {
	.featured-article-link { grid-template-columns: 1fr; }
	.featured-article-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) { .featured-article-body .btn { align-self: stretch; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.article-side { position: sticky; top: 100px; }
.article-body h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); color: var(--forest-900); margin: 2em 0 .7em; }
.article-body ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.article-body li { position: relative; padding-inline-start: 28px; margin-bottom: 10px; color: var(--ink-2); }
.article-body li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .75em; width: 10px; height: 10px; border-radius: 0 50%; background: var(--green-500); }
.article-body blockquote { position: relative; margin: 2em 0; padding: 28px 32px; border-radius: 22px; background: var(--sage-100); border-inline-start: 4px solid var(--green-600); }
.article-body blockquote p { margin: 0; font-size: 1.15rem; font-weight: 500; color: var(--forest-900); line-height: 1.75; }
.prose-quote-icon { width: 32px; height: 32px; color: var(--sage-400); margin-bottom: 8px; }
.article-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 36px; padding: 14px 18px; background: var(--sand); border-radius: 14px; font-size: .88rem; color: var(--muted) !important; }
.article-note .icon { width: 18px; height: 18px; color: var(--green-600); margin-top: 4px; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-share .icon { width: 18px; height: 18px; }
@media (max-width: 1023px) {
	.article-layout { grid-template-columns: 1fr; }
	.article-side { position: static; }
}

/* FAQ page */
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.faq-nav ul { list-style: none; margin: 0; padding: 0; }
.faq-nav a { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-weight: 500; transition: .25s; }
.faq-nav a:hover { background: #fff; color: var(--green-600); }
.faq-nav span { font-size: .8rem; font-weight: 700; color: var(--sage-400); padding-top: 3px; }
.faq-group + .faq-group { margin-top: 48px; }
@media (max-width: 900px) {
	.faq-layout { grid-template-columns: 1fr; }
	.faq-nav { position: static; }
	.faq-nav .side-card { display: none; }
}

/* Contact */
.contact-section { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form-wrap { position: relative; z-index: 2; margin-top: clamp(-110px, -8vw, -60px); background: #fff; border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 52px); }
.contact-aside { padding-top: clamp(32px, 5vw, 64px); }
.form-intro { color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.req { color: var(--danger); }
.opt { font-weight: 400; font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid #dcd7ca; background: #fcfbf8;
	font-size: 1rem; line-height: 1.5; transition: border-color .25s, box-shadow .25s, background-color .25s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa49e; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c5cdbf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(63, 138, 95, .16); }
html[lang="ar"] .field input[dir="ltr"] { text-align: right; }
.has-error input, .has-error textarea, .field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 0; }
.select-wrap { position: relative; }
.select-wrap select { padding-inline-end: 46px; cursor: pointer; }
.select-wrap .icon { position: absolute; top: 50%; inset-inline-end: 16px; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-privacy { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin: 0; }
.form-privacy .icon { width: 18px; height: 18px; color: var(--green-600); }
.form-alert { background: #fbeee9; border: 1px solid #efc9bb; color: #8c3a22; border-radius: 16px; padding: 16px 20px; margin-bottom: 24px; outline: none; }
.form-alert ul { margin: 8px 0 0; padding-inline-start: 20px; }
.form-alert a { text-decoration: underline; }
.form-success { text-align: center; padding-block: 32px; outline: none; }
.form-success-icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); color: var(--green-600); }
.form-success-icon .icon { width: 34px; height: 34px; }
.form-success h2 { font-size: 1.6rem; color: var(--forest-900); margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 26px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest-900); color: var(--sage-300); }
.contact-card h3 { font-size: 1rem; color: var(--forest-900); }
.contact-card-hint { font-size: .82rem; color: var(--muted); margin: 2px 0 8px; }
.contact-card-value { font-weight: 600; color: var(--green-600); word-break: break-word; }
.contact-multi { display: inline-flex; flex-direction: column; gap: .15em; }
.next-steps { margin-top: 44px; }
.next-steps li { display: flex; gap: 16px; padding-block: 14px; }
.next-steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); color: var(--forest-900); font-weight: 700; font-size: .9rem; }
.next-steps h3 { font-size: 1rem; color: var(--forest-900); margin-bottom: 2px; }
.next-steps p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 1023px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-aside { padding-top: 0; }
}
@media (max-width: 600px) {
	.form-row { grid-template-columns: 1fr; }
	.form-foot .btn { width: 100%; }
	.contact-cards { grid-template-columns: 1fr; }
	.contact-form-wrap { border-radius: 24px; }
}

/* 404 */
.notfound { min-height: 82vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 0 80px; position: relative; overflow: hidden; }
.notfound-inner { position: relative; max-width: 640px; }
.notfound-leaf { position: absolute; width: 320px; height: 320px; top: -40px; left: 50%; transform: translateX(-50%); color: var(--sage-200); z-index: -1; }
.notfound-code { font-size: clamp(5.5rem, 18vw, 11rem); font-weight: 700; line-height: 1; color: var(--sage-200); margin-bottom: 8px; }
.notfound h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); color: var(--forest-900); margin-bottom: 14px; }
.notfound .lead { margin-bottom: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 70px 16px; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(6, 20, 13, .94); backdrop-filter: blur(6px); }
.lightbox-figure { position: relative; margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); transition: opacity .25s; }
.lightbox-figure figcaption { color: rgba(255, 255, 255, .82); text-align: center; margin-top: 14px; font-size: .92rem; }
.lightbox-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); transition: background-color .25s; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: 16px; inset-inline-end: 16px; }
.lightbox-prev { top: 50%; inset-inline-start: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; inset-inline-end: 16px; transform: translateY(-50%); }
.lightbox-prev .icon-arrow { --flip: -1; }
html[lang="ar"] .lightbox-prev .icon-arrow { --flip: 1; }
.lightbox-count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .88rem; margin: 0; }
@media (max-width: 640px) {
	.lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
}
body.lb-open { overflow: hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* Gallery / videos (managed in wp-admin) */
a.filter { display: inline-flex; align-items: center; text-decoration: none; }
.media-empty { text-align: center; color: var(--ink-2); padding: 40px 0; }
.videos-total { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 32px; color: var(--ink-2); font-weight: 500; }
.videos-total .icon { width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: var(--forest-900); color: var(--gold); }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(7, 26, 17, .07); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.vcard:hover, .vcard:focus-visible { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 22px 48px rgba(7, 26, 17, .16); }
.vcard-media { position: relative; display: block; aspect-ratio: 9 / 14; overflow: hidden; background: #0b1f15; }
.vcard-thumb { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: transform 1.1s var(--ease); }
.vcard:hover .vcard-thumb { transform: scale(1.05); }
.vcard-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 20, 13, .75), rgba(6, 20, 13, .05) 45%, rgba(6, 20, 13, .25)); transition: opacity .4s; }
.vcard:hover .vcard-shade { opacity: .6; }
.vcard-play { position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; transition: transform .4s var(--ease), background-color .4s, color .4s; }
.vcard-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); animation: vpulse 2.4s var(--ease) infinite; }
.vcard-play .icon { width: 26px; height: 26px; margin-left: 4px; }
.vcard:hover .vcard-play { transform: scale(1.1); background: var(--gold); border-color: var(--gold); color: var(--forest-950); }
.vcard.is-previewing .vcard-play { opacity: 0; transform: scale(.8); }
@keyframes vpulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.vcard-dur { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .78rem; font-weight: 600; direction: ltr; font-variant-numeric: tabular-nums; }
.vcard-dur:empty { display: none; }
.vcard-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; }
.vcard-num { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); }
.vcard-title { font-weight: 600; color: var(--forest-900); line-height: 1.5; }

.vplayer { position: fixed; inset: 0; z-index: 210; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 76px 90px 28px; opacity: 0; transition: opacity .3s var(--ease); }
.vplayer[hidden] { display: none; }
.vplayer.is-open { opacity: 1; }
.vplayer-backdrop { position: absolute; inset: 0; background: rgba(4, 14, 9, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vplayer-top { position: absolute; top: 0; inset-inline: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; }
.vplayer-meta { margin: 0; display: flex; flex-direction: column; gap: 2px; color: #fff; min-width: 0; }
.vplayer-count { font-size: .8rem; color: var(--gold); font-weight: 600; }
.vplayer-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vplayer-close { position: static; }
.vplayer-stage { position: relative; z-index: 1; height: 100%; max-height: calc(100vh - 104px); display: flex; align-items: center; justify-content: center; transform: scale(.96); transition: transform .4s var(--ease); }
.vplayer.is-open .vplayer-stage { transform: none; }
.vplayer-video { max-width: 100%; max-height: 100%; height: 100%; width: auto; border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); outline: none; }
.vplayer-prev, .vplayer-next { top: 50%; transform: translateY(-50%); }
.vplayer-prev { inset-inline-start: 20px; }
.vplayer-next { inset-inline-end: 20px; }
.vplayer-prev .icon-arrow { --flip: -1; }
html[lang="ar"] .vplayer-prev .icon-arrow { --flip: 1; }
body.vp-open { overflow: hidden; }
@media (max-width: 1199px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .vcard { border-radius: 16px; } .vcard-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } .vcard-body { padding: 12px 14px; } }
@media (max-width: 640px) {
	.vplayer { padding: 64px 0 76px; }
	.vplayer-video { border-radius: 0; }
	.vplayer-stage { max-height: calc(100vh - 140px); }
	.vplayer-prev, .vplayer-next { top: auto; bottom: 14px; transform: none; }
	.vplayer-prev { inset-inline-start: calc(50% - 64px); }
	.vplayer-next { inset-inline-end: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) { .vcard-play::before { animation: none; } }
/* Nine nav items: keep the desktop menu on one line */
@media (min-width: 1200px) and (max-width: 1499px) { .main-nav a { padding-inline: 9px; font-size: .9rem; } }
