/* واجهة للمصورين — الصفحة الرئيسية والدخول. هوية "غرفة التحميض":
   أسود دافئ مثل غرفة التحميض، ورق عاجي مثل ورق الطباعة، ونحاسي مثل ضوء الغروب. الجوال أولاً. */
:root {
  --l-bg: #12100E; --l-surface: #1C1916; --l-line: #322C26; --l-paper: #F3ECE1; --l-paper-2: #E9E0D2;
  --l-ink: #F3ECE1; --l-muted: #B7AC9D; --l-dark: #1B1714; --l-dark-muted: #5F574E;
  --l-gold: #D2A85E; --l-gold-2: #E4C083; --l-on-gold: #1A1408;
  --l-display: "Playfair Display", "Amiri", serif;
  --l-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --l-r: 14px; --l-wrap: 1180px; --l-gut: 20px;
  --l-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ===== الأساس ===== */
body.landing-l, body.auth-l { margin: 0; background: var(--l-bg); color: var(--l-ink); font-family: var(--l-body); }
.landing-l .wrap { max-width: var(--l-wrap); margin: 0 auto; padding: 0 var(--l-gut); box-sizing: border-box; width: 100%; }
.landing-l h1, .landing-l h2, .landing-l h3 { font-family: var(--l-display); font-weight: 700; letter-spacing: 0; margin: 0; }
.landing-l p { margin: 0; }
.landing-l a { color: inherit; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--l-gold); color: var(--l-on-gold); padding: 10px 14px; border-radius: 8px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }
.landing-l :focus-visible, .auth-l :focus-visible { outline: 2px solid var(--l-gold); outline-offset: 3px; border-radius: 6px; }
.landing-l img { display: block; max-width: 100%; height: auto; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.split .w > span { display: inline-block; }

/* ===== الأزرار: خطوة عند المرور، وضغطة عند الضغط ===== */
.btn-l { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--l-gold); color: var(--l-on-gold) !important; font: 600 16px/1 var(--l-body); text-decoration: none; border: 1px solid var(--l-gold);
  transition: transform .2s var(--l-ease), background .2s, box-shadow .2s; }
.btn-l:hover { transform: translateY(-2px); background: var(--l-gold-2); box-shadow: 0 10px 24px -12px rgba(210, 168, 94, .6); }
.btn-l:active { transform: translateY(0) scale(.98); }
.btn-l.ghost { background: transparent; color: var(--l-ink) !important; border-color: var(--l-line); }
.btn-l.ghost:hover { border-color: var(--l-gold); background: rgba(210, 168, 94, .08); box-shadow: none; }
.btn-l.ghost.dark { color: var(--l-dark) !important; border-color: #CFC3B1; }
.btn-l.ghost.dark:hover { border-color: var(--l-dark); background: rgba(27, 23, 20, .05); }
.btn-l.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ===== الشريط العلوي ===== */
.l-nav { position: sticky; top: 0; z-index: 20; background: rgba(18, 16, 14, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(50, 44, 38, .6); }
.l-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.l-nav .mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--l-ink); font-weight: 700; font-size: 18px; }
.l-nav .mark img { border-radius: 9px; }
.l-nav .mark small { color: var(--l-gold); font-weight: 500; }
.l-nav nav { display: none; gap: 28px; }
.l-nav nav a { text-decoration: none; color: var(--l-muted); font-size: 15px; background: linear-gradient(var(--l-gold), var(--l-gold)) no-repeat right bottom / 0 1px; padding: 6px 0; transition: background-size .3s var(--l-ease), color .2s; }
.l-nav nav a:hover { color: var(--l-ink); background-size: 100% 1px; }

/* ===== الواجهة الأولى ===== */
.l-hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 40px; }
.landing-l .eyebrow { color: var(--l-gold); background: none; padding: 0; border-radius: 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px !important; display: block; }
.l-hero h1 { font-size: clamp(38px, 9vw, 72px); line-height: 1.15; }
.lead { color: var(--l-muted); font-size: 17px; line-height: 1.9; margin-top: 18px !important; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta .btn-l { flex: 1 1 auto; }
.fact { margin-top: 22px !important; color: var(--l-muted); font-size: 15px; }
.fact b { color: var(--l-gold); font-family: var(--l-display); font-size: 20px; }

.hero-visual { position: relative; display: grid; place-items: center; padding: 10px 0 0; }
.hero-photo { margin: 0; position: absolute; inset: 0 8% 14% 8%; border-radius: var(--l-r); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.9) brightness(.72); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,14,0) 40%, var(--l-bg) 100%); }

