:root {
  --navy: #0B1426;
  --gold: #C9A24B;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F6F4EF;
  --ink: #0B1426;
  --muted: #4A5468;
  --line: rgba(201, 162, 75, .45);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden
}

*,
*::before,
*::after {
  box-sizing: inherit
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Cairo, Tahoma, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.8;
  font-size: 14px
}

img,
svg {
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

.wrap {
  width: min(1160px, 92%);
  margin-inline: auto
}

section {
  padding: 90px 0
}

.alt {
  background: var(--soft)
}

.dark {
  background: var(--navy);
  color: var(--white)
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800
}

.head {
  margin-bottom: 34px
}

.head p {
  color: var(--muted);
  max-width: 640px;
  margin: 10px 0 0
}

.dark .head p {
  color: rgba(255, 255, 255, .75)
}

.bar {
  display: block;
  width: 72px;
  height: 4px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px
}

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

.emb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: screen;
  flex: none
}

/* header */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: .62rem;
  letter-spacing: .35em;
  font-weight: 600;
  line-height: 1
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0
}

nav a {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: .2s
}

nav a:hover,
nav a.on {
  color: var(--gold);
  border-color: var(--gold)
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .25s, opacity .2s
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* buttons */
.btn {
  /* display: inline-flex; */
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: .2s
}

.btn.fill {
background: #0c1426;
color: #c7a150;
}

.btn.fill:hover {
  /* background: var(--navy);
  border-color: var(--gold); */
  box-shadow: 0 1px 5px #000; 
  background: #c7a150;
  color: #0c1426;
}

.btn.line {
  color: var(--white)
}

.btn.line:hover {
  background: var(--gold);
  color: var(--navy)
}

.maplink {
  color: var(--ink)
}

.maplink:hover {
  color: var(--navy)
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  background: var(--navy);
  color: var(--white)
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: .12;
  right: -200px;
  top: -200px
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800
}

.hero .en {
  color: var(--gold);
  letter-spacing: .7em;
  font-weight: 600;
  margin: 4px 0 20px
}

.hero p {
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 0 28px
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-txt {
  text-align: center;
}

.tags {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 0;
  justify-content: center;
}

.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 18px;
  font-size: .9rem;
  color: var(--gold)
}

.hero h1,
.hero .en,
.hero p,
.hero .cta,
.tags {
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both
}

.hero .en {
  animation-delay: .12s
}

.hero p {
  animation-delay: .25s
}

.hero .cta {
  animation-delay: .38s
}

.tags {
  animation-delay: .5s
}

.hero-vis {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1/1;
  justify-self: left;
}

.ht {
  position: absolute;
  object-fit: cover;
  border-radius: 20px;
  /* border: 4px solid #fff; */
  box-shadow: 0 2px 5px #C9A24B;
}

.ht.a {
  top: 0;
  right: 0;
  width: 58%;
  height: 46%;
  animation: floatA 6s ease-in-out infinite
}

.ht.b {
  top: 30%;
  left: 0;
  width: 52%;
  height: 48%;
  animation: floatB 7s ease-in-out infinite
}

.ht.c {
  bottom: 0;
  right: 8%;
  width: 60%;
  height: 34%;
  animation: floatA 8s ease-in-out infinite -2s
}

.seal {
  position: absolute;
  top: 40%;
  left: 36%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  overflow: hidden;
  z-index: 2;
  animation: floatB 5s ease-in-out infinite -1s;
  box-shadow: 0 0 40px rgba(201, 162, 75, .45)
}

.seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.15);
  mix-blend-mode: screen
}

.ring {
  position: absolute;
  inset: 6%;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 5s ease-out infinite
}

.ring.r2 {
  animation-delay: 2.5s
}

.cue {
  position: absolute;
  z-index: 1;
  bottom: 26px;
  left: 50%;
  margin-left: -13px;
  width: 26px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 14px
}

.cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  margin-left: -2px;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: dot 1.7s ease-in-out infinite
}

@keyframes floatA {

  0%,
  100% {
    transform: translateY(-14px)
  }

  50% {
    transform: translateY(14px)
  }
}

@keyframes floatB {

  0%,
  100% {
    transform: translateY(14px)
  }

  50% {
    transform: translateY(-14px)
  }
}

@keyframes pulse {
  0% {
    transform: scale(.8);
    opacity: .5
  }

  100% {
    transform: scale(1.3);
    opacity: 0
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes dot {
  0% {
    opacity: 0;
    transform: translateY(0)
  }

  30% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translateY(16px)
  }
}

/* split: المحتوى يمين والصور يسار، و.rev العكس */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center
}

.split.rev>.txt {
  order: 2
}

.split>* {
  min-width: 0
}

.lead {
  color: var(--muted);
  margin: 0 0 6px
}

.feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 20px
}

