:root {
  --bg: #232712;
  --bg-soft: #343b1d;
  --panel: rgba(245, 241, 224, 0.08);
  --panel-strong: rgba(255, 249, 230, 0.12);
  --line: rgba(255, 235, 170, 0.14);
  --gold: #f0c85b;
  --gold-deep: #d2a328;
  --cream: #fff7da;
  --text: #f8f1d4;
  --muted: rgba(248, 241, 212, 0.78);
  --saudi: #0e8d43;
  --china: #d74a3a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 200, 91, 0.16), transparent 30%), radial-gradient(circle at top right, rgba(215, 74, 58, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(14, 141, 67, 0.18), transparent 25%), linear-gradient(135deg, #1d210d 0%, #2b3017 48%, #232712 100%);
  font-family: "Manrope", "Cairo", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.14;
  z-index: 0;
}

body::before {
  top: -8rem;
  background: linear-gradient(135deg, var(--gold), transparent 60%);
}

body::after {
  bottom: -12rem;
  background: linear-gradient(135deg, var(--saudi), transparent 60%);
}

html[dir="rtl"] body {
  font-family: "Cairo", sans-serif;
}

html[dir="rtl"] body::before {
  left: -10rem;
}

html[dir="ltr"] body::before {
  right: -10rem;
}

html[dir="rtl"] body::after {
  right: -8rem;
}

html[dir="ltr"] body::after {
  left: -8rem;
}

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

img {
  display: block;
  max-width: 100%;
}

.page {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(24, 28, 11, 0.58);
  border-bottom: 1px solid rgba(255, 238, 184, 0.08);
}

.topbarInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brandMark {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 233, 174, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.brandMeta {
  min-width: 0;
}

.brandName {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brandTag {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.navLinks,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mobileMenu {
  display: none;
  position: relative;
}

.menuToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 52px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--cream);
  border: 1px solid rgba(255, 231, 162, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  font-size: 0.94rem;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.menuToggle:hover {
  transform: translateY(-2px);
}

.menuToggle::-webkit-details-marker {
  display: none;
}

.menuIcon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menuIcon span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobilePanel {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(48, 54, 24, 0.96), rgba(25, 29, 11, 0.96));
  border: 1px solid rgba(255, 231, 162, 0.14);
  box-shadow: var(--shadow);
}

.mobilePanel nav,
.mobilePanel .mobileActions {
  display: grid;
  gap: 8px;
}

.mobilePanel nav {
  margin-bottom: 10px;
}

.mobilePanel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 231, 162, 0.1);
  font-weight: 700;
}

.navLinks a,
.ghostBtn,
.solidBtn,
.phoneBtn {
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.navLinks a {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.96rem;
}

.navLinks a:hover,
.ghostBtn:hover,
.solidBtn:hover,
.phoneBtn:hover {
  transform: translateY(-2px);
}

.ghostBtn,
.solidBtn,
.phoneBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.96rem;
}

