/* ── Brand tokens ── */
:root {
  --purple:      #796a8c;
  --purple-dark: #574d68;
  --purple-light:#f3f0f7;
  --sage:        #8c997a;
  --sage-light:  #f0f4ec;
  --sage-dark:   #5e6c4e;
  --text:        #1a1820;
  --text-2:      #4a4460;
  --border:      #ddd8e8;
  --bg:          #faf9fc;
  --white:       #ffffff;
  --radius:      10px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --shadow:      0 2px 20px rgba(121,106,140,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; color: var(--purple-dark); }
h3 { font-size: 1.1rem; margin-bottom: .5rem; }
p  { color: var(--text-2); }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: color .2s var(--ease);
}
.main-nav a:hover { color: var(--purple); text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex; gap: 2px;
  background: var(--purple-light);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600;
  color: var(--text-2);
  padding: 4px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.lang-btn.active {
  background: var(--white);
  color: var(--purple-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.menu-toggle {
  display: none;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--text);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  background: linear-gradient(150deg, var(--purple-light) 0%, var(--bg) 50%, var(--sage-light) 100%);
  overflow: hidden;
}
.hero-crescent {
  position: absolute;
  right: -80px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: transparent;
  box-shadow: -60px 0 0 -10px rgba(140,153,122,.18);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
  padding: 80px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.hero-logo { height: 64px; width: auto; }
h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--purple-dark);
  max-width: 580px;
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 520px;
  color: var(--text-2);
}
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: background .2s var(--ease), transform .15s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--purple-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── About ── */
.section-about {
  padding: 96px 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p + p { margin-top: .9rem; }

.about-aside { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; }
.aside-quote {
  background: var(--purple-light);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.arabic-quote {
  display: block;
  font-family: 'Scheherazade New', 'Amiri', serif;
  font-size: 1.2rem;
  color: var(--purple-dark);
  margin-bottom: 12px;
  direction: rtl;
  line-height: 2;
}
.aside-quote p { font-size: 13px; font-style: italic; }
.aside-tag {
  background: var(--sage-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px; color: var(--sage-dark);
  display: flex; flex-direction: column; gap: 4px;
}
.aside-tag strong { font-size: 15px; color: var(--text); }

/* ── Services ── */
.section-services {
  padding: 96px 0;
  background: var(--bg);
}
.section-services h2 { text-align: center; }
.section-intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sage);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s var(--ease), transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { font-size: 1.8rem; margin-bottom: 12px; }
.service-card h3 { color: var(--purple-dark); margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { font-size: 14px; }

/* ── Contact ── */
.section-contact {
  padding: 96px 0;
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 1rem; }
.contact-intro p + p { margin-top: .6rem; }
.contact-note { font-size: 13px; color: var(--sage-dark); }
.contact-intro address { margin-top: 1rem; font-style: normal; }
.contact-intro a { font-weight: 500; font-size: 15px; color: var(--purple); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: inherit; font-size: 15px;
  color: var(--text); background: var(--bg);
  transition: border-color .2s var(--ease);
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); }
.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
  align-self: flex-start;
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 12px 36px;
  border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.btn-submit:hover { background: var(--purple-dark); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-status { font-size: 14px; min-height: 1.2em; }
.form-status.success { color: #2d7a2d; }
.form-status.error   { color: #b03030; }

/* ── Footer ── */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { height: 32px; filter: brightness(0) invert(1); opacity: .8; }
.footer-brand p { font-size: 13px; opacity: .65; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,.6); font-size: 13px; transition: color .2s; }
.footer-nav a:hover { color: var(--white); text-decoration: none; }

.footer-copy { text-align: right; font-size: 12px; opacity: .45; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 24px; }

  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-aside { padding-top: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .hero-crescent { display: none; }
}
