/* ============================================================
   GOLD LINE — DESIGN SYSTEM v2
   أنعم، حواف دائرية، ظلال خفيفة، حركة سلسة
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ink: #0F0F0F;
  --ink-soft: #17171A;
  --ink-card: #1C1C20;
  --ink-line: #2E2E34;
  --gold: #C9A24B;
  --gold-bright: #E3C377;
  --gold-deep: #8A6D2F;
  --paper: #FBF9F5;
  --paper-dim: #F3EFE7;
  --white: #FFFFFF;
  --muted: #6E6B65;
  --muted-on-ink: #A8A5A0;
  --border: #E8E3D8;
  --success: #3C7A4F;
  --danger: #B3432D;

  --font: 'Cairo', system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(15,15,15,0.05);
  --shadow-md: 0 6px 24px rgba(15,15,15,0.08);
  --shadow-lg: 0 14px 44px rgba(15,15,15,0.12);

  --max: 1200px;
  --pad: clamp(56px, 8vw, 110px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .container { padding: 0 18px; } }

/* ============================================================
   الشعار المميز — خط ذهبي مائل مستوحى من اللوغو
   ============================================================ */

.blade {
  position: relative;
  height: 2px;
  width: 52px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: var(--r-pill);
}
.blade::after {
  content: '';
  position: absolute;
  top: -5px; right: 0;
  width: 2px; height: 12px;
  background: var(--gold);
  transform: skewX(-22deg);
  border-radius: var(--r-pill);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--gold-deep);
  margin-bottom: 16px;
  background: rgba(201,162,75,.1);
  padding: 7px 16px 7px 14px;
  border-radius: var(--r-pill);
}
.eyebrow.on-ink { color: var(--gold); background: rgba(201,162,75,.14); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1,h2,h3,h4 { font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }

.s-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  max-width: 760px;
}
.s-title.on-ink { color: var(--white); }

.s-lede {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 600px;
  margin-top: 12px;
}
.s-lede.on-ink { color: var(--muted-on-ink); }

.s-head { margin-bottom: 48px; }

/* ============================================================
   BUTTONS — pill shaped
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(201,162,75,.28);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,75,.36);
}

.btn-ghost-light {
  background: rgba(255,255,255,.07);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.13); border-color: var(--gold); color: var(--gold); }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); background: rgba(201,162,75,.05); }

/* ============================================================
   HEADER
   ============================================================ */

.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.scrolled {
  background: rgba(15,15,15,.9);
  backdrop-filter: blur(14px) saturate(140%);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(201,162,75,.16), 0 8px 30px rgba(0,0,0,.3);
}
.hdr .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 6px 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: var(--r-pill);
  transition: width .28s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold); }

.hdr-cta { display: flex; align-items: center; gap: 12px; }

/* زر القائمة (ثلاث نقاط / برغر) */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background .25s var(--ease);
}
.menu-btn:hover { background: rgba(255,255,255,.16); }
.menu-btn span {
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--white);
  transition: all .3s var(--ease);
}
.menu-btn.open span:nth-child(1) { transform: translateY(8px) scale(1.1); background: var(--gold); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) scale(1.1); background: var(--gold); }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hdr-cta .btn-ghost-light { display: none; }
}

/* القائمة المنسدلة للجوال */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a {
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  padding: 13px 34px;
  border-radius: var(--r-pill);
  transition: background .25s var(--ease), color .25s var(--ease);
  transform: translateY(14px);
  opacity: 0;
}
.drawer.open a { transform: translateY(0); opacity: 1; }
.drawer.open a:nth-child(1) { transition: all .35s var(--ease) .05s; }
.drawer.open a:nth-child(2) { transition: all .35s var(--ease) .1s; }
.drawer.open a:nth-child(3) { transition: all .35s var(--ease) .15s; }
.drawer.open a:nth-child(4) { transition: all .35s var(--ease) .2s; }
.drawer.open a:nth-child(5) { transition: all .35s var(--ease) .25s; }
.drawer.open a:nth-child(6) { transition: all .35s var(--ease) .3s; }
.drawer a:hover { background: rgba(201,162,75,.14); color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,15,.6) 0%, rgba(15,15,15,.5) 45%, rgba(15,15,15,.97) 100%),
    radial-gradient(ellipse at 75% 30%, rgba(201,162,75,.13), transparent 60%);
}

