/* =============================================================
   مكتب المحامي عبدالله عبدالرحمن الصالح
   تصميم عصري — كريمي دافئ + أسود (مونوكروم) — RTL
   ============================================================= */

/* ---------- 1. التوكنز ---------- */
:root {
  --bg: #F3EEE4;          /* سكري / كريمي رئيسي */
  --bg-2: #EBE4D6;        /* كريمي بديل */
  --surface: #FBF8F2;     /* أبيض دافئ للبطاقات */
  --surface-2: #FFFFFF;
  --ink: #16140F;         /* أسود دافئ = اللون الأساسي */
  --ink-2: #2C2A24;
  --muted: #6E6A60;
  --muted-2: #948F83;
  --line: #E2DACA;
  --line-2: #EDE7DA;
  --on-dark: #F3EEE4;
  --muted-on-dark: #B6AF9F;
  --line-on-dark: rgba(243, 238, 228, 0.14);
  --accent: #16140F;      /* الأفعال الأساسية = أسود */
  --warm: #9C7F54;        /* لمسة دافئة نادرة (eyebrow/تفاصيل) */
  --warm-soft: rgba(156, 127, 84, 0.12);
  --ring: rgba(22, 20, 15, 0.45);
  --success: #2E7D5B; --success-bg: #E8F1EA;
  --error: #B23B3B;

  --font: 'Almarai', 'Segoe UI', system-ui, sans-serif;

  --r-xs: 8px; --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 34px; --r-pill: 999px;

  --sh-xs: 0 1px 3px rgba(22, 20, 15, 0.04);
  --sh-sm: 0 4px 16px rgba(22, 20, 15, 0.05);
  --sh: 0 18px 44px rgba(22, 20, 15, 0.08);
  --sh-lg: 0 34px 80px rgba(22, 20, 15, 0.12);

  --container: 1200px;
  --container-pad: clamp(20px, 5vw, 52px);
  --section-pad: clamp(80px, 11vw, 140px);
  --header-h: 86px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. الأساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: var(--ink); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--ink); color: var(--bg); }

/* ---------- 3. التايبوغرافيا ---------- */
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.2; }
h3 { font-size: 1.4rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
h4 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
p { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 300; line-height: 1.8; color: var(--muted); }
strong { font-weight: 700; color: var(--ink); }

/* ---------- 4. مساعدات التخطيط ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--container-pad); }
.section { padding-block: var(--section-pad); position: relative; }
.section--cream { background: var(--bg); }
.section--cream2 { background: var(--bg-2); }
.section--white { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark); }
.section--ink p { color: var(--muted-on-dark); }

.section-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 76px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 18px; }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--warm); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--warm); border-radius: 2px; }
.section--ink .eyebrow { color: #C9AE83; }
.section--ink .eyebrow::before { background: #C9AE83; }

/* chip */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 0.85rem; font-weight: 700; color: var(--ink);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warm); }

/* ---------- 5. الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--sh-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(22, 20, 15, 0.22); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* مقلوب على الأقسام السوداء */
.section--ink .btn-primary, .on-dark .btn-primary { background: var(--bg); color: var(--ink); }
.section--ink .btn-primary:hover, .on-dark .btn-primary:hover { box-shadow: 0 18px 36px rgba(0,0,0,0.4); }
.section--ink .btn-ghost, .on-dark .btn-ghost { border-color: rgba(243,238,228,0.5); color: var(--on-dark); }
.section--ink .btn-ghost:hover, .on-dark .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ---------- 6. الهيدر ---------- */
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: var(--r-sm); z-index: 1000; font-weight: 700; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(243, 238, 228, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--line); box-shadow: var(--sh-xs);
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand__mark {
  height: 48px; width: auto; flex: none;
  display: grid; place-items: center;
}
.brand__mark img { height: 48px; width: auto; display: block; }
.brand__name { font-weight: 800; font-size: 1.02rem; line-height: 1.35; letter-spacing: -0.01em; }
.brand__name span { display: block; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.02em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 15px; color: var(--ink-2); font-size: 0.9375rem; font-weight: 700; opacity: 0.78; border-radius: var(--r-pill); }
.nav a::after { content: ""; position: absolute; inset-inline: 15px; bottom: 6px; height: 2px; background: var(--ink); border-radius: 2px; transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { opacity: 1; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 24px; font-size: 0.9rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }

/* درج الجوال */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mobile-nav__overlay { position: absolute; inset: 0; background: rgba(22, 20, 15, 0.4); opacity: 0; transition: opacity 0.3s var(--ease); }
.mobile-nav__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(86vw, 360px);
  background: var(--surface); padding: 26px 26px 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto; box-shadow: var(--sh-lg);
}
[dir="rtl"] .mobile-nav__panel { transform: translateX(-100%); }
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav.open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close { width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--ink); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.mobile-nav a { color: var(--ink); font-size: 1.05rem; font-weight: 700; padding: 14px 10px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 12px; }
.mobile-nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); opacity: 0; transition: opacity 0.2s; }
.mobile-nav a:hover::before, .mobile-nav a.active::before { opacity: 1; }
.mobile-nav .btn { margin-top: 22px; }

