/* =========================================================================
   ALPHA CONSTRUCTION — ألفا الإنشائية للمقاولات
   Design system. One stylesheet, logical properties throughout so the same
   rules serve both RTL (Arabic) and LTR (English).
   ========================================================================= */

/* ---------- tokens ---------- */
:root {
  /* colour — black / white / gold / dark grey, nothing else */
  --ink:        #0C0C0E;
  --ink-2:      #17171B;   /* raised surface on dark */
  --steel:      #2E2E35;   /* dark grey — rules, borders */
  --bone:       #F6F4F0;   /* the "white" — warm so gold never glares */
  --bone-2:     #EDEAE3;
  --paper:      #FFFFFF;
  --gold:       #C9A227;
  --gold-hi:    #E7CE7E;
  --gold-deep:  #8C6D1F;   /* gold that passes contrast on light backgrounds */
  --mute:       #8E8E96;
  --mute-ink:   #5C5C63;

  /* type */
  --display: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  --body:    "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  /* space */
  --gut: 24px;
  --max: 1240px;
  --r:    14px;
  --r-sm: 8px;
  --r-pill: 999px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .55s;

  --shadow: 0 1px 2px rgba(12,12,14,.04), 0 12px 32px -12px rgba(12,12,14,.18);
  --shadow-lg: 0 2px 4px rgba(12,12,14,.05), 0 30px 60px -20px rgba(12,12,14,.3);
}

html[lang="en"] {
  --display: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.95;              /* Arabic wants air */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.7; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.005em;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .display {
  line-height: 1.1;
  letter-spacing: -.02em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: 1500px; }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-dark { background: var(--ink); color: var(--bone); }
.section-alt  { background: var(--bone-2); }

.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--bone); }

/* ---------- axis mark: the section eyebrow ----------
   Borrowed from structural drawings — a grid axis bubble on a dashed lead
   line. It labels the section the way a drawing labels a column line.      */
.axis {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-end: 22px;
}
.axis__ref {
  flex: none;
  inline-size: 34px;
  block-size: 34px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-deep);
}
.axis__line {
  flex: none;
  inline-size: 46px;
  border-block-start: 1px dashed rgba(140,109,31,.5);
}
.axis__label {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute-ink);
}
.section-dark .axis__ref { border-color: var(--gold); color: var(--gold); }
.section-dark .axis__line { border-color: rgba(201,162,39,.45); }
.section-dark .axis__label { color: var(--mute); }
.axis--center { justify-content: center; }

/* ---------- headings ---------- */
.h-display { font-size: clamp(2.5rem, 6.4vw, 5.1rem); font-weight: 800; }
.h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.h2 { font-size: clamp(1.65rem, 3.1vw, 2.6rem); }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--mute-ink);
  max-inline-size: 62ch;
}
.section-dark .lead { color: #B9B9C0; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Arabic is a cursive script: letter-spacing pulls the joins apart and the
   mono face has no proper Arabic. Latin/numeric labels keep the mono
   treatment; Arabic ones fall back to the body face at normal tracking. */
html[lang="ar"] .axis__label,
html[lang="ar"] .ftr h4,
html[lang="ar"] .spec__row dt,
html[lang="ar"] .pcard__meta,
html[lang="ar"] .status,
html[lang="ar"] .crumb,
html[lang="ar"] .news__date,
html[lang="ar"] .hero__scroll,
html[lang="en"] .langbtn {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
html[lang="ar"] .axis__label,
html[lang="ar"] .ftr h4 { font-size: .8rem; }
html[lang="ar"] .status,
html[lang="ar"] .pcard__meta,
html[lang="ar"] .news__date,
html[lang="ar"] .crumb { font-size: .8rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { inline-size: 18px; block-size: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  border-color: rgba(246,244,240,.38);
}
.btn--ghost:hover { --btn-bg: var(--bone); --btn-fg: var(--ink); border-color: var(--bone); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--bone); }
.btn--dark:hover { --btn-bg: var(--steel); }

.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(12,12,14,.22);
}
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: var(--bone); border-color: var(--ink); }

.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { inline-size: 100%; }

/* text link with a rule that draws itself */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--gold-deep);
  padding-block-end: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s var(--ease);
}
html[dir="rtl"] .tlink { background-position: 100% 100%; }
.tlink:hover { background-size: 100% 1px; }
.tlink .arw { transition: transform .35s var(--ease); }
.tlink:hover .arw { transform: translateX(4px); }
html[dir="rtl"] .tlink:hover .arw { transform: translateX(-4px); }
.section-dark .tlink { color: var(--gold); }

