:root {
  --ink: #06070b;
  --ink-2: #0b0f16;
  --ink-3: #121826;
  --line: rgba(232, 220, 196, 0.12);
  --gold: #c9a36a;
  --gold-2: #e8d5a3;
  --blue: #1e6bff;
  --blue-2: #6aa2ff;
  --text: #eef2f8;
  --muted: #8d97a8;
  --sand: #f4ead6;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --display: "Syne", "IBM Plex Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(30, 107, 255, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(201, 163, 106, 0.08), transparent 50%),
    var(--ink);
  line-height: 1.65;
}
body.is-rtl { font-family: "IBM Plex Sans Arabic", var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-header, main, .site-footer, .wa-fab { position: relative; z-index: 1; }

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 11, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.topbar-inner, .nav-wrap, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar-inner { min-height: 38px; }
.topbar-meta { display: flex; gap: 10px; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px) saturate(140%);
  background: rgba(6, 7, 11, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; border-radius: 8px; }
.brand strong { display: block; font-family: var(--display); letter-spacing: 0.18em; font-size: 15px; }
.brand small { color: var(--gold); letter-spacing: 0.08em; font-size: 10px; text-transform: uppercase; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #d7deea;
  font-size: 14px;
  font-weight: 600;
}
.nav a.is-active, .nav a:hover { background: rgba(30, 107, 255, 0.16); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700;
}
.lang.is-active { border-color: var(--gold); color: var(--gold-2); }
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; letter-spacing: 0.02em; transition: transform .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #e8d5a3, var(--gold)); color: #1a1206; }
.btn-blue { background: linear-gradient(180deg, #4d8dff, var(--blue)); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--sand); background: transparent; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; }

.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6,7,11,.25), rgba(6,7,11,.82) 70%, #06070b),
    url("../../old_code/d2pi0n2fm836iz.cloudfront.net/306448/0309202509491767cd641d34cc4.jpg") center/cover;
}
.hero-inner { padding: 90px 0 70px; display: grid; gap: 28px; max-width: 920px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-2); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-weight: 700;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1, h2, .display {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 14px;
}
h1 { font-size: clamp(42px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
.lead { font-size: clamp(16px, 2vw, 20px); color: #c9d1de; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  padding: 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand);
}

.section { padding: 92px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 760px; }
.muted { color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.stat {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-radius: var(--radius);
}
.stat b { display: block; font-family: var(--display); font-size: 34px; color: var(--gold-2); }
.stat span { color: var(--muted); font-size: 13px; }

.bento { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.card, .glass {
  border: 1px solid var(--line);
  background: rgba(18, 24, 38, 0.72);
  border-radius: var(--radius);
  overflow: hidden;
}
.card { padding: 28px; }
.card h3 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; }
.card img, .cover { width: 100%; height: 240px; object-fit: cover; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cred {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #0b1018;
  border-radius: 16px;
}
.cred small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; margin-bottom: 6px; }

.product-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101722, #0b0f16);
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
  transition: transform .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(201,163,106,.45); }
.product-card .media {
  aspect-ratio: 1 / 1;
  background: #0a0d13;
  display: grid;
  place-items: center;
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 18px 18px 22px; display: grid; gap: 8px; flex: 1; }
.product-card .cat { color: var(--gold); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.product-card h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.price { color: var(--sand); font-size: 15px; }
.price s { color: var(--muted); margin-inline-end: 8px; }

.page-hero {
  padding: 90px 0 40px;
  background:
    linear-gradient(180deg, rgba(6,7,11,.3), #06070b),
    url("../../old_code/d2pi0n2fm836iz.cloudfront.net/306448/0409202413403866154556dac3b.jpg") center/cover;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filters a, .filters button {
  border: 1px solid var(--line); background: transparent; color: var(--sand);
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.filters a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.search {
  width: min(360px, 100%);
  background: #0b1018; border: 1px solid var(--line); color: #fff;
  border-radius: 999px; padding: 12px 16px; margin-bottom: 22px;
}

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.product-detail .gallery {
  background: #0b1018; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
}
.product-detail .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.desc { white-space: pre-wrap; color: #d5dce8; }
.meta-list { display: grid; gap: 8px; margin: 18px 0; color: var(--muted); }

.service-card .cover {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.service-card h3, .project h3 { font-family: var(--display); margin: 0 0 10px; font-size: 22px; }
.service-card ul { margin: 0; padding-inline-start: 18px; color: #c9d1de; }
.project {
  position: relative; min-height: 280px; border-radius: 24px; overflow: hidden;
  background-size: cover; background-position: center;
}
.project figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px;
  background: linear-gradient(transparent, rgba(6,7,11,.92));
}
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.clients figure {
  background: #fff; border-radius: 16px; min-height: 92px;
  display: grid; place-items: center; padding: 12px;
}
.clients img { max-height: 52px; width: auto; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; }
form .field { display: grid; gap: 6px; margin-bottom: 14px; }
form label { font-size: 13px; color: var(--gold-2); }
form input, form textarea, form select {
  width: 100%; background: #0b1018; border: 1px solid var(--line); color: #fff;
  border-radius: 14px; padding: 12px 14px;
}
.map-frame { min-height: 320px; border: 0; border-radius: 24px; width: 100%; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #05060a;
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-family: var(--display); margin: 0 0 12px; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); margin: 0 0 8px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.social { display: flex; gap: 12px; }

.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  background: #25d366; color: #053; font-weight: 800;
  padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
body.is-rtl .wa-fab { right: auto; left: 20px; }

.notice {
  padding: 14px 16px; border-radius: 14px; margin-bottom: 18px;
  border: 1px solid var(--line); background: rgba(30,107,255,.12);
}

@media (max-width: 980px) {
  .stats, .grid-3, .grid-4, .bento, .product-detail, .contact-grid, .footer-grid, .creds, .clients {
    grid-template-columns: 1fr 1fr;
  }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  }
  .nav, .nav-actions .btn { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 20px; right: 20px; top: 128px;
    background: #0c111a; border: 1px solid var(--line); border-radius: 18px; padding: 12px;
  }
  .hero { min-height: 80vh; }
}

@media (max-width: 640px) {
  .wrap { width: min(1240px, calc(100% - 24px)); }
  .stats, .grid-2, .grid-3, .grid-4, .bento, .product-detail, .contact-grid, .footer-grid, .creds, .clients, .topbar-inner {
    grid-template-columns: 1fr;
  }
  .topbar-meta { display: none; }
  .nav-wrap { min-height: 72px; }
  h1 { font-size: 40px; }
  .section { padding: 64px 0; }
}
