/* =========================================================
   FATIMAH PHOTOGRAPHER — أسود وشامبين
   ========================================================= */
:root {
  --bg: #0b0a09;
  --bg-2: #12100d;
  --surface: #17140f;
  --surface-2: #1e1a14;
  --line: rgba(216, 190, 145, .18);
  --line-strong: rgba(216, 190, 145, .38);
  --text: #f4ede2;
  --muted: #bdb2a1;          /* تباين ≈ 9:1 على الأسود */
  --gold: #d6b67a;
  --gold-2: #f1dfb8;
  --gold-3: #a8864c;
  --champagne: linear-gradient(100deg, #a8864c 0%, #e9d3a6 30%, #fff4dc 50%, #e9d3a6 70%, #a8864c 100%);
  --radius: 14px;
  --font-ar: "Noto Naskh Arabic", "Amiri", "Times New Roman", serif;
  --font-display: "Amiri", "Noto Naskh Arabic", serif;
  --font-latin: "Cormorant Garamond", Georgia, serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-ar); font-size: 1.0625rem; line-height: 1.9;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold-2); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.35; margin: 0; }
p { margin: 0 0 .8em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; right: 16px; background: var(--gold); color: #000; padding: 8px 16px; border-radius: 8px; z-index: 200; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 10, 9, .55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s, background .4s;
}
.site-header.scrolled { background: rgba(11, 10, 9, .88); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1280px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line-strong); font-family: var(--font-latin); font-size: 1.3rem; color: var(--gold);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { font-family: var(--font-latin); letter-spacing: .22em; font-size: .95rem; line-height: 1.1; direction: ltr; text-align: left; }
.brand-text small { display: block; font-size: .62rem; letter-spacing: .38em; color: var(--gold); }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--muted); text-decoration: none; padding: 8px 12px; font-size: .92rem; border-radius: 999px;
  transition: color .3s, background .3s;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold-2); background: rgba(214, 182, 122, .08); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--gold-2); margin: 6px 0; transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(11, 10, 9, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .35s var(--ease);
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 80px;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(214, 182, 122, .12), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(168, 134, 76, .10), transparent 70%),
    var(--bg);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.hero-logo { margin-bottom: 28px; }
.hero-logo img { width: min(360px, 80%); height: auto; }
.wordmark { direction: ltr; text-align: right; font-family: var(--font-latin); font-weight: 500; }
.wm-main { display: block; font-size: clamp(2.8rem, 7vw, 5.4rem); letter-spacing: .14em; line-height: 1; background: var(--champagne); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-sub { display: block; font-size: clamp(.8rem, 1.6vw, 1.05rem); letter-spacing: .62em; color: var(--muted); margin-top: 12px; }

.bio { max-width: 58ch; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: #e9e0d2; }
.bio-greet { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--text); margin-bottom: .5em; }
.bio-punch { margin-top: 1em; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); }

.champagne-shimmer {
  position: relative; display: inline-block;
  background: var(--champagne); background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4.5s var(--ease) infinite;
}
.champagne-shimmer::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: scaleX(0); transform-origin: center; animation: underline 1.6s .9s var(--ease) forwards;
}
@keyframes shimmer { 0%, 15% { background-position: 100% 0; } 60%, 100% { background-position: -150% 0; } }
@keyframes underline { to { transform: scaleX(1); } }

.socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; min-height: 44px;
  border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--text);
  font-size: .9rem; transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.socials a:hover { background: rgba(214, 182, 122, .1); border-color: var(--gold); transform: translateY(-2px); }
.socials svg, .wa-float svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill, .wa-float svg .fill { fill: var(--gold); stroke: none; }

.shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.shortcut {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, rgba(214, 182, 122, .06), transparent 60%);
  overflow: hidden; transition: border-color .4s, transform .4s var(--ease);
}
.shortcut::before {
  content: ""; position: absolute; inset: 0; background: var(--champagne); opacity: 0; transition: opacity .5s; mix-blend-mode: overlay;
}
.shortcut:hover { border-color: var(--gold); transform: translateY(-4px); }
.shortcut:hover::before { opacity: .12; }
.sc-num { font-family: var(--font-latin); color: var(--gold); font-size: .9rem; letter-spacing: .2em; }
.sc-title { font-family: var(--font-display); font-size: 1.2rem; }
.sc-desc { font-size: .82rem; color: var(--muted); }

