*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a961; --gold-bright: #e6c373; --gold-deep: #9c7e3f;
  --black: #0a0a0a; --black-soft: #131313; --black-elev: #1c1c1c; --black-elev-2: #262626;
  --line: rgba(201, 169, 97, 0.18); --line-strong: rgba(201, 169, 97, 0.4);
  --cream: #f8f5ef; --text: #ebe6dc; --text-mute: #9a948a; --text-soft: #c2bcb1;
  --shadow-gold: 0 20px 60px -20px rgba(201, 169, 97, 0.35);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', sans-serif;
  background: var(--black); color: var(--text);
  line-height: 1.7; overflow-x: hidden; direction: rtl;
  -webkit-font-smoothing: antialiased;
}
body[dir="ltr"] { font-family: 'Manrope', sans-serif; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; color: var(--cream); letter-spacing: -0.01em; }
body[dir="ltr"] h1, body[dir="ltr"] h2, body[dir="ltr"] h3, body[dir="ltr"] h4 { font-family: 'Manrope', sans-serif; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--black); }

body::before {
  content: ''; position: fixed; inset: 0;
  background:
    radial-gradient(800px circle at 80% 0%, rgba(201, 169, 97, 0.08), transparent 50%),
    radial-gradient(900px circle at 10% 90%, rgba(201, 169, 97, 0.05), transparent 60%);
  pointer-events: none; z-index: 0;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
section { position: relative; padding: 110px 0; z-index: 2; }
@media (max-width: 768px) { section { padding: 70px 0; } .container { padding: 0 18px; } }

/* ===== NAVBAR ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; padding: 18px 32px; z-index: 100; transition: all 0.4s var(--ease); }
.nav.scrolled { padding: 12px 32px; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
@media (max-width: 768px) { .nav, .nav.scrolled { padding-left: 18px; padding-right: 18px; } }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 56px; width: auto; transition: height 0.3s var(--ease); }
.nav.scrolled .nav-brand img { height: 46px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text-soft); position: relative; transition: color 0.3s; padding: 4px 0; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; right: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.4s var(--ease); }
body[dir="ltr"] .nav-links a::after { right: auto; left: 0; }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--cream); font-size: 13px; font-weight: 600; transition: all 0.3s var(--ease); letter-spacing: 0.05em; }
.lang-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); transform: translateY(-1px); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.3s var(--ease); letter-spacing: 0.02em; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--black); box-shadow: 0 4px 20px -8px rgba(201, 169, 97, 0.6); font-weight: 700; }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 169, 97, 0.05); }

.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .nav-brand img { height: 42px; }
  .nav.scrolled .nav-brand img { height: 36px; }
  .nav-cta .btn-primary { display: none; }
}

.mobile-menu { position: fixed; top: 0; width: 320px; max-width: 88vw; height: 100vh; background: var(--black-elev); padding: 90px 28px 28px; transition: transform 0.45s var(--ease); z-index: 99; overflow-y: auto; }
body[dir="rtl"] .mobile-menu { right: 0; border-left: 1px solid var(--line); transform: translateX(100%); }
body[dir="ltr"] .mobile-menu { left: 0; border-right: 1px solid var(--line); transform: translateX(-100%); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 16px; font-weight: 500; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 160px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--gold); margin-bottom: 28px; background: rgba(201, 169, 97, 0.04); }
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px var(--gold); animation: glow 2s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1 { font-size: clamp(38px, 6vw, 84px); font-weight: 900; line-height: 1.05; margin-bottom: 28px; }
.hero h1 .ornament { color: var(--gold); font-weight: 300; display: inline-block; }
.hero p.lead { font-size: 18px; color: var(--text-soft); max-width: 580px; margin-bottom: 40px; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .hero-meta { gap: 12px; } }
.hero-meta-item .num { font-size: clamp(28px, 4vw, 36px); font-weight: 800; color: var(--gold); line-height: 1; }
.hero-meta-item .label { font-size: 12px; color: var(--text-mute); margin-top: 8px; }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-gold); }
.hero-card {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.6) 80%, rgba(10,10,10,0.95) 100%), radial-gradient(ellipse at top, rgba(201, 169, 97, 0.18), transparent 60%), var(--black);
  border: 1px solid var(--line-strong); padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-logo-wrap { flex: 1; display: grid; place-items: center; position: relative; }
.hero-logo-wrap::before, .hero-logo-wrap::after { content: ''; position: absolute; width: 380px; height: 380px; max-width: 90%; max-height: 90%; border: 1px solid var(--line-strong); border-radius: 50%; animation: rotate 40s linear infinite; }
.hero-logo-wrap::after { width: 320px; height: 320px; max-width: 80%; max-height: 80%; animation-duration: 30s; animation-direction: reverse; border-color: var(--line); border-style: dashed; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-logo { width: 70%; max-width: 240px; filter: drop-shadow(0 10px 30px rgba(201, 169, 97, 0.3)); z-index: 2; animation: floatLogo 5s ease-in-out infinite; }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 3; }
.hero-card-bottom .tag { font-size: 11px; letter-spacing: 0.25em; color: var(--text-mute); font-weight: 500; }
.hero-card-bottom .badge { padding: 6px 12px; background: var(--gold); color: var(--black); border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }

/* ===== SECTION HEADERS ===== */
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.25em; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.section-head .kicker::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 14px; font-weight: 800; }
.section-head p { font-size: 16px; color: var(--text-soft); line-height: 1.85; }

