:root {
  --bg: #f2efe8;
  --surface: #ffffff;
  --text: #1a1710;
  --text-sub: #6b6347;
  --text-muted: #a09880;
  --gold: #d4ba6a;
  --gold-dark: #a09265;
  --primary: #1a1710;
  --primary-light: #3d3520;
  --border: #e5e1d8;
  --header-start: #2a2112;
  --header-end: #6b5528;
  --shadow: 0 18px 48px rgba(26, 23, 16, 0.08);
  --radius: 16px;
  --max-width: 860px;
  --font-en: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: "Tajawal", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(242, 239, 232, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(42, 33, 18, 0.18);
  flex-shrink: 0;
  display: block;
}

.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  margin-bottom: 20px;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(26, 23, 16, 0.04);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--header-start), var(--header-end));
  color: #fff;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 8px 12px;
  border-radius: 10px;
}

.nav-link:hover {
  background: rgba(212, 186, 106, 0.12);
  color: var(--primary);
}

.hero {
  background: linear-gradient(135deg, var(--header-start) 0%, var(--header-end) 100%);
  color: #fff;
  padding: 56px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 186, 106, 0.22), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.hero-meta {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.content-wrap {
  max-width: var(--max-width);
  margin: -36px auto 48px;
  padding: 0 24px;
  flex: 1;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
}

.content-card h2 {
  margin: 32px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: var(--text-sub);
  font-size: 15px;
}

.content-card ul {
  margin: 0 0 16px;
  padding-inline-start: 1.25rem;
}

.content-card li + li {
  margin-top: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}

.contact-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #faf8f4 0%, #fff 100%);
  border: 1px solid var(--border);
}

.contact-card .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card .value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  word-break: break-word;
}

.contact-card .value.muted {
  color: var(--text-sub);
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--primary);
  background: #faf8f4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 12px 16px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 40px 16px 56px;
  }

  .content-wrap {
    padding: 0 16px;
    margin-bottom: 32px;
  }
}