.hero-portrait { margin: 0; }
.frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 10px rgba(214, 182, 122, .04);
}
.frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0, 0, 0, .55); pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.placeholder {
  height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 20px; color: var(--muted); font-size: .9rem;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(214, 182, 122, .035) 14px 15px), var(--surface);
  border: 1px dashed var(--line-strong); border-radius: inherit;
}
.placeholder svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .8; }
.placeholder small { font-family: monospace; direction: ltr; opacity: .7; font-size: .75rem; }

.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold); border-radius: 2px; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; width: min(300px, 62%); margin-inline: auto; }
  .wa-float { width: 52px; height: 52px; left: 14px; }
  .hero-copy { text-align: center; }
  .wordmark { text-align: center; }
  .hero-logo img { margin-inline: auto; }
  .bio { margin-inline: auto; }
  .socials { justify-content: center; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .shortcuts { grid-template-columns: 1fr; }
  .shortcut { flex-direction: row; align-items: baseline; gap: 12px; text-align: right; }
  .sc-desc { margin-inline-start: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.eyebrow { font-family: var(--font-latin); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); font-size: .85rem; margin: 0 0 6px; direction: ltr; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 1px; margin: 16px auto 0; background: var(--champagne); }
.lead { color: var(--muted); max-width: 60ch; margin: 14px auto 0; }
.sub-title { font-size: 1.3rem; margin: 48px 0 18px; display: flex; align-items: center; gap: 14px; }
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filters button {
  background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 8px 18px; min-height: 42px;
  border-radius: 999px; font-size: .95rem; transition: .3s;
}
.filters button:hover { color: var(--text); border-color: var(--line-strong); }
.filters button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #120f0a; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.g-item {
  break-inside: avoid; margin-bottom: 14px; position: relative; display: block; width: 100%; padding: 0;
  border: 0; border-radius: 10px; overflow: hidden; background: var(--surface);
}
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); filter: saturate(1.05); }
.g-item .g-tag {
  position: absolute; bottom: 10px; right: 10px; font-size: .75rem; padding: 3px 10px; border-radius: 999px;
  background: rgba(11, 10, 9, .7); color: var(--gold-2); opacity: 0; transition: opacity .4s;
}
.g-item:hover .g-tag, .g-item:focus-visible .g-tag { opacity: 1; }
.g-item[hidden] { display: none; }

