/* Brand palette (from logo, extended) */
:root {
  --gold: #be9b49;
  --slate: #41413d;
  --offwhite: #f0f0f0;
  --white: #ffffff;
  --ink: #0f0f0f;
  --smoke: rgba(255, 255, 255, 0.07);
  --control-h: 42px;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, Tajawal, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--offwhite);
  background:
    radial-gradient(700px 500px at 70% 12%, rgba(190,155,73,0.10), rgba(190,155,73,0)) no-repeat,
    radial-gradient(700px 300px at 18% 28%, rgba(255,255,255,0.06), rgba(255,255,255,0)) no-repeat,
    radial-gradient(600px 400px at 82% 78%, rgba(190,155,73,0.07), rgba(190,155,73,0)) no-repeat,
    linear-gradient(180deg, #111 0%, #0a0a0a 100%) no-repeat;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed;
  background-position: center top, center top, center top, center top;
  background-color: #0a0a0a;
  line-height: 1.6;
  padding-top: var(--header-h);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 800px; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(17, 17, 17, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--offwhite);
  text-decoration: none;
  font-weight: 700;
}

.brand img { height: 28px; width: auto; display: block; }
.brand span { white-space: nowrap; }

.nav { display: flex; gap: 18px; }
.nav a {
  color: var(--offwhite);
  text-decoration: none;
  opacity: 0.9;
}
.nav a:hover { opacity: 1; color: var(--white); }
.nav .highlight { color: var(--gold); font-weight: 600; }
.lang { display: inline-flex; gap: 6px; margin-left: 8px; }
.lang-btn { background: transparent; color: var(--offwhite); border: 1px solid rgba(255,255,255,0.15); padding: 4px 8px; border-radius: 8px; cursor: pointer; }
.lang-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.lead { font-size: clamp(16px, 1.45vw, 20px); opacity: 0.9; }

.cta { display: flex; gap: 12px; margin: 22px 0 12px; }

.trust-points {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  opacity: 0.9;
}

.trust-points li { white-space: nowrap; }

.trust-points li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
}

.hero-logo { width: 100%; max-width: 520px; opacity: 0.9; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)); }

/* Sections */
.section { padding: 72px 0; }
.hero, #about, #offerings, #contact { scroll-margin-top: var(--header-h); }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 16px; }
.section p { margin: 0 0 10px; }

/* Unify background in About section to avoid vertical banding */
#about { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.04); }

/* Smooth background for Contact section to avoid visible seam */
#contact { background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.02)); border-top: 1px solid rgba(255,255,255,0.05); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 18px;
  min-height: 140px;
}

/* Brands */
.brand-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-pill { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; background: rgba(255,255,255,0.03); opacity: 0.9; }

/* Metrics */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { text-align: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 18px; }
.kpi .num { font-size: 36px; font-weight: 700; color: var(--gold); }
.kpi .label { opacity: 0.9; }

/* Logistics */
.logi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.logi-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 18px; }

/* FAQ */
.faq details { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }

/* CTA Band */
.cta-band { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cta-band h3 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); }

/* Simple bar chart */
.chart-card { margin-top: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; }
.line-chart { position: relative; height: 200px; }
.line-chart::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to top, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 1px, transparent 1px, transparent 40px); border-radius: 8px; }
.line-chart canvas { position: relative; display: block; width: 100%; height: 100%; }
.chart-tooltip { position: absolute; padding: 6px 8px; background: rgba(17,17,17,0.9); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; font-size: 12px; color: var(--offwhite); pointer-events: none; transform: translate(-50%, -120%); opacity: 0; transition: opacity 150ms ease; white-space: nowrap; }
.chart-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(190,155,73,0.3); transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 150ms ease; }

/* Timeline */
.timeline { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.timeline li { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; position: relative; }
.timeline li::before { counter-increment: step; content: counter(step); position: absolute; top: -10px; left: -10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #0e0d0a; font-weight: 700; }

/* Cases */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; }
.mini-kpis { display: flex; gap: 14px; margin-top: 8px; }
.mini-kpis .num { color: var(--gold); font-weight: 700; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 22px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* Contact */
.contact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.contact-link { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--control-h); }
.contact-link:hover { color: var(--gold); }

.contact-form { display: grid; gap: 14px; margin-top: 16px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--offwhite);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.45); }
.actions { display: flex; align-items: center; gap: 12px; }
.form-status { font-size: 14px; opacity: 0.9; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(17,17,17,0.8);
}
.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--offwhite); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 920px) {
  .footer-copy { display: inline; }
  .footer-copy .footer-after-onix { display: block; }
}