/* ---------- 7. الهيرو ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 30px); padding-bottom: 60px;
  background:
    radial-gradient(80% 60% at 88% 18%, rgba(156,127,84,0.10), transparent 60%),
    radial-gradient(70% 70% at 10% 100%, rgba(22,20,15,0.04), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 64px); align-items: center; width: 100%; }
.hero__text { max-width: 640px; }
.hero h1 { margin-top: 22px; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; inset-inline: -2px; bottom: 0.08em; height: 0.16em; background: var(--warm); opacity: 0.45; border-radius: 3px; z-index: -1; }

/* سطر التايبرايتر */
.hero__type {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin-top: 26px; font-size: clamp(1.25rem, 2.4vw, 1.85rem); font-weight: 800; color: var(--ink);
}
.hero__type .pre { color: var(--muted); font-weight: 700; }
.typer { display: inline-flex; align-items: baseline; min-height: 1.4em; }
.typer__text { color: var(--ink); border-bottom: 3px solid var(--warm); padding-bottom: 2px; }
.typer__caret { display: inline-block; width: 3px; height: 1.05em; background: var(--ink); margin-inline-start: 4px; transform: translateY(3px); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__sub { margin-top: 26px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; }
.hero__highlights li { display: flex; align-items: center; gap: 9px; font-size: 0.925rem; font-weight: 700; color: var(--ink-2); }
.hero__highlights svg { width: 19px; height: 19px; flex: none; color: var(--warm); }

/* لوحة الميزان */
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art .scale-wrap {
  position: relative; width: min(100%, 420px); aspect-ratio: 1/1;
  display: grid; place-items: center;
}
.hero__art .halo {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle, var(--surface) 0%, rgba(251,248,242,0) 70%);
  box-shadow: var(--sh);
  border: 1px solid var(--line-2);
}
.hero__art .ring { position: absolute; inset: 0; border: 1.5px dashed var(--line); border-radius: 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__art svg.scale { position: relative; width: 78%; color: var(--ink); }
.hero__art img.hero__logo { position: relative; height: 74%; width: auto; max-width: 86%; object-fit: contain; }

/* شريط الإحصائيات */
.hero__stats {
  position: relative; z-index: 2; margin-top: clamp(50px, 7vw, 84px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-top: 40px; border-top: 1px solid var(--line);
}
.stat__value { font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 10px; font-size: 0.9rem; color: var(--muted); font-weight: 700; }

/* ---------- 8. عن المكتب ---------- */
.about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.about__body .lead { color: var(--ink-2); font-weight: 400; margin: 2px 0 22px; }
.about__body p + p { margin-top: 16px; }
.about__credentials { margin-top: 28px; display: grid; gap: 14px; }
.about__credentials li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 700; }
.about__credentials svg { width: 22px; height: 22px; flex: none; color: var(--ink); margin-top: 3px; }
.about__sign { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.about__sign span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }

.about__media { position: relative; }
.about__frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.about__frame img { width: 100%; aspect-ratio: 52/60; object-fit: cover; }
.about__tag {
  position: absolute; inset-block-end: 22px; inset-inline-start: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 20px; box-shadow: var(--sh-sm); display: flex; align-items: center; gap: 14px;
}
.about__tag .n { font-weight: 800; font-size: 1.8rem; color: var(--ink); line-height: 1; }
.about__tag .t { font-size: 0.85rem; color: var(--muted); font-weight: 700; }

/* ---------- 9. الخدمات ---------- */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh); border-color: var(--ink); }
.service__index { position: absolute; inset-block-start: 20px; inset-inline-end: 28px; font-weight: 800; font-size: 2.4rem; color: var(--ink); opacity: 0.06; letter-spacing: -0.03em; }
.service__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; margin-bottom: 22px; transition: background-color 0.3s var(--ease), color 0.3s; color: var(--ink); }
.card:hover .service__icon { background: var(--ink); color: var(--bg); }
.service__icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.97rem; line-height: 1.8; }