/* =========================================================================
   HEADER
   ========================================================================= */
.hdr {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-block-end: 1px solid transparent;
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 20px;
  block-size: 78px;
}
.hdr__logo { flex: none; display: block; }
.hdr__logo img { block-size: 42px; inline-size: auto; transition: block-size .3s var(--ease); }

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.hdr__nav a {
  padding: 9px 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--bone);
  border-radius: var(--r-pill);
  transition: color .25s, background .25s;
  white-space: nowrap;
}
.hdr__nav a:hover { background: rgba(246,244,240,.1); }
.hdr__nav a[aria-current="page"] { color: var(--gold); }

.hdr__act { display: flex; align-items: center; gap: 10px; flex: none; }

.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(246,244,240,.3);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--bone);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.langbtn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* scrolled / solid state */
.hdr.is-solid {
  background: rgba(12,12,14,.92);
  backdrop-filter: blur(14px);
  border-block-end-color: rgba(255,255,255,.08);
}
.hdr.is-solid .hdr__in { block-size: 66px; }
.hdr.is-solid .hdr__logo img { block-size: 34px; }

/* pages that don't start with a dark hero */
.hdr--light:not(.is-solid) { background: var(--ink); }

.burger {
  display: none;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid rgba(246,244,240,.3);
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  inset-inline: 13px;
  block-size: 1.5px;
  background: var(--bone);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { inset-block-start: 16px; }
.burger span:nth-child(2) { inset-block-start: 21.5px; }
.burger span:nth-child(3) { inset-block-start: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: 100px var(--gut) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a {
  padding: 16px 4px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bone);
  border-block-end: 1px solid rgba(255,255,255,.08);
}
.drawer a[aria-current="page"] { color: var(--gold); }
.drawer .btn { margin-block-start: 26px; }

/* =========================================================================
   HERO — the signature.
   The photo arrives as vertical bands, echoing the banded stone facades in
   Alpha's own villas.
   ========================================================================= */
.hero {
  position: relative;
  min-block-size: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__bands { position: absolute; inset: 0; z-index: 0; }
.hero__band {
  position: absolute;
  inset-block: 0;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}
.hero__band > span {
  position: absolute;
  inset-block: 0;
  display: block;
  background-size: cover;
  background-position: center;
  transform: translateY(26px) scale(1.06);
  transition: transform 1.5s var(--ease);
}
.hero.is-in .hero__band { animation: bandUp 1.05s var(--ease) forwards; }
.hero.is-in .hero__band > span { transform: translateY(0) scale(1.06); }
@keyframes bandUp { to { clip-path: inset(0 0 0 0); } }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(12,12,14,.96) 0%, rgba(12,12,14,.9) 24%, rgba(12,12,14,.74) 40%, rgba(12,12,14,.4) 62%, rgba(12,12,14,.24) 80%, rgba(12,12,14,.7) 100%);
}
.hero__in {
  position: relative;
  z-index: 2;
  inline-size: 100%;
  padding-block: 0 clamp(72px, 11vh, 130px);
  color: var(--bone);
}
.hero__kicker {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 1px 14px rgba(12,12,14,.85);
  margin-block-end: 20px;
}
.hero__title {
  font-size: clamp(2.4rem, 6.6vw, 5.4rem);
  font-weight: 800;
  color: var(--bone);
  max-inline-size: 16ch;
  margin-block-end: 18px;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 300;
  color: #CFCFD6;
  max-inline-size: 52ch;
  margin-block-end: 38px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* staged entrance for the words */
.hero__kicker, .hero__title, .hero__sub, .hero__cta {
  opacity: 0;
  transform: translateY(22px);
}
.hero.is-in .hero__kicker { animation: riseIn .8s var(--ease) .55s forwards; }
.hero.is-in .hero__title  { animation: riseIn .9s var(--ease) .66s forwards; }
.hero.is-in .hero__sub    { animation: riseIn .9s var(--ease) .78s forwards; }
.hero.is-in .hero__cta    { animation: riseIn .9s var(--ease) .9s forwards; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

.hero__scroll {
  position: absolute;
  inset-block-end: 26px;
  inset-inline-end: var(--gut);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(246,244,240,.55);
}
.hero__scroll i {
  display: block;
  inline-size: 1px;
  block-size: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.3; transform: scaleY(.5); transform-origin: top; } 50% { opacity:1; transform: scaleY(1); } }

/* ---------- page hero (inner pages) ---------- */
.phero {
  position: relative;
  padding-block: 190px clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.phero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
  transform: scale(1.05);
}
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 5%, rgba(12,12,14,.7) 60%, rgba(12,12,14,.85));
}
.phero__in { position: relative; z-index: 2; }
.phero__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--bone); margin-block-end: 14px; }
.phero .lead { color: #C4C4CC; }

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--mute);
  margin-block-end: 18px;
}
.crumb a:hover { color: var(--gold); }
.crumb i { opacity: .5; font-style: normal; }