.empty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.empty-grid .placeholder { aspect-ratio: 4 / 5; border-radius: 10px; }
.empty-grid.wide .placeholder { aspect-ratio: 16 / 9; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.v-card { position: relative; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.v-card video { width: 100%; height: 100%; aspect-ratio: var(--ar, 9 / 16); object-fit: cover; background: #000; }
.v-play {
  position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 50%);
  border: 0; padding: 0; width: 100%;
}
.v-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.v-play .v-btn {
  width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--gold-2); display: grid; place-items: center;
  background: rgba(11, 10, 9, .45); backdrop-filter: blur(4px); transition: transform .4s var(--ease), background .4s;
}
.v-play .v-btn::before { content: ""; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--gold-2); margin-left: 4px; }
.v-play:hover .v-btn { transform: scale(1.08); background: rgba(214, 182, 122, .25); }
.v-card .v-title { position: absolute; bottom: 12px; right: 14px; left: 14px; font-size: .9rem; pointer-events: none; text-shadow: 0 1px 6px #000; }
.v-card.playing .v-play, .v-card.playing .v-title { display: none; }

/* ---------- Reviews ---------- */
.reviews { columns: 3 260px; column-gap: 18px; }
.review {
  break-inside: avoid; margin: 0 0 18px; padding: 12px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); transition: border-color .4s, transform .4s var(--ease);
}
.review:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.review button { padding: 0; border: 0; background: none; display: block; width: 100%; border-radius: 10px; overflow: hidden; }
.review img { width: 100%; height: auto; }
.review figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 4px 2px; color: var(--muted); font-size: .82rem; }
.review figcaption::before { content: "”"; font-family: var(--font-latin); font-size: 1.8rem; line-height: .5; color: var(--gold); }
.reviews .placeholder { aspect-ratio: 9 / 14; border-radius: 14px; margin-bottom: 18px; break-inside: avoid; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: 28px 22px 22px; border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.pkg:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.pkg.featured { border-color: var(--gold); background: linear-gradient(180deg, #241d12, var(--surface)); box-shadow: 0 0 0 1px rgba(214,182,122,.25), 0 30px 70px -35px rgba(214,182,122,.35); }
.pkg-badge {
  position: absolute; top: -13px; right: 50%; transform: translateX(50%); white-space: nowrap;
  background: var(--champagne); background-size: 200% 100%; color: #1a140b; font-size: .78rem; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; animation: shimmer 5s infinite;
}
.pkg h3 { font-size: 1.55rem; }
.pkg-hours { color: var(--gold); font-size: .9rem; }
.pkg-price { margin: 14px 0 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.pkg-price b { font-family: var(--font-latin); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--gold-2); }
.pkg-price .cur { color: var(--muted); font-size: .9rem; }
.pkg-price s { color: var(--muted); font-size: .95rem; opacity: .8; width: 100%; }
.pkg-price s span { font-size: .8rem; }
.pkg-offer { font-size: .78rem; color: var(--gold); }
.pkg-deposit { font-size: .85rem; color: var(--muted); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.pkg-group { margin-bottom: 12px; }
.pkg-group h4 { margin: 0 0 4px; font-size: .82rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.pkg-group ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.75; }
.pkg-group li { position: relative; padding-inline-start: 16px; }
.pkg-group li::before { content: ""; position: absolute; right: 0; top: .8em; width: 6px; height: 1px; background: var(--gold); }
.pkg .btn { margin-top: auto; }
.pkg-spacer { flex: 1; min-height: 12px; }

@media (max-width: 1100px) { .packages { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; } }
@media (max-width: 620px) { .packages { grid-template-columns: 1fr; } }

/* Compare */
.compare-wrap { margin-top: 24px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; background: var(--surface); color: var(--gold-2); position: sticky; top: 0; }
.compare tbody th { text-align: right; color: var(--muted); font-weight: 400; background: var(--bg-2); position: sticky; right: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--gold); }
.compare .no { color: #7d7468; }
.compare .col-featured { background: rgba(214, 182, 122, .06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px;
  border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s, background-position .8s, opacity .3s;
}
.btn-gold { background: var(--champagne); background-size: 220% 100%; background-position: 100% 0; color: #19130a; }
.btn-gold:hover { background-position: 0 0; transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(214, 182, 122, .6); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(214, 182, 122, .08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Builder ---------- */
.builder { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); transition: .35s var(--ease);
}
.opt-box:hover { border-color: var(--line-strong); }
.opt-check { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong); position: relative; transition: .3s; }
.opt-check::after { content: ""; position: absolute; inset: 6px 8px 8px; border: solid #19130a; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease); top: 5px; }
.opt-body { display: flex; flex-direction: column; flex: 1; }
.opt-body strong { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.opt-body span { color: var(--muted); font-size: .92rem; }
.opt-price { white-space: nowrap; color: var(--muted); }
.opt-price b { font-family: var(--font-latin); font-size: 1.8rem; color: var(--gold-2); }
.option input:checked + .opt-box { border-color: var(--gold); background: linear-gradient(160deg, rgba(214,182,122,.12), var(--surface) 70%); }
.option input:checked + .opt-box .opt-check { background: var(--gold); border-color: var(--gold); }
.option input:checked + .opt-box .opt-check::after { transform: rotate(-45deg) scale(1); }
.option input:focus-visible + .opt-box { outline: 2px solid var(--gold-2); outline-offset: 3px; }
@media (max-width: 480px) { .opt-box { flex-wrap: wrap; } .opt-price { width: 100%; padding-inline-start: 42px; } }

.builder-total { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 16px; padding: 18px 4px; border-block: 1px solid var(--line); font-family: var(--font-display); font-size: 1.2rem; }
.builder-total output b { font-family: var(--font-latin); font-size: 2.4rem; color: var(--gold-2); display: inline-block; transition: transform .3s var(--ease); }
.builder-total output.bump b { transform: scale(1.12); }
.hint { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* ---------- Gear ---------- */
.gear { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gear-card {
  padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; gap: 6px; transition: border-color .4s, transform .4s var(--ease);
}
.gear-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.gear-card svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.gear-card h3 { font-family: var(--font-latin); font-size: 1.3rem; font-weight: 600; direction: ltr; text-align: right; letter-spacing: .02em; }
.gear-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.gear-card .gear-kind { font-size: .78rem; color: var(--gold); }

/* ---------- Policy ---------- */
.policy-list { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 12px; }
.policy-list li { counter-increment: p; display: flex; gap: 16px; align-items: baseline; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.policy-list li::before { content: counter(p, arabic-indic); font-family: var(--font-display); color: var(--gold); font-size: 1.3rem; }
.policy-list strong { color: var(--gold-2); font-weight: 500; }
.policy-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: .92rem; }

/* ---------- Contact / Footer ---------- */
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.contact-actions .btn-gold { direction: rtl; }
.site-footer { text-align: center; padding: 28px 16px 96px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #12100d; border: 1px solid var(--gold); box-shadow: 0 10px 30px -10px rgba(0,0,0,.9), 0 0 0 0 rgba(214,182,122,.5);
  animation: pulse 3.2s infinite; transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes pulse { 0% { box-shadow: 0 10px 30px -10px rgba(0,0,0,.9), 0 0 0 0 rgba(214,182,122,.45); } 70%, 100% { box-shadow: 0 10px 30px -10px rgba(0,0,0,.9), 0 0 0 16px rgba(214,182,122,0); } }

/* ---------- Dialogs ---------- */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(5, 4, 3, .82); backdrop-filter: blur(6px); }
.booking {
  width: min(520px, 100% - 24px); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--line-strong);
  border-radius: 22px; background: var(--bg-2); overflow: auto;
}
.booking[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.booking form { padding: 28px clamp(18px, 4vw, 30px) 24px; position: relative; }
.booking h2 { font-size: 1.6rem; margin-bottom: 14px; }
.dlg-close, .lb-close { position: absolute; top: 12px; left: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1.5rem; line-height: 1; }
.booking-summary { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; font-size: .95rem; }
.booking-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.booking-summary dt { color: var(--muted); }
.booking-summary dd { margin: 0; color: var(--gold-2); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--muted); }
.field em { color: var(--gold); font-style: normal; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,182,122,.18); }
.field input[aria-invalid="true"] { border-color: #e08a7a; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.75; color: #ddd3c4; margin: 6px 0 16px; cursor: pointer; }
.agree input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--gold); }
.form-error { color: #f0a493; font-size: .9rem; margin: -4px 0 12px; }

.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,4,3,.96); }
.lightbox[open] { display: grid; place-items: center; animation: fade .35s; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: calc(100vw - 120px); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 90px); width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.lb-close { top: 16px; left: 16px; z-index: 2; background: rgba(0,0,0,.5); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,.5); font-size: 1.8rem; line-height: 1; }
.lb-prev { right: 16px; }
.lb-next { left: 16px; }
@media (max-width: 640px) {
  .lightbox figure { max-width: 100vw; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .champagne-shimmer { background-position: 50% 0; }
}

/* خط أميري: وزن عريض للعناوين والعبارات المميزة */
.bio-greet, .bio-punch, .sc-title, .opt-body strong, .builder-total, .compare thead th, .policy-list li::before { font-weight: 700; }
.bio-punch { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.6; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.frame img { object-position: 50% 20%; }
.videos { align-items: start; }
.videos { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.v-card video { aspect-ratio: 4 / 5; }
.v-card.playing video { object-fit: contain; }

/* =========================================================
   أعمالي — شريط أفقي تفاعلي
   ========================================================= */
#works .section-head { margin-bottom: 28px; }
.reel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 44px; }
.reel-head .sub-title { flex: 1; margin: 0; }
.reel-head .sub-title small { font-family: var(--font-ar); font-weight: 400; font-size: .85rem; color: var(--muted); }
.reel-ctrls { display: flex; gap: 8px; }
.reel-nav {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent;
  color: var(--gold-2); font-size: 1.2rem; display: grid; place-items: center; transition: .3s var(--ease);
}
.reel-nav:hover:not(:disabled) { background: var(--gold); color: #19130a; border-color: var(--gold); }
.reel-nav:disabled { opacity: .3; cursor: default; }

.reel {
  --reel-h: clamp(340px, 58vh, 560px);
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
  padding: 26px max(16px, calc((100vw - 1180px) / 2)) 30px;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - 1180px) / 2));
  scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.reel::-webkit-scrollbar { display: none; }
.reel.dragging { cursor: grabbing; scroll-snap-type: none; }
.reel.dragging .r-item { pointer-events: none; }
.reel:focus-visible { outline-offset: -4px; }

.r-item {
  position: relative; flex: none; height: var(--reel-h); aspect-ratio: var(--ar, 2 / 3);
  padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--surface);
  scroll-snap-align: center; cursor: zoom-in;
  transform: scale(.94); opacity: .55; filter: saturate(.75);
  transition: transform .7s var(--ease), opacity .6s, filter .6s, box-shadow .6s;
}
.r-item[hidden] { display: none; }
.r-item.is-focus, .r-item:hover, .r-item:focus-visible { transform: scale(1); opacity: 1; filter: none; }
.r-item.is-focus { box-shadow: 0 30px 60px -30px rgba(0,0,0,.95), 0 0 0 1px var(--line-strong); }
.r-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.r-item:hover img { transform: scale(1.05); }
.r-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 35%); pointer-events: none; }
.r-tag, .r-title { position: absolute; z-index: 1; bottom: 14px; right: 16px; color: var(--gold-2); font-size: .85rem; }
.r-title { left: 16px; color: var(--text); font-family: var(--font-display); font-size: 1.1rem; text-align: right; }
.r-zoom {
  position: absolute; z-index: 1; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,10,9,.55); border: 1px solid var(--line-strong); color: var(--gold-2);
  opacity: 0; transform: scale(.8); transition: .4s var(--ease);
}
.r-item:hover .r-zoom, .r-item.is-focus .r-zoom { opacity: 1; transform: none; }

.reel-video .r-item { --ar: 4 / 5; cursor: pointer; }
.r-video .v-btn {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--gold-2); display: grid; place-items: center;
  background: rgba(11,10,9,.45); backdrop-filter: blur(4px); transition: transform .4s var(--ease), background .4s;
}
.r-video .v-btn::before { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--gold-2); margin-left: 5px; }
.r-video:hover .v-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(214,182,122,.3); }

