
:root {
  --gold: #C8A84B;
  --gold-light: #E8C96A;
  --gold-dim: #8A6F2E;
  --dark: #0A0A0C;
  --dark2: #111114;
  --dark3: #1A1A1F;
  --dark4: #242428;
  --silver: #A8A8B0;
  --white: #F5F3EE;
  --white2: #E8E6E0;
  --charcoal: #2A2A30;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  overflow-x: hidden;
  cursor: none;
}
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
  opacity: 0.5;
}

/* LOADER */
#loader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 10000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
}
.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
  letter-spacing: 0.3em;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.loader-arabic {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--silver);
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}
.loader-bar {
  width: 200px; height: 1px;
  background: var(--dark3);
  position: relative; overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.5s 0.8s ease forwards;
}
.loader-bar-fill {
  position: absolute; left: 0; top: 0;
  height: 100%; background: var(--gold);
  animation: loadFill 2s 1s ease forwards;
  width: 0;
}
.loader-pct {
  font-size: 0.75rem;
  color: var(--silver);
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeUp 0.5s 1s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 4vw;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s ease;
}
nav.scrolled {
  background: rgba(10,10,12,0.92);
  backdrop-filter: blur(20px);
  padding: 1rem 4vw;
  border-bottom: 1px solid rgba(200,168,75,0.1);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-decoration: none;
  display: flex; flex-direction: column;
  line-height: 1.2;
}
.nav-logo span {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.65rem;
  color: var(--silver);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.5rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* HERO */
#hero {
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  background: var(--dark);
}
canvas#particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 60px 60px; } }
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,168,75,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%,-50%) scale(1.2); opacity: 1; } }
.hero-buildings {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 4px; padding: 0 5%;
  opacity: 0.12;
}
.building {
  background: linear-gradient(to top, var(--gold-dim), transparent);
  flex-shrink: 0;
  position: relative;
  animation: buildingPulse 6s ease-in-out infinite;
}
.building::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, transparent, rgba(200,168,75,0.3));
}
@keyframes buildingPulse { 0%,100%{opacity:0.12} 50%{opacity:0.2} }
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 0 4vw;
  max-width: 780px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 0.4rem 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 3.5s ease forwards;
}
.hero-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.85rem, 2.5vw, 1.4rem);
  color: var(--silver);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 3.7s ease forwards;
}
.hero-title-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s 3.9s ease forwards;
  text-shadow: 0 0 80px rgba(200,168,75,0.2);
}
.hero-title-ar span { color: var(--gold); }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--silver);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s 4.1s ease forwards;
}
.hero-line {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: expandLine 1s 4.2s ease forwards;
}
@keyframes expandLine { from { width: 0; opacity: 0; } to { width: 60px; opacity: 1; } }
.hero-btns {
  display: flex; gap: 1.5rem;
  justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 4.4s ease forwards;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 0.9rem 2.5rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none; cursor: pointer;
  transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.5rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(245,243,238,0.3);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
@keyframes heroBgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); filter: drop-shadow(0 0 40px rgba(200,168,75,0.6)) drop-shadow(0 0 80px rgba(200,168,75,0.3)); }
  50% { transform: translateY(-10px); filter: drop-shadow(0 0 55px rgba(200,168,75,0.8)) drop-shadow(0 0 100px rgba(200,168,75,0.4)); }
}
.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 5s ease forwards;
}
.hero-scroll span {
  font-size: 0.6rem; letter-spacing: 0.3em;
  color: var(--silver); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:scaleY(1);transform-origin:top} 50%{transform:scaleY(0.5);transform-origin:top} }
.hero-stats {
  position: absolute; bottom: 3rem; right: 4vw;
  display: flex; flex-direction: column; gap: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 4.8s ease forwards;
}
.hero-stat-item { text-align: right; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.6rem; color: var(--silver);
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* SECTIONS COMMON */
.section {
  padding: 7rem 4vw;
  position: relative;
}
.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  border-left: 2px solid var(--gold);
  padding-right: 1rem;
  margin-bottom: 1.5rem;
}
html[dir="rtl"] .section-tag {
  border-left: none;
  border-right: 2px solid var(--gold);
  padding-right: 0;
  padding-left: 1rem;
}
.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--silver);
  max-width: 600px;
  line-height: 1.8;
}
.divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* ABOUT */
#about { background: var(--dark2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.about-visual {
  position: relative;
  height: 500px;
}
.about-img-box {
  position: absolute;
  width: 75%;
  height: 80%;
  top: 10%; right: 0;
  background: var(--dark3);
  border: 1px solid rgba(200,168,75,0.15);
  overflow: hidden;
}
.about-img-box-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark3) 0%, var(--charcoal) 100%);
  position: relative;
}
.about-img-box-inner::before {
  content: 'الباسل';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: rgba(200,168,75,0.06);
  position: absolute;
  bottom: 1rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 0.1em;
}
.building-svg {
  width: 200px; opacity: 0.6;
}
.about-accent {
  position: absolute;
  width: 40%; height: 40%;
  bottom: 0; left: 0;
  border: 1px solid var(--gold-dim);
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}
.about-accent-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--gold);
  line-height: 1;
}
.about-accent-label {
  font-size: 0.65rem;
  color: var(--silver);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}
