:root {
  --bg: #0b0b0b;
  --ink: #f4f1ea;
  --mute: #c8c2b8;
  --line: #2c2a28;
  --bar: #161616;
  --paper: #f7f4ee;
  --paper-ink: #1c1916;
  --accent: #c4a574;
  --accent-ink: #1a140c;
  --radius: 6px;
  --hit: 44px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
}
.skip:focus { top: 8px; background: #fff; color: #000; padding: 6px 10px; z-index: 9; }

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 10px 22px;
  background: var(--bg);
}
.brand img {
  height: 60px;
  width: auto;
  background: transparent;
  object-fit: contain;
  padding: 0;
}
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.menu a {
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0;
}
.menu a:hover { color: var(--accent); }
.menu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hit);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 16px;
}
button.menu__btn { background: transparent; color: inherit; font: inherit; cursor: pointer; }
.menu__btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lang { display: flex; gap: 6px; }
.lang button {
  min-width: var(--hit);
  min-height: var(--hit);
  background: transparent;
  color: var(--ink);
  border: 1px solid #3a3a3a;
  border-radius: var(--radius);
  padding: 0 10px;
  cursor: pointer;
}
.lang button.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.burger {
  display: none;
  width: var(--hit);
  height: var(--hit);
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius);
  cursor: pointer;
}
.burger i {
  display: block;
  height: 1px;
  margin: 6px 8px;
  background: #fff;
}

.banner {
  background: var(--bar);
  padding: 28px 28px 22px;
}
.banner h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
}
.banner p { margin: 8px 0 0; color: var(--mute); font-size: 14px; }

.show { padding: 28px 6vw 8px; }
.show__frame {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  background: #111;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.show__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.show__slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  transform: translate3d(100%, 0, 0);
}
.show__slide.is-on,
.show__slide.is-move { visibility: visible; }
.show__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.show__cap {
  position: absolute;
  z-index: 2;
  inset-inline-end: 18px;
  bottom: 52px;
  max-width: 70%;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.show__nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: var(--hit);
  height: var(--hit);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
}
.show__nav svg { width: 22px; height: 22px; }
.show__nav--next svg { transform: scaleX(-1); }
html[dir="rtl"] .show__nav--prev svg { transform: scaleX(-1); }
html[dir="rtl"] .show__nav--next svg { transform: none; }
.show__nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.show__nav--prev { inset-inline-start: 6px; }
.show__nav--next { inset-inline-end: 6px; }
.dots {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 4px;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.dots button {
  width: var(--hit);
  height: var(--hit);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.dots button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
}
.dots button.is-on::before { background: var(--accent); border-color: var(--accent); }

.prose, .block, .contact, .faq, .foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px;
}
.prose h2, .block > h2, .contact h2 {
  margin: 0 0 14px;
  font-size: 22px;
}
.prose p, .note { margin: 0 0 12px; color: var(--mute); }
.block { padding-top: 10px; }

