
    :root {
      --navy: #0c2240;
      --navy-dark: #07162b;
      --royal-blue: #1a528a;
      --gold: #c9a14a;
      --gold-light: #e6c678;
      --gold-dark: #9e7828;
      --bg-page: #f3f5f8;
      --bg-surface: #ffffff;
      --bg-subtle: #eef2f7;
      --bg-highlight: #fdf9ee;
      --header-bg: rgba(255, 255, 255, 0.96);
      --text-main: #1a2433;
      --text-heading: #0c2240;
      --text-muted: #5a677a;
      --border-color: rgba(12, 34, 64, 0.08);
      --input-border: #dce2ec;
      --shadow-sm: 0 8px 24px rgba(12, 34, 64, 0.07);
      --shadow-lg: 0 22px 50px rgba(12, 34, 64, 0.16);
      --radius: 18px;
    }

    body.dark-mode {
      --bg-page: #060f1d;
      --bg-surface: #0d1d35;
      --bg-subtle: #132847;
      --bg-highlight: rgba(201, 161, 74, 0.12);
      --header-bg: rgba(7, 19, 36, 0.94);
      --text-main: #e2e8f0;
      --text-heading: #ffffff;
      --text-muted: #9fb0c7;
      --border-color: rgba(201, 161, 74, 0.22);
      --input-border: rgba(201, 161, 74, 0.3);
      --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
      --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.55);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-family: 'Cairo', sans-serif; }
    body {
      background-color: var(--bg-page);
      color: var(--text-main);
      overflow-x: hidden;
      line-height: 1.7;
      transition: background-color 0.35s ease, color 0.35s ease;
    }
    body.loading-lock { overflow: hidden; height: 100vh; }

    /* ==========================================
       1. شاشة التحميل 3D (6 ثوانٍ)
       ========================================== */
    #preloader {
      position: fixed; inset: 0; z-index: 9999;
      background: radial-gradient(circle at center, #13325b 0%, #071426 100%);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      color: #ffffff; transition: opacity 0.8s ease, visibility 0.8s ease;
    }
    #preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

    .scene-3d {
      width: 260px; height: 270px; perspective: 950px;
      display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
    }
    .building-wrapper {
      position: relative; width: 140px; height: 200px;
      transform-style: preserve-3d;
      transform: rotateX(62deg) rotateZ(-38deg);
      animation: rotateTower 6.5s linear infinite;
    }
    @keyframes rotateTower {
      0%   { transform: rotateX(62deg) rotateZ(-45deg); }
      50%  { transform: rotateX(62deg) rotateZ(15deg); }
      100% { transform: rotateX(62deg) rotateZ(-45deg); }
    }
    .base-plate {
      position: absolute; width: 190px; height: 150px; left: -25px; top: 25px;
      background: linear-gradient(135deg, #1b365d, #0a192f);
      border: 3px solid var(--gold);
      box-shadow: 0 0 30px rgba(201, 161, 74, 0.35);
      transform: translateZ(0px) scale(0);
      animation: popIn 0.7s ease forwards 0.2s;
    }
    @keyframes popIn { to { transform: translateZ(0px) scale(1); } }
    .cube { position: absolute; transform-style: preserve-3d; }
    .face { position: absolute; border: 1px solid rgba(230, 198, 120, 0.55); backface-visibility: visible; }
    .tower-center { width: 68px; height: 68px; left: 36px; top: 66px; }
    .tower-center .top {
      width: 68px; height: 68px;
      background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
      border: 2px solid #fff3c4; transform: translateZ(0px); opacity: 0;
      animation: riseCenterTop 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 2.2s;
    }
    .tower-center .front, .tower-center .back, .tower-center .left, .tower-center .right {
      width: 68px; height: 0px; transform-origin: bottom;
      background-image:
        repeating-linear-gradient(to top, rgba(230, 198, 120, 0.45) 0 2px, transparent 2px 14px),
        repeating-linear-gradient(to right, rgba(230, 198, 120, 0.3) 0 2px, transparent 2px 17px),
        linear-gradient(180deg, #2a78c2, #0d2b4e);
      animation: growCenterWall 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 2.2s;
    }
    .tower-center .front { transform: rotateX(-90deg) translateZ(68px); bottom: 0; }
    .tower-center .back  { transform: rotateX(-90deg) rotateY(180deg); bottom: 68px; }
    .tower-center .left  { transform: rotateX(-90deg) rotateY(-90deg); transform-origin: bottom left; left: 0; bottom: 0; }
    .tower-center .right { transform: rotateX(-90deg) rotateY(90deg); transform-origin: bottom right; right: 0; bottom: 0; }
    @keyframes growCenterWall { from { height: 0px; opacity: 0; } to { height: 145px; opacity: 1; } }
    @keyframes riseCenterTop { from { transform: translateZ(0px); opacity: 0; } to { transform: translateZ(145px); opacity: 1; } }

    .wing-left { width: 44px; height: 52px; left: -8px; top: 74px; }
    .wing-left .top { width: 44px; height: 52px; background: var(--gold); opacity: 0; animation: riseWingTop 1.2s ease forwards 1.1s; }
    .wing-left .front, .wing-left .back { width: 44px; height: 0; }
    .wing-left .left, .wing-left .right { width: 52px; height: 0; }
    .wing-left .wall {
      position: absolute; bottom: 0;
      background-image: repeating-linear-gradient(to top, rgba(230, 198, 120, 0.4) 0 2px, transparent 2px 13px), linear-gradient(180deg, #1d5d9c, #0b223f);
      border: 1px solid var(--gold); animation: growWingWall 1.2s ease forwards 1.1s;
    }
    .wing-left .front { transform: rotateX(-90deg) translateZ(52px); }
    .wing-left .back  { transform: rotateX(-90deg) rotateY(180deg); bottom: 52px; }
    .wing-left .left  { transform: rotateX(-90deg) rotateY(-90deg); transform-origin: bottom left; left: 0; }
    .wing-left .right { transform: rotateX(-90deg) rotateY(90deg); transform-origin: bottom right; right: 0; }

    .wing-right { width: 44px; height: 52px; left: 104px; top: 74px; }
    .wing-right .top { width: 44px; height: 52px; background: var(--gold); opacity: 0; animation: riseWingTop 1.2s ease forwards 1.4s; }
    .wing-right .front, .wing-right .back { width: 44px; height: 0; }
    .wing-right .left, .wing-right .right { width: 52px; height: 0; }
    .wing-right .wall {
      position: absolute; bottom: 0;
      background-image: repeating-linear-gradient(to top, rgba(230, 198, 120, 0.4) 0 2px, transparent 2px 13px), linear-gradient(180deg, #1d5d9c, #0b223f);
      border: 1px solid var(--gold); animation: growWingWall 1.2s ease forwards 1.4s;
    }
    .wing-right .front { transform: rotateX(-90deg) translateZ(52px); }
    .wing-right .back  { transform: rotateX(-90deg) rotateY(180deg); bottom: 52px; }
    .wing-right .left  { transform: rotateX(-90deg) rotateY(-90deg); transform-origin: bottom left; left: 0; }
    .wing-right .right { transform: rotateX(-90deg) rotateY(90deg); transform-origin: bottom right; right: 0; }

    @keyframes growWingWall { from { height: 0px; opacity: 0; } to { height: 95px; opacity: 1; } }
    @keyframes riseWingTop { from { transform: translateZ(0px); opacity: 0; } to { transform: translateZ(95px); opacity: 1; } }

    .crown-spire {
      position: absolute; width: 34px; height: 34px; left: 53px; top: 83px;
      background: linear-gradient(135deg, #fff1b8, var(--gold)); border: 2px solid #ffffff;
      box-shadow: 0 0 25px var(--gold-light); transform: translateZ(145px) scale(0); opacity: 0;
      animation: crownDrop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 3.7s;
    }
    @keyframes crownDrop { to { transform: translateZ(158px) scale(1); opacity: 1; } }

    .loader-brand { text-align: center; margin-top: 8px; }
    .loader-brand h1 { font-family: 'Cinzel', serif; font-size: 2.3rem; letter-spacing: 6px; color: #ffffff; }
    .loader-brand span { display: block; font-size: 0.95rem; color: var(--gold-light); margin-top: 4px; }
    .progress-box { width: 310px; max-width: 85vw; margin-top: 20px; text-align: center; }
    .progress-status { display: flex; justify-content: space-between; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 8px; }
    .progress-track { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.14); border-radius: 999px; overflow: hidden; }
    .progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold)); transition: width 0.15s linear; }
    .skip-btn {
      margin-top: 16px; background: transparent; border: 1px solid rgba(230, 198, 120, 0.45);
      color: var(--gold-light); padding: 6px 18px; border-radius: 999px;
      font-family: 'Cairo', sans-serif; font-size: 0.82rem; cursor: pointer;
    }

    /* ==========================================
       2. القائمة العلوية المميزة (Navbar)
       ========================================== */
    header {
      position: sticky; top: 0; z-index: 1000;
      background: var(--header-bg); backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(201, 161, 74, 0.28);
      box-shadow: 0 4px 24px rgba(12, 34, 64, 0.08);
      transition: background 0.35s ease;
    }
    .nav-container {
      max-width: 1280px; margin: auto; padding: 12px 24px;
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
    }
    .logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo-text { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
    .logo-text strong {
      display: block; font-family: 'Cinzel', serif; font-size: 1.6rem;
      letter-spacing: 0.14em; color: var(--text-heading); line-height: 1;
      margin-inline-end: -0.14em; white-space: nowrap;
    }
    .logo-text small { display: block; font-size: 0.58rem; font-weight: 700; color: var(--gold); white-space: nowrap; line-height: 1.2; letter-spacing: 0; }

    .nav-links { display: flex; align-items: center; list-style: none; gap: 24px; }
    .nav-links a {
      text-decoration: none; color: var(--text-heading); font-weight: 700; font-size: 0.94rem;
      position: relative; padding: 6px 0; transition: color 0.25s;
    }
    .nav-links a::after {
      content: ""; position: absolute; bottom: 0; right: 0; width: 0; height: 2.5px;
      background: var(--gold); transition: width 0.3s ease;
    }
    .nav-links a:hover { color: var(--gold); }
    .nav-links a:hover::after { width: 100%; }

    .nav-actions { display: flex; align-items: center; gap: 10px; }

    /* زر الوضع الداكن بشكل الهلال فقط بدون نص */
    .theme-toggle-btn {
      width: 42px; height: 42px; border-radius: 50%;
      border: 1.5px solid rgba(201, 161, 74, 0.5);
      background: var(--bg-subtle); color: var(--navy);
      display: inline-flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all 0.3s ease; flex-shrink: 0;
    }
    .theme-toggle-btn:hover { border-color: var(--gold); transform: rotate(-12deg) scale(1.05); }
    body.dark-mode .theme-toggle-btn {
      background: rgba(201, 161, 74, 0.16); color: var(--gold-light);
      box-shadow: 0 0 16px rgba(201, 161, 74, 0.28);
    }
    body.dark-mode .theme-toggle-btn svg { fill: var(--gold-light); }

    .cta-btn {
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: #ffffff; border: none; padding: 11px 24px; border-radius: 50px;
      font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 0.94rem; cursor: pointer;
      box-shadow: 0 8px 20px rgba(201, 161, 74, 0.35); transition: transform 0.25s, box-shadow 0.25s;
      display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none;
    }
    .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 161, 74, 0.5); }

    .mobile-toggle {
      display: none; background: none; border: 1px solid var(--text-heading); color: var(--text-heading);
      font-size: 1.4rem; padding: 4px 10px; border-radius: 8px; cursor: pointer;
    }

    /* ==========================================
       3. القسم الرئيسي (Hero)
       ========================================== */
    .hero {
      position: relative;
      background: linear-gradient(125deg, var(--navy-dark) 0%, var(--navy) 55%, #163d6e 100%);
      color: #ffffff; padding: 72px 24px 86px; overflow: hidden;
    }
    .hero::before {
      content: ""; position: absolute; inset: 0;
      background-image: radial-gradient(rgba(201, 161, 74, 0.12) 1px, transparent 1px);
      background-size: 28px 28px; opacity: 0.6;
    }
    .hero-grid {
      position: relative; z-index: 2; max-width: 1280px; margin: auto;
      display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px;
    }
    .alex-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(201, 161, 74, 0.16); border: 1px solid rgba(230, 198, 120, 0.45);
      color: var(--gold-light); padding: 6px 16px; border-radius: 999px;
      font-size: 0.88rem; font-weight: 700; margin-bottom: 18px;
    }
    .hero h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
    .hero h2 span { color: var(--gold-light); }
    .hero p { font-size: 1.05rem; color: #d6e0ec; max-width: 620px; margin-bottom: 26px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
    .btn-outline {
      background: rgba(255, 255, 255, 0.06); color: #ffffff;
      border: 1.5px solid rgba(230, 198, 120, 0.6); padding: 11px 24px; border-radius: 50px;
      font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 0.95rem;
      text-decoration: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    }
    .hero-stats {
      display: flex; gap: 32px; flex-wrap: wrap;
      border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px;
    }
    .stat-item strong { display: block; font-size: 1.34rem; color: var(--gold-light); }
    .stat-item span { font-size: 0.85rem; color: #b7c7db; }
    .hero-card {
      background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(230, 198, 120, 0.35);
      border-radius: 24px; padding: 28px 24px; text-align: center;
      backdrop-filter: blur(8px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    }
    .hero-card-caption { margin-top: 14px; font-size: 0.95rem; color: var(--gold-light); font-weight: 700; }
    .hero-card-media { position: relative; border-radius: 18px; }
    .hero-card-media::after {
      content: ""; position: absolute; left: 12%; right: 12%; bottom: -8px; height: 18px;
      background: rgba(201, 161, 74, 0.28); filter: blur(14px); border-radius: 50%;
      pointer-events: none; transition: background 0.3s ease, opacity 0.3s ease;
    }
    .hero-building-img {
      position: relative; z-index: 1; display: block; width: 100%; height: auto;
      border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.10);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    }
    body.dark-mode .hero-card-media::after { background: rgba(230, 198, 120, 0.22); }
    body.dark-mode .hero-building-img { border-color: rgba(230, 198, 120, 0.14); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }

    /* ==========================================
       الأقسام العامة
       ========================================== */
    section { padding: 76px 24px; }
    .container { max-width: 1280px; margin: auto; }
    .section-header { text-align: center; max-width: 720px; margin: 0 auto 38px; }
    .section-tag { color: var(--gold); font-weight: 800; font-size: 0.9rem; display: block; margin-bottom: 6px; }
    .section-header h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); color: var(--text-heading); font-weight: 900; margin-bottom: 10px; }
    .section-header p { color: var(--text-muted); }

    /* ==========================================
       4. لوحة فلترة واختيار الوحدات
       ========================================== */
    .filter-dashboard {
      background: var(--bg-surface); border-radius: 22px; padding: 22px 24px;
      box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 30px;
    }
    .filter-top-tabs {
      display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 18px;
      border-bottom: 1px solid var(--border-color); margin-bottom: 18px;
      align-items: center; justify-content: space-between;
    }
    .type-pills { display: flex; flex-wrap: wrap; gap: 10px; }
    .type-pill {
      background: var(--bg-subtle); border: 1.5px solid transparent; color: var(--text-heading);
      padding: 8px 18px; border-radius: 999px; font-family: 'Cairo', sans-serif;
      font-weight: 700; font-size: 0.9rem; cursor: pointer;
      display: inline-flex; align-items: center; gap: 7px; transition: all 0.25s;
    }
    .type-pill span.count {
      background: rgba(201, 161, 74, 0.2); padding: 1px 8px; border-radius: 999px; font-size: 0.78rem;
    }
    .type-pill.active, .type-pill:hover { background: var(--navy); color: var(--gold-light); border-color: var(--gold); }
    .type-pill.active span.count { background: var(--gold); color: var(--navy-dark); }

    .fav-counter-badge {
      background: var(--bg-highlight); border: 1px solid var(--gold);
      color: var(--gold); padding: 6px 14px; border-radius: 999px;
      font-size: 0.85rem; font-weight: 800; cursor: pointer;
    }

    .filter-controls-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 14px; align-items: end;
    }
    .control-item label {
      display: block; font-size: 0.8rem; font-weight: 800; color: var(--text-muted); margin-bottom: 5px;
    }
    .control-item select {
      width: 100%; padding: 10px 12px; border: 1.5px solid var(--input-border);
      border-radius: 12px; font-family: 'Cairo', sans-serif; font-size: 0.9rem;
      font-weight: 700; color: var(--text-heading); background: var(--bg-subtle); outline: none; cursor: pointer;
    }
    .control-item select:focus { border-color: var(--gold); }

    .reset-filter-btn {
      background: transparent; border: 1.5px dashed var(--text-muted); color: var(--text-muted);
      padding: 10px 14px; border-radius: 12px; font-family: 'Cairo', sans-serif; font-weight: 700; cursor: pointer;
    }
    .reset-filter-btn:hover { border-color: var(--gold); color: var(--gold); }

    .results-bar {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 20px; font-size: 0.92rem; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
    }
    .results-bar strong { color: var(--text-heading); }

    /* ==========================================
       كروت العقارات
       ========================================== */
    .units-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
    .unit-card {
      background: var(--bg-surface); border-radius: var(--radius); overflow: hidden;
      box-shadow: var(--shadow-sm); border: 1px solid var(--border-color);
      transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
    }
    .unit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

    .card-gallery { position: relative; height: 235px; background: #0d223e; overflow: hidden; }
    .card-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
    .unit-card:hover .card-gallery img { transform: scale(1.05); }

    .gallery-gradient {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(7, 22, 43, 0.78) 0%, transparent 45%, rgba(7, 22, 43, 0.38) 100%);
      pointer-events: none;
    }
    .badge-top-right {
      position: absolute; top: 14px; right: 14px;
      background: var(--gold); color: var(--navy-dark);
      font-weight: 800; font-size: 0.76rem; padding: 4px 12px; border-radius: 999px;
    }
    .badge-top-right.rent-badge {
      background: #0ea5e9; color: #ffffff;
    }
    .fav-heart-btn {
      position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255, 255, 255, 0.92); border: none; font-size: 1.15rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center; color: #64748b;
    }
    .fav-heart-btn.saved { color: #e11d48; transform: scale(1.08); }

    .gallery-nav {
      position: absolute; top: 50%; left: 10px; right: 10px;
      transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none;
    }
    .gal-arrow {
      pointer-events: auto; width: 30px; height: 30px; border-radius: 50%;
      background: rgba(7, 22, 43, 0.7); color: #fff; border: 1px solid rgba(255,255,255,0.35);
      cursor: pointer; font-weight: 900; font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
    }
    .gal-arrow:hover { background: var(--gold); color: var(--navy-dark); }

    .gallery-bottom-bar {
      position: absolute; bottom: 12px; left: 14px; right: 14px;
      display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 0.8rem;
    }
    .loc-tag {
      background: rgba(7, 22, 43, 0.75); border: 1px solid rgba(230, 198, 120, 0.45);
      color: var(--gold-light); padding: 3px 10px; border-radius: 999px; font-weight: 700;
    }
    .photo-count-tag { background: rgba(0,0,0,0.55); padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; }

    .unit-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
    .unit-type-label { font-size: 0.78rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
    .unit-body h4 { font-size: 1.15rem; color: var(--text-heading); font-weight: 800; margin-bottom: 8px; line-height: 1.4; }
    .unit-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }

    .unit-specs-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
      background: var(--bg-subtle); padding: 10px; border-radius: 12px; margin-bottom: 16px; text-align: center;
    }
    .spec-box span { display: block; font-size: 0.72rem; color: var(--text-muted); }
    .spec-box strong { font-size: 0.84rem; color: var(--text-heading); }

    .unit-price-row {
      display: flex; justify-content: space-between; align-items: center; gap: 8px;
      padding: 10px 14px; background: var(--bg-highlight);
      border: 1px solid rgba(201, 161, 74, 0.35); border-radius: 12px; margin-bottom: 16px;
    }
    .unit-price-row .price-main strong { display: block; font-size: 1.1rem; color: var(--text-heading); line-height: 1.2; }
    .unit-price-row .price-main small { font-size: 0.76rem; color: var(--gold); font-weight: 700; }
    .downpayment-pill {
      background: var(--navy); color: var(--gold-light);
      font-size: 0.75rem; font-weight: 800; padding: 5px 10px; border-radius: 8px; white-space: nowrap;
    }

    .unit-card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .btn-details {
      background: var(--bg-subtle); color: var(--text-heading);
      border: 1.5px solid var(--border-color); padding: 10px; border-radius: 10px;
      font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 0.85rem; cursor: pointer;
    }
    .btn-details:hover { border-color: var(--gold); }
    .btn-book-unit {
      background: linear-gradient(135deg, var(--navy), var(--royal-blue));
      color: #ffffff; border: 1px solid rgba(201, 161, 74, 0.35); padding: 10px; border-radius: 10px;
      font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 0.85rem; cursor: pointer;
    }

    .empty-state {
      grid-column: 1 / -1; text-align: center; background: var(--bg-surface);
      padding: 50px 24px; border-radius: 20px; border: 2px dashed var(--border-color);
    }

    /* ==========================================
       5. من نحن + آراء العملاء + تواصل معنا
       ========================================== */
    .about-section { background: var(--bg-surface); }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
    .about-features { display: grid; gap: 16px; margin-top: 22px; }
    .feature-box {
      display: flex; align-items: flex-start; gap: 14px;
      background: var(--bg-subtle); padding: 16px; border-radius: 12px; border-right: 4px solid var(--gold);
    }
    .feature-icon {
      width: 38px; height: 38px; flex-shrink: 0; background: var(--navy); color: var(--gold-light);
      border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 900;
    }
    .about-panel {
      background: linear-gradient(145deg, var(--navy-dark), var(--navy));
      color: #ffffff; padding: 38px; border-radius: 24px;
      border: 1px solid rgba(201, 161, 74, 0.35); box-shadow: var(--shadow-lg);
    }
    .about-panel h4 { color: var(--gold-light); font-size: 1.38rem; margin-bottom: 12px; }
    .services-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
    .services-tags span {
      background: rgba(201, 161, 74, 0.2); border: 1px solid rgba(230, 198, 120, 0.45);
      color: var(--gold-light); padding: 6px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 700;
    }

    .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
    .testimonial-card {
      background: var(--bg-surface); padding: 28px; border-radius: var(--radius);
      box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); border-top: 4px solid var(--gold);
    }
    .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
    .testimonial-card p { color: var(--text-main); font-size: 0.95rem; margin-bottom: 18px; }
    .client-meta strong { display: block; color: var(--text-heading); }
    .client-meta span { font-size: 0.82rem; color: var(--text-muted); }

    .contact-section { background: var(--navy-dark); color: #ffffff; }
    .contact-section .section-header h3 { color: #ffffff; }
    .contact-section .section-header p { color: #bcc9da; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; }
    .contact-info-box {
      background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(201, 161, 74, 0.25);
      border-radius: 20px; padding: 32px; display: grid; gap: 20px;
    }
    .info-row strong { display: block; color: var(--gold-light); margin-bottom: 4px; }
    .info-row a { color: #ffffff; text-decoration: none; font-weight: 700; }
    .contact-form {
      background: var(--bg-surface); color: var(--text-main);
      padding: 32px; border-radius: 20px; display: grid; gap: 15px;
      border: 1px solid var(--border-color);
    }
    .form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--text-heading); }
    .form-group input, .form-group select, .form-group textarea {
      width: 100%; padding: 11px 14px; border: 1.5px solid var(--input-border);
      background: var(--bg-subtle); color: var(--text-heading);
      border-radius: 10px; font-family: 'Cairo', sans-serif; font-size: 0.94rem; outline: none;
    }
    .form-group input:focus, .form-group select:focus { border-color: var(--gold); }

    footer {
      background: #040d1a; color: #93a4ba; text-align: center;
      padding: 22px; font-size: 0.88rem; border-top: 1px solid rgba(201, 161, 74, 0.2);
    }

    /* زر الواتساب الطائف فقط */
    .floating-wa-btn {
      position: fixed; bottom: 24px; right: 24px; z-index: 1500;
      width: 60px; height: 60px; border-radius: 50%;
      background: #25D366; color: #ffffff;
      display: flex; align-items: center; justify-content: center;
      text-decoration: none; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      animation: waPulse 2.4s infinite;
    }
    .floating-wa-btn:hover { transform: scale(1.1); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.65); }
    @keyframes waPulse {
      0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
      70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
      100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
    }

    /* النوافذ المنبثقة */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(7, 22, 43, 0.82);
      backdrop-filter: blur(5px); z-index: 2000;
      display: none; align-items: center; justify-content: center; padding: 18px;
    }
    .modal-overlay.open { display: flex; }

    .modal-box {
      background: var(--bg-surface); color: var(--text-main); width: 100%; max-width: 520px; border-radius: 22px;
      padding: 28px; position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.45);
      border-top: 5px solid var(--gold); max-height: 92vh; overflow-y: auto;
    }
    .modal-box.wide { max-width: 780px; padding: 0; overflow: hidden; border-top: none; }

    .close-modal {
      position: absolute; top: 14px; left: 14px; z-index: 10;
      background: var(--bg-subtle); border: 1px solid var(--border-color);
      width: 36px; height: 36px; border-radius: 50%; font-size: 1.25rem;
      cursor: pointer; color: var(--text-heading); font-weight: 900;
    }

    .detail-hero-img { width: 100%; height: 320px; object-fit: cover; display: block; }
    .detail-thumbs { display: flex; gap: 10px; padding: 12px 24px; background: var(--bg-subtle); overflow-x: auto; }
    .detail-thumbs img {
      width: 88px; height: 62px; object-fit: cover; border-radius: 10px;
      cursor: pointer; border: 2.5px solid transparent; opacity: 0.7; transition: all 0.2s;
    }
    .detail-thumbs img.active, .detail-thumbs img:hover { border-color: var(--gold); opacity: 1; }
    .detail-content { padding: 22px 26px 28px; }

    .toast {
      position: fixed; bottom: 24px; left: 24px; background: var(--navy);
      color: var(--gold-light); border: 1.5px solid var(--gold);
      padding: 14px 22px; border-radius: 12px; font-weight: 700;
      z-index: 3000; box-shadow: var(--shadow-lg); display: none; max-width: 90vw;
    }

    @media (max-width: 960px) {
      .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
      .nav-container { padding: 10px 16px; gap: 10px; }
      .logo-link { gap: 8px; }
      .logo-link svg { width: 38px; height: 38px; flex-shrink: 0; }
      .logo-text strong { font-size: 1.3rem; letter-spacing: 0.1em; margin-inline-end: -0.1em; }
      .logo-text small { font-size: 0.52rem; }
      .nav-actions { gap: 8px; }
      .nav-actions .cta-btn { padding: 8px 14px; font-size: 0.82rem; white-space: nowrap; }
      .theme-toggle-btn { width: 38px; height: 38px; }
      .nav-links {
        display: none; position: absolute; top: 100%; right: 0; left: 0;
        background: var(--bg-surface); flex-direction: column; padding: 20px; gap: 14px;
        border-bottom: 2px solid var(--gold); box-shadow: var(--shadow-sm); z-index: 1001;
      }
      .nav-links.active { display: flex; }
      .mobile-toggle { display: block; }
      .detail-hero-img { height: 230px; }
      #preloader { padding: 20px 16px; }
      .scene-3d { width: 220px; height: 230px; transform: scale(0.85); transform-origin: center; margin-bottom: 0; }
      .loader-brand h1 { font-size: 1.8rem; letter-spacing: 4px; }
      .loader-brand span { font-size: 0.82rem; }
      .progress-box { width: min(310px, 85vw); margin-top: 14px; }
    }
    @media (max-width: 480px) {
      .nav-container { padding: 8px 12px; gap: 8px; }
      .logo-link svg { width: 32px; height: 32px; }
      .logo-text strong { font-size: 1.1rem; letter-spacing: 0.08em; margin-inline-end: -0.08em; }
      .logo-text small { font-size: 0.46rem; }
      .nav-actions .cta-btn { padding: 7px 10px; font-size: 0.75rem; }
      .theme-toggle-btn { width: 34px; height: 34px; }
      .mobile-toggle { font-size: 1.2rem; padding: 3px 8px; }
      .scene-3d { transform: scale(0.72); margin: -20px 0; }
      .loader-brand h1 { font-size: 1.55rem; letter-spacing: 3px; }
      .loader-brand span { font-size: 0.75rem; padding: 0 10px; }
      .progress-status { font-size: 0.78rem; }
      .skip-btn { font-size: 0.78rem; padding: 6px 14px; }
    }
  

/* Designer credit */
.footer-credit { margin-top: 8px; font-size: 0.85rem; opacity: 0.85; }
.footer-credit a { color: var(--gold, #c9a14a); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }
