/* Fawwah: shared tokens, nav, buttons, forms, footer. Wine, gold and cream from their flyers. */
:root {
  --night: #12040a;
  --wine-9: #1e0610;
  --wine-8: #2e0918;
  --wine: #5c0f24;
  --wine-5: #7d1a33;
  --rose: #e8b4bc;
  --cream: #f7efe4;
  --cream-2: #efe2d0;
  --sand: #d9c3a3;
  --gold: #d4af62;
  --gold-hi: #f6dfa1;
  --gold-lo: #9a7432;
  --ink: #2a1016;
  --muted: rgba(247, 239, 228, .62);
  --line: rgba(212, 175, 98, .22);
  --gold-grad: linear-gradient(100deg, #9a7432 0%, #d4af62 22%, #f6dfa1 45%, #d4af62 62%, #b48a3c 82%, #f0d48e 100%);
  --ar-display: "El Messiri", "Noto Naskh Arabic", serif;
  --ar-body: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --ar-callig: "Aref Ruqaa", "El Messiri", serif;
  --en-display: "Cormorant Garamond", Georgia, serif;
  --en-body: "Jost", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --display: var(--ar-display);
  --body: var(--ar-body);
  --r: 22px;
  color-scheme: dark;
}
html[lang="en"] { --display: var(--en-display); --body: var(--en-body); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font-family: var(--body); font-size: 16px; line-height: 1.75; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.6; letter-spacing: .01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--night); }

.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 44px); transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.solid { background: rgba(18, 4, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 10px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 40px; }
.brand b { font-family: var(--ar-callig); font-size: 30px; font-weight: 700; line-height: 1; }
.brand small { display: block; font-family: var(--en-display); letter-spacing: .32em; font-size: 10px; color: var(--gold); margin-top: 2px; }
.nav .links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav .links a { text-decoration: none; font-size: 15px; opacity: .82; transition: opacity .2s, color .2s; }
.nav .links a:hover { opacity: 1; color: var(--gold-hi); }
.lang {
  border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 6px 14px; cursor: pointer;
  font-family: var(--en-body); font-size: 13px; letter-spacing: .08em; color: var(--gold-hi);
}
.lang:hover { border-color: var(--gold); }
@media (max-width: 900px) { .nav .links { display: none; } .nav .lang { margin-inline-start: auto; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold-grad);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 99px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--bg); background-size: 200% 100%; color: #2a0b12; font-weight: 600; font-size: 16px;
  box-shadow: 0 10px 40px -10px rgba(212, 175, 98, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .25s, box-shadow .25s, background-position .6s; white-space: nowrap;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(212, 175, 98, .7); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid rgba(247, 239, 228, .35); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn.wine { background: var(--wine); color: var(--cream); box-shadow: 0 10px 40px -12px rgba(125, 26, 51, .9); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 14px; letter-spacing: .04em;
}
html[lang="en"] .eyebrow { letter-spacing: .28em; text-transform: uppercase; font-size: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.15; margin: 14px 0 18px; }
html[lang="en"] .h2 { font-weight: 500; line-height: 1.02; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(247, 239, 228, .16);
  background: rgba(255, 255, 255, .04); color: var(--cream); font: inherit; font-size: 16px; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: left 18px center, left 12px center; }
html[lang="en"] select.input { background-position: right 12px center, right 18px center; }
select.input option { background: var(--wine-9); color: var(--cream); }
.input:focus { border-color: var(--gold); background: rgba(212, 175, 98, .06); box-shadow: 0 0 0 4px rgba(212, 175, 98, .12); }
.input.bad, .bad .input { border-color: #ff8a8a; box-shadow: 0 0 0 4px rgba(255, 120, 120, .14); }
textarea.input { min-height: 96px; resize: vertical; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 46px 0 110px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-hi); }
.foot .social { display: flex; gap: 18px; }

/* Mobile bottom bar */
.dock {
  position: fixed; inset: auto 12px 12px; z-index: 60; display: none; gap: 10px; padding: 8px;
  border-radius: 99px; background: rgba(30, 6, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); transform: translateY(140%); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.dock.on { transform: none; }
.dock .btn { flex: 1; padding: 13px 16px; font-size: 15px; }
.dock .wa { flex: 0 0 50px; padding: 0; height: 48px; border-radius: 99px; background: #1f9e5a; color: #fff; box-shadow: none; }
@media (max-width: 760px) { .dock { display: flex; } }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  background: var(--cream); color: var(--ink); padding: 12px 20px; border-radius: 14px; font-size: 15px;
  transition: .3s; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