/* ===== ABOUT / PILLARS ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-text p { color: var(--text-soft); font-size: 17px; line-height: 1.95; margin-bottom: 18px; }
.about-text p strong { color: var(--gold); font-weight: 700; }

.pillars { display: grid; gap: 14px; }
.pillar { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); transition: all 0.4s var(--ease); }
body[dir="rtl"] .pillar:hover { transform: translateX(-6px); }
body[dir="ltr"] .pillar:hover { transform: translateX(6px); }
.pillar:hover { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,169,97,0.06), transparent); }
.pillar-icon { width: 46px; height: 46px; flex-shrink: 0; background: rgba(201, 169, 97, 0.1); border: 1px solid var(--line-strong); border-radius: 6px; display: grid; place-items: center; color: var(--gold); }
.pillar h4 { font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.pillar p { font-size: 14px; color: var(--text-mute); line-height: 1.7; }

/* ===== STATS ===== */
.stats { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(201,169,97,0.03), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 20px; }
.stat-value { font-size: clamp(36px, 5vw, 54px); font-weight: 900; color: var(--gold); line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: 4px; }
.stat-value .suffix { font-size: 0.5em; color: var(--gold-deep); font-weight: 700; }
.stat-label { font-size: 13px; color: var(--text-mute); margin-top: 12px; letter-spacing: 0.05em; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service { padding: 38px 30px; background: var(--black-soft); transition: all 0.5s var(--ease); position: relative; overflow: hidden; cursor: pointer; }
.service::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,169,97,0.08), transparent); opacity: 0; transition: opacity 0.5s var(--ease); }
.service:hover { background: var(--black-elev); }
.service:hover::before { opacity: 1; }
.service:hover .service-icon { color: var(--gold); transform: scale(1.15) rotate(-5deg); }
.service-num { font-size: 12px; color: var(--gold-deep); letter-spacing: 0.2em; margin-bottom: 18px; font-weight: 600; }
.service-icon { width: 52px; height: 52px; color: var(--text-soft); margin-bottom: 22px; transition: all 0.4s var(--ease); }
.service h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.service p { color: var(--text-mute); font-size: 14px; line-height: 1.75; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 13px; margin-top: 16px; font-weight: 600; }

