/* ==========================================================================
   Golden Obelisk Contracting Company
   Colours from the company profile: charcoal #393536, the gold of the logo
   and the bronze #995c36 of the profile's service icons.
   ========================================================================== */

:root {
	--ink: #393536;
	--ink-2: #2b2728;
	--ink-3: #1f1b1c;
	--gold-1: #b47a45;
	--gold-2: #d39b55;
	--gold-3: #f2cd7c;
	--gold-4: #fbe3a1;
	--bronze: #995c36;
	--brown: #4a2c1b;
	--cream: #fbf7f0;
	--sand: #f3ebdf;
	--text: #4d4748;
	--muted: #7d7576;
	--line: #ebe3d8;
	--grad: linear-gradient(100deg, #b47a45 0%, #e2b769 30%, #fbe3a1 50%, #d39b55 72%, #b47a45 100%);
	--gold-fill: linear-gradient(100deg, #bb834d 0%, #ddb16d 30%, #f2d594 50%, #d5a35e 72%, #bb834d 100%);
	--gold-solid: #d2a466;
	--ease: cubic-bezier(.22, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--shadow: 0 10px 30px rgba(43, 39, 40, .08);
	--shadow-lg: 0 24px 60px rgba(43, 39, 40, .16);
	--header-h: 92px;
	--start: left;
	--end: right;
	--dir: 1;
}
[dir="rtl"] {
	--start: right;
	--end: left;
	--dir: -1;
}
html[lang="ar"] {
	--font: 'Cairo', 'Roboto', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] body { font-size: 17.5px; line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-decoration: none; transition: color .25s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.45; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 860px; }
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #d9d2cc; }
.section--dark .sec-title { color: #fff; }
.screen-reader-text { 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: absolute; z-index: 200; top: -60px; inset-inline-start: 12px; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.site-main { overflow-x: clip; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }
.lead { font-size: 1.2rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.empty-note { padding: 30px; text-align: center; background: var(--cream); border-radius: 14px; }
.entry > *:last-child { margin-bottom: 0; }
.entry a { text-decoration: underline; }
.entry h2, .entry h3 { margin-top: 1.4em; }
.entry ul { list-style: disc; padding-inline-start: 1.3em; margin-bottom: 1.1em; }

/* ---------- Buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; font-size: .84rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; border: 1.5px solid transparent; border-radius: 6px; cursor: pointer; transition: color .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease); }
html[lang="ar"] .btn { font-size: .98rem; letter-spacing: 0; text-transform: none; padding-block: 13px; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: var(--end); transition: transform .55s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: var(--start); }
.btn .ico { width: 18px; height: 18px; }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(calc(4px * var(--dir))); }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }
.btn--gold { color: var(--ink-2); background: var(--gold-fill); box-shadow: 0 7px 16px rgba(180, 122, 69, .17); }
.btn--gold::before { background: var(--ink); }
.btn--gold:hover { color: #fff; }
.btn--dark { color: #fff; background: var(--ink); }
.btn--dark::before { background: var(--gold-fill); }
.btn--dark:hover { color: var(--ink-2); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
.btn--wa { color: #fff; background: #25d366; }
.btn--wa::before { background: #1a9e4f; }
.btn--wa:hover { color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .76rem; }
html[lang="ar"] .btn--sm { font-size: .9rem; padding-block: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: inherit; white-space: nowrap; }
.lang-switch[lang="ar"] span { font-family: 'Cairo', Tahoma, Arial, sans-serif; }
.lang-switch[lang="en"] span { font-family: 'Roboto', Arial, sans-serif; }
.lang-switch--top { padding: 3px 14px; color: #fff; border: 1px solid rgba(242, 205, 124, .45); border-radius: 999px; transition: background .3s, color .3s; }
.lang-switch--top:hover { color: var(--ink-2); background: var(--gold-solid); }
.lang-switch--top .ico { color: inherit; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .35s; }
.admin-bar .site-header { top: 32px; }
body.is-scrolled .site-header { box-shadow: 0 8px 26px rgba(43, 39, 40, .09); }
.site-header__inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); transition: min-height .4s var(--ease); }
body.is-scrolled .site-header__inner { min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__emblem { width: auto; height: 60px; transition: height .4s var(--ease); }
.logo__word { width: 200px; height: auto; transition: width .4s var(--ease); }
body.is-scrolled .logo--header .logo__emblem { height: 48px; }
body.is-scrolled .logo--header .logo__word { width: 176px; }
.logo__custom { width: auto; max-height: 64px; }
.main-nav { margin-inline-start: auto; }
.main-nav .menu { display: flex; align-items: center; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { position: relative; display: block; padding: 12px 14px; font-size: .95rem; font-weight: 500; color: var(--ink); }
html[lang="ar"] .main-nav .menu > li > a { font-size: 1rem; font-weight: 600; }
.main-nav .menu > li > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: var(--start); transition: transform .35s var(--ease); }
.main-nav .menu > li > a:hover::after, .main-nav .menu > .is-current > a::after { transform: scaleX(1); }
.main-nav .has-sub { display: flex; align-items: center; }
.sub-toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; margin-inline-start: -10px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.sub-toggle .ico { width: 14px; height: 14px; transition: transform .3s; }
.main-nav .has-sub:hover .sub-toggle .ico, .main-nav .has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
.main-nav .sub-menu { position: absolute; top: 100%; inset-inline-start: -14px; z-index: 5; min-width: 340px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.main-nav .has-sub:hover .sub-menu, .main-nav .has-sub:focus-within .sub-menu, .main-nav .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: .93rem; font-weight: 500; color: var(--ink); transition: background .25s, color .25s; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--cream); color: var(--bronze); }
.sub-menu__num { min-width: 20px; font-size: .72rem; font-weight: 700; color: var(--gold-1); }
.sub-menu__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bronze); color: #fff; transition: background .3s, color .3s; }
.sub-menu__icon .ico { width: 17px; height: 17px; }
.sub-menu a:hover .sub-menu__icon { background: var(--ink); color: var(--gold-3); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch--bar { display: none; padding: 8px 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; padding: 0; background: var(--ink); border: 0; border-radius: 10px; cursor: pointer; }
.nav-toggle__bars { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle__bars span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, width .3s; }
.nav-toggle__bars span:nth-child(3) { width: 14px; margin-inline-end: 8px; background: var(--gold-3); }
body.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bars span:nth-child(3) { width: 22px; margin: 0; transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* Mobile menu */
.mobile-nav { position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: var(--ink-2); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav__inner { display: flex; flex-direction: column; gap: 26px; min-height: 100%; padding: calc(var(--header-h) + 26px) 24px 40px; }
.mobile-nav .menu > li { border-bottom: 1px solid rgba(255, 255, 255, .09); opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + .1s); }
body.nav-open .mobile-nav .menu > li { opacity: 1; transform: none; }
.mobile-nav .menu > li > a { display: block; flex: 1; padding: 15px 0; font-size: 1.3rem; font-weight: 500; color: #fff; }
.mobile-nav .menu > .is-current > a { color: var(--gold-3); }
.mobile-nav .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.mobile-nav .sub-toggle { width: 44px; height: 44px; margin: 0; color: var(--gold-3); }
.mobile-nav .sub-toggle .ico { width: 20px; height: 20px; }
.mobile-nav .has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
.mobile-nav .sub-menu { display: none; flex-basis: 100%; padding: 0 0 14px; }
.mobile-nav .has-sub.is-open .sub-menu { display: block; }
.mobile-nav .sub-menu a { padding: 9px 0; color: #ddd4cc; background: none; font-size: 1rem; }
.mobile-nav .sub-menu a:hover { color: var(--gold-3); }
.mobile-nav__cta { align-self: flex-start; }
.mobile-nav__contact li a { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #ddd4cc; }
.mobile-nav__contact .ico { width: 20px; height: 20px; color: var(--gold-3); }
.mobile-nav__contact .ico-wa { color: #25d366; }
.mobile-nav__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); }
.mobile-nav__logo { display: flex; justify-content: center; padding-top: 10px; }
.mobile-nav__logo .logo--footer .logo__stacked { width: 150px; }
.lang-switch--mobile { padding: 8px 16px; color: #fff; border: 1px solid rgba(242, 205, 124, .45); border-radius: 999px; }

/* ---------- Section headings (profile style: light + bold, gold rule) ---------- */
.sec-title { position: relative; margin-bottom: 22px; padding-bottom: 20px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 300; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.sec-title strong { font-weight: 700; }
.sec-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: min(220px, 60%); height: 2px; background: var(--grad); transform-origin: var(--start); transform: scaleX(var(--rule, 1)); transition: transform 1.1s var(--ease) .25s; }
.js .sec-title[data-reveal] { --rule: 0; }
.js .sec-title[data-reveal].in { --rule: 1; }
html[lang="ar"] .sec-title { text-transform: none; letter-spacing: 0; line-height: 1.4; }
.sec-title--center { text-align: center; }
.sec-title--center::after { inset-inline-start: calc(50% - min(110px, 30%)); transform-origin: center; }
.sec-head { margin-bottom: 46px; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-intro { margin-inline: auto; }
.sec-intro { max-width: 640px; margin-bottom: 0; font-size: 1.06rem; color: var(--muted); }
.sec-foot { margin-top: 54px; text-align: center; }

/* ---------- Reveal animations ---------- */
.js [data-reveal]:not(.sec-title):not([data-reveal="curtain"]) { opacity: 0; transform: translateY(34px); transition: opacity .95s var(--ease-out), transform .95s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none !important; }
.js [data-reveal].in:not(.sec-title) { opacity: 1; transform: none; }
.js .sec-title[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .sec-title[data-reveal].in { opacity: 1; transform: none; }
.js [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js [data-words] .wi { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 85ms + .15s); }
.js [data-words].in .wi { transform: none; }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s var(--ease) var(--dd, .25s); }
.js .in .draw, .js .draw.in { stroke-dashoffset: 0; }
.js .lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease) calc(var(--i) * 70ms); }
.js .lines.in path { stroke-dashoffset: 0; }

/* ---------- Image shapes ---------- */
.shape { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.shape img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.shape--obelisk { clip-path: polygon(50% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); }
.shape--leaf { border-radius: 0 90px 0 90px; }
[dir="rtl"] .shape--leaf { border-radius: 90px 0 90px 0; }
.shape--slant { clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); transition: clip-path .7s var(--ease); }
[dir="rtl"] .shape--slant { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%); }
.shape--diag { clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
[dir="rtl"] .shape--diag { clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%); }
.shape--chamfer { clip-path: polygon(56px 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%, 0 56px); }
.shape--arch { border-radius: 999px 999px 0 0; }
.shape--circle { aspect-ratio: 1; border-radius: 50%; }
.js .shape[data-reveal="curtain"]::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--gold-2) 0, var(--gold-3) 4px, var(--ink) 4px); transform-origin: var(--end); transition: transform 1.2s var(--ease) var(--d, 0s); }
[dir="rtl"].js .shape[data-reveal="curtain"]::after, .js [dir="rtl"] .shape[data-reveal="curtain"]::after { background: linear-gradient(270deg, var(--gold-2) 0, var(--gold-3) 4px, var(--ink) 4px); }
.js .shape[data-reveal="curtain"].in::after { transform: scaleX(0); }
.js .shape[data-reveal="curtain"] img { transform: scale(1.22); }
.js .shape[data-reveal="curtain"].in img { transform: scale(1); }
.crescents { display: block; overflow: visible; transform: rotate(var(--spin, 0deg)); }

/* ---------- Hero ---------- */
.hero { --hm: 0px; position: relative; display: flex; align-items: center; min-height: clamp(620px, 88vh, 880px); overflow: hidden; color: #fff; background: var(--ink); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__parallax { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide--flip { transform: scaleX(-1); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.hero__slide.is-active .hero__img { animation: kenburns 9s var(--ease-out) both; }
@keyframes kenburns { from { transform: scale(1.16); } to { transform: scale(1.02); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 27, 28, .5), transparent 34%); }
.hero__panel { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--ink); clip-path: polygon(0 0, 48% 0, 64% 100%, 0 100%); }
[dir="rtl"] .hero__panel { clip-path: polygon(100% 0, 52% 0, 36% 100%, 100% 100%); }
.hero__crescents { position: absolute; inset-inline-start: -150px; bottom: -230px; width: min(620px, 52vw); opacity: .13; }
.hero__line { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
[dir="rtl"] .hero__line { transform: scaleX(-1); }
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__content { max-width: min(600px, 46vw); padding: 100px 0 170px; }
.hero__title { margin-bottom: 26px; font-size: clamp(2.6rem, 4.7vw, 4.5rem); font-weight: 300; line-height: 1.06; letter-spacing: .005em; text-transform: uppercase; color: #fff; }
html[lang="ar"] .hero__title { font-size: clamp(2.4rem, 4.4vw, 4.1rem); line-height: 1.4; text-transform: none; }
.hero__light { display: block; font-weight: 300; }
.hero__strong { display: block; font-weight: 700; }
.hero__strong, .hero__strong .wi { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s ease-in-out infinite alternate; }
.js .hero__strong { background: none; animation: none; }
@keyframes sheen { from { background-position: 0 0; } to { background-position: 100% 0; } }
.hero__text { max-width: 520px; margin-bottom: 36px; font-size: 1.1rem; color: #ddd5ce; --d: .6s; }
.hero__btns { --d: .8s; }
.hero__dots { position: absolute; z-index: 4; inset-inline-end: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 118px; display: flex; gap: 10px; }
.hero__dot { position: relative; width: 48px; height: 3px; padding: 0; overflow: hidden; background: rgba(255, 255, 255, .35); border: 0; cursor: pointer; }
.hero__dot::before { content: ""; position: absolute; inset: -10px 0; }
.hero__dot span { position: absolute; inset: 0; background: var(--gold-3); transform: scaleX(0); transform-origin: var(--start); }
.hero__dot.is-active span { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* Service shortcuts under the hero (profile service cards) */
.quick { position: relative; z-index: 5; margin-top: -84px; }
.quick__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.quick__grid > li { display: flex; }
.quick__item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; padding: 42px 14px 20px; text-align: center; color: var(--brown); background: #fff; border: 1px solid #ddcab7; border-radius: 14px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s, background .45s, border-color .45s, color .45s; }
.quick__icon { position: absolute; top: -30px; left: 50%; display: grid; place-items: center; width: 60px; height: 60px; color: #fff; background: var(--bronze); border: 4px solid #fff; border-radius: 50%; transform: translateX(-50%); transition: background .45s, color .45s, transform .6s var(--ease); }
.quick__icon .ico { width: 24px; height: 24px; }
.quick__label { flex: 1; font-size: .93rem; font-weight: 600; line-height: 1.35; }
.quick__arrow { display: grid; place-items: center; width: 30px; height: 30px; color: var(--bronze); border: 1px solid #e3d3c2; border-radius: 50%; transition: transform .4s var(--ease), color .4s, border-color .4s; }
.quick__arrow .ico { width: 14px; height: 14px; }
[dir="rtl"] .quick__arrow .ico { transform: scaleX(-1); }
.quick__item:hover { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.quick__item:hover .quick__icon { color: var(--ink-2); background: var(--gold-fill); transform: translateX(-50%) rotate(-8deg) scale(1.06); }
.quick__item:hover .quick__icon .ico { animation: iconPop .7s var(--ease); }
.quick__item:hover .quick__arrow { color: var(--gold-3); border-color: rgba(242, 205, 124, .5); transform: translateX(calc(4px * var(--dir))); }
@keyframes iconPop { 0% { transform: scale(1); } 45% { transform: scale(1.2) rotate(-8deg); } 100% { transform: scale(1); } }

/* ---------- About (home) ---------- */
.about-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.1; margin-inline: auto; }
.about-media__crescents { position: absolute; z-index: 0; left: 2%; width: 96%; top: 12%; }
.about-media__main { position: absolute; z-index: 1; top: 0; bottom: 3%; left: 27%; right: 27%; box-shadow: var(--shadow-lg); }
.about-media__team { position: absolute; z-index: 2; bottom: 2%; inset-inline-start: 0; width: 36%; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.about-media__badge { position: absolute; z-index: 3; top: 22%; inset-inline-end: 0; padding: 16px 18px; text-align: center; color: #fff; background: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); --d: .5s; }
.about-media__badge strong { display: block; font-size: 1.7rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-media__badge span { font-size: .8rem; letter-spacing: .05em; color: #d8d0ca; white-space: nowrap; }
.checks { display: grid; gap: 12px; margin: 26px 0 34px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.checks__ico { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 2px; background: var(--cream); border: 1px solid #ead8c2; border-radius: 50%; }
.checks__ico svg { width: 15px; height: 15px; fill: none; stroke: var(--bronze); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.checks li .draw { --dd: .45s; }

/* ---------- Numbers ---------- */
.stats { position: relative; overflow: hidden; padding: 66px 0; color: #fff; background: var(--ink); }
.stats__lines { position: absolute; bottom: 0; inset-inline-end: -40px; width: 560px; height: 230px; opacity: .45; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 12px; text-align: center; border-inline-start: 1px solid rgba(242, 205, 124, .18); }
.stat:first-child { border: 0; }
.stat__num { display: block; font-size: clamp(2.7rem, 4.6vw, 4rem); font-weight: 300; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num em { font-style: normal; }
.stat__label { display: block; margin-top: 12px; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: #d8d0ca; }
html[lang="ar"] .stat__label { font-size: 1rem; letter-spacing: 0; }

/* ---------- Service division cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.svc-card__link { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.svc-card__link::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: var(--start); transition: transform .6s var(--ease); }
.svc-card__media { aspect-ratio: 16 / 11; }
.svc-card__icon { position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; margin: -40px 0 0; margin-inline-start: 26px; color: #fff; background: var(--bronze); border: 4px solid #fff; border-radius: 50%; transition: background .45s, color .45s, transform .6s var(--ease); }
.svc-card__icon .ico { width: 26px; height: 26px; }
.svc-card__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 14px 28px 30px; }
.svc-card__num { position: absolute; top: -34px; inset-inline-end: 24px; font-size: 3.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px #dfcdb8; }
.svc-card__title { margin-bottom: 10px; font-size: 1.24rem; }
.svc-card p { flex: 1; font-size: .98rem; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bronze); }
html[lang="ar"] .more { font-size: .95rem; letter-spacing: 0; }
.more .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
[dir="rtl"] .more .ico { transform: scaleX(-1); }
.svc-card__link:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.svc-card__link:hover::after { transform: scaleX(1); }
.svc-card__link:hover .shape--slant { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); }
[dir="rtl"] .svc-card__link:hover .shape--slant { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.svc-card__link:hover img { transform: scale(1.08); }
.svc-card__link:hover .svc-card__icon { color: var(--ink-2); background: var(--gold-fill); transform: rotate(-10deg); }
.svc-card__link:hover .more .ico { transform: translateX(calc(5px * var(--dir))); }
[dir="rtl"] .svc-card__link:hover .more .ico { transform: scaleX(-1) translateX(5px); }

/* ---------- Ticker ---------- */
.marquee { display: flex; overflow: hidden; padding: 26px 0; background: var(--cream); border-block: 1px solid var(--line); }
.marquee__track { display: flex; flex: none; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.3; white-space: nowrap; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--gold-1); }
.marquee__list li:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; }
html[lang="ar"] .marquee__list li { color: var(--ink); -webkit-text-stroke: 0; text-transform: none; }
html[lang="ar"] .marquee__list li:nth-child(even) { color: var(--gold-1); }
.obelisk-mark { flex: none; width: 30px; height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__list { display: grid; gap: 26px; margin-top: 8px; }
.why__item { display: flex; gap: 20px; }
.why__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; color: var(--bronze); background: var(--cream); border: 1px solid #ecdcc8; border-radius: 50%; transition: background .4s, color .4s, transform .6s var(--ease); }
.why__icon .ico { width: 25px; height: 25px; }
.why__item:hover .why__icon { color: var(--gold-3); background: var(--ink); transform: rotate(-10deg); }
.why__item h3 { margin-bottom: 6px; font-size: 1.15rem; }
.why__item p { margin: 0; font-size: .98rem; color: var(--muted); }
.why__media { position: relative; max-width: 500px; width: 100%; margin-inline: auto; }
.why__img { aspect-ratio: 4 / 5; }
.why__frame { position: absolute; inset: 0; background: var(--grad); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); transform: translate(22px, 22px); }
[dir="rtl"] .why__frame { clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%); transform: translate(-22px, 22px); }
.why__lines { position: absolute; z-index: -1; bottom: -46px; inset-inline-start: -16%; width: 72%; height: 150px; opacity: .7; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters--wide { margin-bottom: 40px; }
.filter { padding: 10px 20px; font-size: .9rem; font-weight: 500; color: var(--ink); background: transparent; border: 1px solid #dccbb8; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; }
[data-filter-grid] > .is-hiding { opacity: 0 !important; transform: scale(.96) !important; transition: opacity .35s, transform .35s !important; }
[data-filter-grid] > .is-hidden { display: none; }
.proj-card__link { display: block; color: inherit; }
.proj-card__media { aspect-ratio: 4 / 3; }
.proj-card__badge { position: absolute; z-index: 3; top: 18px; inset-inline-start: 18px; padding: 6px 14px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
html[lang="ar"] .proj-card__badge { font-size: .85rem; letter-spacing: 0; }
.is-ongoing.proj-card__badge, .banner__badge.is-ongoing { color: var(--ink-2); background: var(--gold-fill); }
.is-completed.proj-card__badge { color: #fff; background: var(--ink); }
.proj-card__view { position: absolute; z-index: 3; inset: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px; font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(0deg, rgba(31, 27, 28, .85), transparent); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .45s var(--ease); }
.proj-card__view .ico { width: 16px; height: 16px; color: var(--gold-3); }
[dir="rtl"] .proj-card__view .ico { transform: scaleX(-1); }
.proj-card__link:hover .proj-card__view { opacity: 1; transform: none; }
.proj-card__link:hover img { transform: scale(1.08); }
.proj-card__body { padding: 20px 6px 0; }
.proj-card__title { margin-bottom: 8px; font-size: 1.3rem; transition: color .3s; }
.proj-card__link:hover .proj-card__title { color: var(--bronze); }
.proj-card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--muted); }
.proj-card__meta li { display: flex; align-items: center; gap: 6px; }
.proj-card__meta .ico { color: var(--gold-1); }

/* ---------- Vision / mission / quality ---------- */
.vmq { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 120px) 0; background: #fff; }
.vmq__lines { position: absolute; top: 0; inset-inline-end: 0; width: 460px; height: 210px; opacity: .55; transform: scaleY(-1); }
.vmq__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; }
.vmq__item { position: relative; padding: 40px 34px; }
.vmq__item--dark { margin-block: -40px; padding: 70px 76px; text-align: center; color: #e4ddd6; background: var(--ink); clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%); }
[dir="rtl"] .vmq__item--dark { clip-path: polygon(0 0, 87% 0, 100% 100%, 13% 100%); }
.vmq__item--dark::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 3px; }
.vmq__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; color: var(--gold-1); }
.vmq__icon .ico { width: 42px; height: 42px; stroke-width: 1.3; }
.vmq__item--dark .vmq__icon { color: var(--gold-3); }
.vmq__title { margin-bottom: 22px; font-size: 2.5rem; font-weight: 300; line-height: 1.05; text-transform: uppercase; }
.vmq__title span { display: block; font-weight: 300; }
.vmq__title strong { display: block; font-weight: 700; }
html[lang="ar"] .vmq__title { font-size: 2.2rem; line-height: 1.4; text-transform: none; }
.vmq__item--dark .vmq__title { color: #fff; }
.vmq__item p { margin: 0; font-size: 1rem; line-height: 1.8; }

/* ---------- Certificates strip ---------- */
.badges-sec { background: var(--cream); }
.badges-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 14px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .4s, transform .45s var(--ease); }
.badge:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.badge__seal { position: relative; display: grid; place-items: center; align-content: center; width: 94px; height: 94px; color: #fff; background: var(--ink); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 6px var(--gold-2); }
.badge__seal::after { content: ""; position: absolute; inset: -7px; border: 1px dashed var(--gold-2); border-radius: 50%; animation: spin 24s linear infinite; }
.badge__seal strong { font-size: 1.25rem; line-height: 1; letter-spacing: .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge__seal span { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.badge__seal--ico .ico { width: 36px; height: 36px; color: var(--gold-3); }
.badge__text { font-size: .9rem; font-weight: 500; line-height: 1.45; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Call to action ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(74px, 9vw, 124px) 0; color: #fff; background: var(--ink-2); }
.cta__media { position: absolute; inset: -18% 0; }
.cta__img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(31, 27, 28, .96) 25%, rgba(31, 27, 28, .55)); }
[dir="rtl"] .cta::before { background: linear-gradient(270deg, rgba(31, 27, 28, .96) 25%, rgba(31, 27, 28, .55)); }
.cta__lines { position: absolute; z-index: 1; bottom: 0; inset-inline-end: 0; width: 540px; height: 240px; opacity: .6; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px 50px; }
.cta__title { margin-bottom: 12px; font-size: clamp(2rem, 3.6vw, 3rem); color: #fff; }
.cta p { max-width: 560px; margin: 0; color: #d8d0ca; }

/* ---------- Contact blocks ---------- */
.contact-sec__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; margin: 24px 0 30px; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list__ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; color: var(--bronze); background: var(--cream); border-radius: 50%; }
.contact-list__ico .ico { width: 20px; height: 20px; }
.contact-list strong { display: block; margin-bottom: 2px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .contact-list strong { font-size: .9rem; letter-spacing: 0; }
.contact-list a, .contact-list div > span { display: block; font-weight: 500; color: var(--ink); }
[dir="rtl"] .contact-list a[dir="ltr"] { text-align: right; }
.contact-list a:hover { color: var(--bronze); }
.contact-list small { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); }
.contact-list small span { display: inline; font-weight: 600; color: var(--ink); }
.form-card { position: relative; padding: clamp(26px, 4vw, 46px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.form-card::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 4px; background: var(--grad); border-radius: 18px 18px 0 0; }

/* ---------- Forms ---------- */
.go-form { scroll-margin-top: 130px; }
.go-form__title { margin-bottom: 22px; font-size: 1.4rem; }
.go-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--bronze); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; font-size: 1rem; color: var(--ink); background: #fdfbf8; border: 1px solid #ddd0c1; border-radius: 8px; transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--gold-1); box-shadow: 0 0 0 4px rgba(211, 155, 85, .17); }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23995c36' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
[dir="rtl"] .field select { background-position: left 15px center; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.file-drop { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; padding: 15px 16px; background: #fdfbf8; border: 1.5px dashed #d6c3ad; border-radius: 10px; cursor: pointer; transition: border-color .25s, background .25s; }
.file-drop:hover, .file-drop.has-file { background: #fff; border-color: var(--gold-1); }
.file-drop__ico { display: grid; grid-row: span 2; place-items: center; width: 44px; height: 44px; color: var(--bronze); background: var(--cream); border-radius: 50%; }
.file-drop__text { font-weight: 600; color: var(--ink); word-break: break-all; }
.file-drop small { font-size: .82rem; color: var(--muted); }
.file-drop input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.go-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.go-form__privacy { margin: 0; font-size: .85rem; color: var(--muted); }
.go-form button[disabled] { opacity: .7; cursor: wait; }
.form-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 14px 16px; font-weight: 500; border-radius: 10px; }
.form-notice .ico { width: 22px; height: 22px; }
.form-notice.is-ok { color: #1f6a35; background: #ecf6ee; border: 1px solid #bfe0c7; }
.form-notice.is-err { color: #8f2b2b; background: #fbeeee; border: 1px solid #efc9c9; }

/* ---------- Inner page banner ---------- */
.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 52vh, 540px); overflow: hidden; color: #fff; background: var(--ink-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%); }
[dir="rtl"] .banner { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 46px)); }
.banner__media { position: absolute; inset: 0; }
.banner__img { width: 100%; height: 100%; object-fit: cover; animation: bannerZoom 12s var(--ease-out) both; }
@keyframes bannerZoom { from { transform: scale(1.16); } to { transform: scale(1); } }
.banner__media::after { content: ""; position: absolute; inset: 0; background: rgba(31, 27, 28, .38); }
.banner--photo .banner__media::after { background: linear-gradient(0deg, rgba(31, 27, 28, .55), rgba(31, 27, 28, .15)); }
.banner__panel { position: absolute; inset: 0; background: rgba(43, 39, 40, .9); clip-path: polygon(0 0, 66% 0, 52% 100%, 0 100%); }
[dir="rtl"] .banner__panel { clip-path: polygon(100% 0, 34% 0, 48% 100%, 100% 100%); }
.banner__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
[dir="rtl"] .banner__line { transform: scaleX(-1); }
.banner__inner { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 100px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .88rem; color: #c3bab3; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold-3); }
.crumbs__sep { color: var(--gold-2); }
.banner__num { display: block; margin-bottom: 6px; font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner__title { max-width: 700px; margin-bottom: 14px; font-size: clamp(2.2rem, 4.2vw, 3.5rem); font-weight: 700; line-height: 1.1; text-transform: uppercase; color: #fff; }
html[lang="ar"] .banner__title { line-height: 1.4; text-transform: none; }
.banner__title--long { max-width: 640px; font-size: clamp(1.9rem, 3.1vw, 2.75rem); }
.banner__sub { max-width: 560px; margin: 0; font-size: 1.15rem; color: #e0d8d1; }
.banner__badge { display: inline-block; margin-top: 18px; padding: 6px 16px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
.banner__badge.is-completed { color: var(--ink); background: #fff; }

/* ---------- Two-column blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; isolation: isolate; }
.split__img { aspect-ratio: 5 / 4; }
.split__tag { position: absolute; z-index: 3; bottom: -22px; inset-inline-end: 24px; display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-weight: 600; color: #fff; background: var(--ink); border-radius: 10px; box-shadow: var(--shadow-lg); --d: .4s; }
.split__tag .ico { width: 24px; height: 24px; color: var(--gold-3); }
.split__lines { position: absolute; z-index: -1; bottom: -50px; inset-inline-start: -30px; width: 62%; height: 150px; opacity: .7; }
.arch-media { position: relative; width: 100%; max-width: 480px; margin-inline: auto; padding-bottom: 40px; }
.arch-media__crescents { position: absolute; z-index: -1; top: 4%; inset-inline-end: -8%; width: 92%; }
.arch-media__main { width: 76%; aspect-ratio: 3 / 4; margin-inline-start: auto; box-shadow: var(--shadow-lg); }
.arch-media__small { position: absolute; z-index: 2; bottom: 0; inset-inline-start: 0; width: 42%; border: 6px solid #fff; box-shadow: var(--shadow-lg); }

/* ---------- About page: values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { position: relative; overflow: hidden; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .45s, border-color .45s, transform .45s var(--ease); }
.value::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: var(--start); transition: transform .55s var(--ease); }
.value:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.value:hover::before { transform: scaleX(1); }
.value__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; color: #fff; background: var(--bronze); border-radius: 50%; transition: background .4s, color .4s, transform .6s var(--ease); }
.value__icon .ico { width: 25px; height: 25px; }
.value:hover .value__icon { color: var(--ink-2); background: var(--gold-fill); transform: rotate(-10deg); }
.value__title { margin-bottom: 8px; font-size: 1.12rem; letter-spacing: .05em; text-transform: uppercase; }
html[lang="ar"] .value__title { letter-spacing: 0; }
.value p { margin: 0; font-size: .97rem; color: var(--muted); }

/* ---------- Services page ---------- */
.div-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.div-row:last-child { border: 0; padding-bottom: 0; }
.div-row--reverse .div-row__media { order: 2; }
.div-row__media { position: relative; }
.div-row__img { aspect-ratio: 4 / 3; }
.div-row__img.shape--arch { width: 76%; max-width: 420px; aspect-ratio: 3 / 4; margin-inline: auto; }
.div-row__num { position: absolute; z-index: 3; top: -62px; inset-inline-start: -8px; font-size: 6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-2); pointer-events: none; }
.div-row__icon, .div-intro__icon { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 16px; color: #fff; background: var(--bronze); border-radius: 50%; }
.div-row__icon .ico, .div-intro__icon .ico { width: 26px; height: 26px; }
.div-row__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.div-row__tag, .sub-tag { margin-bottom: 12px; font-style: italic; font-weight: 500; color: var(--gold-1); }
html[lang="ar"] .div-row__tag, html[lang="ar"] .sub-tag { font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.chips li { padding: 7px 14px; font-size: .85rem; color: var(--brown); background: var(--cream); border: 1px solid #ecdfcf; border-radius: 999px; }

/* ---------- Division page ---------- */
.div-intro__img { width: 100%; max-width: 430px; aspect-ratio: 4 / 5; margin-inline: auto; box-shadow: var(--shadow-lg); }
.div-intro__crescents { position: absolute; z-index: -1; left: 50%; top: 12%; width: min(560px, 118%); transform: translateX(-50%) rotate(var(--spin, 0deg)); }
.sub-rows { display: grid; gap: 74px; }
.sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.sub-row--reverse .sub-row__img { order: 2; }
.sub-row__img { aspect-ratio: 4 / 3; }
.sub-row__num { display: block; margin-bottom: 10px; font-size: 3rem; font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-row h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sub-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sub-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .45s, transform .45s var(--ease); }
.sub-card__img { aspect-ratio: 4 / 3; }
.sub-card__body { padding: 20px 22px 26px; }
.sub-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.sub-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.sub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.sub-card:hover img { transform: scale(1.07); }
.sub-card:hover .shape--slant { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%); }
.sub-panel { grid-column: 1 / -1; padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.sub-panel__head { display: flex; align-items: center; gap: 30px; margin-bottom: 28px; }
.sub-panel__img { flex: 0 0 260px; aspect-ratio: 4 / 3; }
.sub-panel__head h3 { font-size: 1.6rem; }
.sub-panel__head p:last-child { margin: 0; color: var(--muted); }
.sub-panel__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sub-panel__list--3 { grid-template-columns: repeat(3, 1fr); }
.sub-panel__list--5 { grid-template-columns: repeat(5, 1fr); }
.sub-panel__list li { padding: 20px 18px 18px; color: #f6ebe2; background: var(--bronze); border-radius: 14px; transition: background .4s, transform .45s var(--ease); }
.sub-panel__list li:hover { background: var(--ink); transform: translateY(-4px); }
.sub-panel__n { display: block; margin-bottom: 8px; font-size: .8rem; font-weight: 700; color: var(--gold-3); }
.sub-panel__list h4 { margin-bottom: 6px; font-size: 1rem; color: #fff; }
.sub-panel__list p { margin: 0; font-size: .88rem; line-height: 1.6; color: #efdccd; }
.other-divs__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other-divs__list a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 24px 20px; color: #fff; border: 1px solid rgba(242, 205, 124, .2); border-radius: 14px; transition: background .4s, border-color .4s, transform .45s var(--ease); }
.other-divs__list a:hover { background: rgba(255, 255, 255, .04); border-color: var(--gold-2); transform: translateY(-6px); }
.other-divs__num { font-size: .85rem; font-weight: 700; color: var(--gold-3); }
.other-divs__icon { display: grid; place-items: center; width: 52px; height: 52px; color: #fff; background: var(--bronze); border-radius: 50%; transition: background .4s, color .4s; }
.other-divs__list a:hover .other-divs__icon { color: var(--ink-2); background: var(--gold-fill); }
.other-divs__title { flex: 1; font-weight: 600; line-height: 1.4; }
.other-divs__arrow { color: var(--gold-3); }
[dir="rtl"] .other-divs__arrow .ico { transform: scaleX(-1); }

/* ---------- Certificates page ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cert-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .45s, transform .45s var(--ease); }
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.cert-card__doc { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3.5; padding: 22px; overflow: hidden; background: linear-gradient(160deg, var(--cream), var(--sand)); }
.cert-card__doc img { flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 12px 26px rgba(43, 39, 40, .2); transition: transform .6s var(--ease); }
.cert-card:hover .cert-card__doc img { transform: translateY(-6px) rotate(-1.5deg) scale(1.03); }
.cert-card__zoom { position: absolute; bottom: 14px; inset-inline-end: 14px; display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: .8rem; font-weight: 600; color: #fff; background: var(--ink); border-radius: 999px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .4s var(--ease); }
.cert-card__zoom .ico { width: 15px; height: 15px; color: var(--gold-3); }
.cert-card:hover .cert-card__zoom, .cert-card__doc:focus-visible .cert-card__zoom { opacity: 1; transform: none; }
.cert-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px; }
.cert-card__group { margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-1); }
html[lang="ar"] .cert-card__group { font-size: .85rem; letter-spacing: 0; }
.cert-card__title { margin-bottom: 6px; font-size: 1.1rem; }
.cert-card__note { margin-bottom: 14px; font-size: .92rem; color: var(--muted); }
.cert-card__meta { display: grid; gap: 6px; margin: auto 0 0; padding-top: 12px; font-size: .86rem; border-top: 1px solid var(--line); }
.cert-card__meta div { display: flex; align-items: baseline; gap: 8px; }
.cert-card__meta dt { font-weight: 500; color: var(--muted); }
.cert-card__meta dd { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; color: var(--ink); }
.cert-card__meta .ico { color: var(--gold-1); }

/* ---------- Contact page ---------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.info-card { padding: 32px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .45s, transform .45s var(--ease); }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.info-card__icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; color: #fff; background: var(--bronze); border-radius: 50%; transition: transform .6s var(--ease); }
.info-card__icon .ico { width: 26px; height: 26px; }
.info-card__icon--wa { background: #25d366; }
.info-card:hover .info-card__icon { transform: rotate(-10deg) scale(1.05); }
.info-card h2 { margin-bottom: 10px; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; }
html[lang="ar"] .info-card h2 { font-size: 1.1rem; letter-spacing: 0; }
.info-card a { display: block; font-weight: 500; color: var(--ink); }
.info-card a:hover { color: var(--bronze); }
.info-card p { margin: 0; color: var(--ink); }
.info-card small { display: block; margin-top: 6px; color: var(--muted); }
.contact-page__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.map-card { position: relative; min-height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) contrast(1.05); }
.map-card__link { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: .85rem; font-weight: 600; color: #fff; background: var(--ink); border-radius: 999px; }
.map-card__link:hover { color: var(--ink-2); background: var(--gold-solid); }

/* ---------- Quote page ---------- */
.quote-page__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.steps { display: grid; margin: 6px 0 34px; }
.step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step__num { display: grid; place-items: center; flex: none; width: 52px; height: 52px; font-weight: 700; color: var(--gold-3); background: var(--ink); border-radius: 50%; }
.step h3 { margin-bottom: 4px; font-size: 1.1rem; }
.step p { margin: 0; font-size: .96rem; color: var(--muted); }
.side-box { padding: 26px; background: var(--cream); border: 1px solid #efe2d1; border-radius: 16px; }
.side-box__title { margin-bottom: 4px; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.contact-list--compact { margin: 4px 0 20px; }
.contact-list--compact li { padding: 11px 0; }
.contact-list--compact .contact-list__ico { width: 40px; height: 40px; background: #fff; }

/* ---------- Project page ---------- */
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 50px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.project-facts > div { padding: 22px 24px; border-inline-start: 1px solid var(--line); }
.project-facts > div:first-child { border: 0; }
.project-facts dt { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .project-facts dt { font-size: .9rem; letter-spacing: 0; }
.project-facts dt .ico { color: var(--gold-1); }
.project-facts dd { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.project-facts dd a { color: var(--bronze); }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-inline-end: 8px; vertical-align: middle; border-radius: 50%; }
.status-dot.is-ongoing { background: var(--gold-2); animation: pulse 2s infinite; }
.status-dot.is-completed { background: #3a8a55; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(211, 155, 85, .6); } 70% { box-shadow: 0 0 0 10px rgba(211, 155, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(211, 155, 85, 0); } }
.project-text { max-width: 820px; margin-bottom: 64px; font-size: 1.1rem; }
.gallery-head { margin-bottom: 28px; }
.gallery-head__count { font-weight: 500; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery__item { position: relative; display: block; overflow: hidden; background: var(--sand); border-radius: 14px; }
.gallery__item--lead { grid-column: span 2; grid-row: span 2; border-radius: 0 80px 0 80px; }
[dir="rtl"] .gallery__item--lead { border-radius: 80px 0 80px 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__zoom { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(31, 27, 28, .45); opacity: 0; transition: opacity .35s; }
.gallery__zoom .ico { width: 34px; height: 34px; }
.gallery__item:hover .gallery__zoom { opacity: 1; }
.project-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line); }
.project-nav__link { display: flex; align-items: center; gap: 14px; max-width: 48%; font-weight: 600; color: var(--ink); }
.project-nav__link small { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .project-nav__link small { font-size: .85rem; letter-spacing: 0; }
.project-nav__link .ico { width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s, color .3s; }
.project-nav__link--prev .ico { transform: scaleX(-1); }
[dir="rtl"] .project-nav__link--prev .ico { transform: none; }
[dir="rtl"] .project-nav__link--next .ico { transform: scaleX(-1); }
.project-nav__link--next { margin-inline-start: auto; text-align: end; }
.project-nav__link:hover { color: var(--bronze); }
.project-nav__link:hover .ico { color: var(--gold-3); background: var(--ink); border-color: var(--ink); }

/* ---------- 404 ---------- */
.lost { position: relative; display: flex; align-items: center; min-height: 76vh; overflow: hidden; color: #fff; background: var(--ink-2); }
.lost__media { position: absolute; inset: 0; }
.lost__img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.lost__crescents { position: absolute; top: 50%; inset-inline-end: -120px; width: 620px; opacity: .14; transform: translateY(-50%); }
.lost__inner { position: relative; z-index: 2; padding-block: 100px; }
.lost__code { margin: 0; font-size: clamp(5rem, 14vw, 10rem); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost__title { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.lost__text { max-width: 560px; color: #ddd5ce; }
.lost__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; color: #bdb3ac; background: var(--ink-2); }
.site-footer__crescents { position: absolute; top: -130px; inset-inline-end: -170px; width: 560px; opacity: .06; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.25fr; gap: 44px; padding-top: 84px; padding-bottom: 60px; }
.logo--footer .logo__stacked { width: 210px; height: auto; }
.logo--footer .logo__custom { max-height: 110px; }
.site-footer__about p { margin: 22px 0 20px; font-size: .96rem; line-height: 1.8; }
.site-footer__title { position: relative; margin-bottom: 22px; padding-bottom: 12px; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
html[lang="ar"] .site-footer__title { font-size: 1.08rem; letter-spacing: 0; }
.site-footer__title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 2px; background: var(--grad); }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { display: inline-block; color: #bdb3ac; transition: color .3s, transform .3s var(--ease); }
.site-footer__links a:hover { color: var(--gold-3); transform: translateX(calc(5px * var(--dir))); }
.contact-list--footer { margin: 0; }
.contact-list--footer li { gap: 14px; padding: 12px 0; border-color: rgba(255, 255, 255, .08); }
.contact-list--footer .contact-list__ico { width: 40px; height: 40px; color: var(--gold-3); background: rgba(255, 255, 255, .06); }
.contact-list--footer strong { color: #8f8580; }
.contact-list--footer a, .contact-list--footer div > span, .contact-list--footer small span { color: #e4dcd5; }
.contact-list--footer a:hover { color: var(--gold-3); }
.contact-list--footer small { color: #8f8580; }
.site-footer__bottom { position: relative; padding: 20px 0; font-size: .88rem; background: var(--ink-3); border-top: 1px solid rgba(255, 255, 255, .07); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; }
.site-footer__bottom p { margin: 0; }
.site-footer__reg { display: inline-flex; flex-wrap: wrap; gap: 2px 16px; margin-inline-start: 12px; color: #8f8580; }
.credit a { font-weight: 600; color: var(--gold-3); }
.credit a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--gold-3); border: 1px solid rgba(242, 205, 124, .3); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.social a:hover { color: var(--ink-2); background: var(--gold-solid); border-color: transparent; }
.social--top a { width: 28px; height: 28px; border: 0; }

/* ---------- WhatsApp button (lifted by the script so it never covers the footer credit) ---------- */
.wa-float { position: fixed; z-index: 50; bottom: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: #25d366; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .3s var(--ease), background .3s, opacity .3s, visibility 0s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border: 2px solid #25d366; border-radius: 50%; animation: waPulse 2.6s var(--ease-out) infinite; }
.wa-float:hover { color: #fff; background: #1fbf5b; transform: scale(1.07); }
.wa-float .ico { width: 30px; height: 30px; }
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
body.nav-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.4); transition: transform .3s var(--ease), opacity .25s, visibility 0s .3s; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 70px 80px; background: rgba(23, 20, 21, .95); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox__img { width: auto; height: auto; max-width: min(1300px, 100%); max-height: calc(100vh - 170px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.96); transition: opacity .35s, transform .45s var(--ease); }
.lightbox__img.is-in { opacity: 1; transform: none; }
.lightbox__cap { display: flex; gap: 14px; margin-top: 16px; font-size: .95rem; color: #d8d0ca; }
.lightbox__count { color: var(--gold-3); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; color: #fff; background: rgba(57, 53, 54, .7); border: 1px solid rgba(242, 205, 124, .4); border-radius: 50%; cursor: pointer; transition: background .3s, color .3s; }
.lightbox__btn:hover { color: var(--ink-2); background: var(--gold-solid); }
.lightbox__btn .ico { width: 24px; height: 24px; }
.lightbox__close { top: 20px; inset-inline-end: 20px; }
.lightbox__prev { top: 50%; inset-inline-start: 18px; transform: translateY(-50%); }
.lightbox__next { top: 50%; inset-inline-end: 18px; transform: translateY(-50%); }
[dir="rtl"] .lightbox__prev .ico, [dir="rtl"] .lightbox__next .ico { transform: scaleX(-1); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next, .lightbox.is-single .lightbox__count { display: none; }
body.lb-open { overflow: hidden; }

/* ---------- Generic posts ---------- */
.post-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.4rem; }
.post-item__date { font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.main-nav .menu > li > a { padding-inline: 10px; }
	.main-nav .menu > li > a::after { inset-inline: 10px; }
	.logo__word { width: 176px; }
	.quick__grid { grid-template-columns: repeat(3, 1fr); }
	.badges { grid-template-columns: repeat(3, 1fr); }
	.sub-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.cert-grid { grid-template-columns: repeat(3, 1fr); }
	.other-divs__list { grid-template-columns: repeat(3, 1fr); }
	.sub-panel__list, .sub-panel__list--3, .sub-panel__list--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
	:root { --header-h: 80px; }
	.main-nav, .header-cta { display: none; }
	.nav-toggle, .lang-switch--bar { display: inline-flex; }
	.site-header__actions { margin-inline-start: auto; }
	.logo__emblem { height: 52px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.admin-bar .site-header { top: 46px; }
	.hero { --hm: min(52vh, 420px); display: block; min-height: 0; padding-top: var(--hm); }
	.hero__media { bottom: auto; height: calc(var(--hm) + 44px); }
	.hero__slide--low { top: -90px; } /* the subject sits low in this photo */
	.hero__panel { inset: calc(var(--hm) - 44px) 0 0 0; clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%); }
	[dir="rtl"] .hero__panel { clip-path: polygon(0 0, 100% 44px, 100% 100%, 0 100%); }
	.hero__line { display: none; }
	.hero__crescents { bottom: -160px; width: 420px; }
	.hero__content { max-width: none; padding: 28px 0 130px; }
	.hero__dots { top: calc(var(--hm) - 52px); bottom: auto; }
	.about-intro__grid, .why__grid, .split, .contact-sec__grid, .div-row, .sub-row, .quote-page__grid, .contact-page__grid { grid-template-columns: 1fr; }
	.split--reverse .split__media, .div-row--reverse .div-row__media, .sub-row--reverse .sub-row__img { order: 0; }
	.about-media { max-width: 460px; }
	.why__media { max-width: 440px; }
	.svc-grid, .proj-grid, .values, .sub-grid { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
	.stat:nth-child(3) { border: 0; }
	.vmq__grid { grid-template-columns: 1fr; }
	.vmq__item { padding: 34px 6px; text-align: center; }
	.vmq__item--dark { margin: 10px -24px; padding: 70px 34px; clip-path: polygon(0 34px, 100% 0, 100% calc(100% - 34px), 0 100%); }
	[dir="rtl"] .vmq__item--dark { clip-path: polygon(0 0, 100% 34px, 100% 100%, 0 calc(100% - 34px)); }
	.info-cards { grid-template-columns: repeat(2, 1fr); }
	.project-facts { grid-template-columns: repeat(2, 1fr); }
	.project-facts > div:nth-child(3) { border-inline-start: 0; }
	.project-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
	.sub-panel__head { flex-direction: column; align-items: stretch; }
	.sub-panel__img { flex-basis: auto; }
	.banner__panel { clip-path: polygon(0 0, 88% 0, 70% 100%, 0 100%); }
	[dir="rtl"] .banner__panel { clip-path: polygon(100% 0, 12% 0, 30% 100%, 100% 100%); }
	.banner__line { display: none; }
	.map-card { min-height: 360px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	:root { --header-h: 72px; }
	body { font-size: 16px; }
	html[lang="ar"] body { font-size: 16.5px; }
	.container { padding-inline: 20px; }
	.admin-bar .site-header { top: 0; }
	.logo { gap: 9px; }
	.logo__emblem { height: 46px; }
	.logo__word { width: 148px; }
	body.is-scrolled .logo--header .logo__emblem { height: 42px; }
	body.is-scrolled .logo--header .logo__word { width: 136px; }
	.lang-switch--bar span { display: none; }
	.lang-switch--bar { padding: 10px; }
	.hero { --hm: 46vh; }
	.hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
	html[lang="ar"] .hero__title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
	.hero__text { font-size: 1rem; }
	.hero__btns .btn { flex: 1 1 auto; }
	.quick { margin-top: -70px; }
	.quick__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.quick__item { padding: 38px 10px 16px; }
	.quick__label { font-size: .86rem; }
	.svc-grid, .proj-grid, .values, .sub-grid, .sub-grid--4, .cert-grid, .info-cards, .other-divs__list, .sub-panel__list, .sub-panel__list--3, .sub-panel__list--5 { grid-template-columns: 1fr; }
	.badges { grid-template-columns: repeat(2, 1fr); }
	.go-form__grid { grid-template-columns: 1fr; }
	.sec-head--row { align-items: flex-start; }
	.div-row__num { font-size: 4.4rem; top: -26px; }
	.shape--leaf { border-radius: 0 60px 0 60px; }
	[dir="rtl"] .shape--leaf { border-radius: 60px 0 60px 0; }
	.shape--chamfer { clip-path: polygon(36px 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%, 0 36px); }
	.gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
	.gallery__item--lead { border-radius: 0 50px 0 50px; }
	[dir="rtl"] .gallery__item--lead { border-radius: 50px 0 50px 0; }
	.project-facts { grid-template-columns: 1fr; }
	.project-facts > div { border-inline-start: 0; border-top: 1px solid var(--line); }
	.project-facts > div:first-child { border-top: 0; }
	.project-nav { flex-direction: column; }
	.project-nav__link { max-width: none; }
	.banner { min-height: 340px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); }
	[dir="rtl"] .banner { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 26px)); }
	.banner__panel { clip-path: none; background: rgba(43, 39, 40, .72); }
	[dir="rtl"] .banner__panel { clip-path: none; }
	.banner__inner { padding-top: 80px; padding-bottom: 66px; }
	.vmq__title { font-size: 2.1rem; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 64px; }
	.site-footer__bottom-inner { flex-direction: column; text-align: center; }
	.site-footer__reg { display: flex; justify-content: center; margin: 6px 0 0; }
	.wa-float { bottom: 16px; inset-inline-end: 16px; width: 54px; height: 54px; }
	.lightbox { padding: 64px 10px 90px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
	.lightbox__img { max-height: calc(100vh - 200px); }
	.cta__inner .btn-row { width: 100%; }
	.cta__inner .btn { flex: 1 1 auto; }
}

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js [data-words] .wi { opacity: 1 !important; transform: none !important; }
	.js .shape[data-reveal="curtain"]::after { display: none; }
	.marquee__track { animation: none; }
}