.ghostBtn {
  color: var(--cream);
  border-color: rgba(255, 231, 162, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.solidBtn {
  color: #302000;
  background: linear-gradient(135deg, #f6d46f, #ddac35);
  box-shadow: 0 18px 34px rgba(214, 168, 45, 0.26);
}

.solidBtn:hover {
  box-shadow: 0 22px 40px rgba(214, 168, 45, 0.34);
}

.hero {
  padding: 54px 0 32px;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.heroPanel,
.sectionPanel,
.serviceCard,
.processCard,
.galleryCard,
.contactCard,
.floatingPortal {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.heroPanel {
  padding: 34px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heroPanel::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 141, 67, 0.24), transparent 64%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #231b03;
  background: linear-gradient(135deg, rgba(250, 226, 155, 0.92), rgba(224, 176, 53, 0.92));
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  max-width: fit-content;
}

.heroTitle {
  margin: 22px 0 14px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.03;
  font-weight: 700;
}

.heroText {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.heroActions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.heroPills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.heroPills span {
  display: inline-flex;
  align-items: center;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 247, 218, 0.07);
  border: 1px solid rgba(255, 233, 174, 0.12);
  color: var(--cream);
  font-size: 0.94rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.statCard {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 231, 162, 0.1);
}

.statValue {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}

.statLabel {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

section {
  padding: 18px 0;
}

.sectionPanel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sectionHead h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
}

.sectionHead p {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--muted);
}

.servicesGrid,
.processGrid,
.contactsGrid {
  display: grid;
  gap: 16px;
}

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

.serviceCard,
.processCard,
.contactCard {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.serviceCard strong,
.processCard strong,
.contactCard strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.serviceCard p,
.processCard p,
.contactCard p {
  margin: 0;
  color: var(--muted);
}

.networkLayout {
  display: block;
}

.networkCard {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)), linear-gradient(135deg, rgba(14, 141, 67, 0.18), rgba(215, 74, 58, 0.12));
  border: 1px solid rgba(255, 231, 162, 0.14);
  min-height: 100%;
}

.networkList {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.networkList span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

.networkList span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  flex-shrink: 0;
}

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

.stepNo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #2a2004;
  font-size: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f8da81, #cf9924);
  margin-bottom: 14px;
}

.galleryRow {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.galleryRow::-webkit-scrollbar {
  height: 10px;
}

.galleryRow::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 231, 162, 0.22);
}

.galleryCard {
  flex: 0 0 clamp(260px, 32vw, 360px);
  padding: 14px;
  border-radius: 26px;
  scroll-snap-align: start;
}

.galleryCard img {
  width: 100%;
  aspect-ratio: 949 / 1080;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(255, 231, 162, 0.08), transparent 42%), rgba(20, 22, 10, 0.82);
}

.galleryInfo {
  position: static;
  padding: 16px 4px 2px;
  background: none;
}

.galleryInfo strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 6px;
}

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

.contactSection {
  padding-bottom: 52px;
}

.contactWrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.contactVisual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 231, 162, 0.12);
  aspect-ratio: 949 / 1080;
  background: radial-gradient(circle at top, rgba(255, 231, 162, 0.08), transparent 42%), rgba(20, 22, 10, 0.82);
}

.contactVisual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.contactCard .city {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.phone {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.phoneBtn {
  width: 100%;
  color: #2f2303;
  background: linear-gradient(135deg, #f7d675, #d8a528);
}

.floatingPortal {
  position: fixed;
  bottom: 18px;
  z-index: 25;
  padding: 12px;
  border-radius: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: min(92vw, 440px);
}

.floatingPortal a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 231, 162, 0.12);
}

.floatingPortal a.primary {
  color: #2f2303;
  background: linear-gradient(135deg, #f7d675, #d8a528);
}

html[dir="rtl"] .floatingPortal {
  left: 18px;
}

html[dir="ltr"] .floatingPortal {
  right: 18px;
}

.footer {
  padding: 0 0 24px;
  color: rgba(255, 247, 218, 0.6);
  text-align: center;
  font-size: 0.92rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.heroPanel,
.sectionPanel {
  animation: rise 700ms ease both;
}

@media (max-width: 1080px) {
  .contactWrap {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .topbarInner,
  .sectionHead {
    align-items: start;
  }

  .topbarInner {
    flex-direction: row;
    align-items: center;
  }

  .navLinks,
  .heroActions {
    width: 100%;
  }

  .navLinks,
  .actions {
    display: none;
  }

  .mobileMenu {
    display: block;
  }

  .navLinks a,
  .ghostBtn,
  .solidBtn {
    flex: 1 1 180px;
    justify-content: center;
  }

  .hero {
    padding-top: 26px;
  }

  .heroPanel,
  .sectionPanel {
    padding: 22px;
  }

  .heroPanel {
    min-height: auto;
  }

  .stats,
  .servicesGrid,
  .processGrid,
  .contactsGrid {
    grid-template-columns: 1fr;
  }

  .galleryCard {
    flex-basis: min(78vw, 320px);
  }

  .contactVisual {
    aspect-ratio: auto;
  }

  .floatingPortal {
    position: static;
    margin: 0 auto 18px;
    width: min(calc(100% - 32px), var(--content-width));
  }
}
