/* Fonts are bundled (no third-party requests). Latin goes to Jakarta, Arabic to Plex. */
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --canvas: #f5f2eb;
  --surface: #ffffff;
  --ink: #14201c;
  --muted: #5d6964;
  --line: #e5e0d5;
  --green: #0e5a4b;
  --green-700: #0a4a3d;
  --green-900: #06342b;
  --green-50: #e7f2ed;
  --amber: #e09a25;
  --amber-700: #a86a0c;
  --amber-50: #fdf4e0;
  --wa: #1faa59;
  --danger: #b3402f;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(20,32,28,.06), 0 3px 10px rgba(20,32,28,.05);
  --sh-2: 0 2px 4px rgba(20,32,28,.05), 0 20px 44px -18px rgba(20,32,28,.28);
  --sh-3: 0 30px 70px -24px rgba(3,30,24,.55);
  --font: "Jakarta", "Plex Arabic", "Segoe UI", system-ui, -apple-system, Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--amber) 70%, transparent); outline-offset: 2px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo-mark {
  width: 30px; height: 34px; flex: none; position: relative;
  background: var(--amber); border-radius: 7px 7px 3px 3px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 83% 89%, 66% 100%, 50% 89%, 33% 100%, 17% 89%, 0 100%);
}
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; inset-inline: 7px; height: 3px; border-radius: 2px; background: var(--green-900); }
.logo-mark::before { top: 9px; }
.logo-mark::after { top: 16px; inset-inline-end: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 11px 22px; border: 0; border-radius: 12px;
  font-weight: 700; text-decoration: none; text-align: center; line-height: 1.2;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(14,90,75,.9); }
.btn-primary:hover { background: var(--green-700); }
.btn-amber { background: var(--amber); color: var(--green-900); box-shadow: 0 10px 24px -10px rgba(224,154,37,.9); }
.btn-amber:hover { background: #ecaa3c; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 18px -10px rgba(31,170,89,.9); }
.btn-wa:hover { background: #18934b; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; border-radius: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- language switch ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); flex: none; }
.seg button { border: 0; background: transparent; color: inherit; padding: 6px 13px; min-height: 32px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--green-900); }
.seg.light { background: #ece8de; }
.seg.light button[aria-pressed="true"] { box-shadow: var(--sh-1); color: var(--ink); }
