/* Emaar Pro Contracting: one stylesheet for Arabic (RTL) and English (LTR) pages.
   Layout uses logical properties (inline/block) so both directions work without overrides. */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0A1724;
  --navy-900: #0E1F30;
  --navy-800: #132A3F;
  --navy-700: #183147; /* logo ink */
  --navy-600: #24435F;
  --navy-500: #3A5B78;
  --navy-300: #8EA3B7;
  --navy-100: #DCE4EC;
  --gold-700: #85612F; /* gold text on light backgrounds */
  --gold-600: #96703C;
  --gold-500: #B08348; /* logo gold */
  --gold-400: #C69A5C;
  --gold-300: #D9B98A;
  --gold-100: #F3EADC;
  --stone-50: #F7F5F1;
  --stone-100: #EFEBE4;
  --stone-200: #E2DCD2;
  --ink-900: #0F1B27;
  --ink-700: #2C3B4A;
  --ink-500: #56677A;
  --line: #E2DCD2;
  --white: #FFFFFF;
  --wa: #157F3F;
  --wa-bright: #25D366;
  --danger: #B42318;

  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-1: 0 1px 2px rgb(14 31 48 / .06), 0 2px 8px rgb(14 31 48 / .05);
  --shadow-2: 0 10px 30px -12px rgb(14 31 48 / .22);
  --shadow-3: 0 30px 60px -24px rgb(10 23 36 / .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grad-to-end: 90deg; /* gradient pointing from inline-start to inline-end */
  --dir: 1; /* +1 in LTR, -1 in RTL, for transforms */

  color-scheme: light;
}
[dir="rtl"] { --grad-to-end: 270deg; --dir: -1; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.75 var(--font-body);
  color: var(--ink-700);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(en) body, body:lang(en) { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--navy-800); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
::selection { background: var(--gold-300); color: var(--navy-950); }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
.icon--dir.icon--back { transform: scaleX(-1); }
[dir="rtl"] .icon--dir.icon--back { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--stone { background: var(--stone-100); }
.section--navy { background: var(--navy-900); color: rgb(255 255 255 / .78); overflow: hidden; isolation: isolate; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100;
  padding: 10px 18px; border-radius: 999px; background: var(--gold-500); color: var(--navy-950); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* Blueprint grid used behind navy sections */
.blueprint {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 85%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 85%);
}
.blueprint--soft { opacity: .55; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .9375rem/1.4 var(--font-body); color: var(--gold-700);
}
.eyebrow__num { font: 700 .9375rem/1 var(--font-display); color: var(--gold-500); }
.eyebrow__line { width: 36px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light, .section-head--light .eyebrow { color: var(--gold-300); }

.section-head { max-width: 760px; margin-block-end: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { margin-block-start: 14px; font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.3; }
:lang(en) .section-title { line-height: 1.18; letter-spacing: -.01em; }
.section-title em { font-style: normal; color: var(--gold-600); }
.section-head--light .section-title { color: var(--white); }
.section-head--light .section-title em { color: var(--gold-400); }
.section-lead { margin-block-start: 16px; font-size: 1.125rem; color: var(--ink-500); }
.section-head--light .section-lead { color: rgb(255 255 255 / .72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon--dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
.btn:hover .icon--back { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .btn:hover .icon--back { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 10px 24px -12px rgb(176 131 72 / .8); }
.btn--gold:hover { background: var(--gold-400); }
.btn--navy { background: var(--navy-700); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost-light { border-color: rgb(255 255 255 / .32); color: var(--white); background: rgb(255 255 255 / .04); }
.btn--ghost-light:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .5); }
.btn--whatsapp { background: var(--wa); color: var(--white); }
.btn--whatsapp:hover { background: #126B35; }
.btn--whatsapp-outline { border-color: var(--wa); color: var(--wa); background: transparent; }
.btn--whatsapp-outline:hover { background: var(--wa); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgb(10 23 36 / .88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 12px 30px -20px rgb(0 0 0 / .6);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { flex: none; }
.brand svg { height: 46px; width: auto; transition: height .35s; }
.is-scrolled .brand svg { height: 40px; }
.brand .logo-ink, .drawer .logo-ink, .site-footer .logo-ink { fill: var(--white); }
.logo-gold { fill: var(--gold-500); }
.nav { margin-inline: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  font-weight: 500; color: rgb(255 255 255 / .8); transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--white); background: rgb(255 255 255 / .07); }
.nav__link[aria-current="page"] { color: var(--gold-300); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 4px; margin-inline: auto;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400);
}
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav + .site-header__actions { margin-inline-start: 0; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border: 1px solid rgb(255 255 255 / .22); border-radius: 999px;
  font: 600 .9375rem/1 var(--font-display); color: var(--white); transition: background-color .2s, border-color .2s;
}
.lang-switch:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .4); }
.lang-switch .icon { width: 1.05em; height: 1.05em; color: var(--gold-300); }
.nav-toggle {
  display: none; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .04); color: var(--white); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgb(6 14 22 / 0); transition: background-color .35s; }
.drawer.is-open { background: rgb(6 14 22 / .6); }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 88vw);
  display: flex; flex-direction: column; gap: 24px; padding: 20px 24px 28px;
  background: var(--navy-900); color: var(--white); overflow-y: auto;
  transform: translateX(calc(var(--dir) * 100%)); transition: transform .4s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__logo svg { height: 40px; width: auto; }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .2); background: none; color: var(--white); cursor: pointer; }
.drawer__list { list-style: none; display: grid; }
.drawer__list a {
  display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-block-end: 1px solid rgb(255 255 255 / .08);
  font: 600 1.375rem/1.3 var(--font-display);
}
.drawer__list a[aria-current="page"] { color: var(--gold-300); }
.drawer__num { font-size: .8125rem; color: var(--gold-400); }
.drawer__foot { margin-block-start: auto; display: grid; gap: 14px; }
.drawer__contact { display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .8); }
.drawer__contact .icon { color: var(--gold-400); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: max(720px, 100svh);
  padding-block: calc(var(--header-h) + 40px) 110px;
  color: rgb(255 255 255 / .8);
  background:
    radial-gradient(60% 70% at 85% 30%, rgb(176 131 72 / .16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgb(58 91 120 / .35), transparent 70%),
    var(--navy-900);
}
[dir="rtl"] .hero { background:
    radial-gradient(60% 70% at 15% 30%, rgb(176 131 72 / .16), transparent 70%),
    radial-gradient(50% 60% at 90% 90%, rgb(58 91 120 / .35), transparent 70%),
    var(--navy-900); }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__lines path, .hero__lines circle { fill: none; stroke: rgb(198 154 92 / .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__lines circle { fill: var(--gold-500); stroke: none; opacity: .5; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 14px; border-radius: 999px;
  border: 1px solid rgb(217 185 138 / .35); background: rgb(176 131 72 / .1);
  font: 600 .9375rem/1.2 var(--font-body); color: var(--gold-300);
}
.hero__title { margin-block: 24px 26px; color: var(--white); font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 1.5; }
:lang(en) .hero__title { line-height: 1.06; letter-spacing: -.02em; }
.hero__line { display: block; }
.hero__line--gold { color: var(--gold-400); }
.hero__lead { max-width: 58ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: rgb(255 255 255 / .74); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin: 46px 0 0; padding-block-start: 28px; border-block-start: 1px solid rgb(255 255 255 / .12); }
.hero__facts div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero__facts dt { font-size: .9375rem; color: rgb(255 255 255 / .6); }
.hero__facts dd { margin: 0; display: flex; align-items: center; min-height: 48px; font: 700 2.4rem/1 var(--font-display); color: var(--white); }
.hero__facts dd .icon { width: 40px; height: 40px; color: var(--gold-400); stroke-width: 1.5; }

.hero__visual { position: relative; width: min(100%, 500px); justify-self: end; aspect-ratio: 4 / 5; margin-block-end: 40px; }
.hero__block { position: absolute; inset-block: -5% 12%; inset-inline-end: -9%; width: 72%; background: linear-gradient(160deg, var(--gold-400), var(--gold-600)); border-radius: 6px; }
.hero__frame { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 6px; background: var(--navy-800); box-shadow: var(--shadow-3); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.4s var(--ease), transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 23 36 / .55), transparent 40%); }
.hero__tag {
  position: absolute; z-index: 1; inset-block-start: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgb(10 23 36 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .875rem; color: var(--white);
}
.hero__tag .icon { color: var(--gold-300); width: 1em; height: 1em; }
.hero__dim { position: absolute; inset-inline: 0; inset-block-end: -42px; display: flex; align-items: center; justify-content: center; height: 20px; }
.hero__dim::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgb(217 185 138 / .55); }
.hero__dim::after { content: ""; position: absolute; inset: 0; border-inline: 1px solid rgb(217 185 138 / .7); }
.hero__dim span { position: relative; padding-inline: 12px; background: var(--navy-900); font: 500 .8125rem/1 var(--font-body); color: var(--gold-300); }
.hero__card {
  position: absolute; z-index: 2; inset-block-end: 56px; inset-inline-start: -56px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 14px;
  background: var(--white); color: var(--ink-700); box-shadow: var(--shadow-3);
}
.hero__card strong { display: block; font: 700 1rem/1.3 var(--font-display); color: var(--navy-800); }
.hero__card small { display: block; font-size: .8125rem; color: var(--ink-500); }
.hero__card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-100); color: var(--gold-700); }
.hero__dots { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 16px; display: flex; gap: 6px; }
.hero__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero__dot::before { content: ""; position: absolute; inset: 9px 4px; border-radius: 3px; background: rgb(255 255 255 / .45); transition: background-color .3s, inset .3s; }
.hero__dot.is-active::before { background: var(--gold-400); inset: 9px 0; }
.hero__scroll { position: absolute; inset-block-end: 26px; inset-inline-start: 50%; translate: -50% 0; display: grid; place-items: center; width: 28px; height: 46px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .35); }
[dir="rtl"] .hero__scroll { translate: 50% 0; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--gold-400); animation: scroll-cue 1.8s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(-8px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

.js [data-hero-in] { animation: rise .9s var(--ease) both; }
.js .hero__title[data-hero-in] { animation-delay: .08s; }
.js .hero__lead[data-hero-in] { animation-delay: .16s; }
.js .hero__actions[data-hero-in] { animation-delay: .24s; }
.js .hero__facts[data-hero-in] { animation-delay: .32s; }
.js .hero__visual[data-hero-in] { animation: rise-visual 1.1s var(--ease) .15s both; }
.js .hero__lines path { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s var(--ease) .2s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise-visual { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--gold-500); color: var(--navy-950); border-block: 1px solid var(--gold-600); }
.ticker__track { display: flex; width: max-content; direction: ltr; animation: ticker 48s linear infinite; }
[dir="rtl"] .ticker__track { animation-direction: reverse; }
.ticker__run { display: flex; align-items: center; flex: none; }
.ticker__run span { padding: 16px 26px; font: 600 1.0625rem/1 var(--font-display); white-space: nowrap; }
.ticker__run i { width: 8px; height: 8px; background: var(--navy-800); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About teaser ---------- */
.about-teaser__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.offset-frame { position: relative; isolation: isolate; }
.offset-frame::before {
  content: ""; position: absolute; z-index: -1; inset-block: 32px -28px; inset-inline-start: -28px; inset-inline-end: 32px;
  border: 2px solid var(--gold-500); border-radius: 6px;
}
.offset-frame img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-2); }
.offset-frame--tall img { aspect-ratio: 4 / 4.8; }
.about-teaser__media { position: relative; }
.about-teaser__badge {
  position: absolute; inset-block-end: -36px; inset-inline-end: -24px; max-width: 250px;
  display: grid; gap: 4px; padding: 22px 24px; border-radius: 14px; background: var(--navy-800); color: rgb(255 255 255 / .8); box-shadow: var(--shadow-3);
  font-size: .9375rem; line-height: 1.5;
}
.about-teaser__badge strong { font: 800 3rem/1 var(--font-display); color: var(--gold-400); }
.about-teaser__copy > p { margin-block-end: 22px; font-size: 1.0625rem; }
.checklist { list-style: none; display: grid; gap: 14px; margin-block-end: 34px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-900); }
.checklist .icon { width: 26px; height: 26px; padding: 5px; margin-block-start: 1px; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); stroke-width: 2.4; }