.hero-in { position: relative; z-index: 1; padding: 130px 0 80px; max-width: 780px; }

.hero-title {
  font-size: clamp(31px, 5vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -.02em;
}
.hero-title .gw {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  color: var(--muted-on-ink);
  max-width: 560px;
}

.hero-acts { display: flex; align-items: center; gap: 13px; margin-top: 38px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 56px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,162,75,.24);
  border-radius: var(--r-lg);
  padding: 18px 26px;
  backdrop-filter: blur(8px);
}
.hero-badge .n { font-size: 32px; font-weight: 900; color: var(--gold); line-height: 1; }
.hero-badge .t { font-size: 14px; color: var(--muted-on-ink); }

/* ============================================================
   SECTION BASE
   ============================================================ */

.sec { padding: var(--pad) 0; }
.sec-paper { background: var(--paper); }
.sec-white { background: var(--white); }
.sec-ink { background: var(--ink); border-radius: var(--r-xl); margin: 0 12px; }

@media (max-width: 600px) { .sec-ink { margin: 0 6px; border-radius: var(--r-lg); } }

/* ============================================================
   ABOUT
   ============================================================ */

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }

.about-panel {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-panel::before {
  content: '';
  position: absolute; top: 0; right: 32px;
  width: 46px; height: 3px;
  background: var(--gold);
  border-radius: var(--r-pill);
}
.about-panel h3 { color: var(--white); font-size: 19px; margin-bottom: 22px; }
.about-list { display: flex; flex-direction: column; gap: 17px; }
.about-list li { display: flex; gap: 13px; color: var(--muted-on-ink); font-size: 14.5px; }
.about-list svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* ============================================================
   SERVICES
   ============================================================ */

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,162,75,.4);
}
.svc-ico {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: rgba(201,162,75,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc-ico svg { width: 25px; height: 25px; color: var(--gold-deep); }
.svc-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   NEWS — الأخبار والقرارات
   ============================================================ */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.news-img {
  height: 190px;
  background: var(--paper-dim) center/cover no-repeat;
  position: relative;
}
.news-img.is-pdf {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1C1C20, #2A2A30);
}
.news-img.is-pdf svg { width: 46px; height: 46px; color: var(--gold); }

.news-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12.5px; color: var(--gold-deep); font-weight: 700; margin-bottom: 9px; }
.news-card h3 { font-size: 17.5px; margin-bottom: 10px; line-height: 1.45; }
.news-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.news-acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(201,162,75,.12);
  color: var(--gold-deep);
  transition: background .25s var(--ease);
}
.chip:hover { background: rgba(201,162,75,.22); }
.chip svg { width: 15px; height: 15px; }

/* ============================================================
   WORKS — أعمالنا
   ============================================================ */

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .works-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--ink-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.work-card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.45); }

.work-img { height: 200px; background: var(--ink-line) center/cover no-repeat; position: relative; }
.work-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,15,15,.8) 100%);
}
.work-body { padding: 22px 24px 26px; }
.work-cat {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--gold);
  background: rgba(201,162,75,.13);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.work-card h3 { color: var(--white); font-size: 17.5px; margin-bottom: 9px; }
.work-card p { font-size: 14px; color: var(--muted-on-ink); }
.work-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 15px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px; color: var(--muted-on-ink);
}
.work-meta span { display: flex; align-items: center; gap: 6px; }
.work-meta svg { width: 14px; height: 14px; color: var(--gold-deep); }

/* ============================================================
   TRACKING — التتبع
   ============================================================ */

