/* ═══════════════════════════════════════════════════════
   دار الإتقان للتطوير العقاري — Main Stylesheet
   Design: Luxury Gold & Black — Tajawal + Cormorant
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────── */
:root {
  --gold:        #4E7FA8;
  --gold-light:  #7AAFD4;
  --gold-dark:   #2E5F85;
  --black:       #08101A;
  --black-soft:  #0F1C2E;
  --black-card:  #0D1828;
  --gray-dark:   #1E2D3F;
  --gray-mid:    #5A7490;
  --gray-light:  #8AA5BC;
  --white:       #FFFFFF;
  --white-soft:  #F2F6FA;
  --cream:       #F0F5FA;

  --font-ar:     'Tajawal', sans-serif;
  --font-en:     'Cormorant Garamond', serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --shadow-gold: 0 8px 32px rgba(78,127,168,.25);

  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);

  --header-h:    80px;
  --container:   1280px;
}

/* ─── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ar);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── Page Loader ────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: .15em;
  margin-bottom: 1.5rem;
}
.loader-line {
  width: 200px; height: 2px; background: var(--gray-dark);
  border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.loader-line span {
  display: block; height: 100%; background: var(--gold);
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ─── Container ──────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ─── Typography ─────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--black);
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin-top: .6rem;
  border-radius: 2px;
}
[dir="rtl"] .section-title::after { margin-right: 0; }
.section-sub { color: var(--gray-mid); font-size: 1.05rem; margin-bottom: 3rem; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-title::after { margin: .6rem auto 0; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem;
  font-size: .95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .04em;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn-dark:hover { background: var(--gray-dark); }
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { background: var(--cream); }
.btn-sm { padding: .55rem 1.4rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.8rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .05em;
}
.badge-construction { background: rgba(59,130,246,.15); color: #60a5fa; }
.badge-completed    { background: rgba(16,185,129,.15);  color: #10b981; }
.badge-upcoming     { background: rgba(99,102,241,.15); color: #6366f1; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: var(--transition);
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.navbar {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}
.navbar-brand { display: flex; align-items: center; gap: .8rem; z-index: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-ar {
  font-size: 1.35rem; font-weight: 800;
  color: #0F1C2E;
  text-shadow: none;
  line-height: 1;
  letter-spacing: .05em;
}
.logo-sub {
  font-size: .7rem; color: rgba(15,28,46,.6);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.logo-img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

.nav-links {
  display: flex; align-items: center; gap: .25rem;
  margin: 0 auto;
}
.nav-link {
  padding: .5rem 1rem;
  color: #1A1A2E;
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { left: 1rem; right: 1rem; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(78,127,168,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .8rem; font-weight: 700;
  transition: var(--transition);
}
.lang-toggle:hover { background: var(--gold); color: var(--black); }

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #0F1C2E;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--black-soft);
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(78,127,168,.2);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
  z-index: 899;
}
.mobile-menu.open { display: block; transform: translateY(0); opacity: 1; }
.mobile-menu ul { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.mobile-menu a {
  display: block; padding: .75rem 1rem;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 500;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(78,127,168,.1); }
.mobile-menu .lang-item a { color: var(--gold); }
.mobile-contacts { display: flex; flex-direction: column; gap: .5rem; }
.mobile-contacts a { color: var(--gray-light); font-size: .85rem; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #0D0D0D 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,.3) 0%,
    rgba(13,13,13,.5) 60%,
    rgba(13,13,13,.85) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: var(--header-h);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(78,127,168,.15);
  border: 1px solid rgba(78,127,168,.3);
  padding: .4rem 1.2rem;
  border-radius: 100px;
  color: var(--gold);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s .2s both;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 900;
  line-height: 1.15;
  animation: fadeInUp .8s .4s both;
}
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeInUp .8s .6s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  animation: fadeInUp .8s .8s both;
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.5); font-size: .75rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero-scroll span { width: 1px; height: 40px; background: var(--gold); opacity: .5; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* ─── Stats Bar ──────────────────────────────────────── */
.stats-bar {
  background: #0A1520;
  border-top: 2px solid rgba(78,127,168,.25);
  border-bottom: 2px solid rgba(78,127,168,.25);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%; right: 0;
  width: 1px; height: 70%;
  background: rgba(78,127,168,.2);
}
[dir="rtl"] .stat-item:not(:last-child)::after { right: auto; left: 0; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  display: block;
}

/* ─── Section Styles ─────────────────────────────────── */
.section { padding: 5rem 0; }
.section-dark { background: var(--black-soft); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,.55); }
.section-cream { background: var(--cream); }

/* ─── Project Cards ──────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.75rem;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.06);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .card-img-wrap img { transform: scale(1.07); }
.card-badge {
  position: absolute; top: 1rem;
  inset-inline-start: 1rem;
}
.card-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
}
.card-progress-bar {
  height: 100%; background: var(--gold);
  transition: width 1s ease;
}
.card-body { padding: 1.5rem; }
.card-city {
  font-size: .78rem; font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
  display: flex; align-items: center; gap: .4rem;
}
.card-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--black);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.card-type {
  font-size: .85rem; color: var(--gray-mid);
  margin-bottom: 1rem;
}
.card-price {
  font-size: 1rem; font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}
.card-price span { font-size: .8rem; font-weight: 400; color: var(--gray-light); }
.card-footer {
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: 1rem;
}

/* Dark variant cards */
.section-dark .project-card {
  background: var(--black-card);
  border-color: rgba(255,255,255,.06);
}
.section-dark .card-title { color: var(--white); }
.section-dark .card-footer { border-color: rgba(255,255,255,.08); }

/* ─── Why Us ─────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}
.why-card {
  text-align: center; padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.why-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(78,127,168,.15), rgba(201,168,76,.05));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}
.why-icon svg { width: 32px; height: 32px; }
.why-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.why-desc { color: var(--gray-mid); font-size: .9rem; line-height: 1.7; }

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-wrap { position: relative; }
/* احتياطياً: لا تخفي محتوى الكاروسيل عبر AOS مهما حدث */
.glide[data-aos], .glide [data-aos] { opacity: 1 !important; transform: none !important; }
.testimonial-card {
  background: var(--black-card);
  border: 1px solid rgba(78,127,168,.15);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 5rem; line-height: 1;
  color: var(--gold); opacity: .2;
  position: absolute; top: 1rem;
  inset-inline-start: 1.5rem;
  font-family: Georgia, serif;
}
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-text {
  color: rgba(255,255,255,.8);
  line-height: 1.8; font-size: .95rem;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gray-dark);
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--white); font-size: .95rem; }
.author-project { font-size: .8rem; color: var(--gold); }

/* ─── Contact Form ───────────────────────────────────── */
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--black); }
.form-label .req { color: var(--gold); }
.form-control {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
  color: var(--black);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(78,127,168,.14);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: calc(100% - 1rem) center; }
[dir="rtl"] .form-select { background-position: 1rem center; }
.form-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #16a34a; padding: 1rem 1.5rem; border-radius: var(--radius-sm); font-size: .9rem; }
.form-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #dc2626; padding: 1rem 1.5rem; border-radius: var(--radius-sm); font-size: .9rem; }

/* ─── Partners Bar ───────────────────────────────────── */
.partners-track {
  display: flex; gap: 3rem; align-items: center;
  overflow: hidden;
}
.partner-logo {
  flex-shrink: 0;
  height: 50px;
  display: flex; align-items: center; justify-content: center;
  opacity: .5; transition: var(--transition);
  filter: grayscale(1);
}
.partner-logo:hover { opacity: 1; filter: none; }
.partner-logo img { max-height: 40px; }

/* ─── About Strip ────────────────────────────────────── */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/3;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 2rem;
  inset-inline-end: -1rem;
  background: var(--gold); color: var(--black);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}
.about-img-badge .big { font-size: 2.5rem; display: block; line-height: 1; }
.about-img-badge .small { font-size: .8rem; }
.about-text .section-title { margin-bottom: 1.5rem; }
.about-text p { color: var(--gray-mid); line-height: 1.9; margin-bottom: 1.25rem; }
.about-bullets { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.about-bullet {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .92rem; color: var(--black);
}
.about-bullet::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background: var(--gold);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='%231A1A1A'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}

/* ─── Wafi Badge ─────────────────────────────────────── */
.wafi-bar {
  background: linear-gradient(135deg, #1E3D5C, #2E5F85);
  color: var(--black);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2rem;
}
.wafi-logo { font-size: 1.5rem; font-weight: 900; letter-spacing: .1em; flex-shrink: 0; }
.wafi-info { flex: 1; font-size: .85rem; line-height: 1.5; }
.wafi-num { font-weight: 700; font-size: .95rem; }
.wafi-link { font-size: .8rem; text-decoration: underline; opacity: .8; }

/* ─── Progress Timeline ──────────────────────────────── */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  inset-inline-start: 16px;
  width: 2px; background: rgba(78,127,168,.2);
}
.timeline-item {
  display: flex; gap: 1.5rem;
  padding: .75rem 0; position: relative;
}
.timeline-dot {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--black-card);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--gold);
  position: relative; z-index: 1;
}
.timeline-dot.done { background: var(--gold); color: var(--black); }
.timeline-content {}
.timeline-date { font-size: .78rem; color: var(--gold); font-weight: 600; }
.timeline-label { font-size: .9rem; color: var(--white); font-weight: 500; }

/* ─── Gallery Lightbox ───────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(13,13,13,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

#lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.95);
  display: flex; align-items: center; justify-content: center;
  display: none;
}
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  transition: var(--transition); cursor: pointer;
}
.lightbox-close:hover { background: var(--gold); color: var(--black); }
.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover { background: var(--gold); color: var(--black); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ─── Units Table ────────────────────────────────────── */
.units-table { width: 100%; border-collapse: collapse; }
.units-table th, .units-table td {
  padding: 1rem 1.25rem;
  text-align: inherit;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .9rem;
}
.units-table th {
  background: rgba(78,127,168,.12);
  color: var(--gold);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.units-table td { color: rgba(255,255,255,.8); }
.unit-status-available { color: #22c55e; font-weight: 600; }
.unit-status-reserved  { color: #f59e0b; font-weight: 600; }
.unit-status-sold      { color: #ef4444; font-weight: 600; }

/* ─── Filter Bar ─────────────────────────────────────── */
.filter-bar {
  position: sticky; top: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 1rem 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.filter-inner {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
}
.filter-group { display: flex; align-items: center; gap: .5rem; }
.filter-label { font-size: .8rem; font-weight: 600; color: var(--gray-mid); white-space: nowrap; }
.filter-select, .filter-input {
  padding: .5rem .9rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 100px;
  font-size: .85rem; font-family: inherit;
  background: var(--white);
  transition: var(--transition);
}
.filter-select:focus, .filter-input:focus {
  outline: none; border-color: var(--gold);
}
.filter-btn {
  padding: .5rem 1.25rem;
  background: var(--black); color: var(--white);
  border-radius: 100px; font-size: .85rem; font-weight: 600;
  transition: var(--transition);
}
.filter-btn:hover { background: var(--gold); color: var(--black); }
.filter-btn.active { background: var(--gold); color: var(--black); }

/* ─── Project Hero ───────────────────────────────────── */
.project-hero {
  position: relative; height: 70vh; min-height: 480px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--black);
}
.project-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .5;
}
.project-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, rgba(13,13,13,.4) 60%, transparent 100%);
}
.project-hero-content {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: 3rem;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { font-size: .7rem; }
.project-title-lg {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white); font-weight: 900;
  margin-bottom: 1rem;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ─── Specs Table ────────────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid rgba(255,255,255,.06); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  padding: .9rem 1.25rem;
  color: var(--gold); font-size: .82rem; font-weight: 600;
  width: 40%; text-align: inherit;
}
.specs-table td {
  padding: .9rem 1.25rem;
  color: rgba(255,255,255,.85); font-size: .9rem;
}

/* ─── Nearby Services ────────────────────────────────── */
.nearby-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.nearby-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
}
.nearby-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(78,127,168,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.nearby-name { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.8); }
.nearby-dist { font-size: .75rem; color: var(--gold); }

