/* ═══════════════════════════════════════════════════════════
   EL SAHABA REAL ESTATE — MASTER STYLESHEET
   Project : El Sahaba Real Estate Platform
   Version : 3.0 (Properties Page + Modal + Filters + FAB)
   ═══════════════════════════════════════════════════════════ */
  
/* ──────────────────────────────────────────────────────────
   1. DESIGN TOKENS (CSS Custom Properties)
   ────────────────────────────────────────────────────────── */
:root {
  --green-deep:    #0d2818;
  --green-rich:    #14391f;
  --green-mid:     #1a4a27;
  --green-light:   #1f5a30;
  --green-glow:    #2a7a42;
  --gold:          #c9a84c;
  --gold-light:    #e4c97a;
  --gold-pale:     #f5e4b0;
  --cream:         #f9f5ec;

  --text-light:    rgba(255, 255, 255, 0.92);
  --text-muted:    rgba(255, 255, 255, 0.52);

  --card-bg:       rgba(20, 57, 31, 0.85);
  --glass:         rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(201, 168, 76, 0.15);

  --wa-green:      #25D366;
  --radius-card:   10px;
}


/* ──────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--green-deep);
  color: var(--text-light);
  overflow-x: hidden;
  direction: rtl;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}
::-webkit-scrollbar          { width: 4px; }
::-webkit-scrollbar-track    { background: var(--green-deep); }
::-webkit-scrollbar-thumb    { background: var(--gold); border-radius: 2px; }


/* ──────────────────────────────────────────────────────────
   3. LOADER
   ────────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--green-deep);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 96px; animation: loaderPulse 1.8s ease-in-out infinite; }
.loader-status { margin-top: 16px; font-size: 0.72rem; letter-spacing: 2px; color: var(--gold); opacity: 0.7; }
.loader-bar { margin-top: 20px; width: 130px; height: 1px; background: rgba(201, 168, 76, 0.18); overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0; background: var(--gold); transition: width 0.4s ease; }
@keyframes loaderPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50%       { opacity: 1;    transform: scale(1);    }
}


/* ──────────────────────────────────────────────────────────
   4. NAVIGATION
   ────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
}
nav.scrolled {
  background: rgba(8, 19, 11, 0.94);
  backdrop-filter: blur(22px);
  padding: 11px 5%;
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo img { height: 42px; object-fit: contain; display: block; }
.nav-center { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-center a {
  font-family: 'Cairo', sans-serif;
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: color 0.3s;
}
.nav-center a:hover { color: var(--gold-light); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-social { display: flex; align-items: center; gap: 10px; }
.nav-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.78rem;
  text-decoration: none; transition: all 0.3s ease;
}
.nav-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, 0.08); }
.btn-linktree {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Cairo', sans-serif; font-size: 0.75rem; font-weight: 600;
  padding: 7px 14px; border: 1px solid var(--gold); color: var(--gold);
  background: transparent; border-radius: 20px; cursor: pointer;
  text-decoration: none; transition: all 0.35s ease; letter-spacing: 0.3px; white-space: nowrap;
}
.btn-linktree:hover { background: var(--gold); color: var(--green-deep); }
.btn-linktree i { font-size: 0.85rem; }
.nav-cta {
  font-family: 'Cairo', sans-serif; font-size: 0.82rem;
  padding: 9px 22px; background: transparent; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 2px; cursor: pointer; letter-spacing: 0.4px;
  text-decoration: none; display: inline-block; transition: all 0.4s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--green-deep); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--gold); transition: all 0.3s; }


/* ──────────────────────────────────────────────────────────
   5. MOBILE NAVIGATION
   ────────────────────────────────────────────────────────── */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
  z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-overlay.show { opacity: 1; pointer-events: all; }
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 78%; height: 100vh;
  background: rgba(5, 16, 8, 0.98); backdrop-filter: blur(24px);
  z-index: 2000; padding: 72px 28px 40px; transition: right 0.4s ease;
  border-left: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 32px;
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-nav ul a { font-size: 1.1rem; color: var(--text-light); text-decoration: none; font-family: 'Tajawal', sans-serif; font-weight: 600; }
.mobile-social { display: flex; gap: 14px; padding-top: 16px; border-top: 1px solid var(--glass-border); flex-wrap: wrap; align-items: center; }
.mobile-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 0.95rem; text-decoration: none; transition: all 0.3s; }
.mobile-social a:hover { background: rgba(201, 168, 76, 0.12); border-color: var(--gold); }
.mobile-close { position: absolute; top: 20px; right: 20px; font-size: 1.3rem; color: var(--gold); cursor: pointer; background: none; border: none; }