/* ---------- Services explorer (home) ---------- */
.services-x__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; }
.services-x__list { display: grid; gap: 8px; align-content: start; }
.services-x__tab {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  width: 100%; padding: 16px 18px; border: 1px solid transparent; border-radius: 16px;
  background: transparent; text-align: start; cursor: pointer; transition: background-color .25s, box-shadow .25s, border-color .25s;
}
.services-x__tab:hover { background: rgb(255 255 255 / .6); }
.services-x__tab[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-2); }
.services-x__num { font: 700 .875rem/1 var(--font-display); color: var(--gold-600); }
.services-x__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy-100); color: var(--navy-700); transition: background-color .25s, color .25s; }
.services-x__icon .icon { width: 24px; height: 24px; }
.services-x__tab[aria-selected="true"] .services-x__icon { background: var(--navy-700); color: var(--gold-300); }
.services-x__text strong { display: block; font: 600 1.125rem/1.35 var(--font-display); color: var(--navy-800); }
.services-x__text small { display: block; margin-block-start: 4px; font-size: .9375rem; line-height: 1.55; color: var(--ink-500); }
.services-x__arrow { width: 20px; height: 20px; color: var(--gold-600); opacity: 0; transition: opacity .25s; }
.services-x__tab[aria-selected="true"] .services-x__arrow { opacity: 1; }
.services-x__panels { position: relative; min-height: 600px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-3); }
.services-x__panel { position: absolute; inset: 0; transition: opacity .55s var(--ease), visibility .55s; }
.services-x__panel[hidden] { display: block !important; opacity: 0; visibility: hidden; }
.services-x__panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.services-x__panel:not([hidden]) img { transform: scale(1); }
.services-x__overlay {
  position: absolute; inset: auto 0 0 0; padding: 120px 32px 32px;
  background: linear-gradient(to top, rgb(10 23 36 / .96) 30%, rgb(10 23 36 / .7) 65%, transparent);
  color: rgb(255 255 255 / .85);
}
.services-x__overlay h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--white); margin-block-end: 16px; }
.services-x__overlay ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-block-end: 22px; }
.services-x__overlay li { display: flex; gap: 8px; align-items: center; font-size: .9375rem; }
.services-x__overlay li .icon { color: var(--gold-400); width: 18px; height: 18px; stroke-width: 2.4; }