/* Buttons */
.btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  color: var(--offwhite);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: var(--control-h);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #d6b465, #b79240);
  border-color: rgba(190,155,73,0.6);
  color: #0e0d0a;
  font-weight: 700;
}
.btn-primary:hover { background: linear-gradient(180deg, #e5c776, #c6a24f); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.18); }
.btn-wa { border-color: rgba(37,211,102,0.35); color: #25d366; }
.btn-wa:hover { border-color: rgba(37,211,102,0.65); color: #44e081; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.reveal-in { opacity: 1; transform: none; }

/* Age gate */
.hidden-by-js { display: none; }
.age-gate {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}
.age-modal {
  width: 92vw; max-width: 520px;
  background: rgba(22,22,22,0.96);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.age-logo { height: 42px; margin-bottom: 10px; opacity: 0.95; }
.age-actions { display: flex; gap: 12px; justify-content: center; margin: 12px 0; }
.age-gate.fade-out { animation: fadeOut 400ms ease forwards; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* Smoke background */
.smoke {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.smoke .puff {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 280px; height: 280px;
  margin-left: -140px;
  background: radial-gradient(50% 50% at 50% 50%, var(--smoke) 0%, rgba(255,255,255,0) 70%);
  filter: blur(8px);
  animation: drift 18s linear infinite;
}

/* Different sizes and timings */
.smoke .puff:nth-child(1) { left: 20%; animation-duration: 24s; animation-delay: 0s; width: 220px; height: 220px; }
.smoke .puff:nth-child(2) { left: 35%; animation-duration: 28s; animation-delay: 2s; width: 320px; height: 320px; }
.smoke .puff:nth-child(3) { left: 50%; animation-duration: 26s; animation-delay: 4s; width: 260px; height: 260px; }
.smoke .puff:nth-child(4) { left: 65%; animation-duration: 30s; animation-delay: 6s; width: 340px; height: 340px; }
.smoke .puff:nth-child(5) { left: 80%; animation-duration: 22s; animation-delay: 1s; width: 200px; height: 200px; }
.smoke .puff:nth-child(6) { left: 10%; animation-duration: 32s; animation-delay: 8s; width: 360px; height: 360px; }
.smoke .puff:nth-child(7) { left: 28%; animation-duration: 27s; animation-delay: 3s; width: 280px; height: 280px; }
.smoke .puff:nth-child(8) { left: 44%; animation-duration: 29s; animation-delay: 5s; width: 300px; height: 300px; }
.smoke .puff:nth-child(9) { left: 58%; animation-duration: 31s; animation-delay: 7s; width: 320px; height: 320px; }
.smoke .puff:nth-child(10) { left: 72%; animation-duration: 25s; animation-delay: 9s; width: 240px; height: 240px; }
.smoke .puff:nth-child(11) { left: 86%; animation-duration: 33s; animation-delay: 11s; width: 360px; height: 360px; }
.smoke .puff:nth-child(12) { left: 5%; animation-duration: 35s; animation-delay: 13s; width: 380px; height: 380px; }

@keyframes drift {
  0% { transform: translate(-50%, 0) scale(0.8); opacity: 0; }
  10% { opacity: 0.5; }
  50% { opacity: 0.35; }
  100% { transform: translate(-50%, -120vh) scale(1.4); opacity: 0; }
}

/* Responsive */
@media (max-width: 920px) {
  html, body { overflow-x: hidden; }
  .hero-grid { grid-template-columns: 1fr; }
  .trust-points { flex-wrap: wrap; }
  .trust-points li { white-space: normal; }
  .feature-grid, .cards { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .logi-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .brand span { display: none; }
  .nav { gap: 12px; }
  .lang { position: relative; }
  .lang .lang-btn[aria-pressed="false"] { display: none; }
  .nav-wa svg { display: block; }
  .contact-block { flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  #contact .narrow { text-align: center; }
}

/* Floating WhatsApp button */
/* removed floating WhatsApp FAB */

/* RTL support */
[dir="rtl"] {
  direction: rtl;
}
[dir="rtl"] .hero-grid { direction: rtl; }
[dir="rtl"] .trust-points li::before { margin: 0 0 0 8px; }