.track-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 600px) { .track-wrap { padding: 28px 20px; border-radius: var(--r-lg); } }

.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 700px) { .track-form { grid-template-columns: 1fr; } }

.fld label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.fld input {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  background: var(--paper);
  font-family: inherit;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.fld input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,162,75,.14);
}

.track-result { margin-top: 34px; display: none; }
.track-result.show { display: block; animation: fadeUp .45s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.track-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.track-head .who { font-size: 19px; font-weight: 800; }
.track-head .inv { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.track-badge {
  background: rgba(201,162,75,.14);
  color: var(--gold-deep);
  font-size: 13.5px; font-weight: 800;
  padding: 9px 18px;
  border-radius: var(--r-pill);
}

/* خط زمني للحالات */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }

.step-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: all .3s var(--ease);
}
.step-dot svg { width: 16px; height: 16px; color: var(--muted); }

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 34px; right: 16px;
  width: 2px;
  height: calc(100% - 34px);
  background: var(--border);
  border-radius: var(--r-pill);
}

.step.done .step-dot { background: var(--gold); border-color: var(--gold); }
.step.done .step-dot svg { color: var(--ink); }
.step.done:not(:last-child)::before { background: var(--gold); }

.step.current .step-dot {
  background: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,162,75,.18);
}
.step.current .step-dot svg { color: var(--gold); }

.step-txt { padding-top: 4px; }
.step-txt .st { font-size: 16px; font-weight: 700; }
.step-txt .sd { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.step.pending .step-txt .st { color: var(--muted); font-weight: 600; }
.step.current .step-txt .st { color: var(--gold-deep); }

.track-note {
  margin-top: 26px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--muted);
}
.track-note strong { color: var(--ink); }

.track-msg {
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 600;
  display: none;
}
.track-msg.show { display: block; }
.track-msg.err { background: rgba(179,67,45,.09); color: var(--danger); border: 1px solid rgba(179,67,45,.24); }

/* ============================================================
   BRANCHES
   ============================================================ */

.br-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .br-grid { grid-template-columns: 1fr; } }

.br-card {
  background: var(--ink-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.br-card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.45); }
.br-card h3 {
  color: var(--white); font-size: 20px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 11px;
}
.br-card h3 svg { width: 20px; height: 20px; color: var(--gold); }

.br-row { display: flex; gap: 12px; margin-bottom: 15px; }
.br-row:last-child { margin-bottom: 0; }
.br-row > svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 5px; }
.br-lbl { display: block; font-size: 11.5px; color: var(--gold-deep); font-weight: 700; margin-bottom: 3px; }
.br-val { font-size: 14.5px; color: var(--muted-on-ink); }
.br-val a { color: var(--muted-on-ink); }
.br-val a:hover { color: var(--gold); }

.br-map {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-size: 13.5px; font-weight: 700;
  color: var(--gold);
  background: rgba(201,162,75,.11);
  padding: 9px 17px;
  border-radius: var(--r-pill);
  transition: background .25s var(--ease);
}
.br-map:hover { background: rgba(201,162,75,.2); }
.br-map svg { width: 15px; height: 15px; }

/* ============================================================
   CTA BAND
   ============================================================ */

.cta {
  background: linear-gradient(120deg, var(--gold) 0%, #D9B65F 100%);
  border-radius: var(--r-xl);
  margin: 0 12px;
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) { .cta { margin: 0 6px; padding: 36px 24px; border-radius: var(--r-lg); } }
.cta::before {
  content: '';
  position: absolute; top: -50%; left: 8%;
  width: 3px; height: 220%;
  background: rgba(15,15,15,.07);
  transform: skewX(-22deg);
}
.cta-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; position: relative;
}
.cta h2 { font-size: clamp(21px, 2.5vw, 29px); color: var(--ink); max-width: 500px; }
.cta .btn { background: var(--ink); color: var(--white); box-shadow: 0 4px 18px rgba(0,0,0,.22); }
.cta .btn:hover { background: #000; transform: translateY(-2px); }

/* ============================================================
   CONTACT
   ============================================================ */

.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; gap: 32px; } }

