/* ==========================================================================
   همّة العقارية — صفحة المشروع v2 (تجريبية)
   التصميم مطابق للمرجع البصري الذي اعتمده المالك: فاتح دافئ، بطاقات بيضاء،
   زيتوني للأفعال، وتسلسل: هيرو ← ملخّص ← ثقة ← لماذا ← معرض ← وحدات ←
   موقع ← ضمانات ← مطوّر ← أسئلة ← نداء أخير ← شريط ثابت.
   كل المحتوى يُشتق من data/projects/<id>.json — لا شيء مكتوب لمشروع بعينه.
   محصور كله تحت .pv2 حتى لا يمسّ project.html المنشورة.
   ========================================================================== */

.pv2{
  --bg:#F8F6F1;
  --card:#FFFFFF;
  --cream:#F7F0E4;
  --cream-2:#F2EEE4;
  --line:#E7E3D8;        /* شعرة فاصلة زخرفية */
  --line-2:#EFEBE1;
  --line-ui:#8A8774;     /* حدّ عنصر تفاعلي — 3.62:1 على الأبيض ✔ 1.4.11 */

  --olive:#56543A;
  --olive-d:#43412B;
  --olive-2:#87855F;
  --olive-wash:#EDEBE0;

  --ink:#1F1F1B;
  --muted:#77756D;
  --muted-2:#9A978C;

  --ok:#3E8E5A;          /* 4.9:1 على الأبيض */
  --ok-solid:#4A9E68;
  --ok-bg:#E9F4ED;
  --sold:#6F6A5E;        /* 5.6:1 على الأبيض */
  --sold-solid:#A29B8B;
  --sold-bg:#EFEDE7;
  --wr:#8A6320;
  --wr-bg:#F7EFDF;
  --wa:#25D366;

  --r:14px;
  --r-sm:10px;

  /* ── نظام الأيقونات (Lucide) ── */
  --icon-sm:18px;
  --icon-md:22px;
  --icon-lg:30px;
  --icon-primary:#56543A;
  --icon-secondary:#683D22;
  --icon-muted:#87855F;
  --icon-dark:#2C2B27;
  --pad:16px;
  --maxw:1180px;
  --ease:cubic-bezier(.4,0,.2,1);

  font-family:SaudiRiyal,Handicrafts,Tahoma,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
.pv2 *,.pv2 *::before,.pv2 *::after{box-sizing:border-box}
.pv2 img{max-width:100%;display:block}
.pv2 :focus-visible{outline:2.5px solid var(--olive);outline-offset:2px;border-radius:8px}
.pv2 [dir=ltr]{font-variant-numeric:tabular-nums}
/* الشريط الثابت لا يغطّي آخر المحتوى */
.pv2 .site-footer{padding-bottom:calc(86px + env(safe-area-inset-bottom))}

/* ===== الهيدر: مضغوط، الشعار في المنتصف، أفعال في جهة البداية ===== */
.pv2 .header,.pv2 .header.scrolled{
  height:60px!important;min-height:60px!important;padding:0 12px!important;
  background:#fff!important;border-bottom:1px solid var(--line)!important;
  box-shadow:none!important;position:sticky;top:0;z-index:50;
}
.pv2 .header .logo{position:absolute;inset-inline:0;margin-inline:auto;width:max-content;order:2}
.pv2 .header .logo img,.pv2 .header.scrolled .logo img{
  width:96px!important;max-width:none!important;
  filter:grayscale(.18) brightness(.42)!important;   /* الذهب #D8B888 باهت على الأبيض — نغمّقه */
}
.pv2 .header nav{background:var(--olive)!important}
.pv2 .header-cta{display:none!important}
.pv2 .burger{order:3;position:relative;z-index:2;width:40px!important;height:40px!important;border-radius:10px!important;background:transparent!important;border:1px solid var(--line)!important}
.pv2 .burger span{background:var(--ink)!important}
.pv2-hactions{order:1;position:relative;z-index:2;display:flex;gap:8px;margin-inline-start:0}
.pv2-hbtn{
  width:38px;height:38px;border-radius:50%;background:var(--olive);color:#fff;
  display:flex;align-items:center;justify-content:center;flex:0 0 38px;
}
.pv2-hbtn--wa{background:var(--olive)}

/* ==========================================================================
   نظام الأيقونات — Lucide، صنف واحد، سمك بصري ثابت ١.٨px على كل المقاسات
   (stroke-width يُعوَّض حسب المقاس: 24/size × 1.8)
   ممنوع كتابة width أو stroke أو color لأي <svg> خارج هذه الكتلة.
   ========================================================================== */
.pv2 .ic{
  width:var(--icon-md);height:var(--icon-md);flex:0 0 auto;
  display:inline-block;vertical-align:middle;
  fill:none;stroke:currentColor;stroke-width:1.96;
  stroke-linecap:round;stroke-linejoin:round;
  color:var(--icon-primary);
  transition:color .18s var(--ease);
}
.pv2 .ic--sm{width:var(--icon-sm);height:var(--icon-sm);stroke-width:2.4}
.pv2 .ic--md{width:var(--icon-md);height:var(--icon-md);stroke-width:1.96}
.pv2 .ic--lg{width:var(--icon-lg);height:var(--icon-lg);stroke-width:1.44}
.pv2 .ic--muted{color:var(--icon-muted)}
.pv2 .ic--dark{color:var(--icon-dark)}
.pv2 .ic--secondary{color:var(--icon-secondary)}
.pv2 .ic--inherit{color:inherit}
/* استثناء مقصود: شعارات العلامات التجارية (واتساب) ممتلئة بلون واحد،
   والتعرّف على العلامة أهم من اتساق الـstroke. مقاسها أصغر قليلاً لأن
   الشكل الممتلئ يُقرأ أثقل بصرياً من الخطّي عند نفس المقاس. */
.pv2 .ic--brand{fill:currentColor;stroke:none}
.pv2 .ic--brand.ic--sm{width:17px;height:17px}
.pv2 .ic--brand.ic--md{width:20px;height:20px}

/* النقطة الصغيرة داخل tag و keyRound تُملأ بلون الخط نفسه (لون واحد للأيقونة) */
.pv2 .ic [fill="currentColor"]{fill:currentColor;stroke:none}
/* تمرير الفأرة: تغيير لون فقط، بلا تكبير */
@media (hover:hover){
  .pv2 a:hover>.ic--muted,.pv2 button:hover>.ic--muted,
  .pv2 a:hover .ic--muted,.pv2 button:hover .ic--muted{color:var(--icon-primary)}
}

/* ===== الغلاف والأقسام ===== */
.pv2-wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.pv2-sec{padding-block:32px}
.pv2-sec--cream{background:var(--cream-2)}
.pv2-shead{text-align:center;margin-bottom:20px}
.pv2-shead h2{font-size:21px;font-weight:900;line-height:1.35;color:var(--ink);margin:0}
.pv2-shead p{font-size:13.5px;line-height:1.65;color:var(--muted);margin:6px 0 0}

/* ===== الأزرار ===== */
.pv2-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:0 20px;border-radius:var(--r-sm);border:1px solid transparent;
  font:inherit;font-size:15px;font-weight:800;line-height:1.2;cursor:pointer;
  text-decoration:none;transition:background .16s var(--ease),border-color .16s var(--ease);
}
.pv2-btn--primary{background:var(--olive);color:#fff}
.pv2-btn--primary:hover{background:var(--olive-d)}
.pv2-btn--out{background:var(--card);color:var(--ink);border-color:var(--line-ui)}
.pv2-btn--out:hover{background:var(--cream-2);border-color:var(--olive)}
.pv2-btn--primary:active,.pv2-btn--out:active,.pv2-btn--white:active,.pv2-btn--line:active{transform:translateY(1px)}
.pv2-btn--white{background:#fff;color:var(--olive)}
.pv2-btn--line{background:transparent;color:var(--cream);border-color:rgba(247,240,228,.4)}
.pv2-btn--block{width:100%}
.pv2-btn--sm{min-height:44px;font-size:13.5px;padding:0 16px}
.pv2-btn[disabled],.pv2-btn--dead{background:var(--sold-bg);color:var(--sold);border-color:transparent;pointer-events:none}

/* ==========================================================================
   ١ — الهيرو
   ========================================================================== */
.pv2-hero{padding:12px var(--pad) 0}
.pv2-hero-fig{position:relative;border-radius:var(--r);overflow:hidden;background:var(--cream-2);margin:0}
.pv2-hero-fig img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 45%}
.pv2-badge{
  position:absolute;top:12px;inset-inline-start:12px;z-index:2;
  display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;
  border-radius:999px;background:rgba(255,255,255,.94);color:var(--ink);
  font-size:12.5px;font-weight:900;box-shadow:0 2px 8px rgba(31,31,27,.10);
}
.pv2-badge .ic{color:var(--olive)}
.pv2-badge--offer{inset-inline-start:auto;inset-inline-end:12px;background:#0f6b3a;color:#fff}
.pv2-badge--offer .ic{color:#fff}
.pv2-offer{margin:12px auto 0;max-width:46ch;padding:10px 14px;border-radius:12px;background:#e9f5ee;border:1px solid #bfe3cc;color:#0f4d2a;display:grid;gap:2px;text-align:start}
.pv2-offer b{font-size:11.5px;font-weight:800;letter-spacing:.02em;color:#1f7a45}
.pv2-offer strong{font-size:19px;font-weight:900;line-height:1.3}
.pv2-offer span{font-size:12.5px;line-height:1.6;color:#2f5f45}
.pv2-gcount{
  position:absolute;bottom:12px;inset-inline:0;margin-inline:auto;z-index:2;
  width:max-content;display:flex;align-items:center;gap:2px;
  height:32px;padding:0 6px;border-radius:999px;
  background:rgba(31,31,27,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.pv2-gcount b{color:#fff;font-size:12.5px;font-weight:800;padding:0 8px;min-width:44px;text-align:center}
.pv2-gcount button{
  width:28px;height:28px;border-radius:50%;border:0;background:transparent;
  color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.pv2-gcount button:hover{background:rgba(255,255,255,.16)}
/* الشريط المنزلق: صورة واحدة كاملة العرض لكل شريحة */
.pv2-hero-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
.pv2-hero-rail::-webkit-scrollbar{display:none}
.pv2-hero-rail>figure{flex:0 0 100%;scroll-snap-align:center;margin:0}

/* ==========================================================================
   ٢ — ملخّص المشروع
   ========================================================================== */
.pv2-intro{text-align:center;padding:20px var(--pad) 0}
.pv2-h1{font-size:27px;font-weight:900;line-height:1.3;color:var(--ink);margin:0}
.pv2-place{font-size:13.5px;font-weight:800;color:var(--muted);margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center}
.pv2-place i{width:3px;height:3px;border-radius:50%;background:var(--muted-2);display:block}
.pv2-vp{font-size:13.5px;line-height:1.75;color:var(--muted);margin:10px auto 0;max-width:46ch}

/* بطاقات الملخّص الثلاث */
.pv2-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px var(--pad) 0}
.pv2-sum-c{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;
}
.pv2-sum-c b{font-size:13.5px;font-weight:900;color:var(--ink);line-height:1.25;white-space:nowrap;letter-spacing:-.2px}
.pv2-sum-c b sup{font-size:9px;vertical-align:super;font-weight:700}
.pv2-sum-c>span{font-size:11.5px;font-weight:700;color:var(--muted-2);line-height:1.3}

/* الأفعال الرئيسية */
.pv2-cta{display:grid;gap:10px;padding:16px var(--pad) 0}
.pv2-lic{
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-size:12.5px;font-weight:700;color:var(--muted-2);padding:12px var(--pad) 0;
}

/* ==========================================================================
   ٣ — شريط الثقة
   ========================================================================== */
.pv2-trust{
  display:grid;grid-template-columns:repeat(4,1fr);
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  margin:20px var(--pad) 0;overflow:hidden;
}
.pv2-trust div{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;
  padding:16px 4px;text-align:center;
}
.pv2-trust div+div{border-inline-start:1px solid var(--line-2)}
.pv2-trust span{font-size:11.5px;font-weight:800;color:var(--ink);line-height:1.35}

/* ==========================================================================
   ٤ — لماذا هذا المشروع
   ========================================================================== */
.pv2-why{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.pv2-why-c{
  background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 12px;
}
.pv2-why-c .ic{margin-bottom:10px}
.pv2-why-c b{display:block;font-size:15px;font-weight:900;color:var(--ink);line-height:1.45}
.pv2-why-c span{display:block;font-size:12.5px;line-height:1.65;color:var(--muted);margin-top:6px}

/* ==========================================================================
   ٥ — المعرض
   ========================================================================== */


/* ==========================================================================
   ٦ — الوحدات
   ========================================================================== */
.pv2-tabs{
  display:grid;grid-template-columns:repeat(3,1fr);gap:4px;
  background:var(--cream-2);border:1px solid var(--line);border-radius:12px;padding:4px;margin-bottom:16px;
}
.pv2-tab{
  height:40px;border:0;border-radius:8px;background:transparent;cursor:pointer;
  font:inherit;font-size:13.5px;font-weight:800;color:var(--muted);
}
.pv2-tab[aria-pressed=true]{background:var(--olive);color:#fff}

.pv2-u{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:16px;margin-bottom:12px;
}
/* المباعة تنسحب بصرياً بأرضية أهدأ، لا ببطاقة رمادية تبدو معطّلة */
.pv2-u--gone{background:#FAF8F3}
.pv2-u-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pv2-u-id b{display:block;font-size:26px;font-weight:900;line-height:1;color:var(--ink)}
.pv2-u--gone .pv2-u-id b{color:var(--sold)}
.pv2-u-id span{display:block;font-size:12.5px;font-weight:700;color:var(--muted-2);margin-top:4px}
.pv2-pill{
  display:inline-flex;align-items:center;height:26px;padding:0 12px;border-radius:999px;
  font-size:12.5px;font-weight:900;color:#fff;flex:0 0 auto;
}
.pv2-pill--ok{background:var(--ok-solid)}
.pv2-pill--wr{background:#C89239}
.pv2-pill--sd{background:var(--sold-solid)}

.pv2-u-nums{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:16px}
.pv2-u-nums>div{min-width:0}
.pv2-u-nums b{display:block;font-size:17px;font-weight:900;color:var(--ink);line-height:1.15;white-space:nowrap;letter-spacing:-.2px}
/* السعر هو محرّك القرار: درجة أعلى من المساحة */
.pv2-u-nums>div:first-child b{font-size:19px}
.pv2-u-nums b sup{font-size:11.5px;vertical-align:super}
.pv2-u--gone .pv2-u-nums b{color:var(--sold)}
.pv2-u-nums>div>span{display:block;font-size:11.5px;font-weight:700;color:var(--muted-2);margin-top:4px}
.pv2-u-nums>div:last-child{text-align:end}

/* الرقم يميناً ووحدته يساره — ترتيب القراءة العربية بلا اعتماد على bidi */
.pv2-amt{display:inline-flex;direction:rtl;align-items:baseline;gap:5px;white-space:nowrap}
.pv2-u-rooms{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line-2)}
/* بقية بنود المواصفات كاملةً — نصّ هادئ لا رقاقات تزحم البطاقة */
.pv2-u-rest{margin:10px 0 0;font-size:12.5px;line-height:1.75;color:var(--muted)}
.pv2-u--gone .pv2-u-rest{color:var(--sold)}
.pv2-u-rooms span{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;color:var(--muted)}
.pv2-u--gone .pv2-u-rooms .ic{color:var(--sold-solid)}

.pv2-u-cta{display:flex;gap:8px;margin-top:16px}
.pv2-u-cta .pv2-btn{flex:1 1 auto;min-height:46px;font-size:13.5px;padding:0 10px}
.pv2-u-cta .pv2-btn--out{flex:0 0 38%;background:var(--cream-2);font-weight:900;color:var(--ink)}
.pv2-u-cta .pv2-btn--out:hover{background:var(--cream)}
.pv2-u-note{font-size:12.5px;font-weight:800;color:var(--ok);margin:10px 0 0;text-align:center}
.pv2-u-note button{background:none;border:0;padding:0;font:inherit;color:var(--ok);text-decoration:underline;cursor:pointer}

/* زر المقارنة */
.pv2-cmpbtn{
  width:100%;background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:16px;cursor:pointer;font:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:8px;
}
.pv2-cmpbtn b{font-size:15px;font-weight:900;color:var(--ink);display:inline-flex;align-items:center;gap:8px}
.pv2-cmpbtn span{font-size:12.5px;font-weight:700;color:var(--muted-2)}
.pv2-cmpwrap{margin-top:12px;overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
.pv2-cmptable{border-collapse:collapse;width:100%;min-width:460px;font-size:13.5px}
.pv2-cmptable th,.pv2-cmptable td{padding:0 12px;height:48px;text-align:start;white-space:nowrap}
.pv2-cmptable thead th{background:var(--olive);color:#fff;font-size:13.5px;font-weight:900;height:42px}
.pv2-cmptable tbody th{background:var(--cream-2);font-weight:900;color:var(--ink);width:88px;position:sticky;inset-inline-start:0}
.pv2-cmptable td{color:var(--muted);font-weight:800;font-variant-numeric:tabular-nums}
.pv2-cmptable tbody tr+tr th,.pv2-cmptable tbody tr+tr td{border-top:1px solid var(--line-2)}

.pv2-empty{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px 16px;text-align:center}
.pv2-empty b{display:block;font-size:17px;font-weight:900;margin-bottom:8px}
.pv2-empty p{margin:0 0 16px;font-size:13.5px;color:var(--muted);line-height:1.7}

/* ==========================================================================
   ٧ — الموقع
   ========================================================================== */
.pv2-map{
  position:relative;border-radius:var(--r);overflow:hidden;background:var(--cream-2);
  border:1px solid var(--line);aspect-ratio:16/11;
}
.pv2-map iframe{width:100%;height:100%;border:0;display:block;filter:saturate(.86)}
.pv2-pin{
  position:absolute;top:38%;inset-inline:0;margin-inline:auto;width:max-content;
  z-index:2;text-align:center;pointer-events:none;
}
.pv2-pin b{
  display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;
  background:var(--olive);color:#fff;font-size:13.5px;font-weight:900;box-shadow:0 4px 14px rgba(31,31,27,.18);
}
.pv2-pin span{
  display:block;margin-top:8px;font-size:11.5px;font-weight:800;color:var(--ink);
  background:rgba(255,255,255,.92);border-radius:8px;padding:4px 10px;line-height:1.5;
}
.pv2-map-btn{margin-top:12px}
.pv2-near{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}
.pv2-near-c{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:12px;display:flex;align-items:center;gap:10px;min-width:0;
}
.pv2-near-c b{display:block;font-size:12.5px;font-weight:900;color:var(--ink);line-height:1.4;overflow:hidden;text-overflow:ellipsis}
.pv2-near-c span{display:block;font-size:11.5px;font-weight:700;color:var(--muted-2);margin-top:4px}

/* ==========================================================================
   ٨ — المميزات والضمانات
   ========================================================================== */
.pv2-warr{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pv2-w{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:16px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;
}
.pv2-w b{font-size:17px;font-weight:900;color:var(--ink);line-height:1.15;letter-spacing:-.2px}
.pv2-w>span{font-size:11.5px;font-weight:700;color:var(--muted);line-height:1.45}
/* قائمة المواصفات: صفوف بمحاذاة واحدة بدل رقاقات متفاوتة العرض تلتفّ عشوائياً */
.pv2-feats{
  margin-top:16px;background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);padding:16px;
  display:grid;grid-template-columns:1fr;gap:12px 24px;
}
.pv2-feat{
  display:flex;align-items:flex-start;gap:10px;
  font-size:13.5px;font-weight:700;line-height:1.6;color:var(--ink);
}
.pv2-feat .ic{margin-top:2px}

/* ==========================================================================
   ٩ — المطوّر والثقة
   ========================================================================== */
.pv2-dev{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pv2-dev-c{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:16px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;
}
.pv2-dev-c em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--muted-2)}
.pv2-dev-c b{font-size:13.5px;font-weight:900;color:var(--ink);line-height:1.45}
/* صندوق موحّد للشعارات: منها ما هو مربّع (إثمار، رفاه) ومنها كلمة عريضة
   (الجميع، همّه). تثبيت الارتفاع يمنع ظهور المربّع أصغر من الكلمة. */
.pv2-dev-c img{height:48px;max-width:100%;width:auto;object-fit:contain;margin-top:2px;opacity:.9}
.pv2-lics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px}
.pv2-lic-c{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:12px;display:flex;align-items:center;gap:10px;
}
.pv2-lic-c em{font-style:normal;display:block;font-size:11.5px;font-weight:700;color:var(--muted-2)}
.pv2-lic-c b{display:block;font-size:13.5px;font-weight:900;color:var(--ink);margin-top:2px;font-variant-numeric:tabular-nums}

/* ==========================================================================
   ١٠ — الأسئلة الشائعة
   ========================================================================== */
.pv2-faq{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
/* style.css يعمّم خلفية وحوافاً وحشواً على details/summary/p في كل الموقع — نعيد الضبط هنا */
.pv2-faq details,.pv2-faq details[open]{background:transparent;border:0;border-radius:0;overflow:visible;transition:none}
.pv2-faq details+details{border-top:1px solid var(--line-2)}
.pv2-faq summary{
  list-style:none;cursor:pointer;padding:16px 44px 16px 16px;position:relative;display:block;
  font-size:15px;font-weight:800;color:var(--ink);line-height:1.6;gap:0;
}
.pv2-faq summary::-webkit-details-marker{display:none}
.pv2-faq summary .ic{position:absolute;inset-inline-end:16px;top:16px;transition:transform .2s var(--ease)}
.pv2-faq details[open] summary .ic{transform:rotate(180deg)}
.pv2-faq summary::marker{content:""}
.pv2-faq summary{display:block}
.pv2-faq p{margin:0;padding:0 16px 16px;font-size:13.5px;line-height:1.85;color:var(--muted)}

/* ==========================================================================
   ١١ — النداء الأخير
   ========================================================================== */
.pv2-final{
  background:var(--olive);color:var(--cream);padding:40px var(--pad);text-align:center;
  background-image:radial-gradient(circle at 18% 12%,rgba(247,240,228,.07) 0 1px,transparent 1px),
                   radial-gradient(circle at 78% 62%,rgba(247,240,228,.07) 0 1px,transparent 1px);
  background-size:26px 26px,34px 34px;
}
.pv2-final img.mark{height:34px;width:auto;margin:0 auto 16px;filter:brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(571%) hue-rotate(346deg) brightness(101%) contrast(88%)}
.pv2-final h2{font-size:22px;font-weight:900;line-height:1.4;margin:0;color:#fff}
.pv2-final p{font-size:13.5px;color:rgba(247,240,228,.82);margin:10px 0 24px}
.pv2-final-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:420px;margin-inline:auto}
.pv2-final-cta .pv2-btn{padding:0 12px;white-space:nowrap}
/* نموذج تسجيل الاهتمام داخل النداء الأخير (أرضية زيتونية) */
.pv2-lead{max-width:520px;margin:28px auto 0;text-align:start}
.pv2-lead-t{font-size:13.5px;font-weight:800;color:rgba(247,240,228,.9);margin:0 0 10px;text-align:center}
/* شرَك البوتات: مخفي بنمط visually-hidden القياسي — بلا إزاحة سالبة تُحدث تمريراً أفقياً */
.pv2-hp{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.pv2-lead-row{display:grid;gap:10px}
.pv2-lead-row input{
  width:100%;min-height:52px;padding:0 16px;border-radius:var(--r-sm);
  border:1px solid rgba(247,240,228,.28);background:rgba(255,255,255,.96);
  color:var(--ink);font:inherit;font-size:15px;
}
.pv2-lead-row input::placeholder{color:var(--muted-2)}
.pv2-lead-row input:focus{border-color:#fff;background:#fff}
.pv2-lead-row .pv2-btn{width:100%}
.pv2-lead-msg{font-size:12.5px;line-height:1.7;color:rgba(247,240,228,.78);margin:10px 0 0;text-align:center}

/* ==========================================================================
   ١٢ — الشريط الثابت السفلي
   ========================================================================== */
.pv2-bar{
  position:fixed;inset-inline:0;bottom:0;z-index:60;
  background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -4px 18px rgba(31,31,27,.07);
  padding-bottom:env(safe-area-inset-bottom);
  transition:transform .26s var(--ease);
}
/* زرّان متساويان بنمط زرّي النداء الأخير: واتساب (أساسي) يمين · اتصال يسار.
   ظاهر دائماً على الجوال (مخفي ≥1024px)، ويختفي عند قسم التسجيل والفوتر (.is-off)
   وأثناء الكتابة في أي حقل حتى لا يغطيه. قاعدتا الإخفاء منفصلتان: متصفح بلا :has يُسقط قاعدته وحدها. */
.pv2-bar.is-off{transform:translateY(115%)}
body.pv2:has(input:focus,textarea:focus) .pv2-bar{transform:translateY(115%)}
.pv2-bar-inner{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:520px;margin-inline:auto;padding:10px var(--pad)}
.pv2-bar .pv2-btn{min-height:50px;padding:0 12px;font-size:15.5px;white-space:nowrap}
@media (prefers-reduced-motion:reduce){.pv2-bar{transition:none}}

/* ==========================================================================
   الطبقات: ورقة الوحدة / المخطط / اللايت‌بوكس
   ========================================================================== */
.pv2-sheet{position:fixed;inset:0;z-index:80;display:none}
.pv2-sheet[aria-hidden=false]{display:block}
.pv2-sheet-back{position:absolute;inset:0;background:rgba(31,31,27,.55)}
.pv2-sheet-panel{
  position:absolute;inset-inline:0;bottom:0;max-height:92svh;overflow-y:auto;
  background:var(--bg);border-radius:20px 20px 0 0;
  padding:12px var(--pad) calc(20px + env(safe-area-inset-bottom));
  animation:pv2Up .24s var(--ease) both;
}
@keyframes pv2Up{from{transform:translateY(16px);opacity:.5}to{transform:none;opacity:1}}
.pv2-sheet-grab{width:40px;height:4px;border-radius:2px;background:#D9D5C9;margin:0 auto 12px}
.pv2-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pv2-sheet-head strong{font-size:17px;font-weight:900;color:var(--ink)}
.pv2-sheet-close{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center}
.pv2-sheet-plan{width:100%;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;object-fit:contain;max-height:48svh}
.pv2-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.pv2-specs div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 8px;text-align:center}
.pv2-specs dt{font-size:11.5px;font-weight:700;color:var(--muted-2)}
.pv2-specs dd{margin:4px 0 0;font-size:15px;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}
.pv2-sheet-text{font-size:13.5px;line-height:1.8;color:var(--muted);margin:12px 0 0}
.pv2-sheet-cta{display:grid;gap:10px;margin-top:16px}

.pv2-lb{position:fixed;inset:0;z-index:90;display:none;background:rgba(24,24,20,.97);align-items:center;justify-content:center;padding:64px 12px}
.pv2-lb[aria-hidden=false]{display:flex}
.pv2-lb img{max-width:96vw;max-height:76svh;object-fit:contain;border-radius:8px}
.pv2-lb-cap{margin-top:12px;color:#EFEDE7;font-size:13.5px;font-weight:800;text-align:center}
.pv2-lb-x{position:absolute;top:12px;inset-inline-end:12px;width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pv2-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pv2-lb-prev{inset-inline-end:10px}
.pv2-lb-next{inset-inline-start:10px}


@media (prefers-reduced-motion:reduce){
  .pv2 *,.pv2 *::before,.pv2 *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ==========================================================================
   ≥600px
   ========================================================================== */
@media (min-width:600px){
  .pv2{--pad:24px}
  .pv2-sum{grid-template-columns:repeat(3,1fr)}
  .pv2-cta{grid-template-columns:1fr 1fr}
  .pv2-cta .js-hero-book{grid-column:1/-1}   /* الحجز أولاً بعرض كامل، ثم الاتصال واستعراض الوحدات تحته */
  .pv2-why{grid-template-columns:repeat(4,1fr)}
  .pv2-why[data-n="2"]{grid-template-columns:repeat(2,1fr)}
  .pv2-why[data-n="3"],.pv2-why[data-n="6"]{grid-template-columns:repeat(3,1fr)}
  .pv2-why[data-n="5"]{grid-template-columns:repeat(5,1fr)}
  .pv2-near{grid-template-columns:repeat(3,1fr)}
  .pv2-hero-fig img{aspect-ratio:16/10}
  .pv2-ulist{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
  .pv2-u{margin-bottom:0}
  .pv2-warr{grid-template-columns:repeat(3,1fr)}
  .pv2-feats{grid-template-columns:repeat(2,1fr)}
}

/* ==========================================================================
   ≥1024px — سطح المكتب بنفس اللغة البصرية، لا تمديد لبطاقات الجوال
   ========================================================================== */
@media (min-width:1024px){
  .pv2{--pad:32px}

  .pv2 .header,.pv2 .header.scrolled{height:74px!important;min-height:74px!important;padding:0 5vw!important}
  .pv2 .header .logo{position:static;margin-inline:0;order:1}
  .pv2 .header .logo img{width:124px!important}
  .pv2 .header nav{position:static!important;flex-direction:row!important;background:transparent!important;
    box-shadow:none!important;border:0!important;opacity:1!important;visibility:visible!important;
    pointer-events:auto!important;transform:none!important;padding:0!important;order:2;color:var(--muted)!important}
  .pv2 .header nav a{color:var(--ink)!important;font-size:15px}
  .pv2 .burger{display:none!important}
  .pv2-hactions{order:3}

  /* الهيرو: صورة ٦٠٪ + ملخّص ٤٠٪ */
  .pv2-top{max-width:var(--maxw);margin-inline:auto;padding:32px var(--pad) 0;
    display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;align-items:start}
  .pv2-hero{padding:0}
  .pv2-hero-fig img{aspect-ratio:4/3}
  .pv2-intro{text-align:start;padding:0}
  .pv2-h1{font-size:36px}
  .pv2-place{justify-content:flex-start}
  .pv2-vp{margin-inline:0}
  .pv2-offer{margin-inline:0}
  .pv2-sum{padding:20px 0 0;gap:10px}
  .pv2-sum-c{padding:16px 12px}
  .pv2-sum-c b{font-size:15px}
  .pv2-cta{padding:16px 0 0;grid-template-columns:1fr 1fr}
  .pv2-lic{padding:12px 0 0;justify-content:flex-start}
  .pv2-trust{margin:24px auto 0;max-width:var(--maxw)}

  .pv2-sec{padding-block:48px}
  .pv2-shead h2{font-size:28px}

  .pv2-ulist{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .pv2-u{margin-bottom:0}
  .pv2-tabs{max-width:420px;margin-inline:auto}

  .pv2-loc{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:stretch}
  .pv2-map{aspect-ratio:16/10}
  .pv2-near{grid-template-columns:1fr;grid-auto-rows:1fr;margin-top:0}

  .pv2-warr{grid-template-columns:repeat(6,1fr)}
  .pv2-feats{grid-template-columns:repeat(3,1fr)}
  .pv2-dev{grid-template-columns:repeat(2,1fr)}
  .pv2-lics{grid-template-columns:repeat(2,1fr)}
  .pv2-faq{max-width:860px;margin-inline:auto}
  #developer .pv2-wrap{max-width:860px}
  .pv2-final{padding:64px var(--pad)}
  .pv2-final h2{font-size:30px}
.pv2-lead-row{grid-template-columns:1fr 1fr auto}
  .pv2-lead-row .pv2-btn{width:auto;padding:0 26px}

  .pv2-bar{display:none}
  .pv2 .site-footer{padding-bottom:0}
}

/* الأزرار العائمة: واتساب والاتصال مخفيّان على كل المقاسات — الهيدر يحملهما
   دائماً، وأيقونتاهما من مصدر آخر (واتساب ممتلئة) فتكسران وحدة النظام.
   يبقى سهم الصعود وحده، موحَّداً مع أصناف .ic. */
.pv2 .floating-wa,.pv2 .floating-call{display:none!important}
.pv2 .floating-top{bottom:calc(92px + env(safe-area-inset-bottom))!important}
.pv2 .floating-btn svg{width:var(--icon-md);height:var(--icon-md);stroke-width:1.96;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:1024px){
  .pv2 .floating-top{bottom:26px!important}
}

/* ترتيب عناصر الهيدر على الجوال: أفعال (يمين) · شعار (وسط، خارج التدفّق) · قائمة (يسار).
   القائمة مخفية حتى تُفتح — لا نعتمد على قواعد style.css الخاصة بالجوال. */
@media (max-width:1023.98px){
  .pv2 .header nav{
    order:2;position:absolute!important;top:100%!important;inset-inline:0!important;
    flex-direction:column!important;gap:6px!important;padding:16px!important;
    background:var(--olive)!important;color:var(--cream)!important;
    border-top:1px solid rgba(234,222,200,.14)!important;
    box-shadow:0 18px 34px rgba(31,31,27,.2);
    transform:translateY(-10px)!important;opacity:0;visibility:hidden;pointer-events:none;z-index:70;
    transition:opacity .2s var(--ease),transform .2s var(--ease);
  }
  .pv2 .header nav.open{transform:none!important;opacity:1;visibility:visible;pointer-events:auto}
  .pv2 .burger{display:flex!important;align-items:center;justify-content:center}
  .pv2 .burger span{display:none!important}
  .pv2 .burger .ic{color:var(--icon-dark)}
  .pv2 .burger .ic-close{display:none}
  .pv2 .burger.open .ic-menu{display:none}
  .pv2 .burger.open .ic-close{display:inline-block}
  .pv2 .header nav a{color:var(--cream)!important;padding:10px 2px}
}

/* ==========================================================================
   بوابة الواتساب (تجربة): اسم + جوال قبل فتح محادثة المندوب
   ========================================================================== */
.pv2-gate .pv2-sheet-panel{max-width:440px}
.pv2-gate-sub{font-size:13.5px;color:var(--muted);margin:-4px 0 14px;line-height:1.7}
.pv2-gate-form{display:grid;gap:10px}
.pv2-gate-form input{height:50px;border:1px solid var(--line-ui);border-radius:var(--r-sm);padding:0 14px;font:inherit;font-size:16px;background:#fff;color:var(--ink);width:100%}
.pv2-gate-form input:focus{outline:2px solid var(--olive);outline-offset:1px;border-color:var(--olive)}
.pv2-btn--wa{background:var(--wa);color:#fff;border-color:transparent}
.pv2-btn--wa:hover{filter:brightness(.95)}
.pv2-gate-note{font-size:12.5px;color:var(--muted-2);margin:10px 0 0;text-align:center}
.pv2-gate-err{font-size:13px;color:#b3261e;min-height:18px;margin:0}
.pv2-plan-note{font-size:12px;color:var(--muted-2);margin:8px 4px 0;text-align:center;line-height:1.6}

/* ==========================================================================
   الجوال: الهيدر = الشعار + القائمة فقط (واتساب والاتصال في الشريط السفلي)،
   وإظهار روابط القائمة: style.css يخفي «.header nav > a» ≤760px لصالح
   لوحة .mobile-nav-panel غير الموجودة هنا، فكانت القائمة تُفتح فارغة.
   ========================================================================== */
@media (max-width:1023.98px){
  .pv2 .header nav > a{display:flex!important}
  .pv2 .burger{margin-inline-start:auto}
  .pv2 .pv2-hactions{display:none}
}