/* المعرض داخل الجوال (نفس تصميم معرض العميل) */
.phone { position: relative; z-index: 2; width: min(300px, 78vw); margin-top: 48px; border-radius: 38px; padding: 10px; background: #0B0A09;
  border: 1px solid #3A332C; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.phone-in { border-radius: 30px; overflow: hidden; background: #1A2226; padding: 18px 14px 16px; }
.g-top { display: flex; align-items: center; gap: 8px; }
.g-logo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--l-gold); color: var(--l-on-gold); font-family: "Amiri", serif; font-weight: 700; font-size: 17px; }
.g-name { font-size: 13px; font-weight: 600; color: #E8E2D6; }
.g-title { margin: 14px 0 12px; }
.g-title b { display: block; font-family: "Amiri", serif; font-size: 20px; color: #F4EEE4; }
.g-title small { color: #9DA7A6; font-size: 11.5px; }
.g-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.g-tabs span { font-size: 12px; padding: 6px 12px; border-radius: 999px; color: #C9CFCC; border: 1px solid #33413F; }
.g-tabs .on { background: var(--l-gold); color: var(--l-on-gold); border-color: var(--l-gold); }
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.g-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.g-dl { display: block; margin-top: 12px; text-align: center; font-size: 12.5px; font-weight: 600; padding: 10px; border-radius: 10px; background: var(--l-gold); color: var(--l-on-gold); }

/* ===== الأقسام ===== */
.l-sec { padding: 72px 0; }
.l-sec h2 { font-size: clamp(30px, 7vw, 52px); line-height: 1.25; max-width: 18em; }
.l-how { background: var(--l-surface); border-block: 1px solid var(--l-line); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.step { position: relative; background: var(--l-bg); border: 1px solid var(--l-line); border-radius: var(--l-r); padding: 24px 22px; transition: transform .25s var(--l-ease), border-color .25s; }
.step:hover { transform: translateY(-2px); border-color: rgba(210, 168, 94, .5); }
.num { font-family: var(--l-display); color: var(--l-gold); font-size: 30px; line-height: 1; }
.step h3 { font-size: 22px; margin: 12px 0 8px; }
.step p { color: var(--l-muted); line-height: 1.8; font-size: 15.5px; }
.frag { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--l-surface); border: 1px solid var(--l-line); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.frag small { color: var(--l-muted); margin-inline-start: auto; }
.f-ico { color: var(--l-gold); }
.f-in { flex: 1 1 160px; color: var(--l-muted); background: var(--l-bg); border: 1px solid var(--l-line); border-radius: 8px; padding: 8px 10px; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.f-btn { background: var(--l-gold); color: var(--l-on-gold); border-radius: 8px; padding: 8px 12px; font-weight: 600; font-size: 13px; }
.frag.bubble { background: #1F3A2E; border-color: #2B5140; flex-direction: column; align-items: flex-start; gap: 4px; }
.frag.bubble small { margin: 0; color: #A9D3BC; }

.brand-grid { display: grid; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.ticks li { display: grid; gap: 4px; padding-inline-start: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--l-gold); }
.ticks b { font-size: 17px; }
.ticks span { color: var(--l-muted); font-size: 15px; line-height: 1.7; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 90vw, 560px); }
.mosaic figure { margin: 0; border-radius: var(--l-r); overflow: hidden; }
.mosaic .m1 { grid-row: 1 / 3; }
.mosaic img, .wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--l-ease); }
.mosaic figure:hover img, .wall figure:hover img { transform: scale(1.03); }

.l-client { background: var(--l-surface); border-block: 1px solid var(--l-line); }
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.wall figure { margin: 0; border-radius: var(--l-r); overflow: hidden; aspect-ratio: 3 / 4; }
.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { border: 1px solid var(--l-line); border-radius: 999px; padding: 9px 16px; font-size: 14.5px; color: var(--l-ink); background: var(--l-bg); }

/* الأسعار على ورق عاجي */
.l-prices { background: var(--l-paper); color: var(--l-dark); }
.plans { display: grid; gap: 18px; margin-top: 40px; }
.plan { background: #FBF7F0; border: 1px solid #DDD1BF; border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s var(--l-ease), box-shadow .25s; }
.plan:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(27, 23, 20, .45); }
.plan.featured { background: var(--l-dark); color: var(--l-paper); border-color: var(--l-dark); }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--l-gold); color: var(--l-on-gold); }
.tag.muted-tag { background: var(--l-paper-2); color: var(--l-dark-muted); }
.plan h3 { font-size: 26px; margin-top: 12px; }
.price { font-size: 17px; margin-top: 8px !important; }
.price b { font-family: var(--l-display); font-size: 56px; line-height: 1; color: var(--l-gold); margin-inline-end: 6px; }
.plan:not(.featured) .price b { color: var(--l-dark); }
.alt { color: var(--l-dark-muted); font-size: 15px; }
.plan.featured .alt { color: var(--l-muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-inline-start: 22px; position: relative; line-height: 1.6; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--l-gold); font-weight: 700; }
.plan:not(.featured) li::before { color: #8A6A2E; }
.plan .btn-l { margin-top: auto; }
.note { margin-top: 24px !important; color: var(--l-dark-muted); font-size: 14.5px; line-height: 1.8; }

/* الختام: صورة الغروب وعنوان كبير */
.l-close { position: relative; min-height: 78vh; display: grid; align-items: end; padding: 80px 0 72px; overflow: hidden; isolation: isolate; }
.close-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.l-close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,16,14,.35), rgba(18,16,14,.85)); }
.l-close h2 { font-size: clamp(36px, 9vw, 76px); line-height: 1.2; max-width: 12em; margin-bottom: 28px; }

/* ===== التذييل ===== */
.landing-l .foot, .auth-l .foot { background: var(--l-bg); color: var(--l-muted); border-top: 1px solid var(--l-line); flex-wrap: wrap; }
.landing-l .foot a, .auth-l .foot a { color: var(--l-muted); }
.landing-l .foot a:hover, .auth-l .foot a:hover { color: var(--l-gold); }
.credits { flex-basis: 100%; font-size: 11.5px; color: #8E8476; line-height: 1.8; text-align: center; }
.credits a { color: #8E8476 !important; }

/* ===== الدخول والتسجيل ===== */
.auth-wrap { display: grid; min-height: 100vh; }
.auth-photo { position: relative; margin: 0; height: 190px; overflow: hidden; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.auth-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,14,0) 30%, var(--l-bg)); }
.auth-quote { position: absolute; z-index: 1; inset-inline: 20px; bottom: 18px; font-family: var(--l-display); font-size: 22px; line-height: 1.4; color: var(--l-paper); margin: 0; }
.auth-l main.card { background: var(--l-paper); color: var(--l-dark); margin: -8px 16px 32px; border-radius: 20px; border: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); position: relative; z-index: 2; }
.auth-l main.card h1 { font-family: var(--l-display); }
.auth-l main.card .btn { background: var(--l-dark); color: var(--l-paper); border-color: var(--l-dark); border-radius: 999px; min-height: 48px; transition: transform .2s var(--l-ease), background .2s; }
.auth-l main.card .btn:hover { transform: translateY(-2px); background: #2A241F; }
.auth-l main.card .btn:active { transform: scale(.98); }
.auth-l main.card input:focus { border-color: #8A6A2E; box-shadow: 0 0 0 3px rgba(210, 168, 94, .3); outline: 0; }
.auth-l main.card a, .auth-l main.card .link { color: #7A5A20; }
.auth-l main.card .mark small { color: #8A6A2E; }

/* ===== الشاشات الأكبر ===== */
@media (min-width: 700px) {
  :root { --l-gut: 32px; }
  .cta .btn-l { flex: 0 0 auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .wall { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .l-sec { padding: 104px 0; }
}
@media (min-width: 900px) {
  .l-nav nav { display: flex; }
  .l-hero { padding: 64px 0 96px; min-height: calc(100vh - 65px); display: grid; align-items: center; box-sizing: border-box; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero-visual { min-height: 600px; }
  .hero-photo { inset: 0 0 8% 18%; }
  .phone { margin: 0; justify-self: start; width: 300px; }
  .brand-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .auth-wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .auth-photo { height: 100vh; position: sticky; top: 0; }
  .auth-photo::after { background: linear-gradient(90deg, rgba(18,16,14,0) 50%, rgba(18,16,14,.6)), linear-gradient(180deg, rgba(18,16,14,0) 55%, rgba(18,16,14,.8)); }
  .auth-quote { inset-inline: 40px; bottom: 40px; font-size: 32px; max-width: 12em; }
  .auth-l main.card { margin: 48px auto; width: min(440px, 88%); }
  .auth-l .foot { grid-column: 1 / -1; }
}

/* بدون حركة لمن طلب تقليلها */
@media (prefers-reduced-motion: reduce) {
  .btn-l, .step, .plan, .mosaic img, .wall img, .l-nav nav a { transition: none !important; }
  .btn-l:hover, .step:hover, .plan:hover { transform: none; }
}
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.fact.lock { margin-top: 8px !important; }

/* أسئلة شائعة + المدن (نص ظاهر لمحركات البحث والزوار) */
.l-faq { background: var(--l-paper); color: var(--l-dark); border-top: 1px solid var(--l-paper-2); }
.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #FBF7F0; border: 1px solid var(--l-paper-2); border-radius: var(--l-r); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #7A5A20; font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid #7A5A20; outline-offset: 2px; border-radius: 6px; }
.faq details p { margin: 0 0 16px; color: var(--l-dark-muted); line-height: 1.9; }
.cities { margin-top: 44px; max-width: 820px; }
.cities h3 { font-size: 20px; margin: 0 0 8px; }
.cities p { color: var(--l-dark-muted); margin: 0 0 14px; }
.cities ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { border: 1px solid var(--l-paper-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; background: #FBF7F0; }
