:root {
  --bg: #0b0b0b;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --line: #2a2a2a;
  --text: #f3efe8;
  --muted: #9a9388;
  --orange: #ff8a1f;
  --orange-2: #ffa54d;
  --orange-ink: #1a0d00;
  --orange-soft: rgba(255, 138, 31, 0.12);
  --ok: #7fd36b;
  --danger: #ff6b5b;
  --radius: 14px;
  --font: "Cairo", system-ui, sans-serif;
  --font-head: "Reem Kufi", "Cairo", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.o { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-weight: 700; font-size: 15px;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--orange); color: var(--orange); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-2); color: var(--orange-ink); }
.btn-primary .snip { transition: transform .3s; }
.btn-primary:hover .snip { animation: snip .5s ease-in-out 2; }
@keyframes snip { 50% { transform: rotate(-25deg) scale(1.1); } }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ---------- الهيدر ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 11, 11, .88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-head); font-size: 22px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; direction: ltr; }
.logo svg { width: 22px; height: 22px; color: var(--orange); }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 9px 18px; font-size: 14px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- الواجهة ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: #000 url("../assets/hero-wide.jpg") center right / cover no-repeat; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%), linear-gradient(0deg, var(--bg) 0%, rgba(11,11,11,0) 22%);
}
.hero .wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.hero-text { width: min(520px, 100%); padding-top: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.15; margin: 0 0 16px; }
.hero p { color: #cfc8bd; font-size: 18px; margin: 0 0 28px; max-width: 440px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 28px; color: var(--orange); font-weight: 400; line-height: 1.2; }
.hero-stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .hero { background-image: url("../assets/hero-mobile.jpg"); background-position: center top; background-size: 100% auto; align-items: flex-end; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 38%, rgba(11,11,11,.6) 55%, rgba(11,11,11,0) 75%); }
  .hero .wrap { justify-content: flex-start; }
  .hero-text { padding: 0 0 48px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 22px; margin-top: 28px; }
}

/* ---------- مؤثرات المقص ---------- */
.fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fx svg { position: absolute; color: var(--orange); opacity: .5; animation: float 9s ease-in-out infinite; }
.fx .f1 { width: 34px; top: 22%; left: 8%; animation-delay: 0s; }
.fx .f2 { width: 22px; top: 62%; left: 20%; opacity: .32; animation-delay: -3s; animation-duration: 11s; }
.fx .f3 { width: 26px; top: 16%; left: 48%; opacity: .28; animation-delay: -6s; }
.fx .f4 { width: 18px; top: 74%; left: 42%; opacity: .25; animation-delay: -2s; animation-duration: 13s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-18px) rotate(14deg); }
}
.fx .snipping .blade-a { transform-origin: 12px 12px; animation: blade 2.4s ease-in-out infinite; }
.fx .snipping .blade-b { transform-origin: 12px 12px; animation: blade-b 2.4s ease-in-out infinite; }
@keyframes blade { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(14deg); } 90% { transform: rotate(0); } }
@keyframes blade-b { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(0); } }
@media (max-width: 760px) { .fx .f3, .fx .f4 { display: none; } .fx .f1 { top: 8%; left: 6%; } .fx .f2 { top: 30%; left: 80%; } }
@media (prefers-reduced-motion: reduce) { .fx svg, .fx * { animation: none !important; } }

/* ---------- أقسام ---------- */
section { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(30px, 4vw, 44px); margin: 0; line-height: 1.3; }
.sec-head p { color: var(--muted); margin: 8px 0 0; }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--orange); margin-top: 14px; }
.divider::before, .divider::after { content: ""; width: 48px; height: 1px; background: var(--line); }
.divider svg { width: 18px; height: 18px; }
@media (max-width: 760px) { section { padding: 72px 0; } }

/* ---------- الخدمات ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 760px; margin-inline: auto; }
.service {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: var(--orange); transform: translateY(-3px); }
.service .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.service .ic svg { width: 24px; height: 24px; }
.service h3 { margin: 0; font-size: 19px; font-weight: 700; }
.service .price { font-family: var(--font-head); font-size: 30px; color: var(--orange); white-space: nowrap; }
.service .price small { font-size: 16px; }
.service .meta { display: flex; align-items: center; gap: 14px; }

/* ---------- الحجز ---------- */
.booking { background: var(--bg-2); border-block: 1px solid var(--line); }
.book-card { max-width: 760px; margin-inline: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.step { margin-bottom: 26px; }
.step-label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; font-size: 15px; }
.step-label span { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--orange-ink); display: grid; place-items: center; font-size: 13px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.chip {
  flex-shrink: 0; border: 1px solid var(--line); background: var(--bg-2); border-radius: 12px;
  padding: 10px 14px; cursor: pointer; text-align: center; min-width: 74px; transition: border-color .15s, background .15s;
}
.chip small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.chip b { display: block; font-size: 18px; line-height: 1.3; }
.chip:hover:not([disabled]) { border-color: var(--orange); }
.chip.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.chip.on small { color: var(--orange); }
.chip[disabled] { opacity: .35; cursor: not-allowed; }
.svc-chips .chip { min-width: 0; flex: 1; padding: 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); background: var(--bg-2); border-radius: 10px; padding: 10px 0; cursor: pointer; text-align: center; font-size: 15px; direction: ltr; transition: border-color .15s, background .15s; }
.slot:hover:not([disabled]) { border-color: var(--orange); }
.slot.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.slot[disabled] { color: #555; text-decoration: line-through; cursor: not-allowed; }
.empty { color: var(--muted); font-size: 14px; padding: 18px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } .book-card { padding: 22px 18px; } }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--orange); }
.input.bad { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; margin-top: 6px; min-height: 0; }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.summary p { margin: 0; color: var(--muted); font-size: 14px; }
.summary p b { color: var(--text); }

/* ---------- المعرض ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); border: 1px solid var(--line); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 12px; }

/* ---------- الفيديو ---------- */
.video-box { max-width: 900px; margin-inline: auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16/9; position: relative; }
.video-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); background: #000 url("../assets/hero-wide.jpg") center / cover; }
.video-soon::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.video-soon div { position: relative; }
.video-soon svg { width: 56px; height: 56px; color: var(--orange); margin: 0 auto 8px; }

/* ---------- التواصل ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s; }
a.contact-card:hover { border-color: var(--orange); }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 { margin: 0 0 2px; font-size: 16px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- نافذة النجاح + تنبيه ---------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.8); display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; width: min(420px, 100%); text-align: center; animation: pop .3s ease-out; }
.modal-card .big { width: 72px; height: 72px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin: 0 auto 16px; }
.modal-card .big svg { width: 36px; height: 36px; }
.modal-card h3 { margin: 0 0 8px; font-size: 22px; }
.modal-card p { color: var(--muted); margin: 0 0 20px; }
.modal-card .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--bg-3); border: 1px solid var(--line); padding: 12px 20px; border-radius: 12px; z-index: 120; transition: transform .3s; font-size: 14px; max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.bad { border-color: var(--danger); }
.demo-banner { background: var(--orange); color: var(--orange-ink); text-align: center; font-size: 13px; padding: 6px 12px; font-weight: 700; position: fixed; inset: auto 0 0; z-index: 60; }
.demo-banner[hidden] { display: none; }
body:has(.demo-banner:not([hidden])) .toast { bottom: 52px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
