:root {
  --ink: #0f1114;
  --ink-2: #1a1d22;
  --line: #2a2e35;
  --text: #e9eaec;
  --muted: #9aa0a8;
  --accent: #f5781c;
  --accent-ink: #1a0b00;
  --paper: #f6f5f2;
  --paper-text: #17191c;
  --radius: 14px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--ink); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(15,17,20,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { direction: ltr; display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; }
.logo img { height: 42px; width: auto; }
.logo .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; color: var(--text) !important; }
@media (max-width: 760px) { .nav a:not(.lang) { display: none; } }

/* Hero */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, #2a1a0c 0%, var(--ink) 60%); }
.hero .sun { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; top: -14vmax; inset-inline-end: -8vmax; background: radial-gradient(circle at 40% 60%, #ffb15e 0%, var(--accent) 38%, #c4520a 70%, transparent 71%); filter: saturate(1.05); box-shadow: 0 0 160px 40px rgba(245,120,28,.35); }
.hero .bands { position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: min(52%, 640px); display: grid; grid-template-columns: repeat(5, 1fr); }
.hero .bands i { position: relative; border-inline-start: 1px solid rgba(255,255,255,.08); }
.hero .bands i:nth-child(1) { background: rgba(10,10,12,.88); }
.hero .bands i:nth-child(2) { background: rgba(10,10,12,.66); }
.hero .bands i:nth-child(3) { background: rgba(10,10,12,.46); }
.hero .bands i:nth-child(4) { background: rgba(10,10,12,.30); }
.hero .bands i:nth-child(5) { background: rgba(10,10,12,.14); }
.hero .bands b { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 800; font-size: .95rem; color: var(--accent); letter-spacing: .02em; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(15,17,20,.92) 38%, rgba(15,17,20,.2) 62%, transparent 100%); pointer-events: none; }
html[dir="rtl"] .hero::after { background: linear-gradient(270deg, var(--ink) 0%, rgba(15,17,20,.92) 38%, rgba(15,17,20,.2) 62%, transparent 100%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--ink)); z-index: 1; pointer-events: none; }
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero .bands { width: 100%; top: auto; height: 46%; }
  .hero::after { background: linear-gradient(180deg, rgba(15,17,20,.1) 0%, rgba(15,17,20,.25) 45%, rgba(15,17,20,.96) 70%) !important; }
  .hero .bg { object-position: center top; }
  .hero .sun { width: 80vw; height: 80vw; top: -20vw; }
}
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 72px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.08; font-weight: 800; max-width: 15ch; }
html[lang="ar"] .hero h1 { line-height: 1.3; }
.hero p { margin-top: 18px; max-width: 52ch; color: #c9ccd1; font-size: 1.1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Stats strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip div.stat { padding: 26px 0; }
.strip div.stat + div.stat { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.stat b { display: block; font-size: 1.7rem; color: var(--accent); font-weight: 800; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip div.stat + div.stat { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
}

/* Services */
section { padding: 96px 0; }
.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 12px; }

.service { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.service:nth-child(even) .media { order: 2; }
.service .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #22262c, #14171b); position: relative; }
.service .media img { width: 100%; height: 100%; object-fit: cover; }
.service .num { color: var(--accent); font-weight: 700; font-size: .9rem; letter-spacing: .1em; }
.service h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 14px; font-weight: 800; }
.service p { color: #c3c7cd; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: #1d2126; border: 1px solid var(--line); color: #d5d8dc; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 24px; }
  .service:nth-child(even) .media { order: 0; }
}

/* Missing-photo placeholder */
.ph { position: absolute; inset: 0; display: none; place-items: center; text-align: center; color: #5b616a; font-size: .85rem; padding: 20px; }
.media.missing img, .hero.missing .bg { display: none; }
.media.missing .ph { display: grid; }

/* Contact */
.contact { background: var(--paper); color: var(--paper-text); }
.contact .section-head p { color: #5a5f66; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid #e3e1db; border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .ico { width: 42px; height: 42px; border-radius: 10px; background: #fff0e4; display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; color: #d05f0c; }
.card small { color: #6b7078; display: block; font-size: .85rem; }
.card strong { font-size: 1.08rem; direction: ltr; unicode-bidi: embed; display: inline-block; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Floating WhatsApp */
.wa { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 30; }
.wa svg { width: 28px; height: 28px; color: #fff; }
.hero .bands { z-index: 2; }
.hero .wrap { z-index: 3; }
@media (max-width: 760px) { .hero .bands b { display: none; } }
/* Photo hero */
.hero { background: var(--ink); }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .bands i:nth-child(1) { background: rgba(10,10,12,.62); }
.hero .bands i:nth-child(2) { background: rgba(10,10,12,.46); }
.hero .bands i:nth-child(3) { background: rgba(10,10,12,.32); }
.hero .bands i:nth-child(4) { background: rgba(10,10,12,.18); }
.hero .bands i:nth-child(5) { background: rgba(10,10,12,.06); }
.hero .bands { width: min(46%, 620px); }
.hero .bands b { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 760px) { .hero .bands { display: none; } }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero picture { display: block; }
  .hero .bg { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; object-position: center; }
  .hero::after { display: none; }
  .hero::before { bottom: auto; top: calc((100vw * .75) - 90px); height: 90px; }
  .hero .wrap { padding-top: 8px; padding-bottom: 48px; }
}
