:root {
  --red: #b62e27;
  --red-soft: #d86b6b;
  --black: #181717;
  --charcoal: #2f2925;
  --grey: #68707a;
  --beige: #e6d5b8;
  --blue: #1e3a5f;
  --ivory: #f5f4f1;
  --white: #ffffff;
  --line: #e4ddd4;
  --wrap: 1180px;
  --sans: "IBM Plex Sans Arabic", "Montserrat", sans-serif;
  --latin: "Montserrat", "IBM Plex Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
html[lang="en"] body { font-family: var(--latin); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; margin: 0; }
p { margin: 0; }
.latin, .num { font-family: var(--latin); }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 8px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.topbar { background: var(--black); color: var(--white); font-size: 13px; }
.topbar-row, .nav-row, .foot-row, .contact-row, .vision-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar-row { min-height: 40px; }
.top-tools { display: flex; align-items: center; gap: 16px; }
.top-tools a { color: var(--white); text-decoration: none; }
.lang {
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--latin);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.identity { background: var(--white); }
.identity-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 118px;
  padding: 14px 0 10px;
}
.legal { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.55; max-width: 280px; }
.legal.latin {
  justify-self: end;
  text-align: end;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--black);
}
.logo img { width: 78px; height: 78px; object-fit: contain; }
.logo span {
  font-family: var(--latin);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.mainnav { background: var(--black); position: sticky; top: 0; z-index: 4; }
.nav-row { min-height: 54px; }
#nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
#nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
}
#nav a:hover, #nav a:focus-visible { background: rgba(255, 255, 255, 0.08); }
.search-btn, .menu, .round, .hero-arrow {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.search-btn { width: 40px; height: 40px; }
.search-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
}

.hero { position: relative; background: var(--black); min-height: 520px; }
.hero-slide {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: none;
}
.hero-slide.on { display: block; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(24, 23, 23, 0.78) 0%, rgba(24, 23, 23, 0.35) 52%, rgba(24, 23, 23, 0.18) 100%);
}
html[dir="ltr"] .hero-slide::after {
  background: linear-gradient(to right, rgba(24, 23, 23, 0.78) 0%, rgba(24, 23, 23, 0.35) 52%, rgba(24, 23, 23, 0.18) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 72px 0;
  color: var(--white);
}
.hero-copy p { max-width: 36em; }
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: clamp(36px, 4.4vw, 56px);
  max-width: 14em;
}
.hero .accent { color: var(--red); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
#nav a[href="#top"] { background: var(--red); }
.hero p { font-size: 18px; max-width: 36em; color: var(--ivory); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1.5px solid transparent;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #9c2721; }
.btn-line { border-color: var(--white); color: var(--white); background: transparent; }
.btn-line:hover { background: var(--white); color: var(--black); }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
.hero-arrow.prev { inset-inline-start: 18px; }
.hero-arrow.next { inset-inline-end: 18px; }
.dots {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.dots button.on { background: var(--white); }

.band { background: var(--white); padding: 56px 0; }
.band.alt { background: var(--ivory); }
.band.tight { padding-top: 28px; }
.center { text-align: center; }
.band h2 { font-size: clamp(28px, 3vw, 36px); }
.sector-tools { display: flex; justify-content: flex-end; gap: 8px; margin: 8px 0 14px; }
.round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--charcoal);
  background: var(--white);
  font-size: 22px;
}
.sector-window { overflow: hidden; }
.sector-track { display: flex; gap: 16px; transition: transform 0.35s ease; }
.sector-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-height: 210px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: var(--white);
}
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 23, 23, 0.82), rgba(24, 23, 23, 0.05) 55%);
}
.sector-foot {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.sector-go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--latin);
  flex: none;
}

.mosaic { display: grid; grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: 16px; align-items: stretch; }
.story, .about-card, .promo {
  border-radius: 16px;
  min-height: 280px;
}
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--ivory);
  border: 1px solid var(--line);
  overflow: hidden;
}
.story h2 { font-size: 26px; }
.story div { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.story img { height: 100%; object-fit: cover; }
.about-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.eyebrow { color: var(--red); font-weight: 700; font-size: 14px; }
.eyebrow.light { color: var(--beige); }
.text-link { color: var(--red); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  color: var(--white);
  text-decoration: none;
  background: var(--blue) url("media/realestate.jpg") center/cover;
  overflow: hidden;
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.2), rgba(24, 23, 23, 0.82));
}
.promo > * { position: relative; }
.promo strong { font-size: 28px; }
.promo .btn { align-self: flex-start; margin-top: 8px; }

.vision-row { align-items: flex-end; }
.vision-row p { max-width: 38em; font-size: 20px; }

