:root {
  --bg: #f7f2e7;
  --card: #ffffff;
  --ink: #1b2b25;
  --muted: #566860;
  --green: #0f4c3a;
  --deep: #0a3326;
  --tint: #e3eee7;
  --gold: #8a6420;
  --gold-soft: #d9b26a;
  --line: #e2daca;
  --shadow: 0 10px 30px rgba(15, 76, 58, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Naskh Arabic", "Traditional Arabic", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1713;
    --card: #14221c;
    --ink: #f1ead9;
    --muted: #a5b5ad;
    --tint: #19302a;
    --gold: #d9b26a;
    --line: #25382f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
body { overflow-x: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #f6efdc;
  background:
    url("img/pattern.svg") center top / 120px 120px,
    radial-gradient(1200px 600px at 80% -10%, #1b6a52 0%, transparent 60%),
    linear-gradient(160deg, #0f4c3a 0%, #0a3326 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 70px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.3px;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.lang {
  text-decoration: none;
  font-size: 15px;
  padding: 8px 16px;
  border: 1px solid rgba(246, 239, 220, 0.4);
  border-radius: 999px;
}
.lang:hover { background: rgba(246, 239, 220, 0.12); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-block: 40px 130px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(217, 178, 106, 0.16);
  color: var(--gold-soft);
  border: 1px solid rgba(217, 178, 106, 0.45);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.1;
  margin: 22px 0 18px;
}
h1 em { font-style: normal; color: var(--gold-soft); }
.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 34em; color: rgba(246, 239, 220, 0.88); margin: 0 0 28px; }
.soon-note { font-size: 15px; color: rgba(246, 239, 220, 0.7); }

/* ---------- phone ---------- */
.phone {
  width: min(290px, 70vw);
  aspect-ratio: 780 / 1688;
  border-radius: 40px;
  border: 9px solid #0b1612;
  background: #0b1612;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  flex: none;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero .phone { margin-inline: auto; rotate: 3deg; }
[dir="rtl"] .hero .phone { rotate: -3deg; }

/* ---------- sections ---------- */
section { padding-block: 72px; }
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 13px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 8px 0 14px;
  font-weight: 600;
}
.sub { color: var(--muted); max-width: 40em; margin: 0 0 36px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--tint);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.card .ico svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .card .ico svg { stroke: var(--gold-soft); } }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* promises */
.promises {
  background: var(--green);
  color: #f6efdc;
  background-image: url("img/pattern.svg");
  background-size: 120px 120px;
}
.promises h2 { color: #fff; }
.promises .sub { color: rgba(246, 239, 220, 0.8); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.promise {
  border: 1px solid rgba(217, 178, 106, 0.35);
  border-radius: 18px;
  padding: 22px;
  background: rgba(10, 51, 38, 0.55);
}
.promise b { display: block; font-family: var(--serif); font-size: 21px; color: var(--gold-soft); margin-bottom: 4px; }
.promise span { font-size: 15.5px; color: rgba(246, 239, 220, 0.85); }

/* screens */
.screens {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 20px 36px;
  scrollbar-width: thin;
}
.screens figure { margin: 0; scroll-snap-align: center; text-align: center; }
.screens figcaption { margin-top: 14px; font-weight: 600; }
.screens .phone { border-color: #16231d; box-shadow: var(--shadow); }
.screens-wrap { padding-inline: 0; }

/* languages */
.langs { display: flex; flex-wrap: wrap; gap: 12px; }
.langs span {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 18px;
}

/* final */
.final { text-align: center; }
.final .box {
  background: linear-gradient(160deg, var(--green), var(--deep));
  color: #f6efdc;
  border-radius: 28px;
  padding: 56px 24px;
  box-shadow: var(--shadow);
}
.final h2 { color: #fff; }
.final p { max-width: 34em; margin: 0 auto 22px; color: rgba(246, 239, 220, 0.85); }
footer { padding-block: 36px 48px; color: var(--muted); font-size: 14.5px; text-align: center; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; padding-bottom: 110px; }
  .lead { margin-inline: auto; }
  .hero .phone { rotate: 0deg; }
  section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill::before { animation: none; }
}