.about-text p {
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-feat {
  display: flex; align-items: center;
  gap: 0.8rem;
}
.feat-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.feat-text {
  font-size: 0.85rem;
  color: var(--white2);
}

/* PROJECTS */
#projects { background: var(--dark); }
.projects-header {
  max-width: 1300px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.projects-tabs {
  display: flex; gap: 0;
  border: 1px solid rgba(200,168,75,0.2);
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--silver);
  padding: 0.7rem 1.5rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  border-right: 1px solid rgba(200,168,75,0.2);
}
.tab-btn:last-child { border-right: none; }
html[dir="rtl"] .tab-btn { border-right: none; border-left: 1px solid rgba(200,168,75,0.2); }
html[dir="rtl"] .tab-btn:last-child { border-left: none; }
.tab-btn.active, .tab-btn:hover {
  background: var(--gold);
  color: var(--dark);
}
.projects-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.project-card {
  position: relative;
  height: 480px;
  overflow: hidden;
  cursor: pointer;
}
.project-card:first-child {
  grid-row: span 2;
  height: 100%;
}
.project-card-bg {
  position: absolute; inset: 0;
  transition: transform 0.8s ease;
}
.project-card:hover .project-card-bg { transform: scale(1.06); }
.pc-b8 { background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.95) 100%), linear-gradient(135deg, #1a2030 0%, #0d1520 100%); }
.pc-b9 { background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.95) 100%), linear-gradient(135deg, #201520 0%, #150d1a 100%); }
.pc-b10 { background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.95) 100%), linear-gradient(135deg, #1a2015 0%, #0d1510 100%); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.6);
  transition: opacity 0.5s;
}
.project-card:hover .project-card-overlay { opacity: 0.3; }
.project-building-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.25;
  transition: opacity 0.5s;
}
.project-card:hover .project-building-art { opacity: 0.4; }
.project-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  z-index: 2;
}
.project-status {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.project-status.sold { background: var(--silver); }
.project-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--silver);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.project-name-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.project-meta {
  display: flex; gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.project-meta-item {
  display: flex; flex-direction: column;
  gap: 0.2rem;
}
.project-meta-label {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.project-meta-val {
  font-size: 0.85rem;
  color: var(--white2);
}
.project-card-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.2rem;
  transition: width 0.6s ease;
}
.project-card:hover .project-card-line { width: 40px; }
.project-view-btn {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s;
  cursor: pointer;
  border: none;
  background: transparent;
}
.project-card:hover .project-view-btn {
  opacity: 1; transform: none;
}
.project-card-number {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: rgba(200,168,75,0.08);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
html[dir="rtl"] .project-card-number {
  left: auto; right: 1.5rem;
}

/* FEATURES */
#features {
  background: var(--dark2);
}
.features-wrap {
  max-width: 1300px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200,168,75,0.1);
  margin-top: 4rem;
}
.feature-item {
  background: var(--dark2);
  padding: 3rem 2rem;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,168,75,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-item:hover { background: var(--dark3); }
.feature-item:hover::before { opacity: 1; }
.feature-icon {
  width: 50px; height: 50px;
  border: 1px solid rgba(200,168,75,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.feature-item:hover .feature-icon {
  border-color: var(--gold);
  background: rgba(200,168,75,0.1);
}
.feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--gold);
  fill: none;
}
.feature-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.7;
}
.feature-num {
  position: absolute;
  top: 1.5rem; left: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: rgba(200,168,75,0.05);
  line-height: 1;
}
html[dir="rtl"] .feature-num {
  left: auto; right: 2rem;
}