.r-ph { width: calc(var(--reel-h) * .75); cursor: default; opacity: 1; transform: none; }
.reel-video .r-ph { width: auto; }

.reel-progress { height: 1px; background: var(--line); overflow: hidden; }
.reel-progress span { display: block; height: 100%; background: var(--champagne); transform-origin: right; transform: scaleX(.06); transition: transform .3s; }
.reel-none { margin-top: 8px; }
.reel-hint { margin-top: 26px; }

#lb-video { max-width: 100%; max-height: calc(100svh - 110px); margin: 0 auto; border-radius: 8px; background: #000; }
#lb-title { color: var(--gold-2); margin-inline-end: 8px; }

@media (max-width: 640px) {
  .reel { --reel-h: 62svh; gap: 10px; }
  .reel-video { --reel-h: 52svh; }
  .reel-ctrls { display: none; }
  .r-item { transform: scale(.96); }
}
@media (prefers-reduced-motion: reduce) { .r-item { transform: none; } }
[hidden] { display: none !important; }
.reel-hint { padding-inline: 16px; }
@media (max-width: 560px) {
  .socials { gap: 6px; flex-wrap: nowrap; }
  .socials a { padding: 8px 12px; gap: 6px; font-size: .82rem; }
  .socials svg { width: 17px; height: 17px; }
}