/* ---------- Bento (featured projects) ---------- */
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-block-end: clamp(36px, 5vw, 56px); }
.split-head .section-head { margin: 0; }
.split-head > .btn { flex: none; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 270px); gap: 16px; }
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-800); }
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__item:hover img { transform: scale(1.06); }
.bento__cap {
  position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 48px 20px 18px;
  background: linear-gradient(to top, rgb(10 23 36 / .88), transparent);
  font: 600 1rem/1.4 var(--font-display); color: var(--white);
}
.bento__cap small { font: 500 .8125rem/1.3 var(--font-body); color: var(--gold-300); }
.bento__item--1 .bento__cap { font-size: 1.25rem; padding: 64px 28px 24px; }

/* ---------- Construction stages (home): cards rise like floors, each on its own level line ---------- */
.stages__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.stage { margin-block-start: calc(var(--rise, 0) * 44px); }
.stage__level { display: flex; align-items: center; gap: 10px; margin-block-end: 14px; font: 700 .875rem/1 var(--font-display); color: var(--gold-300); white-space: nowrap; }
.stage__level i { flex: none; width: 0; height: 0; border-inline: 7px solid transparent; border-block-start: 10px solid var(--gold-400); }
.stage__level::after { content: ""; flex: 1; border-block-start: 1px dashed rgb(217 185 138 / .45); }
.stage__card { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid rgb(255 255 255 / .08); box-shadow: var(--shadow-3); }
.stage__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.stage:hover .stage__card img { transform: scale(1.06); }
.stage__cap { position: absolute; inset: auto 0 0 0; padding: 96px 20px 20px; background: linear-gradient(to top, rgb(10 23 36 / .95) 30%, rgb(10 23 36 / .6) 65%, transparent); }
.stage__cap h3 { margin-block-end: 6px; font-size: 1.1875rem; }
.stage__cap p { font-size: .875rem; line-height: 1.6; color: rgb(255 255 255 / .75); }