/* ─── Features ───────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.feature-item {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 1.5rem 1rem; text-align: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.06);
}
.feature-icon { font-size: 2rem; }
.feature-name { font-size: .82rem; color: rgba(255,255,255,.75); font-weight: 500; }

/* ─── Sticky Interest Button ─────────────────────────── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--black);
  border-top: 1px solid rgba(78,127,168,.25);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  z-index: 800;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text { color: rgba(255,255,255,.7); font-size: .85rem; }
.sticky-cta-text strong { color: var(--gold); }
.sticky-cta-btns { display: flex; gap: .75rem; }

/* ─── WhatsApp Float ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem; inset-inline-end: 1.5rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 800;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; }
.wa-tooltip {
  position: absolute;
  inset-inline-end: calc(100% + .75rem);
  background: var(--black); color: var(--white);
  padding: .4rem .8rem; border-radius: var(--radius-sm);
  font-size: .78rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ─── Scroll Top ─────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 1.5rem; inset-inline-start: 1.5rem;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  z-index: 800;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top svg { width: 20px; height: 20px; }

/* ─── Admin Login ────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh; background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.login-card {
  width: 420px; background: var(--black-card);
  border: 1px solid rgba(78,127,168,.2);
  border-radius: var(--radius-lg); padding: 3rem;
  box-shadow: 0 0 60px rgba(0,0,0,.5);
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo .logo-ar { font-size: 1.5rem; color: var(--gold); font-weight: 900; display: block; }

/* ─── Admin Dashboard ────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; background: #0f0f0f; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--black-card);
  border-inline-end: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  position: fixed; top: 0; bottom: 0;
  inset-inline-start: 0; z-index: 200;
  overflow-y: auto;
}
.admin-main {
  flex: 1;
  margin-inline-start: 260px;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--black-card);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.admin-content { padding: 2rem; }
.sidebar-logo {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-logo .logo-ar { color: var(--gold); font-weight: 900; font-size: 1.1rem; display: block; }
.sidebar-logo .logo-sub { font-size: .68rem; color: rgba(255,255,255,.3); }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-section { padding: .5rem 1.5rem .25rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.25); text-transform: uppercase; }
.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1.5rem;
  color: rgba(255,255,255,.5);
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
  border-inline-start: 3px solid transparent;
}
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,.04); }
.sidebar-link.active { color: var(--gold); border-inline-start-color: var(--gold); background: rgba(78,127,168,.1); }

/* Admin Cards */
.admin-stat-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md); padding: 1.5rem;
}
.admin-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.stat-card-num { font-size: 2rem; font-weight: 800; color: var(--white); }
.stat-card-label { font-size: .8rem; color: rgba(255,255,255,.4); }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: .85rem 1rem; text-align: inherit; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .875rem; }
.admin-table th { color: rgba(255,255,255,.4); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td { color: rgba(255,255,255,.75); }
.admin-table tr:hover td { background: rgba(255,255,255,.02); }

/* ─── Progress Bar ───────────────────────────────────── */
.progress-wrap { background: rgba(255,255,255,.08); border-radius: 100px; height: 8px; overflow: hidden; margin: .5rem 0 .25rem; }
.progress-bar  { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: 100px; transition: width 1.5s ease; }

/* ─── Map Embed ──────────────────────────────────────── */
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ─── Pagination ─────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; align-items: center; margin-top: 3rem; }
.page-btn {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 600;
  transition: var(--transition);
  color: var(--black);
}
.page-btn:hover, .page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--black); }
.page-dots { color: var(--gray-mid); padding: 0 .25rem; }