/* =========================================================
   الرئيسية — شاشة سينمائية كاملة
   ========================================================= */
.cine { position: relative; background: var(--bg); }
.cine-stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
.cine-media { position: absolute; inset: 0; margin: 0; z-index: -2; }
.cine-media .frame { position: absolute; inset: -4% 0 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: var(--surface); will-change: transform; }
.cine-media .frame::after { display: none; }
.cine-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: kenburns 18s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.cine-media .placeholder { border-radius: 0; border: 0; }
.cine-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11,10,9,.82) 0%, rgba(11,10,9,.35) 26%, rgba(11,10,9,0) 45%, rgba(11,10,9,.35) 68%, var(--bg) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(0,0,0,.45));
}
.cine .hero-grain { z-index: -1; }

.cine-top {
  position: absolute; inset: calc(var(--header-h) + 18px) 0 auto; text-align: center; padding-inline: 16px;
  animation: cineIn 1.6s .2s var(--ease) both;
}
@keyframes cineIn { from { opacity: 0; transform: translateY(-18px); filter: blur(6px); } }
.cine-top .hero-logo { margin: 0 0 10px; }
.cine-top .hero-logo img { width: min(380px, 78vw); margin-inline: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.7)); }
.cine-top .wordmark { text-align: center; }
.cine-greet { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); text-shadow: 0 2px 14px rgba(0,0,0,.85); animation: cineIn 1.4s .9s var(--ease) both; }