/* ──────────────────────────────────────────────────────────
   6. HERO SECTION
   ────────────────────────────────────────────────────────── */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26, 74, 39, 0.52) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(42, 122, 66, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
    linear-gradient(160deg, #071510 0%, #0d2818 40%, #0a1e11 100%);
  animation: heroShift 14s ease-in-out infinite alternate;
}
@keyframes heroShift {
  0%   { filter: hue-rotate(0deg) brightness(1);    }
  100% { filter: hue-rotate(5deg) brightness(1.05); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.038) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridFloat 22s linear infinite;
}
@keyframes gridFloat {
  0%   { transform: translateY(0);    }
  100% { transform: translateY(80px); }
}
.particles-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; background: var(--gold); opacity: 0; animation: particleFly linear infinite; }
@keyframes particleFly {
  0%   { transform: translateY(100vh) scale(0); opacity: 0;    }
  10%  { opacity: 0.35; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-20vh)  scale(1); opacity: 0;  }
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 20px; max-width: 800px; }
.hero-logo { width: 130px; margin: 0 auto 34px; opacity: 0; transform: translateY(22px); animation: fadeUp 1.2s ease 0.4s forwards; }
.hero-eyebrow { font-family: 'Cairo', sans-serif; font-size: 0.7rem; letter-spacing: 4px; color: var(--gold); margin-bottom: 18px; opacity: 0; animation: fadeUp 1s ease 0.9s forwards; }
.hero-title { font-family: 'Tajawal', sans-serif; font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 20px; opacity: 0; animation: fadeUp 1s ease 1.1s forwards; }
.hero-title span { color: var(--gold); }
.hero-subtitle { font-size: clamp(0.92rem, 2vw, 1.12rem); color: var(--text-muted); line-height: 1.9; max-width: 520px; margin: 0 auto 42px; opacity: 0; animation: fadeUp 1s ease 1.4s forwards; }
.hero-cta-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; opacity: 0; animation: fadeUp 1s ease 1.7s forwards; }
.btn-gold {
  font-family: 'Cairo', sans-serif; font-size: 0.95rem; font-weight: 600;
  padding: 16px 40px; background: linear-gradient(135deg, var(--gold) 0%, #a8873a 100%);
  color: var(--green-deep); border: none; border-radius: 2px; cursor: pointer;
  position: relative; overflow: hidden; transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.28);
}
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(201, 168, 76, 0.42); }
.btn-outline {
  font-family: 'Cairo', sans-serif; font-size: 0.88rem;
  padding: 15px 32px; background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.38); color: var(--gold-light);
  border-radius: 2px; cursor: pointer; transition: all 0.4s ease;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201, 168, 76, 0.08); }
.hero-scroll { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: fadeUp 1s ease 2.2s forwards; }
.hero-scroll span { font-size: 0.65rem; letter-spacing: 2.5px; color: var(--text-muted); }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.25; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }


/* ──────────────────────────────────────────────────────────
   7. SECTION HELPERS & SCROLL REVEAL
   ────────────────────────────────────────────────────────── */