/* =========================================================================
   SERVICE PLINTH — the dark strip under the hero
   ========================================================================= */
.plinth { background: var(--ink); border-block-start: 1px solid rgba(255,255,255,.07); }
.plinth__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.plinth__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 12px;
  text-align: center;
  color: var(--bone);
  border-inline-start: 1px solid rgba(255,255,255,.07);
  transition: background .35s var(--ease);
}
.plinth__item:first-child { border-inline-start: 0; }
.plinth__item:hover { background: var(--ink-2); }
.plinth__item svg { inline-size: 30px; block-size: 30px; stroke: var(--gold); transition: transform .4s var(--ease); }
.plinth__item:hover svg { transform: translateY(-4px); }
.plinth__item span { font-size: .86rem; font-weight: 500; line-height: 1.5; }

/* =========================================================================
   CARDS & GRIDS
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* reason card — "لماذا تختار ألفا" */
.reason {
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid rgba(12,12,14,.07);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.reason::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  block-size: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .5s var(--ease);
}
.reason:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(12,12,14,.12); }
.reason:hover::before { transform: scaleX(1); }
.reason__ico {
  inline-size: 46px;
  block-size: 46px;
  border-radius: var(--r-sm);
  background: var(--bone-2);
  display: grid;
  place-items: center;
  margin-block-end: 18px;
}
.reason__ico svg { inline-size: 22px; block-size: 22px; stroke: var(--gold-deep); }
.reason h3 { margin-block-end: 8px; }
.reason p { font-size: .95rem; color: var(--mute-ink); line-height: 1.85; }

/* service card */
.svc {
  background: var(--paper);
  border: 1px solid rgba(12,12,14,.07);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone-2); }
.svc__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.07); }
.svc__no {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(12,12,14,.78);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
}
.svc__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__body p { font-size: .95rem; color: var(--mute-ink); line-height: 1.85; flex: 1; }
.svc__body .tlink { margin-block-start: 8px; align-self: flex-start; }

/* =========================================================================
   PROJECTS
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 40px; }
.chip {
  padding: 9px 20px;
  border: 1px solid rgba(246,244,240,.2);
  border-radius: var(--r-pill);
  background: transparent;
  color: #C4C4CC;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.section:not(.section-dark) .chip { border-color: rgba(12,12,14,.16); color: var(--mute-ink); }
.section:not(.section-dark) .chip:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.section:not(.section-dark) .chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.pcard {
  display: block;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
}
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,14,.92) 0%, rgba(12,12,14,.45) 42%, rgba(12,12,14,0) 72%);
}
.pcard__body {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  padding: 26px 26px 24px;
  color: var(--bone);
}
.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: #C4C4CC;
  margin-block-start: 8px;
}
.pcard__meta i { font-style: normal; opacity: .45; }
.pcard h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--bone); }
.pcard__go {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  z-index: 2;
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  background: rgba(246,244,240,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246,244,240,.22);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: all .4s var(--ease);
}
.pcard:hover .pcard__go { opacity: 1; transform: translateY(0); background: var(--gold); border-color: var(--gold); }
.pcard__go svg { inline-size: 17px; block-size: 17px; stroke: var(--bone); }
.pcard:hover .pcard__go svg { stroke: var(--ink); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  background: rgba(246,244,240,.14);
  backdrop-filter: blur(6px);
  color: var(--bone);
}
.status::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; }
.status--done { color: var(--gold-hi); }
.status--live { color: #7FD4A8; }
.status--live::before { animation: blip 1.8s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.pcard__status { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; z-index: 2; }

/* featured card spans 2 columns */
.pcard--wide { grid-column: span 2; }
.pcard--wide .pcard__media { aspect-ratio: 21 / 9; }