/* ===== PROJECTS ===== */
.projects-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; color: var(--text-soft); background: transparent; transition: all 0.3s; font-weight: 600; }
.pill.active, .pill:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card { display: block; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--black-soft); transition: all 0.5s var(--ease); }
.project-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
.project-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--black-elev); }
.project-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--black) 100%); opacity: 0.6; transition: opacity 0.5s; pointer-events: none; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project-card:hover .project-img { transform: scale(1.06); }
.project-tag { position: absolute; top: 14px; padding: 5px 12px; background: var(--black); color: var(--gold); font-size: 11px; border: 1px solid var(--gold); border-radius: 100px; z-index: 2; font-weight: 600; }
body[dir="rtl"] .project-tag { right: 14px; }
body[dir="ltr"] .project-tag { left: 14px; }
.project-body { padding: 22px; }
.project-meta { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--text-mute); margin-bottom: 10px; flex-wrap: wrap; }
.project-meta span { display: flex; align-items: center; gap: 5px; }
.project-body h3 { font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.project-body p { font-size: 13.5px; color: var(--text-soft); line-height: 1.7; }

/* ===== ESTATES ===== */
.estates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 768px) { .estates-grid { grid-template-columns: 1fr; } }
.estate-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--black-soft); transition: all 0.4s var(--ease); }
@media (max-width: 600px) { .estate-card { grid-template-columns: 1fr; } }
.estate-card:hover { border-color: var(--gold); }
.estate-img-wrap { position: relative; aspect-ratio: 4/3; background: var(--black-elev); overflow: hidden; }
.estate-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.estate-card:hover .estate-img { transform: scale(1.08); }
.estate-status { position: absolute; top: 12px; padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; }
body[dir="rtl"] .estate-status { right: 12px; }
body[dir="ltr"] .estate-status { left: 12px; }
.estate-status.available { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.estate-status.exclusive { background: rgba(201, 169, 97, 0.15); color: var(--gold); border: 1px solid var(--gold); }
.estate-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.estate-body h3 { font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.estate-loc { font-size: 12px; color: var(--gold); margin-bottom: 10px; display: inline-flex; gap: 5px; align-items: center; font-weight: 600; }
.estate-body p { color: var(--text-soft); font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.estate-specs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.estate-spec { font-size: 11.5px; color: var(--text-mute); display: flex; gap: 4px; align-items: center; }
.estate-spec b { color: var(--cream); font-weight: 700; }

/* ===== WHY ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--black-soft), transparent); transition: all 0.4s var(--ease); }
.why-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.why-card .icon { color: var(--gold); margin-bottom: 18px; width: 30px; height: 30px; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.why-card p { color: var(--text-mute); font-size: 14px; line-height: 1.7; }

/* ===== ORG CHART ===== */
.org-tree { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.org-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 100%; }
.org-card { padding: 16px 20px; min-width: 200px; max-width: 240px; background: var(--black-elev); border: 1px solid var(--line); border-radius: 8px; transition: all 0.3s var(--ease); }
.org-card.lead { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,169,97,0.1), var(--black-elev)); }
.org-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.org-card .name { font-size: 15px; color: var(--cream); font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.org-card .name::before { content: ''; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.org-card .role { font-size: 12px; color: var(--text-mute); }

/* ===== PARTNERS (NEW WITH LOGO IMAGES) ===== */
.partners-track-wrap {
  overflow: hidden; padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.partners-track { display: flex; gap: 50px; width: max-content; animation: marquee 35s linear infinite; align-items: center; }
.partners-track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.partner-item {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 180px; height: 90px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.4s var(--ease);
  filter: grayscale(100%) brightness(1.4);
  opacity: 0.7;
}
.partner-item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.05);
  transform: translateY(-4px);
}
.partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== CONTACT ===== */
.contact-cta { padding: 70px 56px; border: 1px solid var(--line-strong); border-radius: 14px; background: radial-gradient(ellipse at top right, rgba(201,169,97,0.15), transparent 60%), var(--black-soft); text-align: center; position: relative; overflow: hidden; }
@media (max-width: 768px) { .contact-cta { padding: 50px 22px; } }
.contact-cta h2 { font-size: clamp(26px, 4vw, 44px); margin-bottom: 14px; font-weight: 800; }
.contact-cta p { font-size: 16px; color: var(--text-soft); max-width: 540px; margin: 0 auto 28px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-info { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; border-top: 1px solid var(--line); }
@media (max-width: 768px) { .contact-info { grid-template-columns: repeat(2, 1fr); } }
.contact-item { text-align: center; }
.contact-item .label { font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.25em; margin-bottom: 8px; font-weight: 600; }
.contact-item .value { color: var(--cream); font-size: 14.5px; direction: ltr; font-weight: 500; }
.contact-item.has-rtl .value { direction: rtl; }

/* ===== FOOTER ===== */
footer { padding: 40px 0 28px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 46px; width: auto; opacity: 0.85; }
.footer-copy { color: var(--text-mute); font-size: 13px; }

/* ===== DETAILS PAGES (shared) ===== */
.details-hero { padding: 140px 0 60px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-mute); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-soft); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }

.details-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 1024px) { .details-grid { grid-template-columns: 1fr; gap: 32px; } }
.details-info .tag { display: inline-block; padding: 5px 14px; background: rgba(201, 169, 97, 0.1); color: var(--gold); border: 1px solid var(--gold); border-radius: 100px; font-size: 11px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.1em; }
.details-info h1 { font-size: clamp(30px, 4.5vw, 54px); margin-bottom: 16px; font-weight: 900; line-height: 1.15; }
.details-lead { font-size: 17px; color: var(--text-soft); line-height: 1.85; margin-bottom: 28px; }