section { position: relative; overflow: hidden; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-label { display: block; font-size: 0.67rem; letter-spacing: 4px; color: var(--gold); margin-bottom: 14px; }
.section-title { font-family: 'Tajawal', sans-serif; font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.22; color: #fff; margin-bottom: 14px; }
.section-title span { color: var(--gold); }
.section-divider { width: 48px; height: 2px; background: linear-gradient(to right, var(--gold), transparent); margin: 20px 0 0; }
.section-divider.center { margin: 20px auto 0; }
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.88s ease, transform 0.88s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-38px); transition: opacity 0.88s ease, transform 0.88s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.88s ease, transform 0.88s ease; }
.reveal-scale.active { opacity: 1; transform: scale(1); }
[data-delay="1"] { transition-delay: 0.10s !important; }
[data-delay="2"] { transition-delay: 0.22s !important; }
[data-delay="3"] { transition-delay: 0.35s !important; }
[data-delay="4"] { transition-delay: 0.48s !important; }
[data-delay="5"] { transition-delay: 0.62s !important; }


/* ──────────────────────────────────────────────────────────
   8. STATS BAR
   ────────────────────────────────────────────────────────── */
#stats { padding: 60px 0; background: linear-gradient(135deg, rgba(20, 57, 31, 0.6) 0%, rgba(13, 40, 24, 0.92) 100%); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--glass-border); }
.stat-item { padding: 28px 24px; text-align: center; background: rgba(13, 40, 24, 0.9); }
.stat-num { font-family: 'Tajawal', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.8px; }


/* ──────────────────────────────────────────────────────────
   9. VIDEO SECTION
   ────────────────────────────────────────────────────────── */
#video-section { padding: 110px 0; background: linear-gradient(180deg, var(--green-deep) 0%, rgba(10, 22, 14, 1) 50%, var(--green-deep) 100%); }
.video-header { text-align: center; margin-bottom: 60px; }
.video-wrapper { position: relative; max-width: 900px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--glass-border), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 168, 76, 0.07); }
.video-wrapper::before { content: ''; position: absolute; inset: -1px; border-radius: 9px; background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), transparent, rgba(201, 168, 76, 0.09)); pointer-events: none; z-index: 1; }
.video-wrapper iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: none; }
.video-glow { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); width: 70%; height: 60px; background: rgba(201, 168, 76, 0.07); filter: blur(30px); pointer-events: none; }


/* ──────────────────────────────────────────────────────────
   10. PROPERTIES SECTION (Homepage)
   ────────────────────────────────────────────────────────── */
#properties { padding: 110px 0; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26, 74, 39, 0.22) 0%, transparent 70%), var(--green-deep); }
.props-header { text-align: center; margin-bottom: 68px; }
.props-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.props-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 0.95rem; }
.props-footer { margin-top: 52px; text-align: center; }
.btn-view-all {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cairo', sans-serif; font-size: 0.92rem; font-weight: 600;
  padding: 15px 40px; border: 1px solid var(--gold); color: var(--gold);
  background: transparent; border-radius: 2px; text-decoration: none;
  letter-spacing: 0.5px; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.btn-view-all::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.12), transparent); transition: left 0.5s ease; }
.btn-view-all:hover::before { left: 100%; }
.btn-view-all:hover { background: rgba(201, 168, 76, 0.09); box-shadow: 0 8px 32px rgba(201, 168, 76, 0.15); }
.btn-view-all i { font-size: 0.8rem; }

/* Property card (shared between homepage + properties page) */
.prop-card {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-card); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.4s ease;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 168, 76, 0.1); border-color: rgba(201, 168, 76, 0.28); }
.card-swiper { height: 260px; }
.card-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.prop-card:hover .card-swiper .swiper-slide img { transform: scale(1.04); }
.card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.38),
    transparent 80%
  );
  pointer-events: none;
  z-index: 2;
}

