:root {
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #8b6914;
  --gold-glow: rgba(201, 162, 39, 0.35);
  --bg: #0c0c14;
  --surface: #0c0c14;
  --surface-2: #141422;
  --surface-3: #1c1c2e;
  --text: #f5f0e6;
  --muted: #9a9588;
  --border: rgba(201, 162, 39, 0.15);
  --nav-bg: rgba(12, 12, 20, 0.92);
}

[data-theme="light"] {
  --bg: #f7f4ec;
  --surface: #f7f4ec;
  --surface-2: #fffdf8;
  --surface-3: #f0ebe0;
  --text: #1a1408;
  --muted: #5c5548;
  --border: rgba(139, 105, 20, 0.2);
  --nav-bg: rgba(247, 244, 236, 0.92);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.accent { color: var(--gold); }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-btns { display: flex; gap: 4px; }

.lang-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}

.theme-btn {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: var(--surface-3);
  border-color: var(--gold);
  transform: scale(1.05) rotate(15deg);
}

.theme-btn svg {
  transition: transform 0.3s ease;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  color: #1a1408 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 110px 40px 70px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 720px; }

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border);
  background: rgba(201, 162, 39, 0.06);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-emblem {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 24px var(--gold-glow));
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e3dac9;
  background: #faf6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-emblem:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1408;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* STATS */
.stats-bar {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 12px;
  border-inline-start: 1px solid var(--border);
}

.stat-item:first-child { border-inline-start: none; }

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* SECTIONS */
.section,
.about-section,
.whyus-section,
.address-section,
.social-section,
.contact-section {
  padding: 80px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.92rem;
  max-width: 480px;
  margin-inline: auto;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.service-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ABOUT */
.about-section { background: var(--surface); }

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-emblem {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px var(--gold-glow));
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #e3dac9;
  background: #faf6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-emblem:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px var(--gold-glow);
}

.emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.about-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.about-body {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.features-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* WHY US */
.whyus-section { background: var(--bg); }

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.why-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}

.why-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* HIGHLIGHT */
.highlight-bar {
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.06), transparent);
  border-block: 1px solid var(--border);
}

.highlight-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.highlight-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.highlight-text p { color: var(--muted); font-size: 0.88rem; }

.highlight-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ADDRESS */
.address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.address-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  transition: border-color 0.2s;
  text-align: center;
}

.address-card:hover { border-color: rgba(201, 162, 39, 0.35); }

.address-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.address-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.address-text a {
  color: var(--gold-light);
  text-decoration: none;
}

.address-text a:hover { text-decoration: underline; }

/* SOCIAL */
.social-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}

.social-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-2px);
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

/* WhatsApp Brand Colors */
.social-icon.wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.15);
  color: #25d366;
}
.social-card.wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.12);
}
.social-card.wa:hover .social-icon.wa {
  background: #25d366;
  color: #fff;
}

/* Facebook Brand Colors */
.social-icon.fb {
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}
.social-card.fb:hover {
  border-color: rgba(24, 119, 242, 0.45);
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.12);
}
.social-card.fb:hover .social-icon.fb {
  background: #1877f2;
  color: #fff;
}

/* TikTok Brand Colors */
.social-icon.tt {
  background: rgba(254, 9, 121, 0.04);
  border-color: rgba(0, 242, 254, 0.2);
  color: var(--text);
}
.social-card.tt:hover {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 4px 20px rgba(254, 9, 121, 0.1);
}
.social-card.tt:hover .social-icon.tt {
  background: #010101;
  color: #fff;
}

/* Telegram Brand Colors */
.social-icon.tg {
  background: rgba(36, 161, 222, 0.08);
  border-color: rgba(36, 161, 222, 0.15);
  color: #24a1de;
}
.social-card.tg:hover {
  border-color: rgba(36, 161, 222, 0.45);
  box-shadow: 0 4px 20px rgba(36, 161, 222, 0.12);
}
.social-card.tg:hover .social-icon.tg {
  background: #24a1de;
  color: #fff;
}

.social-name { font-size: 0.92rem; font-weight: 700; }

.social-handle { font-size: 0.78rem; color: var(--muted); }

/* CONTACT */
.contact-section { background: var(--surface); }

.contact-inner { max-width: 600px; margin: 0 auto; text-align: center; }

.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 32px;
  margin-top: 32px;
}

.contact-phone {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.contact-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  display: block;
}

.contact-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-size: 1.1rem; font-weight: 700; }

.footer-text { color: var(--muted); font-size: 0.78rem; }

.footer-socials { display: flex; gap: 8px; }

.footer-phone-link {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer-phone-link:hover {
  color: var(--gold-light);
  text-shadow: 0 0 12px var(--gold-glow);
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  transition: color 0.2s, border-color 0.2s;
}

.footer-social-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
}

@media (max-width: 768px) {
  nav { padding: 12px 18px; }
  .nav-links { display: none; }
  .hero { padding: 90px 18px 50px; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); padding: 16px; }
  .section, .about-section, .whyus-section, .address-section, .social-section, .contact-section, .highlight-bar { padding: 50px 18px; }
  .services-grid, .whyus-grid, .address-grid, .social-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-visual { order: -1; }
  .hero-emblem { width: 160px; height: 160px; border-radius: 12px; padding: 8px; }
  .about-emblem { width: 220px; height: 220px; border-radius: 16px; padding: 10px; }
  footer { flex-direction: column; text-align: center; }
  .highlight-bar-inner { flex-direction: column; text-align: center; }
  .highlight-actions { justify-content: center; }
  .contact-phone { font-size: 1.5rem; }
}