/* ============================================================
   compact.css - تحديث 3: هيدر بسطر واحد + هيرو مضغوط + مسافات أقل
   يُحمَّل بعد باقي ملفات CSS
   ============================================================ */

/* ---------- الهيدر: سطر واحد، متناسق ---------- */
.header-custom { padding: 8px 0; }
.header-custom.scrolled { padding: 6px 0; }
.hdr { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; min-height: 48px; }
.hdr .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; white-space: nowrap; flex: 0 0 auto; }
.hdr .brand .en { font-weight: 800; font-size: 1.25rem; letter-spacing: .2px; }
.hdr .brand .en b { color: #00b4d8; font-weight: 800; }
.hdr .brand .ar { font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.85); padding-right: 10px; border-right: 2px solid #00b4d8; line-height: 1.2; }
.hdr-nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; }
.hdr-nav a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .92rem; font-weight: 600; white-space: nowrap; transition: .2s; }
.hdr-nav a i { font-size: .85rem; color: #00b4d8; }
.hdr-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.hdr-nav a.active { background: rgba(0,180,216,.18); color: #fff; }
.hdr .search-form-header { width: 190px; flex: 0 0 auto; }
.hdr .search-form-header:focus-within { width: 230px; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-right: auto; }
.hdr-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; }
.hdr-btn.wa { background: #25D366; color: #fff; }
.hdr-btn.wa:hover { background: #1ebe5b; color: #fff; }
.hdr-btn.call { background: rgba(255,255,255,.1); color: #fff; }
.hdr-btn.call:hover { background: rgba(255,255,255,.18); color: #fff; }
.hdr-btn.icon { width: 38px; padding: 0; justify-content: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.hdr-btn.icon:hover { background: rgba(255,255,255,.16); color: #fff; }
.hdr .navbar-toggler-custom { margin: 0; }
@media (max-width: 1199.98px) { .hdr .search-form-header { display: none; } .hdr .brand .ar { display: none; } }
@media (max-width: 991.98px) {
  .hdr { gap: 10px; }
  .hdr-nav { display: none !important; }
  .hdr .brand { margin-left: auto; }
  .hdr-actions { margin-right: 0; }
  .hdr-btn.call { display: none; }
}
@media (max-width: 575.98px) { .hdr-btn.wa span { display: none; } .hdr-btn.wa { width: 38px; padding: 0; justify-content: center; } .hdr .brand .en { font-size: 1.1rem; } }

/* ---------- الهيرو: مضغوط ---------- */
.hero-section { min-height: auto !important; border-radius: 0 0 22px 22px !important; }
.hero-content { padding: 34px 0 26px !important; }
.hero-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem) !important; line-height: 1.25 !important; margin: 0 0 8px !important; }
.hero-subtitle { font-size: 1rem !important; margin: 0 0 18px !important; opacity: .92; }
.hero-badge-wrapper, .hero-stats, .hero-floating-card, .hero-illustration, .hero-shape, .hero-particles { display: none !important; }
.search-box-hero { margin: 0 auto !important; padding: 14px 16px 10px !important; max-width: 1000px; }
.search-box-hero .search-box-header, .search-box-hero .search-box-footer, .search-box-hero .form-label { display: none !important; }
.search-box-hero form { --bs-gutter-y: .6rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.hero-chips a { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: .2s; }
.hero-chips a:hover { background: #fff; color: #0b2545; }

/* ---------- تقليل المسافات الرأسية ---------- */
section.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
section.py-4 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.section-title { margin-bottom: 14px; }
.text-center.mb-4 { margin-bottom: 1rem !important; }

/* ---------- شريط طلب عقار ---------- */
.lead-strip { background: linear-gradient(135deg, #0b2545, #0077b6); color: #fff; border-radius: 18px; padding: 22px 24px; margin: 8px 0; }
.lead-strip h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 4px; }
.lead-strip p { margin: 0 0 14px; opacity: .9; font-size: .95rem; }
.lead-strip .form-control { border-radius: 10px; height: 44px; }
.lead-strip .btn-lead { background: #25D366; color: #fff; font-weight: 800; border: 0; border-radius: 10px; height: 44px; width: 100%; }
.lead-strip .btn-lead:hover { background: #1ebe5b; }

/* ---------- شريط تواصل ثابت على الموبايل ---------- */
.mobile-cta { display: none; }
@media (max-width: 767.98px) {
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040; background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.15); padding: 8px 10px; gap: 8px; }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; font-weight: 800; text-decoration: none; color: #fff; }
  .mobile-cta a.call { background: #0b2545; }
  .mobile-cta a.wa { background: #25D366; }
  body { padding-bottom: 66px; }
  .whatsapp-float, #scrollTopBtn { display: none !important; }
  .hero-content { padding: 22px 0 18px !important; }
  .search-box-hero { padding: 12px !important; }
  .lead-strip { padding: 18px 16px; }
}
.lead-strip form { position: relative; }
.lead-hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero-subtitle { text-align: center; }
