/* ضاني – shared styles
   Brand colours: olive #3C4029, gold #B18852, brown #5A4A3B, cream #F7EDE3, sand #D9C4A8
   Rules: text on cream = olive/brown (gold only for large headlines/decoration)
          text on olive = cream (gold OK for large text, sand for light accents)
          never brown on olive. No red / bright colours. */

:root {
  --olive: #3C4029;
  --olive-2: #4a4f33;
  --gold: #B18852;
  --brown: #5A4A3B;
  --cream: #F7EDE3;
  --sand: #D9C4A8;
  --radius: 14px;
  --head: 'Lalezar', 'Tajawal', system-ui, sans-serif;
  --body: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--olive);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Brand pieces ---------- */
.mark { color: var(--gold); width: 112px; height: auto; margin-inline: auto; }
.wordmark {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--body); font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-olive:hover { background: var(--olive-2); }
.btn-outline { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn-outline:hover { background: rgba(60, 64, 41, .07); }
.btn-cream { background: var(--cream); color: var(--olive); }
.btn-cream:hover { background: #fff6ee; }
.btn-outline-cream { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline-cream:hover { background: rgba(247, 237, 227, .1); }

/* ---------- Contact cards (both pages) ---------- */
.contacts { display: grid; gap: 14px; }
.contact {
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, .35);
}
.contact-name { font-weight: 700; font-size: 19px; color: var(--olive); }
.contact-number { font-size: 18px; color: var(--brown); font-weight: 500; letter-spacing: .5px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.contact-actions .btn { width: 100%; padding-inline: 12px; }

/* =========================================================
   /social-media  (link page the QR code opens)
   ========================================================= */
.links-page { min-height: 100vh; min-height: 100svh; }
.links {
  max-width: 480px; margin: 0 auto;
  padding: 40px 20px 32px;
}
.links .brand { text-align: center; margin-bottom: 30px; }
.links .wordmark { font-size: clamp(76px, 24vw, 104px); color: var(--olive); margin-top: 8px; }
.links .tagline { color: var(--brown); font-weight: 500; font-size: 17px; margin-top: 6px; }
.links .slogan { font-family: var(--head); color: var(--gold); font-size: 27px; line-height: 1.3; margin-top: 4px; }

.section-title {
  font-family: var(--head); font-weight: 400;
  font-size: 24px; color: var(--olive);
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 12px;
}
.section-title::before, .section-title::after {
  content: ""; flex: 1; height: 1.5px; background: var(--sand);
}

.link-list { display: grid; gap: 12px; }
.link-btn {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 12px 18px;
  background: var(--olive); color: var(--cream);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.link-btn:hover { background: var(--olive-2); }
.link-btn:active { transform: scale(.985); }
.link-btn .label { font-weight: 700; font-size: 19px; }
.link-btn .meta { color: var(--sand); font-size: 15px; margin-inline-start: auto; }
.link-btn .chev { width: 18px; height: 18px; color: var(--gold); flex: none; }

.info { text-align: center; color: var(--brown); margin-top: 28px; font-size: 16px; }
.info p { display: flex; align-items: center; justify-content: center; gap: 6px; }
.info svg { width: 18px; height: 18px; color: var(--gold); }
.info .site { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--olive); text-decoration: none; border-bottom: 1.5px solid var(--gold); }

/* =========================================================
   Home page
   ========================================================= */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

.topbar { background: var(--olive); color: var(--cream); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.topbar .logo { font-family: var(--head); font-size: 34px; line-height: 1; text-decoration: none; color: var(--cream); }
.topbar nav { display: flex; gap: 22px; font-weight: 500; }
.topbar nav a { text-decoration: none; color: var(--sand); }
.topbar nav a:hover { color: var(--cream); }
.topbar nav a.nav-cta { color: var(--cream); border-bottom: 2px solid var(--gold); }

.hero { background: var(--olive); color: var(--cream); text-align: center; padding: 40px 0 72px; }
.hero .wordmark { font-size: clamp(96px, 22vw, 168px); color: var(--cream); margin-top: 10px; }
.hero .kicker { color: var(--sand); font-weight: 500; font-size: 18px; margin-top: 8px; }
.hero .lead { font-family: var(--head); color: var(--gold); font-size: clamp(26px, 4.6vw, 38px); line-height: 1.35; max-width: 720px; margin: 16px auto 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

.section { padding: 64px 0; }
.section h2 { font-family: var(--head); font-weight: 400; font-size: clamp(30px, 5vw, 42px); line-height: 1.25; color: var(--olive); }
.section .sub { color: var(--brown); font-size: 18px; margin-top: 8px; }
.section p.body { color: var(--brown); font-size: 18px; max-width: 680px; margin-top: 14px; }
.quote { font-family: var(--head); color: var(--gold); font-size: clamp(26px, 4vw, 34px); line-height: 1.3; margin-top: 22px; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about .art { color: var(--gold); width: 100%; max-width: 320px; justify-self: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.card { border: 1.5px solid var(--sand); border-radius: var(--radius); padding: 24px 22px; background: rgba(255, 255, 255, .35); }
.card .num { font-family: var(--head); color: var(--gold); font-size: 30px; line-height: 1; }
.card h3 { font-family: var(--head); font-weight: 400; font-size: 26px; color: var(--olive); margin-top: 10px; }
.card p { color: var(--brown); margin-top: 6px; }
.note { margin-top: 22px; color: var(--olive); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.note svg { width: 22px; height: 22px; color: var(--gold); }

.band { background: var(--olive); color: var(--cream); }
.band h2 { color: var(--cream); }
.band p.body { color: var(--cream); }
.band .strong { font-family: var(--head); color: var(--gold); font-size: clamp(26px, 4vw, 34px); margin-top: 18px; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-side p { color: var(--brown); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.contact-side svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.contact-side .btn { margin-top: 22px; }

.footer { background: var(--olive); color: var(--sand); text-align: center; padding: 28px 0; font-size: 15px; }
.footer .wordmark { color: var(--cream); font-size: 34px; }
.footer a { color: var(--cream); }

@media (max-width: 760px) {
  .topbar nav { gap: 14px; font-size: 15px; }
  .topbar nav .hide-sm { display: none; }
  .about, .contact-wrap { grid-template-columns: 1fr; gap: 26px; }
  .about .art { max-width: 220px; order: -1; }
  .section { padding: 48px 0; }
}

/* 404 */
.notfound { max-width: 480px; margin: 0 auto; padding: 72px 20px; text-align: center; }
.notfound .wordmark { font-size: 88px; color: var(--olive); }
.notfound p { color: var(--brown); font-size: 18px; margin: 12px 0 24px; }
.notfound .actions { display: flex; flex-direction: column; gap: 12px; }