/* =========================================================================
   COUNTERS
   ========================================================================= */
.counters { position: relative; overflow: hidden; background: var(--ink); }
.counters__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .16;
}
.counters::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ink), rgba(12,12,14,.7), var(--ink));
}
.counters__in { position: relative; z-index: 2; }
.counters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 12px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  inset-block: 18%;
  inset-inline-start: 0;
  inline-size: 1px;
  background: rgba(255,255,255,.12);
}
.stat__n {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat__n small { font-size: .45em; }
.stat__l {
  margin-block-start: 14px;
  font-size: .88rem;
  font-weight: 400;
  color: #B9B9C0;
  letter-spacing: .02em;
}

/* =========================================================================
   PROCESS — a real sequence, so numbering carries information
   ========================================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.steps::before {
  content: "";
  position: absolute;
  inset-block-start: 21px;
  inset-inline: 8%;
  block-size: 1px;
  background: repeating-linear-gradient(to right, rgba(12,12,14,.18) 0 6px, transparent 6px 12px);
}
.step { position: relative; text-align: center; }
.step__n {
  position: relative;
  z-index: 2;
  inline-size: 44px;
  block-size: 44px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid rgba(12,12,14,.18);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 500;
  color: var(--mute-ink);
  transition: all .4s var(--ease);
}
.step:hover .step__n,
.step.is-seen .step__n { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.step h3 { margin-block-start: 18px; font-size: 1rem; font-weight: 600; }
.step p { margin-block-start: 6px; font-size: .88rem; color: var(--mute-ink); line-height: 1.8; }

/* =========================================================================
   TURNKEY JOURNEY — land to key.
   A real sequence, so the numbering carries information the reader needs.
   ========================================================================= */

/* home teaser: a scroll-snapping rail of stages */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block-end: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.rail::-webkit-scrollbar { block-size: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
.rail::-webkit-scrollbar-track { background: rgba(255,255,255,.1); border-radius: 999px; }

.stagecard {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink-2);
  display: block;
  isolation: isolate;
}
.stagecard__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.stagecard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.stagecard:hover .stagecard__media img { transform: scale(1.06); }
.stagecard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,14,.95) 4%, rgba(12,12,14,.5) 38%, rgba(12,12,14,.05) 70%);
}
.stagecard__body {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  padding: 20px 20px 22px;
  color: var(--bone);
}
.stagecard__n {
  display: inline-grid;
  place-items: center;
  inline-size: 34px;
  block-size: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold);
  margin-block-end: 12px;
  background: rgba(12,12,14,.55);
  backdrop-filter: blur(4px);
}
.stagecard__body h3 { font-size: 1.02rem; font-weight: 600; color: var(--bone); line-height: 1.5; }

/* full page: alternating rows joined by a gold spine */
.journey { position: relative; display: grid; gap: clamp(56px, 7vw, 96px); }
.jstage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.jstage:nth-child(even) .jstage__media { order: -1; }
.jstage__media { position: relative; border-radius: var(--r); overflow: hidden; }
.jstage__media img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.jstage__n {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  inline-size: 54px;
  block-size: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(12,12,14,.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: .98rem;
  font-weight: 500;
  color: var(--gold);
}
.jstage h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-block-end: 14px; }
.jstage p { color: var(--mute-ink); line-height: 1.95; }
.section-dark .jstage p { color: #B9B9C0; }
.jstage__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 22px;
}
.jstage__items b {
  inline-size: 100%;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-ink);
  margin-block-end: 4px;
}
html[lang="ar"] .jstage__items b { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: .82rem; }

/* =========================================================================
   ABOUT / SPLIT
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--tilt { grid-template-columns: 1.05fr .95fr; }
.split__media { position: relative; }
.split__media img { inline-size: 100%; border-radius: var(--r); object-fit: cover; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split__media--stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.split__media--stack img { aspect-ratio: 1; }

.badge-year {
  position: absolute;
  inset-block-end: -18px;
  inset-inline-start: -18px;
  padding: 20px 26px;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.badge-year b { display: block; font-family: var(--mono); font-size: 1.9rem; font-weight: 500; color: var(--gold); line-height: 1; }
.badge-year span { display: block; margin-block-start: 6px; font-size: .8rem; color: #B9B9C0; }

.ticks { display: grid; gap: 14px; margin-block-start: 30px; }
.tick { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; }
.tick svg { flex: none; inline-size: 20px; block-size: 20px; margin-block-start: 5px; stroke: var(--gold-deep); }
.section-dark .tick svg { stroke: var(--gold); }

/* =========================================================================
   NEWS
   ========================================================================= */