.feat .ico {
  margin: 0;
  flex: none;
  width: 50px;
  height: 50px
}

.feat h3 {
  font-size: 1.05rem;
  font-weight: 800
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem
}

.big {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 26px;
  margin-bottom: 18px;
  border-inline-start: 6px solid var(--gold)
}

.big .ico {
  width: 64px;
  height: 64px;
  margin: 0;
  flex: none
}

.big h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px
}

.big p {
  margin: 0;
  color: rgba(255, 255, 255, .82)
}

.sub {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 60px 0 24px;
  display: flex;
  align-items: center;
  gap: 16px
}

.sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

/* مكعبات الصور فوق بعض */
.stack {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%
}

.stack::before {
  content: "";
  position: absolute;
  inset: 6% 10% -4% -4%;
  border: 2px solid var(--gold);
  border-radius: 26px;
  opacity: .7
}

.cube {
  position: absolute;
  overflow: hidden;
  border-radius: 20px;
  /* border: 4px solid var(--surface); */
  box-shadow: 0 4px 6px #000;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1)
}

.cube img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.c1 {
  top: 0;
  right: 0;
  width: 64%;
  height: 60%;
  z-index: 1
}

.c2 {
  top: 26%;
  left: 0;
  width: 54%;
  height: 46%;
  z-index: 2
}

.c3 {
  bottom: 0;
  right: 12%;
  width: 58%;
  height: 36%;
  z-index: 3
}

.stack:hover .c1 {
  transform: translate(8px, -8px)
}

.stack:hover .c2 {
  transform: translate(-8px, 0)
}

.stack:hover .c3 {
  transform: translate(6px, 8px)
}

.cube.tile {
  background: var(--navy);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  border-color: var(--gold)
}

.cube.tile svg {
  width: 42px;
  height: 42px
}

.cube.tile .big2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1
}

.cube.tile span {
  font-weight: 700;
  font-size: .95rem
}

.stack.two {
  aspect-ratio: 4/3
}

.stack.two .c1 {
  width: 78%;
  height: 76%;
  top: 0;
  right: 0
}

.stack.two .c2 {
  width: 46%;
  height: 46%;
  top: auto;
  bottom: 0;
  left: 0
}

.stack.two .c3 {
  display: none
}

.stack.one {
  aspect-ratio: 16/9
}

.stack.one .c1 {
  width: 94%;
  height: 94%;
  top: 3%;
  right: 0
}

.stack.one::before {
  inset: 0 8% -5% -3%
}

/* cards */
.grid {
  display: grid;
  gap: 20px
}

.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.grid>* {
  min-width: 0
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: transform .25s, border-color .25s
}

.card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--gold)
}

.dark .card {
  background: transparent;
  color: var(--white)
}

.ico {
  width: 58px;
  height: 58px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--gold)
}

.ico svg {
  width: 28px;
  height: 28px
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem
}

.dark .card p {
  color: rgba(255, 255, 255, .75)
}

.vals .card {
  text-align: center
}

.vals .ico {
  margin-inline: auto
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px
}

.chips span {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  font-weight: 600;
  font-size: .9rem
}

.chips svg {
  width: 20px;
  height: 20px;
  color: var(--gold)
}

/* rows (قطاعات وخطوات) */
.row2 {
  padding: 34px 0;
  border-bottom: 1px solid var(--line)
}

.row2:last-child {
  border-bottom: 0
}

.row2 .ico {
  margin-bottom: 12px
}

.row2 h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px
}

.row2 p {
  margin: 0;
  color: var(--muted)
}

.row2 ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.row2 li {
  font-size: .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 14px
}

.num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 12px
}

.row2.st {
  padding: 26px 0
}

.row2.st h3 {
  font-size: 1.3rem
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start
}

.contact>* {
  min-width: 0
}

.info {
  display: grid;
  gap: 16px
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  background: var(--surface)
}

.info-row .ico {
  margin: 0;
  flex: none
}

.info-row b {
  display: block
}

.info-row span,
.info-row a {
  color: var(--muted);
  direction: ltr;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere
}

form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: var(--surface)
}

label {
  font-weight: 600;
  font-size: .92rem
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  margin-top: 4px
}

textarea {
  min-height: 110px;
  resize: vertical
}

.map {
  margin-top: 36px;
  border: 2px solid var(--gold);
  border-radius: 22px;
  overflow: hidden;
  height: 380px;
  background: var(--soft)
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0
}

/* footer */
footer {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid var(--line)
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px 0 36px
}

.foot>* {
  min-width: 0
}

.foot p {
  opacity: .8;
  margin: 14px 0 0;
  font-size: .95rem
}

.foot h4 {
  color: var(--gold);
  margin: 0 0 14px;
  font-size: 1.05rem
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: .93rem;
  opacity: .9
}

