:root {
  --ivory: #FAF6EF;
  --ivory-2: #F1E9DC;
  --ink: #2B2620;
  --ink-soft: #6B6055;
  --green: #34503C;
  --green-dark: #223328;
  --terracotta: #C1785A;
  --line: rgba(43, 38, 32, 0.12);
  --font-body-ar: 'Tajawal', sans-serif;
  --font-body-en: 'Jost', sans-serif;
  --font-display-ar: 'El Messiri', serif;
  --font-display-en: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body-ar);
  line-height: 1.6;
}
body.lang-en { font-family: var(--font-body-en); }

h1, h2, .brand-en, .footer-brand-en { font-family: var(--font-display-ar); }
body.lang-en h1, body.lang-en h2 { font-family: var(--font-display-en); }
.brand-en, .footer-brand-en { font-family: var(--font-display-en); }
.brand-ar, .footer-brand-ar { font-family: var(--font-display-ar); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--terracotta); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1.15; color: var(--ink); }
.brand-en { font-size: 22px; letter-spacing: 0.03em; font-weight: 600; }
.brand-ar { font-size: 15px; color: var(--terracotta); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 36px); flex-wrap: wrap; row-gap: 10px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); }
.lang-toggle {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--green);
  background: transparent; color: var(--green-dark); font-size: 14px; font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle:hover { background: var(--green); color: var(--ivory); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 148px) clamp(20px, 5vw, 64px) clamp(56px, 9vw, 104px); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 900px; margin: 0 auto; }
.eyebrow { font-size: 14px; letter-spacing: 0.06em; color: var(--terracotta); font-weight: 600; }
.hero h1 { margin: 0; font-size: clamp(46px, 8vw, 92px); color: var(--green-dark); font-weight: 600; line-height: 1.05; }
.hero p { max-width: 620px; margin: 0; font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); line-height: 1.75; }
.btn-primary {
  margin-top: 8px; padding: 14px 34px; border-radius: 999px; background: var(--green);
  color: var(--ivory); font-size: 15px; font-weight: 600; display: inline-block;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--green-dark); color: var(--ivory); }

.decor-branch { position: absolute; top: 10px; width: 180px; height: 320px; opacity: 0.18; pointer-events: none; }
.decor-left { left: -40px; }
.decor-right { right: -40px; top: 50px; transform: scaleX(-1); }
@media (max-width: 680px) { .decor-branch { display: none; } }

/* About */
.about-section { padding: 72px clamp(20px, 5vw, 64px) 96px; display: flex; justify-content: center; }
.about-inner { max-width: 760px; display: flex; flex-direction: column; gap: 18px; text-align: center; }
.about-inner h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); color: var(--green-dark); font-weight: 600; }
.about-inner p { margin: 0; font-size: 17px; line-height: 1.9; color: var(--ink-soft); }

/* Details */
.details-section { padding: 0 clamp(20px, 5vw, 64px) 112px; display: flex; justify-content: center; }
.details-inner { width: 100%; max-width: 1080px; display: flex; flex-direction: column; gap: 32px; }
.details-inner > h2 { margin: 0; text-align: center; font-size: clamp(26px, 3.4vw, 36px); color: var(--green-dark); font-weight: 600; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 680px) { .details-grid { grid-template-columns: 1fr; } }
.detail-card { display: flex; gap: 16px; align-items: flex-start; padding: 28px; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; }
.detail-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--ivory-2); color: var(--green); display: flex; align-items: center; justify-content: center; }
.detail-text { display: flex; flex-direction: column; gap: 4px; }
.detail-label { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.detail-value { font-size: 17px; font-weight: 600; color: var(--ink); }

/* Footer */
.site-footer { padding: 40px clamp(20px, 5vw, 64px) 48px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-brand-en { font-size: 20px; color: var(--green-dark); font-weight: 600; }
.footer-brand-ar { color: var(--terracotta); font-size: 16px; font-weight: 600; }
.footer-tagline { font-size: 14px; color: var(--ink-soft); }
.footer-links { display: flex; gap: 20px; margin-top: 6px; }
.footer-links a { font-size: 13px; color: var(--ink-soft); }
.footer-copy { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

/* Legal pages */
.legal-hero { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) 48px; display: flex; justify-content: center; }
.legal-hero-inner { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal-hero-inner h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); color: var(--green-dark); font-weight: 600; }
.legal-updated { margin: 0; font-size: 15px; color: var(--ink-soft); }
.legal-intro { margin: 8px 0 0; font-size: 17px; line-height: 1.85; color: var(--ink-soft); }

.legal-body { padding: 0 clamp(20px, 5vw, 64px) 96px; display: flex; justify-content: center; }
.legal-body-inner { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.legal-item h2 { margin: 0 0 8px; font-size: 22px; color: var(--green-dark); font-weight: 600; }
.legal-item p { margin: 0; font-size: 16px; line-height: 1.85; color: var(--ink-soft); }