.news {
  background: var(--paper);
  border: 1px solid rgba(12,12,14,.07);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.news:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bone-2); }
.news__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news:hover .news__media img { transform: scale(1.06); }
.news__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news__date { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--gold-deep); }
.news__body p { font-size: .93rem; color: var(--mute-ink); line-height: 1.85; flex: 1; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta { position: relative; overflow: hidden; background: var(--ink); text-align: center; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; opacity: .28; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,12,14,.86), rgba(12,12,14,.94)); }
.cta__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.cta__in .lead { color: #C4C4CC; }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================================
   FORMS
   ========================================================================= */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .88rem; font-weight: 500; }
.field label span { color: var(--gold-deep); }
.field label > span:first-child { color: inherit; }
.field label em {
  font-style: normal;
  font-weight: 400;
  font-size: .78rem;
  color: var(--mute-ink);
  opacity: .85;
}
.field label em::before { content: "("; }
.field label em::after { content: ")"; }
.field input, .field select, .field textarea {
  inline-size: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid rgba(12,12,14,.14);
  border-radius: var(--r-sm);
  font-size: .98rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-block-size: 130px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201,162,39,.16);
}
.field input::placeholder, .field textarea::placeholder { color: #A9A9B0; }
.field__hint { font-size: .8rem; color: var(--mute-ink); line-height: 1.7; }
.field input[type="file"] { padding: 10px; background: var(--bone-2); cursor: pointer; }

.form-note {
  padding: 16px 18px;
  background: var(--bone-2);
  border-inline-start: 2px solid var(--gold);
  border-radius: var(--r-sm);
  font-size: .88rem;
  color: var(--mute-ink);
  line-height: 1.8;
}

.form-done {
  padding: 34px 30px;
  background: var(--paper);
  border: 1px solid rgba(12,12,14,.08);
  border-radius: var(--r);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.form-done__ico {
  inline-size: 58px; block-size: 58px;
  border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
}
.form-done__ico svg { inline-size: 26px; block-size: 26px; stroke: var(--gold); }
[hidden] { display: none !important; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.ccard {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid rgba(12,12,14,.07);
  border-radius: var(--r);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ccard__ico {
  flex: none;
  inline-size: 44px; block-size: 44px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--gold);            /* icons drawn with fill="currentColor" need this */
  display: grid; place-items: center;
}
.ccard__ico svg { inline-size: 20px; block-size: 20px; stroke: var(--gold); }
.ccard h3 { font-size: 1rem; margin-block-end: 4px; }
.ccard a, .ccard p { font-size: .95rem; color: var(--mute-ink); line-height: 1.8; display: block; }
.ccard a:hover { color: var(--gold-deep); }

.map {
  inline-size: 100%;
  block-size: 420px;
  border: 0;
  border-radius: var(--r);
  filter: grayscale(1) contrast(1.06);
  transition: filter .5s var(--ease);
}
.map:hover { filter: grayscale(0); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(12,12,14,.14);
  border-radius: var(--r-pill);
  font-size: .88rem;
  font-weight: 500;
  transition: all .3s var(--ease);
}
.social svg { inline-size: 17px; block-size: 17px; }
.social:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.social:hover svg { stroke: var(--gold); }

/* =========================================================================
   PROJECT DETAIL
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button {
  padding: 0;
  border: 0;
  background: var(--bone-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4/3;
}
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }

/* even two-up variant — no full-width lead tile */
.gallery--pair { grid-template-columns: repeat(2, 1fr); }
.gallery--pair button:first-child { grid-column: auto; aspect-ratio: 16 / 10; }
.gallery--pair button { aspect-ratio: 16 / 10; }

.spec { display: grid; gap: 0; border-block-start: 1px solid rgba(12,12,14,.1); }
.spec__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-block-end: 1px solid rgba(12,12,14,.1);
  font-size: .96rem;
}
.spec__row dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-ink); padding-block-start: 4px; }
.spec__row dd { margin: 0; font-weight: 500; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--bone-2);
  font-size: .84rem;
  font-weight: 500;
}