.card-badges { position: absolute; top: 14px; right: 14px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; }
.card-badge {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  font-size: 0.66rem; letter-spacing: 1.5px; padding: 5px 12px;
  background: var(--gold); color: var(--green-deep);
  font-weight: 700; border-radius: 1px;
}
.card-badges .card-badge { position: static; }
.card-badge.listing { background: var(--gold); color: var(--green-deep); }
.card-badge.detail { background: rgba(255,255,255,0.12); color: var(--gold-pale); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.08); }
.card-swiper .swiper-pagination-bullet        { background: rgba(255, 255, 255, 0.45); }
.card-swiper .swiper-pagination-bullet-active { background: var(--gold); }
.card-body { padding: 24px 22px 22px; }
.card-title { font-family: 'Tajawal', sans-serif; font-size: 1.12rem; font-weight: 700; color: #fff; margin-bottom: 9px; line-height: 1.4; }
.card-desc { font-size: 0.81rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.card-meta span { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.card-meta i { color: var(--gold); font-size: 0.65rem; }
.card-specs { display: flex; gap: 14px; flex-wrap: wrap; }
.card-specs span { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.card-specs i { color: var(--gold); font-size: 0.72rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.card-price { font-family: 'Tajawal', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.card-price-label { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 2px; }
.card-action {
  font-size: 0.78rem; color: var(--gold-light); border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 8px 16px; border-radius: 2px; cursor: pointer; transition: all 0.3s;
  background: none; font-family: 'Cairo', sans-serif; display: inline-flex; align-items: center; gap: 6px;
}
.card-action:hover { background: rgba(201, 168, 76, 0.12); border-color: var(--gold); }


/* ──────────────────────────────────────────────────────────
   11. WHY US SECTION
   ────────────────────────────────────────────────────────── */
#why { padding: 110px 0; background: linear-gradient(135deg, rgba(14, 37, 20, 0.95) 0%, var(--green-deep) 100%); border-top: 1px solid var(--glass-border); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-features { margin-top: 44px; display: flex; flex-direction: column; gap: 28px; }
.why-feature { display: flex; align-items: flex-start; gap: 18px; }
.why-icon { flex-shrink: 0; width: 48px; height: 48px; border: 1px solid rgba(201, 168, 76, 0.22); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: rgba(201, 168, 76, 0.04); }
.why-feat-title { font-family: 'Tajawal', sans-serif; font-size: 1.02rem; font-weight: 700; margin-bottom: 5px; color: #fff; }
.why-feat-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.78; }
.why-visual-box { aspect-ratio: 4 / 5; border-radius: 6px; background: linear-gradient(135deg, rgba(26, 74, 39, 0.5), rgba(13, 40, 24, 0.9)); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.why-visual-box::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 65%); }
.why-big-num { font-family: 'Tajawal', sans-serif; font-size: 8rem; font-weight: 900; color: rgba(201, 168, 76, 0.06); position: absolute; user-select: none; }
.why-accent-text { position: relative; z-index: 2; text-align: center; padding: 32px; }
.why-accent-text .big-word { font-family: 'Tajawal', sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--gold-light); display: block; line-height: 1.2; margin-bottom: 12px; }
.why-accent-text p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.8; }


/* ──────────────────────────────────────────────────────────
   12. TESTIMONIALS
   ────────────────────────────────────────────────────────── */
#testimonials { padding: 110px 0; background: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(201, 168, 76, 0.04) 0%, transparent 65%), var(--green-deep); }
.testi-header { text-align: center; margin-bottom: 64px; }
.testi-swiper { overflow: visible !important; }
.testi-slide { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 8px; padding: 34px 30px; backdrop-filter: blur(12px); position: relative; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.testi-slide:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28); }
.testi-quote-icon { font-size: 3rem; color: var(--gold); opacity: 0.22; line-height: 1; font-family: Georgia, serif; position: absolute; top: 18px; left: 24px; }
.testi-text { font-size: 0.9rem; line-height: 1.9; color: rgba(255, 255, 255, 0.8); margin-bottom: 26px; position: relative; z-index: 1; }
.testi-profile { display: flex; align-items: center; gap: 13px; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201, 168, 76, 0.28); background: var(--green-mid); }
.testi-name { font-family: 'Tajawal', sans-serif; font-size: 0.93rem; font-weight: 700; color: #fff; }
.testi-stars { color: var(--gold); font-size: 0.68rem; margin-top: 3px; letter-spacing: 1px; }
.swiper-nav-wrap { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 44px; }
.swiper-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(201, 168, 76, 0.28); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gold-light); font-size: 1rem; background: transparent; transition: all 0.3s ease; }
.swiper-btn:hover { background: rgba(201, 168, 76, 0.1); border-color: var(--gold); }
.testi-pagination .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.18); }
.testi-pagination .swiper-pagination-bullet-active { background: var(--gold); width: 20px; border-radius: 2px; }