.foot a:hover {
  color: var(--gold)
}

.foot li a {
  overflow-wrap: anywhere
}

.copy {
  border-top: 1px solid var(--line);
  padding: 18px 4%;
  text-align: center;
  font-size: .9rem
}

/* floating */
.float-btn {
  position: fixed;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 20, 38, .35);
  transition: .25s
}

.float-btn i {
  width: 28px;
  height: 28px
}

.wa {
  left: 20px;
  right: auto;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--gold);
  color: var(--navy)
}

.wa:hover {
  transform: scale(1.08)
}

.top {
  right: 20px;
  left: auto;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px)
}

.top.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

.top:hover {
  background: var(--gold);
  color: var(--navy)
}

/* responsive */
@media(max-width:1020px) and (min-width:821px) {
  nav a {
    font-size: .85rem
  }

  nav ul {
    gap: 14px
  }
}

@media(max-width:960px) {

  .split,
  .contact,
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px
  }

  .split.rev>.txt {
    order: 0
  }

  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .foot {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .hero-vis {
    width: min(420px, 88%)
  }

  .stack {
    max-width: 560px;
    margin-inline: auto
  }

  .stack.one {
    max-width: 100%
  }
}

@media(max-width:820px) {
  .burger {
    display: flex
  }

  nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--navy);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s
  }

  nav.open {
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .35)
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 4%
  }

  nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 162, 75, .2)
  }

  section {
    padding: 64px 0
  }

  .map {
    height: 320px
  }
}

@media(max-width:560px) {
  body {
    font-size: 16px
  }

  .g2,
  .g4 {
    grid-template-columns: minmax(0, 1fr)
  }

  .foot {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 0 24px
  }

  .big {
    flex-direction: column;
    padding: 22px
  }

  .hero {
    padding: 96px 0 80px
  }

  .hero-vis {
    width: 92%
  }

  .hero .en {
    letter-spacing: .5em
  }
}

@media(max-width:380px) {
  .brand {
    font-size: 1.05rem
  }

  .emb {
    width: 36px;
    height: 36px
  }

  .nav {
    height: 64px
  }
}

@media(max-height:600px) {
  .cue {
    display: none
  }
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --surface: #101B33;
    --soft: #0D1830;
    --ink: #FFFFFF;
    --muted: rgba(255, 255, 255, .75)
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* ===== v5: معرض الأعمال + لوقوهات الشركاء + تحسينات ===== */
.skip {
  position: absolute;
  top: -70px;
  right: 10px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700
}

.skip:focus {
  top: 8px
}

.scroll-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
  transform-origin: right center;
  transform: scaleX(0)
}

.head.center {
  text-align: center
}

.head.center .bar,
.head.center p {
  margin-inline: auto
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 34px
}

.f-btn {
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 22px;
  cursor: pointer;
  transition: .2s
}

.f-btn:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.f-btn.on {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold)
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px
}

.g-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
  background: #0f1b33
}

.g-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1
}

.g-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.g-item:hover img,
.g-item:focus-visible img {
  transform: scale(1.08)
}

.g-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  background: linear-gradient(transparent, rgba(11, 20, 38, .92));
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: .3s
}

.g-item:hover .g-cap,
.g-item:focus-visible .g-cap {
  opacity: 1;
  transform: none
}

.g-cap b {
  font-size: 1rem
}

.g-cap small {
  color: var(--gold);
  font-size: .8rem
}

.is-hidden {
  display: none
}

.pop {
  animation: pop .45s ease both
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(.94)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(hover:none) {
  .g-cap {
    opacity: 1;
    transform: none
  }
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 10, 20, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px
}

.lb[hidden] {
  display: none
}

.lb figure {
  margin: 0;
  max-width: min(980px, 78vw);
  text-align: center
}

.lb img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
  border: 3px solid var(--gold)
}

.lb figcaption {
  color: #fff;
  margin-top: 12px
}

.lb button {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 20, 38, .85);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: .2s
}

.lb button:hover {
  background: var(--gold);
  color: var(--navy)
}

.lb-x {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px
}

.logos {
  overflow: hidden;
  direction: ltr;
  margin: 0 0 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.logos-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 6px 22px 6px 0;
  animation: marquee 32s linear infinite
}

.logos:hover .logos-track {
  animation-play-state: paused
}

.logo {
  flex: none;
  /* width: 190px;
  height: 96px; */
  width: 150px;
  height: 160px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 5px #000;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(1); */
  /* opacity: .75; */
  transition: .3s
}

.logo:hover img {
  filter: none;
  opacity: 1
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

@media(max-width:960px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(max-width:560px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .f-btn {
    padding: 6px 14px;
    font-size: .85rem
  }

  .logo {
    width: 150px;
    height: 80px
  }

  .lb {
    padding: 12px
  }

  .lb figure {
    max-width: 100%
  }

  .lb-p,
  .lb-n {
    position: absolute;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px))
  }

  .lb-p {
    right: 18px
  }

  .lb-n {
    left: 18px
  }

  .lb img {
    max-height: 70vh
  }
}