/* lightbox */
.lbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,8,10,.96);
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lbox.is-open { opacity: 1; visibility: visible; }
.lbox img { max-inline-size: 100%; max-block-size: 88vh; border-radius: var(--r-sm); }
.lbox__x {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-end: 22px;
  inline-size: 46px; block-size: 46px;
  border-radius: 50%;
  border: 1px solid rgba(246,244,240,.28);
  background: transparent;
  color: var(--bone);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .25s;
}
.lbox__x:hover { background: rgba(246,244,240,.14); }
.lbox__nav {
  position: absolute;
  inset-block: 0;
  inline-size: 84px;
  border: 0;
  background: transparent;
  color: var(--bone);
  font-size: 2rem;
  cursor: pointer;
  opacity: .6;
  transition: opacity .25s;
}
.lbox__nav:hover { opacity: 1; }
.lbox__prev { inset-inline-start: 0; }
.lbox__next { inset-inline-end: 0; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.ftr { background: var(--ink); color: #B9B9C0; padding-block: clamp(56px, 7vw, 84px) 0; }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-block-end: 48px;
}
.ftr img.ftr__logo { block-size: 52px; inline-size: auto; margin-block-end: 24px; }
.ftr p { font-size: .93rem; line-height: 1.9; max-inline-size: 34ch; }
.ftr h4 {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 18px;
}
.ftr__links { display: grid; gap: 11px; }
.ftr__links a { font-size: .94rem; transition: color .25s; }
.ftr__links a:hover { color: var(--gold); }
[data-footer-phone] a { display: block; font-size: .94rem; margin-block-end: 11px; transition: color .25s; font-variant-numeric: tabular-nums; }
[data-footer-phone] a:hover { color: var(--gold); }
[data-footer-address] { display: block; font-size: .94rem; line-height: 1.8; margin-block-start: 11px; max-inline-size: 30ch; }

.ftr__soc { display: flex; gap: 10px; margin-block-start: 22px; }
.ftr__soc a {
  inline-size: 40px;
  block-size: 40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.ftr__soc a:hover { background: var(--gold); border-color: var(--gold); }
.ftr__soc svg { inline-size: 18px; block-size: 18px; stroke: currentColor; }
.ftr__soc a:hover svg { stroke: var(--ink); }

.ftr__bot {
  border-block-start: 1px solid rgba(255,255,255,.09);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
}
.ftr__bot .mono { font-size: .76rem; letter-spacing: .06em; color: var(--mute); }

/* floating whatsapp */
.wa {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-start: 22px;
  z-index: 90;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background: #1FA855;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(31,168,85,.6);
  transition: transform .35s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { inline-size: 28px; block-size: 28px; fill: #fff; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-seen { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .plinth__grid { grid-template-columns: repeat(3, 1fr); }
  .plinth__item:nth-child(3n+1) { border-inline-start: 0; }
  .plinth__item:nth-child(n+4) { border-block-start: 1px solid rgba(255,255,255,.07); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .steps::before { display: none; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__act { margin-inline-start: auto; }
  .hdr__act > .btn { display: none; }
  .burger { display: block; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  .counters__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat:nth-child(odd)::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .map { block-size: 320px; }
  .jstage { grid-template-columns: 1fr; }
  .jstage:nth-child(even) .jstage__media { order: 0; }
}

@media (max-width: 680px) {
  :root { --gut: 20px; }
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: auto; }
  .pcard--wide .pcard__media { aspect-ratio: 4/3; }
  .plinth__grid { grid-template-columns: repeat(2, 1fr); }
  .plinth__item:nth-child(3n+1) { border-inline-start: 1px solid rgba(255,255,255,.07); }
  .plinth__item:nth-child(2n+1) { border-inline-start: 0; }
  .plinth__item:nth-child(n+3) { border-block-start: 1px solid rgba(255,255,255,.07); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 1fr; gap: 4px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .badge-year { inset-inline-start: 12px; inset-block-end: 12px; padding: 14px 18px; }
  .hero__scroll { display: none; }
  .phero { padding-block-start: 150px; }
  .lbox__nav { inline-size: 56px; }
}

/* =========================================================================
   REDUCED 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;
  }
  .hero__band { clip-path: none; }
  .hero__kicker, .hero__title, .hero__sub, .hero__cta { opacity: 1; transform: none; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .hdr, .drawer, .wa, .hero__scroll, .cta { display: none !important; }
  body { background: #fff; color: #000; }
}