/* ──────────────────────────────────────────────────────────
   13. CONTACT FORM
   ────────────────────────────────────────────────────────── */
#contact { padding: 110px 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(26, 74, 39, 0.32) 0%, transparent 70%), linear-gradient(180deg, var(--green-deep) 0%, rgba(9, 19, 12, 1) 100%); border-top: 1px solid var(--glass-border); }
.contact-header { text-align: center; margin-bottom: 58px; }
.form-container { max-width: 760px; margin: 0 auto; background: rgba(16, 44, 22, 0.68); border: 1px solid var(--glass-border); border-radius: 10px; padding: 8px; backdrop-filter: blur(20px); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.03); position: relative; overflow: hidden; }
.form-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.form-container iframe { width: 100%; height: 700px; border: none; border-radius: 6px; display: block; }


/* ──────────────────────────────────────────────────────────
   14. FOOTER
   ────────────────────────────────────────────────────────── */
footer { background: rgba(4, 12, 6, 0.99); border-top: 1px solid var(--glass-border); padding: 56px 5% 28px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; max-width: 300px; }
.footer-col h4 { font-family: 'Tajawal', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--gold-light); margin-bottom: 18px; letter-spacing: 0.4px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.81rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-social-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.82rem; text-decoration: none; transition: all 0.3s; }
.footer-social-row a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, 0.08); }
.footer-linktree {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px; /* تحويل الأبعاد الثابتة إلى حشوة داخلية مرنة */
    min-width: fit-content;
    height: auto;
    border-radius: 50px; /* الحواف الدائرية الكاملة للكبسولة */
    white-space: nowrap; /* يمنع الكلمات من النزول لسطر جديد */
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.footer-linktree:hover { background: var(--gold); color: var(--green-deep); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; font-size: 0.73rem; color: rgba(255, 255, 255, 0.22); }
.footer-gold { color: var(--gold); }


/* ──────────────────────────────────────────────────────────
   15. FLOATING BUTTONS (Homepage CTA + WhatsApp)
   ────────────────────────────────────────────────────────── */
.float-cta { position: fixed; bottom: 28px; right: 28px; z-index: 900; opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; }
.float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.float-cta-inner { display: flex; align-items: center; gap: 9px; padding: 13px 22px; background: linear-gradient(135deg, var(--gold) 0%, #9e7730 100%); border-radius: 40px; cursor: pointer; box-shadow: 0 8px 32px rgba(201, 168, 76, 0.38); font-family: 'Cairo', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--green-deep); transition: transform 0.3s, box-shadow 0.3s; }
.float-cta-inner:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(201, 168, 76, 0.52); }
.float-dot { width: 8px; height: 8px; background: var(--green-deep); border-radius: 50%; animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.5); opacity: 1; } }
.float-wa { position: fixed; bottom: 28px; left: 28px; z-index: 900; opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s; pointer-events: none; }
.float-wa.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.float-wa-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--wa-green); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45); position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.float-wa-btn:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(37, 211, 102, 0.6); }
.float-wa-btn::before, .float-wa-btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa-green); opacity: 0; animation: waPulse 2.4s ease-out infinite; }
.float-wa-btn::after { animation-delay: 1.2s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.1); opacity: 0; } }
.wa-tooltip { position: absolute; left: 68px; bottom: 50%; transform: translateY(50%); background: rgba(5, 16, 8, 0.92); backdrop-filter: blur(8px); border: 1px solid var(--glass-border); border-radius: 4px; padding: 6px 12px; white-space: nowrap; font-family: 'Cairo', sans-serif; font-size: 0.78rem; color: var(--text-light); pointer-events: none; opacity: 0; transition: opacity 0.25s; }
.float-wa:hover .wa-tooltip { opacity: 1; }


/* ═══════════════════════════════════════════════════════════
   16. PROPERTIES PAGE — FILTER BAR
   ═══════════════════════════════════════════════════════════ */
