:root {
  --ink: #10231f;
  --ink-soft: #3d524c;
  --teal: #0e4a46;
  --teal-deep: #072e2c;
  --teal-mid: #1a6b64;
  --gold: #c6a35a;
  --gold-2: #e4cc8a;
  --ivory: #f7f2e8;
  --sand: #ebe3d4;
  --paper: #fffcf7;
  --line: rgba(16, 35, 31, 0.1);
  --ok: #1f7a5c;
  --warn: #b5812d;
  --bad: #b4453a;
  --shadow: 0 24px 60px rgba(7, 46, 44, 0.12);
  --radius: 22px;
  --font: "Manrope", "Noto Sans Devanagari", "Noto Naskh Arabic", sans-serif;
  --serif: "Cormorant Garamond", "Noto Naskh Arabic", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--ivory);
  min-height: 100vh;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
.serif { font-family: var(--serif); }

#app { min-height: 100vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 7vw;
  background: rgba(247, 242, 232, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.brand svg { width: 34px; height: 34px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.nav a { opacity: 0.78; }
.nav a:hover, .nav a.active { opacity: 1; color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #e8d39a, var(--gold));
  color: var(--teal-deep);
  box-shadow: 0 8px 20px rgba(198, 163, 90, 0.28);
}
.btn-dark {
  background: var(--teal-deep);
  color: var(--ivory);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--teal);
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 48px 7vw 28px;
  align-items: center;
}
.kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(44px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 28px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(7, 46, 44, 0.82);
  color: var(--ivory);
  padding: 16px 18px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  max-width: 260px;
}
.hero-float {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--paper);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 10px 7vw 60px;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.stat b { display: block; font-family: var(--serif); font-size: 34px; }
.stat span { color: var(--ink-soft); font-size: 13px; }

.section { padding: 20px 7vw 70px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.muted { color: var(--ink-soft); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 46, 44, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card img.cover { width: 100%; height: 180px; object-fit: cover; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  color: var(--teal);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.price { font-weight: 800; color: var(--teal); }
.stars { color: var(--gold); letter-spacing: 1px; }

.treatment-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #143f3c, var(--teal-deep));
  color: var(--gold-2);
  margin-bottom: 12px;
  font-size: 20px;
}

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg {
  border-radius: 28px;
  padding: 28px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.pkg.gold {
  background: linear-gradient(180deg, #123833, #0b2b28);
  color: #f7f2e8;
  transform: scale(1.03);
}
.pkg.gold .muted, .pkg.diamond .muted { color: rgba(247, 242, 232, 0.72); }
.pkg.diamond {
  background:
    radial-gradient(circle at 80% 0%, rgba(228, 204, 138, 0.28), transparent 40%),
    linear-gradient(180deg, #1b1610, #3a2e1a);
  color: #f7f2e8;
}
.pkg ul { padding: 0; margin: 0 0 24px; list-style: none; flex: 1; }
.pkg li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pkg.silver li { border-bottom: 1px solid var(--line); }
.pkg .amt { font-family: var(--serif); font-size: 42px; margin: 8px 0 18px; }
.featured-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}

.band {
  margin: 0 7vw 70px;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--teal-deep);
  color: var(--ivory);
  min-height: 380px;
}
.band img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.band-copy { padding: 48px; }

.quote {
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
}
.quote p { font-family: var(--serif); font-size: 26px; line-height: 1.25; }

.footer {
  background: var(--teal-deep);
  color: #d9cbb0;
  padding: 48px 7vw 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer a { display: block; padding: 4px 0; opacity: 0.85; }
.footer .copy { margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; font-size: 13px; }

.page-hero {
  padding: 42px 7vw 10px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.chip.on { background: var(--teal-deep); color: var(--ivory); border-color: var(--teal-deep); }

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}
.side {
  background: var(--teal-deep);
  color: var(--ivory);
  padding: 24px 18px;
}
.side a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  opacity: 0.82;
  font-weight: 600;
  font-size: 14px;
}
.side a:hover, .side a.active { background: rgba(255,255,255,0.08); opacity: 1; }
.main { padding: 28px; }

.form {
  display: grid;
  gap: 12px;
}
label { font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
}
textarea { min-height: 110px; resize: vertical; }
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background:
    linear-gradient(180deg, rgba(7,46,44,0.35), rgba(7,46,44,0.72)),
    url("https://images.unsplash.com/photo-1632833239869-a37e3a5806d2?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: var(--ivory);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.auth-form { padding: 64px 8vw; background: var(--ivory); }

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.compare .box {
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  text-align: center;
}
.compare .box b { font-family: var(--serif); font-size: 42px; display: block; }
.vs {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
}
.table th, .table td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--sand);
}
.status.ok { background: #d7eee4; color: var(--ok); }
.status.warn { background: #f3e6c8; color: var(--warn); }
.status.bad { background: #f3d6d2; color: var(--bad); }

.video-stage {
  background: #071c1a;
  border-radius: 28px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.video-stage video {
  width: 100%;
  height: 520px;
  object-fit: cover;
  background: #000;
}
.pip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 180px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #fff;
}
.pip video { width: 100%; height: 100%; object-fit: cover; }
.call-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.phone-frame {
  width: 390px;
  max-width: 100%;
  margin: 0 auto;
  background: #111;
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.phone-screen {
  background: var(--ivory);
  border-radius: 32px;
  min-height: 720px;
  overflow: hidden;
}
.progress-item { display: flex; gap: 12px; padding: 12px 0; }
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

.notice {
  background: #efe7d4;
  border: 1px solid #e0d2ae;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}
.error { color: var(--bad); font-size: 14px; font-weight: 600; }
.demo-box {
  background: var(--sand);
  border-radius: 16px;
  padding: 14px;
  font-size: 13px;
}

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kanban-col { background: var(--sand); border-radius: 18px; padding: 12px; min-height: 280px; }
.kanban-col h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.kanban .mini { background: var(--paper); border-radius: 14px; padding: 12px; margin-bottom: 10px; font-size: 13px; }

.city-card { position: relative; height: 240px; border-radius: 24px; overflow: hidden; }
.city-card img { width: 100%; height: 100%; object-fit: cover; }
.city-card span {
  position: absolute;
  inset: auto 16px 16px 16px;
  color: white;
  font-family: var(--serif);
  font-size: 32px;
  text-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 36px; color: var(--gold); }

.menu-btn { display: none; background: none; border: 0; font-size: 22px; }

[dir="rtl"] body { font-family: "Noto Naskh Arabic", var(--font); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Noto Naskh Arabic", var(--serif); }

@media (max-width: 1024px) {
  .hero, .band, .auth-wrap, .layout, .compare, .packages, .grid-4, .grid-3, .stats, .steps, .kanban, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .layout { grid-template-columns: 1fr; }
  .side { display: flex; gap: 8px; overflow: auto; }
  .side a { white-space: nowrap; }
}
@media (max-width: 760px) {
  .site-header { padding: 12px 18px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--ivory);
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: block; }
  .hero, .band, .auth-wrap, .packages, .grid-4, .grid-3, .grid-2, .stats, .steps, .kanban, .footer-grid, .compare {
    grid-template-columns: 1fr;
  }
  .hero, .section, .page-hero, .stats, .band { padding-left: 18px; padding-right: 18px; margin-left: 18px; margin-right: 18px; }
  .hero { margin: 0; padding: 24px 18px; }
  .section { margin: 0; }
  .hero-visual, .hero-visual img { min-height: 280px; }
  .pkg.gold { transform: none; }
}