.cine-cue {
  position: absolute; bottom: calc(14vh + 10px); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  color: var(--gold-2); font-size: .85rem; letter-spacing: .05em; animation: cineIn 1.2s 1.6s var(--ease) both;
}
.cue-line { width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); position: relative; overflow: hidden; }
.cue-line::after { content: ""; position: absolute; inset: 0; background: var(--bg); animation: cueRun 2.2s infinite var(--ease); }
@keyframes cueRun { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.cine-card {
  position: relative; z-index: 2; width: min(860px, 100% - 24px); margin: -14vh auto 0;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 56px);
  border-radius: 28px; border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(30,26,20,.82), rgba(18,16,13,.94));
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -30px 80px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(214,182,122,.04);
  text-align: center;
  transform: translateY(60px); opacity: 0; transition: transform 1.1s var(--ease), opacity 1s;
}
.cine-card.in { transform: none; opacity: 1; }
.cine-card::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 120px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.cine-card .bio { margin: 0 auto; max-width: 60ch; }
.cine-card .bio p:first-child { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 2; }
.cine-card .socials { justify-content: center; margin-top: 22px; }
.cine-card .shortcuts { margin-top: 28px; text-align: right; }
.cine + .section { padding-top: clamp(64px, 8vw, 110px); }

@media (max-width: 760px) {
  .cine-stage { min-height: 520px; }
  .cine-media img { object-position: 50% 26%; }
  .cine-card { margin-top: -16vh; border-radius: 24px; }
  .cine-cue { bottom: calc(16vh + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .cine-card { transform: none; opacity: 1; }
}

/* ---------- شريط التنقل السفلي (جوال) ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar {
    position: fixed; z-index: 95; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 6px 4px; border-radius: 22px;
    background: rgba(18,16,13,.86); border: 1px solid var(--line-strong);
    backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px -14px rgba(0,0,0,.95);
    transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .tabbar.show { transform: none; }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center;
    color: var(--muted); text-decoration: none; font-size: .72rem; border-radius: 14px; transition: color .3s, background .3s;
  }
  .tabbar a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a .fill { fill: currentColor; stroke: none; }
  .tabbar a.active { color: var(--gold-2); background: rgba(214,182,122,.08); }
  .tab-wa { color: var(--gold-2) !important; background: none !important; }
  .tab-wa-btn {
    width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--champagne); background-size: 200% 100%; color: #19130a;
    box-shadow: 0 8px 22px -6px rgba(214,182,122,.55), 0 0 0 5px var(--bg);
  }
  .tab-wa-btn svg { width: 26px !important; height: 26px !important; }
  .wa-float { display: none !important; }
  .site-footer { padding-bottom: 120px; }
}

/* تعديل التكوين: الصورة تبدأ من تحت الشريط وتظهر الكاميرا، والشعار ينزل لأسفل الشاشة */
.cine-media .frame { inset: var(--header-h) 0 0; }
.cine-media img { object-position: 50% 0; transform-origin: 50% 0; }
.cine-shade {
  background:
    linear-gradient(to bottom, rgba(11,10,9,.35) 0%, rgba(11,10,9,0) 22%, rgba(11,10,9,0) 42%, rgba(11,10,9,.55) 62%, rgba(11,10,9,.9) 80%, var(--bg) 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 45%, rgba(0,0,0,.4));
}
.cine-top { inset: auto 0 calc(14vh + 36px); }
.cine-cue { display: none; }
@media (max-width: 760px) {
  .cine-top { bottom: calc(16vh + 30px); }
  .cine-media img { object-position: 50% 0; }
}

/* النبذة بدون مربع: النص يطفو مباشرة فوق نهاية الصورة */
.cine-card {
  background: none; border: 0; box-shadow: none; border-radius: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding-top: 0; padding-inline: 16px; width: min(820px, 100%);
}
.cine-card::before { display: none; }
.cine-card .bio p { text-shadow: 0 2px 18px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.6); }
/* دمج نهاية الصورة مع الخلفية بدون حافة */
.cine .hero-grain { display: none; }
.cine-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(11,10,9,0), var(--bg) 92%); }
.cine-top, .cine-cue { z-index: 1; }
.cine-card .bio .bio-punch { text-shadow: none; }