.filter-bar-wrap {
  max-width: 1280px; margin: 0 auto; padding: 32px 5% 0;
}
.filter-inner {
  background: rgba(16, 44, 22, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px 28px;
  backdrop-filter: blur(16px);
}
.filter-group { margin-bottom: 18px; }
.filter-label {
  display: block; font-size: 0.7rem; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 10px; font-weight: 600;
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  font-family: 'Cairo', sans-serif; font-size: 0.78rem;
  padding: 7px 16px; border-radius: 20px; border: 1px solid rgba(201, 168, 76, 0.2);
  background: transparent; color: var(--text-muted); cursor: pointer;
  transition: all 0.3s ease; white-space: nowrap;
}
.filter-chip:hover { border-color: rgba(201, 168, 76, 0.5); color: var(--gold-light); }
.filter-chip.active { background: var(--gold); color: var(--green-deep); border-color: var(--gold); font-weight: 700; }

.filter-dropdowns {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 18px;
}
.filter-select-wrap { display: flex; flex-direction: column; gap: 5px; }
.filter-select-wrap label { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 1px; }
.filter-select-wrap select {
  font-family: 'Cairo', sans-serif; font-size: 0.78rem;
  padding: 8px 28px 8px 12px; background: rgba(8, 19, 11, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.18); color: var(--text-light);
  border-radius: 6px; cursor: pointer; min-width: 130px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23c9a84c' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 10px center;
}
.filter-select-wrap select:focus { outline: none; border-color: var(--gold); }
.filter-select-wrap select option { background: var(--green-deep); color: var(--text-light); }
.filter-reset {
  font-family: 'Cairo', sans-serif; font-size: 0.75rem;
  padding: 8px 16px; background: transparent; border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold); border-radius: 6px; cursor: pointer; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 6px; margin-right: auto;
}
.filter-reset:hover { background: rgba(201, 168, 76, 0.1); border-color: var(--gold); }
.filter-meta {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════
   17. SKELETON LOADER
   ═══════════════════════════════════════════════════════════ */
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.skeleton-card {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-card); overflow: hidden;
}
.skeleton-img {
  height: 260px; background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%; animation: skeletonShimmer 1.6s ease-in-out infinite;
}
.skeleton-body { padding: 24px 22px 22px; }
.skeleton-title {
  height: 18px; width: 70%; border-radius: 4px; margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%; animation: skeletonShimmer 1.6s ease-in-out infinite;
}
.skeleton-line {
  height: 12px; border-radius: 4px; margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%; animation: skeletonShimmer 1.6s ease-in-out infinite;
}
.skeleton-line.short { width: 55%; }
.skeleton-footer {
  height: 40px; border-radius: 4px; margin-top: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%; animation: skeletonShimmer 1.6s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ═══════════════════════════════════════════════════════════
   18. PROPERTY MODAL / BOTTOM SHEET
   ═══════════════════════════════════════════════════════════ */
.prop-modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px); z-index: 2998;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.prop-modal-overlay.active { opacity: 1; pointer-events: all; }

.prop-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.92);
  width: 90%; max-width: 720px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(135deg, rgba(16, 44, 22, 0.97), rgba(8, 19, 11, 0.98));
  border: 1px solid var(--glass-border); border-radius: 14px;
  z-index: 2999; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 168, 76, 0.06);
}
.prop-modal.active { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }

/* Mobile: Bottom Sheet */
@media (max-width: 768px) {
  .prop-modal {
    top: auto; bottom: 0; left: 0; right: 0; transform: translateY(100%);
    width: 100%; max-width: 100%; max-height: 85vh; border-radius: 20px 20px 0 0;
    border-bottom: none; border-left: none; border-right: none;
  }
  .prop-modal.active { transform: translateY(0); }
}

.prop-modal-close {
  position: absolute; top: 16px; left: 16px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; backdrop-filter: blur(8px);
}
.prop-modal-close:hover { background: rgba(201, 168, 76, 0.2); border-color: var(--gold); color: var(--gold); }

.prop-modal-handle {
  display: none; text-align: center; padding: 10px 0 6px;
}
.prop-modal-handle span {
  display: inline-block; width: 36px; height: 4px;
  background: rgba(255,255,255,0.25); border-radius: 2px;
}
@media (max-width: 768px) {
  .prop-modal-handle { display: block; }
}