.details-meta { display: flex; flex-wrap: wrap; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0; }
.details-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.details-meta-item .label { color: var(--gold); font-weight: 600; }

.details-cover { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.details-cover img { width: 100%; height: 100%; object-fit: cover; }

.details-body { padding: 60px 0; }
.prose { font-size: 16.5px; line-height: 2; color: var(--text-soft); max-width: 880px; }
.prose p { margin-bottom: 20px; }
.prose h2 { font-size: 28px; margin: 36px 0 16px; color: var(--cream); }
.prose h3 { font-size: 22px; margin: 28px 0 12px; color: var(--cream); }
.prose ul, .prose ol { padding-inline-start: 26px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--gold); font-weight: 700; }

.gallery-title { font-size: 28px; margin: 50px 0 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; transition: all 0.4s var(--ease); }
.gallery-item:hover { border-color: var(--gold); transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); }

.specs-card { padding: 28px; background: var(--black-soft); border: 1px solid var(--line); border-radius: 12px; }
.specs-card h3 { font-size: 17px; margin-bottom: 18px; color: var(--gold); letter-spacing: 0.1em; font-weight: 700; }
.specs-list { list-style: none; }
.specs-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs-list li:last-child { border: none; }
.specs-list li span:first-child { color: var(--text-mute); }
.specs-list li span:last-child { color: var(--cream); font-weight: 600; }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.94); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 40px; }
.lightbox.open { display: flex; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; font-size: 22px; }

/* ===== LOADER & REVEALS ===== */
#loader { position: fixed; inset: 0; background: var(--black); z-index: 9999; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease); }
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 110px; height: 110px; animation: pulseLogo 1.8s ease-in-out infinite; position: relative; z-index: 2; }
.loader-ring { width: 160px; height: 160px; position: absolute; border: 1.5px solid transparent; border-top-color: var(--gold); border-right-color: var(--gold); border-radius: 50%; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseLogo { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.95); opacity: 0.85; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(n+9) { transition-delay: 0.45s; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--black-elev-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

.empty-state { text-align: center; padding: 50px 20px; color: var(--text-mute); border: 1px dashed var(--line); border-radius: 8px; }

/* ===== MEDIA SLIDER ===== */
.media-slider { margin: 24px 0; user-select: none; }

.slider-main {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--black-elev);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.slider-media { width: 100%; height: 100%; object-fit: cover; display: block; }
video.slider-media { background: #000; object-fit: contain; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 10, 10, 0.7); color: var(--cream);
  display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  transition: all 0.3s var(--ease); z-index: 5; cursor: pointer;
}
.slider-btn:hover {
  background: var(--gold); color: var(--black); border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}
body[dir="rtl"] .slider-prev { right: 16px; }
body[dir="rtl"] .slider-next { left: 16px; }
body[dir="ltr"] .slider-prev { left: 16px; }
body[dir="ltr"] .slider-next { right: 16px; }
@media (max-width: 768px) {
  .slider-btn { width: 38px; height: 38px; }
  body[dir="rtl"] .slider-prev { right: 10px; }
  body[dir="rtl"] .slider-next { left: 10px; }
  body[dir="ltr"] .slider-prev { left: 10px; }
  body[dir="ltr"] .slider-next { right: 10px; }
}

.slider-counter {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.75); color: var(--cream);
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line); z-index: 5;
}

.slider-thumbs {
  display: flex; gap: 10px; margin-top: 14px;
  overflow-x: auto; padding: 4px;
  scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
.slider-thumbs::-webkit-scrollbar { height: 6px; }
.slider-thumbs::-webkit-scrollbar-track { background: transparent; }
.slider-thumbs::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }

.slider-thumb {
  flex-shrink: 0; width: 110px; height: 70px;
  border-radius: 8px; border: 2px solid transparent;
  overflow: hidden; background: var(--black-elev);
  cursor: pointer; position: relative; padding: 0;
  transition: all 0.3s var(--ease);
}
.slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-thumb.active { border-color: var(--gold); }
.slider-thumb:hover { transform: translateY(-2px); }
.slider-thumb .thumb-video-icon {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.5); color: var(--gold); z-index: 2;
}