/* ─── Small Hero ─────────────────────────────────────── */
.small-hero {
  background: var(--black);
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.small-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(78,127,168,.1) 0%, transparent 70%);
}
.small-hero h1 { color: var(--white); position: relative; }
.small-hero p  { color: rgba(255,255,255,.5); margin-top: .75rem; position: relative; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .projects-grid    { grid-template-columns: repeat(2,1fr); }
  .why-grid         { grid-template-columns: repeat(2,1fr); }
  .features-grid    { grid-template-columns: repeat(3,1fr); }
  .about-strip      { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap   { aspect-ratio: 16/9; }
  .admin-stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .btn.btn-sm.hidden-mobile { display: none; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .why-grid  { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .nearby-grid { grid-template-columns: 1fr; }
  .about-strip { gap: 2rem; }
  .admin-sidebar { display: none; }
  .admin-main { margin-inline-start: 0; }
  .admin-stats-grid { grid-template-columns: repeat(2,1fr); }
  .units-table { font-size: .78rem; }
  .units-table th, .units-table td { padding: .65rem .75rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sticky-cta { flex-direction: column; text-align: center; }
}

/* ─── RTL / LTR Adjustments ──────────────────────────── */
[dir="ltr"] .logo-ar { font-family: var(--font-en); letter-spacing: 0; }
[dir="ltr"] .section-title { font-family: var(--font-en); font-weight: 600; }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3 { font-family: var(--font-en); }

/* ─── Utilities ──────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-muted  { color: var(--gray-mid); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.fw-bold { font-weight: 700; }
.fs-sm { font-size: .85rem; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════
   FOOTER — Complete Styles
   ═══════════════════════════════════════════════════════ */

.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(78,127,168,.15);
}

.footer-top { padding: 4rem 0 2.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-col {}

/* Brand */
.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.logo-ar-footer {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .06em;
  line-height: 1;
}
.logo-sub-footer {
  font-size: .7rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .3rem;
}
.footer-desc {
  color: rgba(255,255,255,.45);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  flex-shrink: 0;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Heading */
.footer-heading {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(78,127,168,.2);
}

/* Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links a {
  color: rgba(255,255,255,.45);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.footer-links a:hover {
  color: var(--gold);
  padding-inline-start: .25rem;
}

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  line-height: 1.5;
}
.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: .1rem;
}
.footer-contact-list a {
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-contact-list a:hover { color: var(--gold); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.copyright {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}
.copyright strong { color: rgba(255,255,255,.5); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.3);
  font-size: .78rem;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════
   NAVBAR — Always dark background (not just on scroll)
   ═══════════════════════════════════════════════════════ */

/* على صفحات بدون Hero — الـ navbar يكون دائماً داكن */
/* على صفحة الـ Hero فقط — يبدأ شفاف ثم يتلون عند التمرير */
.page-hero .site-header {
  background: rgba(0,0,0,.25);
  border-bottom: none;
}
.page-hero .site-header .nav-link { color: rgba(255,255,255,.9); }
.page-hero .site-header .logo-ar  { color: #FFFFFF; }
.page-hero .site-header .logo-sub { color: rgba(255,255,255,.7); }
.page-hero .site-header .lang-toggle { border-color: rgba(255,255,255,.4); color: #fff; }
.page-hero .site-header .hamburger span { background: #fff; }
.page-hero .site-header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.page-hero .site-header.scrolled .nav-link { color: #1A1A2E; }
.page-hero .site-header.scrolled .logo-ar  { color: #0F1C2E; }
.page-hero .site-header.scrolled .logo-sub { color: rgba(15,28,46,.6); }
.page-hero .site-header.scrolled .lang-toggle { border-color: rgba(15,28,46,.3); color: #0F1C2E; }
.page-hero .site-header.scrolled .hamburger span { background: #0F1C2E; }

/* ═══════════════════════════════════════════════════════
   SECTIONS — Color Consistency Fix
   ═══════════════════════════════════════════════════════ */

/* فاصل واضح بين الأقسام */
.section + .section { border-top: 1px solid rgba(0,0,0,.06); }
.section-dark + .section-dark { border-top: 1px solid rgba(255,255,255,.04); }
.section-cream { background: #FAF8F3; }

/* Stats bar contrast fix */
.stats-bar .stat-item .stat-number { color: var(--gold); }
.stats-bar .stat-item .stat-label  { color: rgba(255,255,255,.55); }

/* Why us cards on white bg */
.why-card { background: var(--white); }


/* ═══════════════════════════════════════════════════════
   PROJECT LAYOUT — Responsive
   ═══════════════════════════════════════════════════════ */

.project-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.project-main   { min-width: 0; }
.project-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }

@media (max-width: 1024px) {
  .project-layout { grid-template-columns: 1fr 270px; }
}

@media (max-width: 900px) {
  .project-layout {
    display: block !important;
  }
  .project-main    { width: 100% !important; display: block !important; }
  .project-sidebar { width: 100% !important; display: block !important; position: static !important; top: auto !important; margin-top: 2rem; }

  .project-hero         { height: 45vh; min-height: 280px; }
  .project-title-lg     { font-size: 1.4rem; }
  .specs-table th,
  .specs-table td       { padding: .55rem .65rem; font-size: .79rem; }
  .units-table-wrap     { overflow-x: auto; }
  .units-table          { min-width: 540px; font-size: .75rem; }
  .gallery-grid         { grid-template-columns: repeat(2,1fr); gap: .5rem; }
  .map-embed iframe     { height: 200px; }
  .nearby-grid          { grid-template-columns: 1fr; }
  .features-grid        { grid-template-columns: repeat(3,1fr); }
  .wafi-bar             { flex-direction: column; text-align: center; }
  .form-grid            { grid-template-columns: 1fr !important; }
  .sticky-cta           { padding: .75rem 1rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid  { grid-template-columns: 1fr; }
}

.project-container { padding-top: 3rem; padding-bottom: 5rem; }
@media (max-width: 768px) {
  .project-container { padding-top: 1.5rem; padding-bottom: 2rem; }
}