.prop-modal-body { padding: 0; }

/* Modal image swiper */
.modal-swiper { height: 320px; }
.modal-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.modal-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.4); }
.modal-swiper .swiper-pagination-bullet-active { background: var(--gold); }
.modal-swiper .swiper-button-next,
.modal-swiper .swiper-button-prev {
  color: var(--gold); width: 32px; height: 32px;
  background: rgba(0,0,0,0.4); border-radius: 50%;
  backdrop-filter: blur(4px); font-size: 0.7rem;
}
.modal-swiper .swiper-button-next::after,
.modal-swiper .swiper-button-prev::after { font-size: 0.8rem; }

/* Modal header */
.modal-header { padding: 24px 28px 0; }
.modal-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.modal-badge {
  font-size: 0.68rem; letter-spacing: 1.5px; padding: 5px 12px;
  font-weight: 700; border-radius: 2px;
}
.modal-badge.listing { background: var(--gold); color: var(--green-deep); }
.modal-badge.detail { background: rgba(255,255,255,0.1); color: var(--gold-pale); border: 1px solid rgba(255,255,255,0.08); }
.modal-badge.finishing { background: rgba(42, 122, 66, 0.4); color: var(--gold-light); border: 1px solid rgba(42, 122, 66, 0.5); }
.modal-title { font-family: 'Tajawal', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.modal-location { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.modal-location i { color: var(--gold); font-size: 0.75rem; }

/* Modal price */
.modal-price-block { padding: 18px 28px; margin: 0 28px; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.modal-price-label { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 4px; }
.modal-price { font-family: 'Tajawal', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--gold); }

/* Modal specs grid */
.modal-specs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 24px 28px;
}
.modal-spec { text-align: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 16px 8px; }
.modal-spec i { font-size: 1.1rem; color: var(--gold); margin-bottom: 8px; display: block; }
.modal-spec-val { font-family: 'Tajawal', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.modal-spec-label { font-size: 0.68rem; color: var(--text-muted); }

/* Modal description */
.modal-desc { padding: 0 28px 24px; }
.modal-desc h4 { font-family: 'Tajawal', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--gold-light); margin-bottom: 10px; }
.modal-desc p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.9; }

/* Modal CTAs */
.modal-actions {
  display: flex; gap: 12px; padding: 0 28px 28px;
}
.modal-cta-primary, .modal-cta-secondary {
  flex: 1; font-family: 'Cairo', sans-serif; font-size: 0.88rem; font-weight: 700;
  padding: 14px 20px; border-radius: 8px; text-decoration: none;
  text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.3s ease;
}
.modal-cta-primary {
  background: var(--wa-green); color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}
.modal-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5); }
.modal-cta-secondary {
  background: rgba(255,255,255,0.06); color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.12);
}
.modal-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); color: var(--gold); }

.modal-footer-id { padding: 0 28px 24px; font-size: 0.7rem; color: var(--text-muted); text-align: center; }
.modal-footer-id span { font-family: monospace; color: var(--gold); letter-spacing: 1px; }


/* ═══════════════════════════════════════════════════════════
   19. FLOATING ACTION BUTTON — "List Your Property"
   ═══════════════════════════════════════════════════════════ */
.fab-list-property {
  position: fixed; bottom: 100px; right: 28px; z-index: 880;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #a8873a 100%);
  color: var(--green-deep); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 28px rgba(201, 168, 76, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
}
.fab-list-property:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(201, 168, 76, 0.6); }
.fab-tooltip {
  position: absolute; right: 66px; bottom: 50%; transform: translateY(50%);
  background: rgba(5, 16, 8, 0.92); backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border); border-radius: 4px;
  padding: 6px 12px; white-space: nowrap;
  font-family: 'Cairo', sans-serif; font-size: 0.78rem;
  color: var(--text-light); pointer-events: none;
  opacity: 0; transition: opacity 0.25s;
}
.fab-list-property:hover .fab-tooltip { opacity: 1; }