/* WHY US */
#why { background: var(--dark); }
.why-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.why-card {
  background: var(--dark2);
  border: 1px solid rgba(200,168,75,0.08);
  padding: 2rem 1.5rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
html[dir="rtl"] .why-card::after { transform-origin: right; }
.why-card:hover { border-color: rgba(200,168,75,0.25); }
.why-card:hover::after { transform: scaleX(1); }
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.why-num span {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.75rem;
  color: var(--silver);
  vertical-align: super;
}
.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.why-desc {
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.7;
}

/* WARRANTY */
#warranty {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  position: relative;
  overflow: hidden;
}
#warranty::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border: 1px solid rgba(200,168,75,0.05);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.warranty-wrap {
  max-width: 1300px;
  margin: 0 auto;
}
.warranty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.warranty-item {
  border: 1px solid rgba(200,168,75,0.12);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
  background: rgba(10,10,12,0.4);
  position: relative;
  overflow: hidden;
}
.warranty-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.warranty-item:hover { border-color: rgba(200,168,75,0.4); }
.warranty-item:hover::before { opacity: 1; }
.warranty-years {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.warranty-years-label {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.warranty-type {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

/* STATS MARQUEE */
#stats-bar {
  background: var(--gold);
  padding: 1.5rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 700;
}
.marquee-label {
  font-size: 0.8rem;
  color: rgba(10,10,12,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee-dot {
  width: 4px; height: 4px;
  background: rgba(10,10,12,0.4);
  border-radius: 50%;
}

/* VISION */
#vision {
  background: var(--dark);
  overflow: hidden;
}
.vision-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.vision-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin: 3rem 0;
  position: relative;
}
.vision-quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -2rem; right: -1rem;
  font-style: normal;
  line-height: 1;
}
html[dir="rtl"] .vision-quote::before {
  right: auto; left: -1rem;
}
.vision-pillars {
  display: flex;
  gap: 0;
  margin-top: 5rem;
  border: 1px solid rgba(200,168,75,0.12);
}
.pillar {
  flex: 1;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(200,168,75,0.12);
  transition: background 0.4s;
  text-align: center;
}
html[dir="rtl"] .pillar { border-right: none; border-left: 1px solid rgba(200,168,75,0.12); }
.pillar:last-child { border: none; }
.pillar:hover { background: rgba(200,168,75,0.03); }
.pillar-icon {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pillar-text {
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.7;
}

/* CONTACT */
#contact {
  background: var(--dark2);
}
.contact-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
.contact-info {
  padding-top: 2rem;
}
.contact-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200,168,75,0.08);
}
.contact-item:last-child { border: none; }
.contact-label {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-val {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 500;
  direction: ltr;
  text-align: right;
}
html[dir="rtl"] .contact-val { text-align: right; }
.contact-form {
  background: var(--dark3);
  border: 1px solid rgba(200,168,75,0.1);
  padding: 3rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.form-input {
  width: 100%;
  background: rgba(200,168,75,0.04);
  border: 1px solid rgba(200,168,75,0.12);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-input::placeholder { color: var(--silver); opacity: 0.5; }
.form-input:focus { border-color: var(--gold); }
.form-select {
  width: 100%;
  background: rgba(200,168,75,0.04);
  border: 1px solid rgba(200,168,75,0.12);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  appearance: none;
}
.form-select option { background: var(--dark3); }
.form-textarea {
  width: 100%;
  background: rgba(200,168,75,0.04);
  border: 1px solid rgba(200,168,75,0.12);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s;
}
.form-textarea:focus { border-color: var(--gold); }
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  text-decoration: none;
}
html[dir="rtl"] .whatsapp-float {
  right: auto; left: 2rem;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}
.whatsapp-float svg {
  width: 28px; height: 28px;
  fill: white;
}

/* FOOTER */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(200,168,75,0.1);
  padding: 4rem 4vw 2rem;
}
.footer-top {
  max-width: 1300px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}
.footer-brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.footer-brand-sub {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}
.footer-brand-text {
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.8;
  max-width: 350px;
}
.footer-col-title {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,168,75,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(168,168,176,0.5);
}
.footer-copy span { color: var(--gold); }

/* MODAL */
.modal {
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(10,10,12,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 2rem;
}
.modal.open { opacity: 1; pointer-events: all; }
.modal-inner {
  background: var(--dark2);
  border: 1px solid rgba(200,168,75,0.2);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s;
  padding: 3rem;
}
.modal.open .modal-inner { transform: none; }
.modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border: 1px solid rgba(200,168,75,0.3);
  background: transparent;
  color: var(--silver);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
html[dir="rtl"] .modal-close {
  right: auto; left: 1.5rem;
}
.modal-close:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.modal-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.modal-sub {
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 2rem;
}
.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(200,168,75,0.06);
}
.spec-label {
  font-size: 0.8rem;
  color: var(--silver);
}
.spec-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.amenity-chip {
  background: rgba(200,168,75,0.07);
  border: 1px solid rgba(200,168,75,0.15);
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  color: var(--white2);
  text-align: center;
  transition: all 0.3s;
}
.amenity-chip:hover {
  background: rgba(200,168,75,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card:first-child { grid-row: span 1; height: 480px; }
  .about-grid, .why-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  nav { padding: 1rem 4vw; }
  .nav-links { display: none; }
  .hero-stats { display: none; }
  .why-cards { grid-template-columns: 1fr; }
  .warranty-grid { grid-template-columns: 1fr 1fr; }
  .vision-pillars { flex-direction: column; }
  .modal-specs { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}