/* ---------- Process ---------- */
.process__wrap { position: relative; }
.process__rail { position: absolute; inset-block-start: 38px; inset-inline: 12.5%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process__fill { position: absolute; inset: 0; background: linear-gradient(var(--grad-to-end), var(--gold-500), var(--gold-400)); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .2s linear; }
[dir="rtl"] .process__fill { transform-origin: right center; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.process__step { text-align: center; padding-inline: 8px; }
.process__icon {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--gold-500); color: var(--navy-700); box-shadow: 0 0 0 8px var(--stone-50);
}
.section--stone .process__icon { box-shadow: 0 0 0 8px var(--stone-100); }
.process__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.process__n { position: absolute; inset-block-start: -4px; inset-inline-end: -4px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-700); color: var(--white); font: 700 .8125rem/1 var(--font-display); }
.process__step h3 { font-size: 1.25rem; margin-block-end: 8px; }
.process__step p { font-size: .9375rem; color: var(--ink-500); line-height: 1.7; }

/* ---------- Values ---------- */
.values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card {
  position: relative; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.value-card::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-500); transform: scaleX(0); transition: transform .35s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.value-card:hover::before { transform: scaleX(1); }
.value-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-block-end: 22px; border-radius: 16px; background: var(--gold-100); color: var(--gold-700); }
.value-card__icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.value-card h3 { font-size: 1.25rem; margin-block-end: 10px; }
.value-card p { font-size: .9375rem; line-height: 1.75; color: var(--ink-500); }