/* ---------- 10. لماذا نحن (أسود) ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 88px); align-items: center; }
.why__values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin-inline: auto; }
@media (max-width: 760px) { .why__values { grid-template-columns: 1fr; } }
.value { display: flex; gap: 18px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-on-dark); transition: background-color 0.3s var(--ease); }
.value:hover { background: rgba(243, 238, 228, 0.04); }
.value__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; }
.value__icon svg { width: 25px; height: 25px; color: #C9AE83; }
.value h4 { color: var(--on-dark); margin-bottom: 5px; }
.value p { color: var(--muted-on-dark); font-size: 0.94rem; line-height: 1.7; }

.why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__stat { padding: 32px 24px; border: 1px solid var(--line-on-dark); border-radius: var(--r); text-align: center; }
.why__stat .v { font-weight: 800; font-size: clamp(2.3rem, 4.5vw, 3.4rem); color: #E9D9BE; line-height: 1; letter-spacing: -0.02em; }
.why__stat .l { margin-top: 10px; font-size: 0.9rem; color: var(--muted-on-dark); font-weight: 700; }

/* ---------- 11. آلية العمل ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process__grid::before { content: ""; position: absolute; top: 32px; inset-inline: 12%; height: 2px; background: var(--line); }
.step { position: relative; }
.step__num {
  width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%;
  background: var(--ink); color: var(--bg); display: grid; place-items: center;
  font-weight: 800; font-size: 1.5rem; position: relative; z-index: 2;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 0.95rem; }

/* ---------- 12. آراء العملاء ---------- */
.testimonials__viewport { overflow: hidden; }
.testimonials__track { display: flex; transition: transform 0.55s var(--ease); }
.quote { flex: 0 0 100%; padding: 6px; }
.quote__card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); max-width: 900px; margin-inline: auto; text-align: center; }
.quote__mark { font-weight: 800; font-size: 5rem; line-height: 0.6; color: var(--warm); opacity: 0.3; height: 46px; }
.quote__text { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.8; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.quote__author { margin-top: 26px; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.quote__role { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); font-weight: 700; }
.quote__role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.testimonials__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.tnav-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background-color 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s; }
.tnav-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.tnav-btn svg { width: 20px; height: 20px; }
.tdots { display: flex; gap: 8px; }
.tdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background-color 0.25s, width 0.25s; }
.tdot.active { background: var(--ink); width: 26px; border-radius: var(--r-pill); }

/* ---------- 13. الأسئلة الشائعة ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; background: var(--surface); overflow: hidden; transition: border-color 0.3s var(--ease), box-shadow 0.3s; }
.faq__item.open { border-color: var(--ink); box-shadow: var(--sh-sm); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; text-align: start; padding: 24px 26px; font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em; }
.faq__q .q-icon { margin-inline-start: auto; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--ink); transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s; }
.faq__q .q-icon svg { width: 16px; height: 16px; }
.faq__item.open .q-icon { transform: rotate(180deg); background: var(--ink); color: var(--bg); }
.faq__a { overflow: hidden; height: 0; transition: height 0.3s var(--ease); }
.faq__a-inner { padding: 0 26px 26px; color: var(--muted); }

/* ---------- 14. شريط الدعوة (أسود) ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); text-align: center; overflow: hidden; position: relative; }
.cta-band .glow { position: absolute; inset-inline: 0; top: -40%; height: 80%; background: radial-gradient(50% 60% at 50% 50%, rgba(201,174,131,0.16), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--muted-on-dark); margin-top: 18px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ---------- 15. تواصل ---------- */
.contact__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 52px); align-items: stretch; }
.form-panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-sm); padding: clamp(28px, 4vw, 46px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--warm); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; background: var(--bg); border: 1.5px solid transparent; border-radius: var(--r-sm); line-height: 1.6;
  transition: border-color 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface-2); border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); background: #FCF3F3; }
