:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #52b788;
  --mint: #e8f5ee;
  --bg: #f5f7f5;
  --ink: #14261d;
  --muted: #5a6b62;
  --card: #ffffff;
  --line: #dfe8e2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 38, 29, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Cairo", "Segoe UI", Tahoma, system-ui, -apple-system, "Noto Sans Arabic", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: #fffaf3 url("assets/logo.png") 50% 36% / 215% no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--primary); }
.lang {
  font: inherit; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--primary); color: var(--primary); background: transparent;
  border-radius: 999px; padding: 6px 16px;
}
.lang:hover { background: var(--primary); color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(82, 183, 136, 0.35), transparent 60%),
    linear-gradient(160deg, #f1faf5 0%, var(--bg) 60%);
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 700; margin: 0 0 8px; letter-spacing: 0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; margin: 0 0 16px; color: var(--primary-dark); text-wrap: balance; }
h2, h3 { text-wrap: balance; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px; min-width: 176px;
}
.store svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 0.72rem; opacity: 0.85; }
.store strong { font-size: 1.05rem; }
.store.is-soon { opacity: 0.88; cursor: default; pointer-events: none; }
.store.light { background: #fff; color: var(--primary-dark); }
.store.is-live { opacity: 1; cursor: pointer; pointer-events: auto; }

/* Phones */
.phone {
  border-radius: 34px; padding: 9px; background: #101a15;
  box-shadow: var(--shadow), inset 0 0 0 2px #26352c;
}
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; background: #fff; }
figure { margin: 0; }

.hero-phones { position: relative; min-height: 520px; }
.hero-phones .phone { position: absolute; width: min(250px, 52%); }
.phone-back { inset-inline-start: 4%; top: 36px; transform: rotate(-4deg); z-index: 1; }
.phone-front { inset-inline-end: 4%; top: 0; transform: rotate(3deg); z-index: 2; }
[dir="rtl"] .phone-back { transform: rotate(4deg); }
[dir="rtl"] .phone-front { transform: rotate(-3deg); }
.phone-back, .phone-front { background: #101a15; border-radius: 34px; padding: 9px; box-shadow: var(--shadow), inset 0 0 0 2px #26352c; }
.phone-back img, .phone-front img { border-radius: 26px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; color: var(--primary-dark); text-align: center; }
.muted { color: var(--muted); text-align: center; margin: 0 0 32px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 2px 10px rgba(20, 38, 29, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--mint); font-size: 1.6rem; margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--primary); }
.card p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 min(230px, 62vw); scroll-snap-align: center; text-align: center; }
.shot figcaption { margin-top: 12px; font-weight: 700; color: var(--primary); }
@media (min-width: 1100px) {
  .gallery { justify-content: center; overflow: visible; gap: 20px; }
  .shot { flex: 0 1 196px; }
}

/* Finance spotlight */
.spot { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.spot h2 { text-align: start; }
.spot-phones .phone { width: min(260px, 100%); margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 34px; color: var(--muted); font-size: 1.05rem; }
.ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}

/* CTA */
.cta { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { margin: 0 auto 26px; opacity: 0.9; max-width: 34em; }

/* Footer */
.site-footer { background: #0f1f17; color: #b9c9bf; padding: 22px 0; font-size: 0.95rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .spot { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-phones { min-height: 470px; order: 2; }
  .nav { display: none; }
  .lang { margin-inline-start: auto; }
  .spot h2 { text-align: center; }
}
