:root {
  --bg: #f4efe6;
  --card: #fffcf8;
  --ink: #1c1c1c;
  --muted: #7a7368;
  --gold: #b8956a;
  --gold-soft: rgba(184, 149, 106, 0.14);
  --line: rgba(28, 28, 28, 0.08);
  --whatsapp: #1f8f45;
  --shadow: 0 24px 50px rgba(28, 28, 28, 0.08);
  --radius: 18px;
  --max: 1120px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --display: "Amiri", "Playfair Display", serif;
  --display-en: "Playfair Display", "Amiri", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

html[lang="ar"] .en { display: none; }
html[lang="en"] .ar { display: none; }
html[lang="en"] body { font-family: var(--font); }
h1, h2, .stat b, .stat-box b {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
}
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] .stat b {
  font-family: var(--display-en);
  font-weight: 500;
}
h1 em { font-family: var(--display-en); font-style: italic; font-weight: 500; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 62px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.02rem; }
.brand-text span { color: var(--gold); font-size: 0.68rem; letter-spacing: 0.08em; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: rgba(28, 28, 28, 0.78); }
.nav-links a.active, .nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang, .menu-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
}
.menu-btn { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn-dark { background: var(--ink); color: #f7f3ec; }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-line { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #f7f3ec; }
.btn-wa { background: var(--whatsapp); color: white; }

.hero { padding: 64px 0 36px; }
.hero-grid, .split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.15; margin: 16px 0; }
h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-visual { position: relative; }
.hero-visual img, .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.hero-visual img { aspect-ratio: 4/5; box-shadow: var(--shadow); }
.stat {
  position: absolute;
  inset-inline-start: 18px;
  bottom: -18px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.stat b { display: block; color: var(--gold); font-size: 1.8rem; }
.stat span { color: var(--muted); font-size: 0.82rem; }

.section { padding: 72px 0; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 10px; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.gold-rule { width: 72px; height: 3px; background: var(--gold); margin: 16px auto 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.card, .value {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card:hover { border-color: rgba(184, 149, 106, 0.55); }
.card h3, .value h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.card p, .value p, .muted { color: var(--muted); }
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); font-size: 1.2rem;
}

.sand { background: rgba(255, 252, 248, 0.55); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.link-gold { font-weight: 800; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.stack { display: grid; gap: 18px; }
.shot { overflow: hidden; border-radius: 16px; background: #ddd; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.shot:hover img { transform: scale(1.03); }
.wide img { aspect-ratio: 16/10; }
.sq img { aspect-ratio: 1; }
.cap { margin-top: 10px; }
.cap small { color: var(--muted); letter-spacing: 0.06em; }

.band {
  background: var(--ink);
  color: #f7f3ec;
  padding: 48px 0;
}
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.band p { color: rgba(247, 243, 236, 0.68); margin: 6px 0 0; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ghost {
  border: 1px solid rgba(247, 243, 236, 0.22);
  color: #f7f3ec;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
}
.ghost small { opacity: 0.65; }
.page-hero { padding: 48px 0 10px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.list { margin: 12px 0 0; padding: 0 1.1rem; color: var(--muted); }
.services-list { display: grid; gap: 22px; }
.service-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.service-block img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.service-copy { padding: 22px 22px 22px 0; }
html[dir="ltr"] .service-copy { padding: 22px 0 22px 22px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.stat-box { background: var(--card); border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.stat-box b { display: block; font-size: 1.7rem; color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.contact-card, form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
label { display: block; font-weight: 700; margin: 12px 0 6px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 120px; resize: vertical; }
.logo-panel {
  background: var(--card);
  border-radius: 22px;
  padding: 18px;
  border: 1px solid var(--line);
}
.logo-panel img { width: 100%; height: auto; }

footer { background: var(--ink); color: rgba(247, 243, 236, 0.72); }
.foot { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr; gap: 28px; padding: 48px 0; }
footer a:hover { color: var(--gold); }
footer h4 { color: #f7f3ec; margin: 0 0 12px; letter-spacing: 0.08em; font-size: 0.82rem; }
.legal { border-top: 1px solid rgba(247, 243, 236, 0.1); text-align: center; padding: 16px; font-size: 0.78rem; }
.foot-brand { height: 70px; width: auto; margin-bottom: 10px; }

@media (max-width: 900px) {
  .hero-grid, .split, .gallery, .contact-grid, .service-block, .foot { grid-template-columns: 1fr; }
  .cards, .values, .mosaic, .stats { grid-template-columns: 1fr 1fr; }
  .service-copy, html[dir="ltr"] .service-copy { padding: 8px 18px 20px; }
  .band-inner, .head-row { flex-direction: column; align-items: flex-start; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 84px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
  }
  .nav-links.open { display: flex; }
  .brand-text { display: none; }
}
@media (max-width: 640px) {
  .cards, .values, .mosaic, .stats { grid-template-columns: 1fr; }
  .stat { display: none; }
  .brand img { height: 52px; }
}

.card, .shot, .value, .service-block {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover, .value:hover, .service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.hero-visual img { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -48px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  opacity: 0.8;
  animation: fall var(--dur) linear var(--delay) infinite;
}
.petal svg { width: 100%; height: 100%; display: block; }
@keyframes fall {
  0% { transform: translate3d(0, -12vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift), 112vh, 0) rotate(var(--spin)); }
}
@media (prefers-reduced-motion: reduce) {
  .petals, .hero-visual img { animation: none; display: none; }
  .hero-visual img { display: block; }
}