/* ---------- Vision band ---------- */
.vision-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(90px, 12vw, 150px); background: var(--navy-950); color: var(--white); }
.vision-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vision-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--grad-to-end), rgb(10 23 36 / .95) 25%, rgb(10 23 36 / .55)); }
.vision-band__inner { max-width: calc(900px + var(--gutter) * 2); margin-inline: 0 auto; margin-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-inline: 0 var(--gutter); }
.vision-band__kicker { font: 600 1rem/1 var(--font-body); color: var(--gold-300); margin-block-end: 20px; }
.vision-band__quote { font: 600 clamp(1.5rem, 3.1vw, 2.5rem)/1.55 var(--font-display); margin-block-end: 34px; }
:lang(en) .vision-band__quote { line-height: 1.35; }
.vision-band__quote mark { background: none; color: var(--gold-400); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding-block: clamp(64px, 8vw, 100px); background: var(--stone-100); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--navy-800); color: rgb(255 255 255 / .75);
}
.cta-band__inner::before { content: ""; position: absolute; z-index: -1; inset-block-start: -40%; inset-inline-end: -10%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(176 131 72 / .35), transparent 70%); }
.cta-band__inner::after { content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--gold-500); }
.cta-band__title { margin-block: 12px; color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.3; }
.cta-band__lead { max-width: 52ch; }
.cta-band__actions { display: grid; gap: 12px; min-width: 260px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-block: 80px 0; background: var(--navy-950); color: rgb(255 255 255 / .65); font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); padding-block-end: 56px; }
.site-footer__logo { display: inline-block; margin-block-end: 22px; }
.site-footer__logo svg { width: 150px; height: auto; }
.site-footer__brand p { max-width: 36ch; line-height: 1.8; }
.site-footer__title { margin-block-end: 18px; font-size: 1.0625rem; color: var(--white); }
.site-footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer__col a:hover { color: var(--gold-300); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { margin-block-start: 3px; color: var(--gold-400); }
.site-footer__contact small { display: block; font-size: .8125rem; color: rgb(255 255 255 / .45); }
.site-footer__contact a, .site-footer__contact span { color: rgb(255 255 255 / .85); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-block-start: 1px solid rgb(255 255 255 / .08); font-size: .875rem; }
.lang-switch--footer { min-height: 36px; font-family: var(--font-body); font-weight: 500; }

/* Mobile action bar + WhatsApp button */
.action-bar { display: none; }
.wa-fab {
  position: fixed; z-index: 40; inset-block-end: 24px; inset-inline-end: 24px;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-bright); color: var(--white); box-shadow: 0 12px 30px -8px rgb(37 211 102 / .6);
  transition: transform .25s var(--ease);
}
.wa-fab .icon { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa-bright); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--header-h) + clamp(56px, 8vw, 96px)) clamp(64px, 8vw, 104px); background: var(--navy-900); color: rgb(255 255 255 / .78); }
.page-hero__media { position: absolute; z-index: -2; inset-block: 0; inset-inline-end: 0; width: 56%; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--grad-to-end), var(--navy-900) 2%, rgb(14 31 48 / .7) 40%, rgb(14 31 48 / .25)); }
.page-hero__inner { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 28px; font-size: .9375rem; color: rgb(255 255 255 / .55); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs [aria-current] { color: rgb(255 255 255 / .85); }
.page-hero__title { max-width: 18ch; margin-block: 18px; color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 800; line-height: 1.25; }
:lang(en) .page-hero__title { line-height: 1.1; letter-spacing: -.015em; }
.page-hero__title span { color: var(--gold-400); }
.page-hero__lead { max-width: 56ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }

/* ---------- About page ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.prose { display: grid; gap: 18px; }
.story__media { position: relative; }
.stat-stack { position: absolute; inset-block-end: -28px; inset-inline-start: -28px; display: grid; gap: 1px; overflow: hidden; border-radius: 14px; background: rgb(255 255 255 / .1); box-shadow: var(--shadow-3); }
.stat-stack div { display: grid; gap: 2px; padding: 18px 24px; background: var(--navy-800); color: rgb(255 255 255 / .75); font-size: .875rem; }
.stat-stack strong { font: 800 2.25rem/1 var(--font-display); color: var(--gold-400); }
.vm__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vm-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); }
.vm-card__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-block-end: 24px; border-radius: 16px; background: var(--gold-500); color: var(--navy-950); }
.vm-card__icon .icon { width: 28px; height: 28px; }
.vm-card h2 { margin-block: 12px 14px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.vm-card p:last-child { line-height: 1.9; }
.objectives__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.objective { position: relative; overflow: hidden; padding: 34px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.objective__num { position: absolute; inset-block-start: 10px; inset-inline-end: 18px; font: 800 4.5rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--gold-300); }
.objective__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-block-end: 20px; border-radius: 14px; background: var(--navy-700); color: var(--gold-300); }
.objective h3 { font-size: 1.25rem; margin-block-end: 10px; }
.objective p { font-size: .9375rem; color: var(--ink-500); }
.capabilities__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.capabilities__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cap { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.cap__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-block-end: 14px; border-radius: 12px; background: var(--gold-100); color: var(--gold-700); }
.cap h3 { font-size: 1.0625rem; margin-block-end: 6px; }
.cap p { font-size: .9375rem; line-height: 1.65; color: var(--ink-500); }

/* ---------- Services page ---------- */
.svc-index { position: sticky; top: 72px; z-index: 20; background: rgb(247 245 241 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block-end: 1px solid var(--line); }
.svc-index__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.svc-index__inner::-webkit-scrollbar { display: none; }
.svc-index a { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: .9375rem; color: var(--ink-700); transition: background-color .2s, color .2s; }
.svc-index a span { font: 700 .75rem/1 var(--font-display); color: var(--gold-600); }
.svc-index a:hover { background: var(--white); }
.svc-index a.is-active { background: var(--navy-700); color: var(--white); }
.svc-index a.is-active span { color: var(--gold-300); }
.svc { padding-block: clamp(72px, 9vw, 120px); scroll-margin-top: 140px; }
.svc--flip { background: var(--stone-100); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; padding-block-end: 48px; }
.svc__img--main img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.svc__img--sub { position: absolute; inset-block-end: 0; inset-inline-end: -20px; width: 40%; padding: 8px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-3); }
.svc--flip .svc__img--sub { background: var(--stone-100); }
.svc__img--sub img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.svc__big-num { position: absolute; inset-block-start: -.6em; inset-inline-start: 20px; z-index: -1; font: 800 clamp(5rem, 11vw, 9rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--gold-300); }
.svc__media { isolation: isolate; }
.svc__title { display: flex; align-items: center; gap: 14px; margin-block: 16px 18px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.3; }
.svc__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-700); color: var(--gold-300); }
.svc__icon .icon { width: 28px; height: 28px; }
.svc__body { font-size: 1.0625rem; margin-block-end: 24px; }
.svc__items { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-block-end: 32px; }
.svc__items li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink-900); }
.svc__items .icon { width: 22px; height: 22px; padding: 4px; margin-block-start: 3px; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); stroke-width: 2.6; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.supply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.supply__grid .section-head { margin-block-end: 0; }
.supply__list { list-style: none; display: grid; gap: 14px; }
.supply__list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.supply__list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--gold-500); color: var(--navy-950); }
.supply__list strong { display: block; margin-block-end: 2px; font: 600 1.0625rem/1.4 var(--font-display); color: var(--white); }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 32px; }
.filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s;
}
[dir="rtl"] .filter { padding: 8px 18px 8px 10px; }
.filter span { display: grid; place-items: center; min-width: 28px; height: 28px; padding-inline: 6px; border-radius: 999px; background: var(--stone-100); font: 600 .8125rem/1 var(--font-display); color: var(--ink-500); }
.filter:hover { border-color: var(--navy-300); }
.filter[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.filter[aria-pressed="true"] span { background: var(--gold-500); color: var(--navy-950); }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item.is-entering { animation: rise .6s var(--ease) both; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); cursor: zoom-in; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__btn:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 40px 16px 14px; text-align: start;
  background: linear-gradient(to top, rgb(10 23 36 / .85), transparent); font: 600 .9375rem/1.4 var(--font-display); color: var(--white);
}
.gallery__cap small { font: 500 .75rem/1.3 var(--font-body); color: var(--gold-300); }
.gallery__zoom { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--navy-800); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__empty { padding: 40px; text-align: center; color: var(--ink-500); }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgb(6 14 22 / .94); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 72px 80px 12px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-3); animation: rise .45s var(--ease) both; }
.lightbox__cap { padding: 8px 24px 28px; text-align: center; font: 500 1.0625rem/1.5 var(--font-display); }
.lightbox__count { position: absolute; inset-block-start: 26px; inset-inline-start: 28px; font: 600 .9375rem/1 var(--font-display); color: rgb(255 255 255 / .7); direction: ltr; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .08); color: var(--white); cursor: pointer; transition: background-color .2s; }
.lightbox__btn:hover { background: rgb(255 255 255 / .18); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { inset-block-start: 14px; inset-inline-end: 16px; }
.lightbox__prev, .lightbox__next { inset-block-start: 50%; translate: 0 -50%; }
.lightbox__prev { inset-inline-start: 16px; }
.lightbox__next { inset-inline-end: 16px; }

/* ---------- Contact page ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.person-card { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: var(--navy-800); color: rgb(255 255 255 / .7); overflow: hidden; position: relative; isolation: isolate; }
.person-card::after { content: ""; position: absolute; z-index: -1; inset-block-start: -50%; inset-inline-end: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(176 131 72 / .35), transparent 70%); }
.person-card__avatar { display: grid; place-items: center; flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--gold-500); box-shadow: 0 0 0 5px rgb(176 131 72 / .18); }
.person-card__avatar img { width: 34px; height: auto; }
.person-card__label { font-size: .875rem; }
.person-card__name { font: 700 1.375rem/1.35 var(--font-display); color: var(--white); }
.person-card__phone { font: 600 1.0625rem/1.4 var(--font-display); color: var(--gold-300); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
a.contact-card:hover { border-color: var(--gold-400); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-100); color: var(--navy-700); }
.contact-card--wa .contact-card__icon { background: #E3F5EA; color: var(--wa); }
.contact-card small { display: block; font-size: .8125rem; color: var(--ink-500); }
.contact-card strong { display: block; font: 600 1.0625rem/1.4 var(--font-display); color: var(--navy-800); overflow-wrap: anywhere; }
.contact-card > span:nth-child(2) { flex: 1; min-width: 0; }
.contact-card__go { color: var(--gold-600); }

.wizard { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); scroll-margin-top: 110px; }
.wizard__title { margin-block: 10px 24px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.wizard__steps { list-style: none; display: flex; gap: 8px; margin-block-end: 14px; }
.wizard__steps li { display: flex; align-items: center; gap: 8px; flex: 1; font-size: .9375rem; color: var(--ink-500); }
.wizard__steps span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); font: 700 .8125rem/1 var(--font-display); transition: background-color .3s, color .3s, border-color .3s; }
.wizard__steps .is-current { color: var(--navy-800); font-weight: 600; }
.wizard__steps .is-current span { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); }
.wizard__steps .is-done span { border-color: var(--navy-700); background: var(--navy-700); color: var(--white); }
.wizard__progress { height: 4px; border-radius: 4px; background: var(--stone-100); overflow: hidden; margin-block-end: 30px; }
.wizard__progress span { display: block; height: 100%; width: 33.33%; border-radius: 4px; background: linear-gradient(var(--grad-to-end), var(--gold-500), var(--gold-400)); transition: width .45s var(--ease); }
.wizard__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.wizard__step:not([hidden]) { animation: rise .45s var(--ease) both; }
.wizard__legend { display: block; width: 100%; padding: 0; margin-block-end: 18px; font: 600 1.25rem/1.4 var(--font-display); color: var(--navy-800); }
.wizard__legend small { display: block; margin-block-start: 2px; font: 400 .875rem/1.4 var(--font-body); color: var(--ink-500); }
.wizard__sub { margin-block: 20px 10px; font-weight: 600; color: var(--ink-900); }
.wizard__sub:first-of-type { margin-block-start: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip > span {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--stone-50); font-weight: 500; color: var(--ink-700);
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.chips--services .chip > span { min-height: 58px; }
.chip .icon { width: 22px; height: 22px; color: var(--gold-600); }
.chip:hover > span { border-color: var(--navy-300); }
.chip input:checked + span { border-color: var(--navy-700); background: var(--navy-700); color: var(--white); box-shadow: var(--shadow-2); }
.chip input:checked + span .icon { color: var(--gold-300); }
.chip input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block-start: 20px; }
.field-row:first-child { margin-block-start: 0; }
.field { display: grid; gap: 8px; align-content: start; }
.field + .field, .field-row + .field { margin-block-start: 16px; }
.field-row .field + .field { margin-block-start: 0; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink-900); }
.field label span { color: var(--danger); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--stone-50);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); background: var(--white); box-shadow: 0 0 0 4px rgb(36 67 95 / .12); }
.field input::placeholder, .field textarea::placeholder { color: #8C98A5; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.is-invalid input, .is-invalid textarea, .chips.is-invalid .chip > span { border-color: var(--danger); }
.field-error { margin-block-start: 8px; font-size: .875rem; font-weight: 500; color: var(--danger); }
.files { margin-block-start: 22px; }
.files .wizard__sub small { font-weight: 400; font-size: .875rem; color: var(--ink-500); }
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 24px 18px; text-align: center;
  border: 1.5px dashed var(--navy-300); border-radius: 16px; background: var(--stone-50); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--gold-500); background: var(--gold-100); }
.dropzone:focus-within { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.dropzone__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-700); color: var(--gold-300); }
.dropzone__icon .icon { width: 24px; height: 24px; }
.dropzone strong { font: 600 1rem/1.4 var(--font-display); color: var(--navy-800); }
.dropzone small { font-size: .8125rem; line-height: 1.6; color: var(--ink-500); }
.file-list { list-style: none; display: grid; gap: 8px; margin-block-start: 12px; }
.file-list:empty { display: none; }
.file {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); overflow: hidden;
}
.file__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-100); color: var(--navy-700); }
.file__icon .icon { width: 20px; height: 20px; }
.file__info { display: grid; gap: 2px; min-width: 0; }
.file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .9375rem; color: var(--ink-900); }
.file__info small { font-size: .8125rem; color: var(--ink-500); }
.file__btn { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink-500); cursor: pointer; }
.file__btn:hover { background: var(--stone-100); color: var(--ink-900); }
.file__btn .icon { width: 18px; height: 18px; }
.file__btn--text { padding-inline: 12px; font-weight: 600; font-size: .875rem; color: var(--navy-700); background: var(--navy-100); }
.file__bar { position: absolute; inset: auto 0 0 0; height: 3px; background: var(--gold-500); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .2s linear; }
[dir="rtl"] .file__bar { transform-origin: right center; }
.file:not([data-state="uploading"]) .file__bar { display: none; }
.file[data-state="done"] { border-color: rgb(21 127 63 / .35); }
.file[data-state="done"] .file__icon { background: #E9F7EF; color: var(--wa); }
.file[data-state="done"] [data-file-status] { color: var(--wa); font-weight: 600; }
.file[data-state="failed"], .file[data-state="invalid"] { border-color: rgb(180 35 24 / .35); }
.file[data-state="failed"] [data-file-status], .file[data-state="invalid"] [data-file-status] { color: var(--danger); font-weight: 600; }
[data-upload-wait] { margin-block-start: 12px; }
.wizard__summary { margin-block-start: 22px; }
.wizard__summary dl { display: grid; gap: 8px; margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--gold-100); border: 1px dashed var(--gold-400); font-size: .9375rem; }
.wizard__summary dl div { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 12px; }
.wizard__summary dt { color: var(--gold-700); font-weight: 600; }
.wizard__summary dd { margin: 0; color: var(--ink-900); }
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 32px; padding-block-start: 24px; border-block-start: 1px solid var(--line); }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-inline-start: auto; }
.wizard__note { display: flex; align-items: center; gap: 8px; margin-block-start: 16px; font-size: .875rem; color: var(--ink-500); }
.wizard__note .icon { color: var(--wa); width: 18px; height: 18px; }
.wizard__note a { color: var(--navy-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wizard.is-sent .wizard__summary dl { border-style: solid; border-color: var(--wa); background: #E9F7EF; }

.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s; }
.faq__item[open] { box-shadow: var(--shadow-2); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 600 1.0625rem/1.5 var(--font-display); color: var(--navy-800); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); transition: transform .3s var(--ease), background-color .3s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--gold-500); color: var(--navy-950); }
.faq__item p { padding: 0 22px 22px; color: var(--ink-500); }

/* ---------- 404 ---------- */
.not-found { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 100svh; padding-block: calc(var(--header-h) + 40px) 80px; background: var(--navy-900); color: rgb(255 255 255 / .75); text-align: center; }
.not-found__code { font: 800 clamp(7rem, 22vw, 14rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--gold-500); }
.not-found h1 { margin-block: 12px; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 32px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding-inline: 12px; }
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .nav, .site-header__cta { display: none; }
  .nav-toggle { display: grid; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { justify-self: center; width: min(100%, 460px); margin-block-start: 20px; }
  .hero__card { inset-inline-start: -20px; }
  .services-x__grid, .about-teaser__grid, .story__grid, .capabilities__grid, .supply__grid, .contact__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .services-x__panels { min-height: 480px; }
  .about-teaser__media, .story__media { max-width: 620px; }
  .about-teaser__badge { inset-inline-end: 12px; }
  .stat-stack { inset-inline-start: 12px; }
  .stages__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stage { margin-block-start: 0; }
  .stage:nth-child(odd) { margin-block-start: 40px; }
  .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .svc--flip .svc__media { order: 0; }
  .svc__media { max-width: 640px; }
  .contact__aside { position: static; order: 2; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band__actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .page-hero__media { width: 100%; opacity: .5; }
  .page-hero__media::after { background: linear-gradient(var(--grad-to-end), var(--navy-900) 10%, rgb(14 31 48 / .55)); }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 200px; }
  .bento__item--1 { grid-row: span 2; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .objectives__list, .vm__grid { grid-template-columns: minmax(0, 1fr); }
  .process__rail { display: none; }
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .split-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  :root { --header-h: 70px; }
  body { padding-block-end: 68px; }
  .brand svg { height: 38px; }
  .is-scrolled .brand svg { height: 36px; }
  .lang-switch { padding-inline: 10px; }
  .hero { min-height: auto; padding-block-end: 90px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 18px 28px; }
  .hero__facts dd { font-size: 2rem; }
  .hero__card { inset-inline-start: 10px; inset-block-end: 24px; padding: 10px 14px 10px 10px; }
  .hero__scroll { display: none; }
  .wa-fab { display: none; }
  .action-bar {
    position: fixed; z-index: 45; inset-inline: 0; inset-block-end: 0; display: grid; grid-template-columns: repeat(3, 1fr);
    padding-block-end: env(safe-area-inset-bottom); background: var(--navy-950); box-shadow: 0 -10px 30px -10px rgb(0 0 0 / .4);
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; font-size: .8125rem; font-weight: 600; color: rgb(255 255 255 / .85); }
  .action-bar .icon { width: 22px; height: 22px; color: var(--gold-300); }
  .action-bar__wa { background: var(--wa); color: var(--white) !important; }
  .action-bar__wa .icon { color: var(--white); }
  .services-x__tab { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  .services-x__num, .services-x__arrow { display: none; }
  .services-x__panels { min-height: 440px; }
  .services-x__overlay { padding: 90px 20px 22px; }
  .services-x__overlay ul { grid-template-columns: minmax(0, 1fr); }
  .values__grid, .cap-grid, .svc__items, .chips--services, .field-row { grid-template-columns: minmax(0, 1fr); }
  .stages__list { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .stage:nth-child(odd) { margin-block-start: 0; }
  .stage__card { display: grid; grid-template-columns: 42% minmax(0, 1fr); aspect-ratio: auto; }
  .stage__card img { min-height: 160px; }
  .stage__cap { position: static; align-self: center; padding: 16px 18px; background: none; }
  .stage__cap h3 { font-size: 1.0625rem; }
  .process__steps { grid-template-columns: minmax(0, 1fr); }
  .process__step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; text-align: start; padding: 0; }
  .process__icon { grid-row: span 2; margin: 0; width: 64px; height: 64px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .offset-frame::before { inset-inline-start: -12px; inset-block-end: -14px; }
  .svc__img--sub { inset-inline-end: 8px; }
  .wizard__steps li { font-size: .8125rem; }
  .wizard__nav .btn { flex: 1; padding-inline: 14px; }
  .lightbox__stage { padding: 64px 12px 8px; }
  .lightbox__prev, .lightbox__next { inset-block-start: auto; inset-block-end: 70px; translate: none; }
  .cta-band__actions { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .cta-band__actions .btn { width: 100%; }
}

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