.svc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.svc li { border-bottom: 1px solid var(--line); }
.svc__row {
  display: flex;
  gap: 14px;
  padding: 16px 12px;
  border-inline-start: 2px solid transparent;
}
.svc li:hover .svc__row { background: #141414; border-inline-start-color: var(--accent); }
.svc__row span:first-child { color: var(--accent); min-width: 2ch; }
.svc__row strong { display: block; font-weight: 600; }
.svc__row em { display: block; color: var(--mute); font-style: normal; font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.filters button {
  background: transparent;
  color: #fff;
  border: 1px solid #444;
  padding: 6px 12px;
  cursor: pointer;
}
.filters button.is-on { background: #fff; color: #000; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}
.card strong { display: block; margin-top: 8px; }
.card em { color: #9a9a9a; font-style: normal; font-size: 13px; }
.sub { margin: 28px 0 12px; font-size: 16px; text-transform: uppercase; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li { border-top: 1px solid var(--line); padding-top: 10px; }
.steps span { color: var(--accent); font-size: 13px; }
.steps h3 { margin: 4px 0; font-size: 16px; }
.steps p { margin: 0; color: var(--mute); }
.mood {
  display: block;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius);
  text-decoration: none;
}
.mood:hover { border-color: var(--accent); }
.mood span { display: block; color: var(--accent); font-size: 13px; }
.mood strong { display: block; margin-top: 4px; }

.faq {
  max-width: none;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 48px 8vw 56px;
}
.faq h2 { text-align: center; font-size: 36px; margin: 0 0 28px; }
.faq__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 0 40px; }
.faq details { border-bottom: 1px solid #ddd; padding: 4px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: var(--hit);
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: #8a7048; font-size: 20px; line-height: 1; }
.faq details[open] summary::before { content: "–"; }
.faq details p { margin: 8px 0 4px; color: #444; }

.contact {
  display: grid;
  gap: 24px;
}
.contact a { color: var(--ink); }
.contact a:hover { color: var(--accent); }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field span { color: var(--mute); font-size: 13px; }
.form input, .form select, .form textarea {
  width: 100%;
  min-height: var(--hit);
  background: transparent;
  color: var(--ink);
  border: 1px solid #4a4a4a;
  border-radius: var(--radius);
  padding: 10px 12px;
}
.form textarea { min-height: 120px; }
.form button {
  justify-self: start;
  min-height: var(--hit);
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  cursor: pointer;
  font-weight: 600;
}
.form button:hover { filter: brightness(1.08); }
.form button:disabled { opacity: 0.6; cursor: wait; }
.form__ok { color: #ffb4b4; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
button.dock { border: 0; font: inherit; cursor: pointer; }
.dock {
  position: fixed;
  z-index: 50;
  top: 46%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #1f4fd8;
  color: #fff;
  text-decoration: none;
  padding: 14px 8px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  font-weight: 600;
  font-size: 14px;
}
.dock span { writing-mode: vertical-rl; }
.dock svg { width: 16px; height: 16px; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
body.sheet-open .dock svg { transform: rotate(180deg); }
.sheet-back {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(8, 10, 16, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
body.sheet-open .sheet-back { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 0;
  width: min(340px, calc(100vw - 48px));
  max-height: min(86vh, 720px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.34);
  color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-right: 0;
  border-radius: 22px 0 0 22px;
  box-shadow: -18px 20px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  padding: 18px 50px 16px 16px;
  transform: translate3d(100%, -50%, 0);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.55s;
}
body.sheet-open .sheet {
  transform: translate3d(0, -50%, 0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.sheet h2 { margin: 0 0 12px; font-size: 22px; font-weight: 700; color: #0b0b0b; }
.sheet .form { gap: 8px; }
.sheet .field span { color: #111; font-size: 13px; font-weight: 600; }
.sheet .form input,
.sheet .form select,
.sheet .form textarea {
  background: rgba(255, 255, 255, 0.88);
  color: #0b0b0b;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 10px;
  min-height: 40px;
}
.sheet .form select { background: rgba(32, 36, 42, 0.9); color: #fff; border: 0; }
.sheet .form textarea { min-height: 76px; }
.sheet .form button[type="submit"] {
  width: 100%;
  justify-self: stretch;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(31, 79, 216, 0.92);
  color: #fff;
  font-size: 15px;
}
.sheet .form__ok { color: #9b2c2c; }
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet-back, .dock svg { transition: none; }
}
.float {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.float svg { width: 28px; height: 28px; }
.float__wa { background: #25d366; }
.float__call { background: #1f6feb; }
.float a:hover { filter: brightness(1.06); }
.social { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; }
.social__row { display: flex; gap: 8px; }
.social__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.social__btn svg { width: 22px; height: 22px; }
.social__btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.foot a.social__btn { display: grid; width: 44px; margin: 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share button, .share a, .filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hit);
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.share button.is-on, .filters button.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html[lang="en"] [data-show="ar"], html[lang="ar"] [data-show="en"] { display: none; }
.page { max-width: var(--max); margin: 0 auto; padding: 36px 22px 72px; }
.page h1 { margin: 8px 0; font-size: 34px; }
.page h2 { margin: 28px 0 8px; font-size: 22px; }
.note, .crumb { color: var(--mute); }
.crumb a { color: inherit; }
.badge { display: inline-flex; align-items: center; min-height: 28px; border: 1px solid var(--accent); color: var(--accent); border-radius: var(--radius); padding: 0 8px; font-size: 13px; }
.facts { padding-inline-start: 18px; }
.facts li { margin: 8px 0; }
.ref { font-size: 28px; letter-spacing: 0.04em; }
.heroimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #111; margin: 18px 0; }
.gallery, .works { display: grid; gap: 12px; }
.gallery a { display: block; }
.gallery img, .work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.work { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work__body { display: grid; gap: 4px; padding: 12px; }
.work strong { font-size: 18px; }
.work em { color: var(--mute); font-style: normal; font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.related { display: grid; gap: 8px; }
.related a { color: var(--accent); }

.foot {
  max-width: none;
  border-top: 1px solid #222;
  padding: 36px 8vw 18px;
}
.foot__cols {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.foot h3 { margin: 0 0 8px; font-size: 14px; }
.foot a { display: block; color: #ddd; text-decoration: none; margin-bottom: 4px; }
.foot a:hover { color: var(--accent); }
.foot .share a, .foot .share button { display: inline-flex; color: #ddd; border-color: #666; margin: 0; }
.foot__copy {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 14px;
  border-top: 1px solid #222;
  color: #888;
  font-size: 13px;
}

.modal {
  width: min(920px, calc(100% - 24px));
  border: 0;
  padding: 0;
  background: #111;
  color: #fff;
}
.modal::backdrop { background: rgba(0, 0, 0, 0.72); }
.modal__x {
  position: absolute;
  inset-inline-end: 10px;
  top: 10px;
  min-height: var(--hit);
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius);
  padding: 0 14px;
  cursor: pointer;
}
.modal img { width: 100%; max-height: 52vh; object-fit: contain; background: #000; }
.modal .body { padding: 16px 18px 22px; }
.modal__thumbs { display: flex; gap: 8px; overflow: auto; margin-top: 12px; }
.modal__thumbs img { width: 120px; height: 80px; object-fit: cover; cursor: pointer; }

@media (min-width: 760px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .faq__grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .foot__cols { grid-template-columns: 1fr 1fr 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .bar { grid-template-columns: auto auto 1fr; }
  .burger { display: block; justify-self: end; }
  .lang { justify-self: end; }
  .menu {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 74px;
    background: var(--bg);
    border-top: 1px solid #222;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 22px 18px;
  }
  body.menu-open .menu { display: flex; }
}