.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 8px; }
.section-head p, .section-note { color: var(--grey); max-width: 40em; }
.finder input {
  width: min(320px, 100%);
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--white);
}
.sector-block {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.sector-block h3 { font-size: 28px; }
.sector-block .en-name { color: var(--red); font-family: var(--latin); font-weight: 600; margin: 4px 0; }
.sector-block .field-line { color: var(--grey); }
.holding {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 12px 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.holding .name-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.holding .kind { flex-basis: 100%; }
.holding strong { font-size: 18px; font-weight: 600; }
.holding:hover strong { color: var(--red); }
.holding .other { color: var(--grey); font-family: var(--latin); font-size: 14px; }
.holding .role { color: var(--grey); font-size: 14px; }
.holding .kind { color: var(--blue); font-size: 13px; font-weight: 700; }
.stake {
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--beige);
  border-radius: 999px;
  padding: 2px 8px;
}

.stakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.stake-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  display: grid;
  gap: 6px;
}
.stake-card:hover strong { color: var(--red); }
.stake-card span { color: var(--grey); }

.letter { background: var(--black); color: var(--ivory); padding: 72px 0; }
.letter-row { max-width: 760px; display: grid; gap: 14px; }
.kicker { letter-spacing: 0.16em; font-size: 13px; color: var(--beige); }
.letter-body { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.8; }
.contact-row { align-items: flex-end; }
.reach { display: grid; gap: 6px; }
.reach a { color: var(--charcoal); font-weight: 700; text-decoration: none; font-size: 20px; }
.reach a:hover { color: var(--red); }

.site-foot { background: var(--black); color: var(--white); padding: 36px 0 22px; }
.foot-row { align-items: center; }
.foot-logo img { width: 64px; height: 64px; }
.site-foot strong { display: block; }
.site-foot .latin { color: #c8c2bc; font-size: 13px; letter-spacing: 0.03em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 18px 0; border-top: 2px solid var(--red); margin-top: 22px; }
.foot-nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; }
.foot-end { display: flex; justify-content: space-between; color: #c8c2bc; font-size: 13px; }
.foot-end a { color: #c8c2bc; }
.flag {
  width: 64px;
  height: 42px;
  flex: none;
  position: relative;
  background: linear-gradient(#d21034 0 33.33%, #ffffff 33.33% 66.66%, #000000 66.66%);
}
.flag::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  border-left: 24px solid #007229;
}

.mast { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.mast-row { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; position: relative; }
.brandlink { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--black); font-family: var(--latin); font-weight: 700; letter-spacing: 0.16em; }
.brandlink img { width: 52px; height: 52px; object-fit: contain; }
.mast #nav a { color: var(--charcoal); }
.mast .lang { color: var(--charcoal); }
.page {
  background: var(--ivory);
  padding: 48px 0 64px;
}
.page h1 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0; }
.company-logo { width: min(320px, 100%); height: auto; margin: 8px 0 4px; background: var(--white); }
.name-in-logo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kicker-red { color: var(--red); font-weight: 700; }
.company-contact { display: grid; gap: 8px; margin-top: 16px; max-width: 640px; }
.company-contact p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.company-contact span { color: var(--grey); font-weight: 700; }
.company-contact a, .company-contact b { color: var(--charcoal); font-weight: 600; text-decoration: none; text-align: left; }
.company-contact a:hover { color: var(--red); }
.sheet { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin-top: 22px; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.panel .actions, .peers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quiet { color: var(--grey); font-weight: 700; text-decoration: none; align-self: center; }
.peers a { text-decoration: none; font-weight: 600; }
.peers a:hover { color: var(--red); }
.gate { max-width: 520px; }
.gate label { display: block; font-weight: 700; margin-top: 14px; }
.gate input[type="text"], .gate input[type="password"], .gate input:not([type="hidden"]) {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--white);
}
.note { color: var(--grey); margin-top: 12px; }
.page .btn-red, .enter {
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

@media (max-width: 980px) {
  .legal { display: none; }
  .identity-row { grid-template-columns: 1fr; justify-items: center; min-height: 0; }
  .menu { display: inline-flex; }
  .mast #nav { background: var(--white); box-shadow: 0 12px 24px rgba(24, 23, 23, 0.08); }
  #nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
  }
  #nav.open { display: flex; }
  .mainnav { position: sticky; }
  .nav-row { position: relative; }
  .mosaic, .stakes, .sheet, .sector-block, .holding { grid-template-columns: 1fr; }
  .sector-card { flex-basis: calc((100% - 16px) / 2); }
  .story { grid-template-columns: 1fr; }
  .story img { height: 180px; width: 100%; }
  .section-head, .vision-row, .contact-row, .foot-row, .topbar-row { flex-direction: column; align-items: flex-start; }
  .hero, .hero-slide, .hero-copy { min-height: 460px; }
}
@media (max-width: 640px) {
  .sector-card { flex-basis: 86%; }
  .hero h1 { font-size: 34px; }
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sector-track { transition: none; }
}
.sector-photo { width: 100%; max-height: 320px; object-fit: cover; border-radius: 18px; margin-top: 12px; }
.office-list { display: grid; gap: 10px; margin-top: 16px; }
.office-list p { margin: 0; }