.ct-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.ct-row { display: flex; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.ct-row:last-child { border-bottom: none; padding-bottom: 0; }
.ct-row:first-child { padding-top: 0; }
.ct-ico {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ct-ico svg { width: 19px; height: 19px; color: var(--gold); }
.ct-lbl { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.ct-val { font-size: 15.5px; font-weight: 600; }
.ct-val a { display: block; }
.ct-val a:hover { color: var(--gold-deep); }

.socials { display: flex; gap: 11px; margin-top: 22px; }
.soc {
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.soc svg { width: 19px; height: 19px; }
.soc:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.soc:hover svg { color: var(--gold); }

.map-block {
  background: var(--ink);
  border-radius: var(--r-lg);
  min-height: 330px;
  display: flex; align-items: center; justify-content: center;
  padding: 38px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.map-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 25%, rgba(201,162,75,.14), transparent 62%);
}
.map-block .mc { position: relative; }
.map-block svg.pin { width: 38px; height: 38px; color: var(--gold); margin: 0 auto 16px; }
.map-block .addr { color: var(--white); font-weight: 700; font-size: 16.5px; margin-bottom: 8px; }
.map-block p { color: var(--muted-on-ink); font-size: 14px; max-width: 290px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */

.ftr { background: var(--ink); padding: 62px 0 24px; margin-top: var(--pad); }
.ftr-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 42px; padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}
@media (max-width: 780px) { .ftr-grid { grid-template-columns: 1fr; gap: 32px; } }

.ftr-brand img { height: 48px; margin-bottom: 16px; }
.ftr-brand p { color: var(--muted-on-ink); font-size: 14px; max-width: 320px; }

.ftr-col h4 { color: var(--white); font-size: 14.5px; margin-bottom: 18px; }
.ftr-col ul { display: flex; flex-direction: column; gap: 12px; }
.ftr-col a, .ftr-col span { color: var(--muted-on-ink); font-size: 14px; }
.ftr-col a:hover { color: var(--gold); }

.ftr-btm {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 14px;
}
.ftr-btm p { color: #5F5C56; font-size: 13px; }
.ftr-soc { display: flex; gap: 10px; }
.ftr-soc a {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.ftr-soc svg { width: 16px; height: 16px; color: var(--muted-on-ink); }
.ftr-soc a:hover { border-color: var(--gold); }
.ftr-soc a:hover svg { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */

.wa {
  position: fixed;
  bottom: 22px; left: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(201,162,75,.4);
  transition: transform .28s var(--ease);
}
.wa:hover { transform: scale(1.08) translateY(-2px); }
.wa svg { width: 26px; height: 26px; color: var(--ink); }

/* ============================================================
   REVEAL / EMPTY
   ============================================================ */

.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }

.empty {
  text-align: center;
  padding: 44px 22px;
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  color: var(--muted);
  font-size: 14.5px;
  grid-column: 1 / -1;
}
.empty.on-ink { border-color: var(--ink-line); color: var(--muted-on-ink); }

.skel {
  background: linear-gradient(90deg, var(--paper-dim) 25%, #EAE5DA 50%, var(--paper-dim) 75%);
  background-size: 200% 100%;
  animation: shim 1.4s infinite;
  border-radius: var(--r-lg);
  height: 300px;
}
@keyframes shim { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   LIGHTBOX (لعرض الصور بالحجم الكامل)
   ============================================================ */

.lb {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.94);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 26px;
}
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-md); }
.lb-x {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.11);
  display: flex; align-items: center; justify-content: center;
}
.lb-x svg { width: 21px; height: 21px; color: #fff; }
.lb-x:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   CUSTOMS CALCULATOR — الحاسبة الجمركية
   ============================================================ */

.calc-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 600px) { .calc-wrap { padding: 26px 18px; border-radius: var(--r-lg); } }

.calc-field { position: relative; }
.calc-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.calc-field input {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  background: var(--paper);
  font-family: inherit;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.calc-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,162,75,.14);
}
.calc-field input:disabled { opacity: .55; cursor: not-allowed; }
.cf-hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* --- حقلا البحث + سهم التبادل --- */
.calc-lookup {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: start;
}
.calc-swap {
  align-self: center;
  margin-top: 22px;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--paper-dim);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.calc-swap svg { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .calc-lookup { grid-template-columns: 1fr; }
  .calc-swap { display: none; }
}

/* --- قائمة الاقتراحات --- */
.calc-suggest {
  display: none;
  position: absolute;
  top: 100%;
  right: 0; left: 0;
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  max-height: 320px;
  overflow-y: auto;
  z-index: 40;
}
.calc-suggest.show { display: block; }

.sg-opt {
  display: block;
  width: 100%;
  text-align: right;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.sg-opt:last-child { border-bottom: none; }
.sg-opt:hover, .sg-opt.on { background: rgba(201,162,75,.09); }

.sg-main {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.sg-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.sg-sub b { color: var(--gold-deep); font-weight: 800; }
.sg-ctx { margin-right: 8px; }
.sg-warn {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  color: var(--danger);
  background: rgba(179,67,45,.1);
  padding: 2px 9px;
  border-radius: var(--r-pill);
  margin-right: 6px;
}
.sg-empty {
  padding: 16px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

/* --- البند المختار --- */
.calc-picked { display: none; }
.calc-picked.show {
  display: block;
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(201,162,75,.08);
  border: 1px solid rgba(201,162,75,.28);
  border-radius: var(--r-md);
  animation: fadeUp .35s var(--ease);
}
.cp-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.cp-head svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; }
.cp-head b { font-weight: 800; }

.cp-bits {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 11px;
}
.cp-ctx {
  width: 100%;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.cp-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-deep);
  background: var(--white);
  border: 1px solid rgba(201,162,75,.3);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.cp-tag b { font-weight: 800; }
.cp-tag.warn { color: var(--danger); border-color: rgba(179,67,45,.3); }

/* --- القيمة والوزن --- */
.calc-nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.calc-acts {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}
.calc-acts .btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.calc-acts .btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* --- رسالة --- */
.calc-msg { display: none; }
.calc-msg.show {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 17px;
  border-radius: var(--r-md);
  background: rgba(60,122,79,.1);
  color: var(--success);
}
.calc-msg.show.err {
  background: rgba(179,67,45,.1);
  color: var(--danger);
}

/* --- النتيجة --- */
.calc-result { display: none; margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--border); }
.calc-result.show { display: block; animation: fadeUp .45s var(--ease); }

.cr-rows { display: flex; flex-direction: column; gap: 12px; }

.cr-row {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 19px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.cr-row.muted { opacity: .68; }

.cr-ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: rgba(201,162,75,.14);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.cr-ico svg { width: 19px; height: 19px; }

.cr-body { flex: 1; min-width: 0; }
.cr-lbl { font-size: 14.5px; font-weight: 700; }
.cr-frm { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cr-note { font-size: 12px; color: var(--gold-deep); margin-top: 3px; }

.cr-val {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.cr-total {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-top: 18px;
  padding: 20px 22px;
  background: var(--ink);
  border-radius: var(--r-md);
}
.crt-lbl { color: #C9C6BD; font-size: 14.5px; font-weight: 700; }
.crt-val { color: var(--gold); font-size: 25px; font-weight: 900; }

.cr-partial {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-deep);
  background: rgba(201,162,75,.09);
  padding: 11px 15px;
  border-radius: var(--r-sm);
}

.cr-disc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 18px;
}
.cr-disc strong { color: var(--ink); }

.calc-result .btn-gold { margin-top: 16px; }