.field .err { display: none; color: var(--error); font-size: 0.82rem; margin-top: 6px; font-weight: 700; }
.field.invalid .err { display: block; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.consent label { font-size: 0.875rem; color: var(--muted); font-weight: 400; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; background: var(--success-bg); border: 1px solid rgba(46,125,91,0.3); color: var(--success); padding: 14px 18px; border-radius: var(--r-sm); font-weight: 700; margin-bottom: 20px; }
.form-success.show { display: block; }

/* ---------- الحجز (Booking) ---------- */
.booking-panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-sm); padding: clamp(24px, 3.5vw, 40px); }
.bk-steps { display: flex; margin-bottom: 28px; }
.bk-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; color: var(--muted-2); text-align: center; position: relative; }
.bk-steps li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); border: 1.5px solid var(--line); font-weight: 800; position: relative; z-index: 1; transition: background-color 0.25s var(--ease), color 0.25s, border-color 0.25s; }
.bk-steps li::before { content: ""; position: absolute; top: 18px; height: 2px; background: var(--line); width: 100%; right: 50%; z-index: 0; }
.bk-steps li:first-child::before { display: none; }
.bk-steps li.active span, .bk-steps li.done span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bk-steps li.active { color: var(--ink); }
.bk-steps li.done::before, .bk-steps li.active::before { background: var(--ink); }

.bk-h { margin-bottom: 18px; }
.bk-step .field { margin-bottom: 16px; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip { padding: 9px 15px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 0.88rem; color: var(--ink); cursor: pointer; text-align: center; transition: background-color 0.2s var(--ease), color 0.2s, border-color 0.2s; }
.bk-chip:hover { border-color: var(--ink); }
.bk-chip.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bk-chip small { display: block; font-weight: 400; font-size: 0.7rem; opacity: 0.8; margin-top: 2px; }

.bk-err { display: none; color: var(--error); font-weight: 700; font-size: 0.85rem; margin: 12px 0 0; }
.bk-err.show { display: block; }
.bk-nav { display: flex; gap: 12px; margin-top: 18px; }
.bk-nav .btn { flex: 1; }

.bk-fee { font-size: 1.05rem; margin-bottom: 16px; color: var(--muted); }
.bk-fee strong { color: var(--ink); font-weight: 800; }
.bk-bank { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.bk-bank__row { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); font-size: 0.92rem; }
.bk-bank__row:last-child { border-bottom: 0; }
.bk-bank__row > span { color: var(--muted); min-width: 86px; flex: none; }
.bk-bank__row b { color: var(--ink); font-weight: 800; word-break: break-all; }
.bk-copy { margin-inline-start: auto; flex: none; padding: 6px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; font-size: 0.78rem; transition: background-color 0.2s var(--ease), color 0.2s; }
.bk-copy:hover, .bk-copy.copied { background: var(--ink); color: var(--bg); }
.bk-hint { font-size: 0.86rem; color: var(--muted); line-height: 1.85; margin-bottom: 4px; }

.bk-step[data-step="4"] { text-align: center; }
.bk-done { width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; margin: 6px auto 18px; }
.bk-done svg { width: 30px; height: 30px; }
.bk-summary { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 20px; text-align: start; display: grid; gap: 10px; font-size: 0.92rem; }
.bk-summary .r { display: flex; justify-content: space-between; gap: 12px; }
.bk-summary .r span { color: var(--muted); }
.bk-summary .r b { color: var(--ink); font-weight: 800; }
@media (max-width: 420px) { .bk-steps li { font-size: 0; gap: 0; } .bk-steps li span { font-size: 0.95rem; } }

/* ---------- بطاقة الحجز عبر Cal.com ---------- */
.cal-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-sm); padding: clamp(30px, 4vw, 46px); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.cal-badge { display: inline-flex; align-items: center; gap: 8px; align-self: center; padding: 8px 16px; border-radius: var(--r-pill); background: var(--warm-soft); color: var(--warm); font-weight: 700; font-size: 0.82rem; margin-bottom: 18px; }
.cal-badge svg { width: 17px; height: 17px; }
.cal-card h3 { margin-bottom: 12px; }
.cal-card > p { color: var(--muted); max-width: 460px; margin: 0 auto; }
.cal-card .btn { margin-top: 24px; }
.cal-note { font-size: 0.8rem; color: var(--muted); margin-top: 18px; line-height: 1.8; }