@media(prefers-reduced-motion:reduce) {
  .logos {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible
  }

  .logos-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center
  }

  .logo[aria-hidden="true"] {
    display: none
  }
}

/* ================= v6: بوتستراب 4 + فونت أوسم ================= */
/* تهيئة فوق بوتستراب */
h1,h2,h3,h4,h5,h6{color:inherit}
p{margin:0}
a:hover{color:inherit;text-decoration:none}
.lead{font-size:inherit;font-weight:inherit}
.btn:focus,.btn:active:focus{box-shadow:none}
.card{display:block;position:relative}
.card.h-100{height:100%}
.ico i{font-size:1.5rem;line-height:1}
.feat .ico i{font-size:1.3rem}
.float-btn i{font-size:1.5rem;line-height:1}

/* القائمة العلوية (Navbar) */
.site-nav{min-height:72px;padding:0;flex-wrap:wrap;align-items:center}
.site-nav .navbar-brand{margin:0;padding:0;font-size:1.25rem}
.navbar-collapse{justify-content:flex-end}
.navbar-dark .navbar-nav .nav-link{color:#fff;font-weight:600;font-size:.95rem;padding:6px 0;margin:0 0 0 22px;border-bottom:2px solid transparent;transition:.2s}
.navbar-dark .navbar-nav .nav-link:hover,.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link.on{color:var(--gold);border-color:var(--gold)}
.navbar-toggler.burger{padding:0;border:1px solid var(--line);flex-direction:column;gap:5px;align-items:center;justify-content:center;width:44px;height:44px}
.navbar-toggler.burger:focus{outline:none;box-shadow:0 0 0 3px rgba(201,162,75,.45)}
@media(min-width:992px){
  .navbar-toggler.burger{display:none!important}
  .navbar-nav{flex-direction:row}
}
@media(min-width:992px) and (max-width:1140px){
  .navbar-dark .navbar-nav .nav-link{font-size:.85rem;margin-left:14px}
}
@media(max-width:991.98px){
  .navbar-toggler.burger{display:flex}
  .navbar-collapse{flex-basis:100%;background:var(--navy);border-top:1px solid var(--line);max-height:calc(100vh - 90px);overflow-y:auto;padding:6px 0 10px}
  .navbar-dark .navbar-nav .nav-link{display:block;margin:0;padding:14px 4px;border-bottom:1px solid rgba(201,162,75,.2)}
  .navbar-dark .navbar-nav .nav-link:hover,.navbar-dark .navbar-nav .nav-link.on{border-color:rgba(201,162,75,.2)}
}

/* الشركاء: 5 في كل سطر */
.partners{margin-bottom:26px}
.partners .logo{width:100%;height:150px;margin:0;display:flex;align-items:center;justify-content:center}
.partners .logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(min-width:992px){.col-lg-5ths{flex:0 0 20%;max-width:20%}}
@media(max-width:575.98px){.partners .logo{height:120px;padding:10px}}

/* النموذج */
.form-group{margin:0}
.form-group label{display:block;margin:0 0 4px}
.form-control,.custom-select{height:auto;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background-color:#fff;color:var(--navy);font:inherit}
.custom-select{padding-inline-end:2.2rem}
.form-control:focus,.custom-select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,75,.25);color:var(--navy);outline:0}
.btn-block{display:flex}

/* التواصل الاجتماعي */
.social{list-style:none;display:flex;gap:10px;padding:0;margin:16px 0 0}
.social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--gold);color:var(--gold);font-size:1.05rem;transition:.25s}
.social a:hover{background:var(--gold);color:var(--navy);transform:translateY(-3px)}
.social.flat{margin:8px 0 0}
.info-row .social a{width:38px;height:38px;font-size:.95rem}
footer .social a{color:var(--gold)}

/* الأسئلة الشائعة */
#faqAcc{display:block}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:14px;overflow:hidden;transition:border-color .25s,box-shadow .25s}
.faq-item:hover{border-color:var(--gold)}
.faq-item h3{margin:0;font-size:1rem}
.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;background:none;border:0;padding:18px 24px;font:inherit;font-weight:700;font-size:1.05rem;text-align:start;color:var(--ink);cursor:pointer}
.faq-q:focus{outline:none}
.faq-q:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.faq-q i{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--gold);font-size:.8rem;transition:.3s}
.faq-q[aria-expanded="true"] i{background:var(--gold);color:var(--navy);transform:rotate(45deg)}
.faq-a{padding:0 24px 20px;color:var(--muted)}
.collapsing{transition:height .3s ease}
@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}