/* ═══════════════════════════════════════════════════════════
   20. OWNER LISTING SECTION
   ═══════════════════════════════════════════════════════════ */
.list-property-section { padding: 90px 0; background: var(--green-deep); border-top: 1px solid var(--glass-border); }
.list-property-header { text-align: center; margin-bottom: 58px; }


/* ═══════════════════════════════════════════════════════════
   21. PROPERTIES PAGE
   ═══════════════════════════════════════════════════════════ */
.page-hero-mini { padding: 140px 5% 80px; text-align: center; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26, 74, 39, 0.45) 0%, transparent 70%), linear-gradient(160deg, #071510 0%, #0d2818 40%, #0a1e11 100%); border-bottom: 1px solid var(--glass-border); }
.page-hero-mini h1 { font-family: 'Tajawal', sans-serif; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.page-hero-mini p { font-size: 0.95rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.9; }
.props-page-section { padding: 50px 0 90px; background: var(--green-deep); }
.props-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }


/* ──────────────────────────────────────────────────────────
   22. RESPONSIVE BREAKPOINTS
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-center { gap: 18px; }
  .nav-social  { display: none; }
  .btn-linktree span { display: none; }
}

@media (max-width: 900px) {
  .stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .why-grid              { grid-template-columns: 1fr; }
  .why-visual-col        { display: none; }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
  .nav-center,
  .nav-right > .nav-cta  { display: none; }
  .hamburger             { display: flex; }
  .modal-specs-grid       { grid-template-columns: repeat(2, 1fr); }
  .filter-dropdowns      { gap: 10px; }
  .filter-chips           { gap: 6px; }
  .filter-chip            { font-size: 0.72rem; padding: 6px 12px; }
}

@media (max-width: 768px) {
  .modal-actions { flex-direction: column; }
  .modal-swiper  { height: 240px; }
  .filter-inner   { padding: 18px; }
  .fab-list-property { bottom: 90px; right: 16px; width: 50px; height: 50px; font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .props-grid            { grid-template-columns: 1fr; }
  .stats-grid            { grid-template-columns: 1fr 1fr; }
  .footer-grid           { grid-template-columns: 1fr; }
  .hero-cta-wrap         { flex-direction: column; }
  .form-container iframe { height: 820px; }
  .float-cta             { bottom: 20px; right: 16px; }
  .float-wa              { bottom: 20px; left: 16px; }
  .float-cta-inner       { padding: 11px 16px; font-size: 0.8rem; }
  .modal-title           { font-size: 1.2rem; }
  .modal-price           { font-size: 1.4rem; }
  .page-hero-mini        { padding: 120px 5% 50px; }
}

/* حاوية الأزرار الرئيسية */
.hero-cta-container {
  display: flex;
  flex-direction: column;
  gap: 24px; /* مسافة مريحة بين صف المشتري وصف البائع */
  margin-top: 32px;
  align-items: center; /* توسيط العناصر */
}

/* صف أفعال المشتري */
.cta-buyer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* مسافة بين الزرين */
  justify-content: center;
}

/* تحسينات عامة للأزرار لتنظيف شكلها */
.hero-cta-container button {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* الزر الأساسي (ذهبي/داكن حسب ستايل موقعك) */
.btn-gold {
  background-color: #c5a880; /* لون الذهب الهادي للبراند */
  color: #111111;
  border: 1px solid #c5a880;
}
.btn-gold:hover {
  background-color: #b3966e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.2);
}

/* الزر الشفاف */
.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* صف صاحب العقار (تنسيق هادئ جداً وغير مزعج) */
.cta-seller-action {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.cta-hint-text {
  color: rgba(255, 255, 255, 0.6);
}

/* زر رابط نصي أنيق */
.btn-text-link {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: #c5a880 !important;
  font-size: 0.95rem !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-text-link:hover {
  color: #ffffff !important;
  text-decoration: none;
}

/* دمج التجاوب مع الموبايل */
@media (max-width: 576px) {
  .cta-buyer-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-buyer-actions button {
    width: 100%; /* الأزرار تاخد العرض كامل على الموبايل لسهولة الضغط */
  }
  .cta-seller-action {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}