/* ---------- لوحة الدفع/التأكيد بعد الحجز ---------- */
.pay-overlay { position: fixed; inset: 0; z-index: 2147483647; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pay-overlay[hidden] { display: none; }
.pay-overlay__bg { position: absolute; inset: 0; background: rgba(9, 8, 6, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pay-box { position: relative; background: var(--surface-2); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: clamp(28px, 4vw, 44px); width: min(100%, 520px); max-height: 90vh; overflow-y: auto; text-align: center; }
.pay-box__close { position: absolute; top: 14px; inset-inline-start: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.pay-box__icon { width: 66px; height: 66px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.pay-box__icon svg { width: 30px; height: 30px; }
.pay-box h3 { margin-bottom: 10px; }
.pay-box > p { color: var(--muted); margin-bottom: 22px; }
.pay-box .bk-bank { text-align: start; }
.pay-note { font-size: 0.82rem; color: var(--muted); margin-top: 16px; }

/* بطاقة المعلومات (أسود) */
.info-card { background: var(--ink); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(30px, 4vw, 44px); position: relative; overflow: hidden; height: 100%; }
.info-card .glow { position: absolute; inset-inline-start: -30%; bottom: -30%; width: 70%; height: 70%; background: radial-gradient(circle, rgba(201,174,131,0.14), transparent 70%); }
.info-card h3 { color: var(--on-dark); position: relative; }
.info-card .lead { color: var(--muted-on-dark); margin: 12px 0 30px; font-size: 1rem; position: relative; }
.info-list { display: grid; gap: 22px; position: relative; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; }
.info-item__icon svg { width: 22px; height: 22px; color: #C9AE83; }
.info-item .k { font-size: 0.78rem; color: #C9AE83; letter-spacing: 0.04em; font-weight: 700; }
.info-item .v { color: var(--on-dark); font-weight: 700; font-size: 1rem; word-break: break-word; }
.info-item .v a:hover { color: #E9D9BE; }
.info-item .v small { display: block; color: var(--muted-on-dark); font-weight: 400; }
.info-social { display: flex; gap: 12px; margin-top: 30px; position: relative; }
.info-social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: var(--on-dark); transition: background-color 0.25s var(--ease), color 0.25s, transform 0.25s, border-color 0.25s; }
.info-social a:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); transform: translateY(-3px); }
.info-social svg { width: 20px; height: 20px; }

/* ---------- 16. التذييل (أسود) ---------- */
.footer { background: #100E0A; color: var(--on-dark); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand { color: var(--on-dark); margin-bottom: 18px; }
.footer .brand__mark { background: var(--bg); border-radius: 10px; padding: 5px 7px; height: auto; }
.footer .brand__mark img { height: 38px; }
.footer .brand__name { color: var(--on-dark); }
.footer .brand__name span { color: var(--muted-on-dark); }
.footer__about { color: var(--muted-on-dark); font-size: 0.92rem; line-height: 1.85; }
.footer h4 { color: var(--on-dark); font-size: 1rem; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: var(--muted-on-dark); font-size: 0.92rem; }
.footer__links a:hover { color: #E9D9BE; padding-inline-start: 6px; transition: padding 0.2s var(--ease), color 0.2s; }
.footer__contact { display: grid; gap: 14px; color: var(--muted-on-dark); font-size: 0.92rem; }
.footer__contact .row { display: flex; align-items: center; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: #C9AE83; flex: none; }
.footer__bottom { border-top: 1px solid var(--line-on-dark); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; color: var(--muted-on-dark); font-size: 0.84rem; }

/* ---------- 17. زر واتساب العائم ---------- */
.wa-float { position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.4); transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: translateY(-4px) scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0.6; animation: wa-pulse 2.4s var(--ease) infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.6; } 70%,100% { transform: scale(1.7); opacity: 0; } }

/* ---------- 18. الكشف عند التمرير ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 19. الاستجابة ---------- */
@media (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 340px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin-inline: auto; order: -1; }
  .process__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process__grid::before { display: none; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__type { font-size: 1.2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .process__grid, .why__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 20. تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__art .ring, .typer__caret, .wa-float::after { animation: none; }
}
