:root {
  --forest: #12261c;
  --green: #1c3d2c;
  --leaf: #2f5a41;
  --cream: #f6f1e8;
  --sand: #e8dcc8;
  --paper: #fffdf8;
  --ink: #17201b;
  --muted: #5d665f;
  --line: rgba(18, 38, 28, 0.12);
  --shadow: 0 24px 60px rgba(18, 38, 28, 0.12);
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.hero {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Outfit", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: "IBM Plex Sans Arabic", "Outfit", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: "Amiri", "Cormorant Garamond", serif;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0.06em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--leaf);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 241, 232, 0.4);
}

.btn-ghost:hover {
  background: rgba(246, 241, 232, 0.1);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 34px;
  height: 42px;
  object-fit: cover;
  object-position: top center;
}

.brand span {
  display: grid;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.25;
}

.brand strong {
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--forest);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--forest);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(18, 38, 28, 0.18) 0%, rgba(18, 38, 28, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 72px 80px;
  color: var(--cream);
}

.hero .eyebrow {
  color: var(--sand);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

html[lang="ar"] .hero h1,
html[lang="ar"] .about-copy h2,
html[lang="ar"] .section-head h2,
html[lang="ar"] .clients h2,
html[lang="ar"] .contact h2 {
  max-width: 11em;
}

.hero .lede {
  max-width: 38rem;
  margin-top: 22px;
  color: rgba(246, 241, 232, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.stats {
  background: var(--forest);
  color: var(--cream);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 36px;
}

.stats article {
  display: grid;
  gap: 6px;
}

.stats strong {
  font-family: "Cormorant Garamond", "Amiri", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

html[lang="ar"] .stats strong {
  font-family: "Amiri", serif;
}

.stats span {
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.92rem;
}

.about,
.services,
.approach,
.clients,
.contact {
  padding-block: 96px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-copy h2,
.section-head h2,
.clients h2,
.contact h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 14ch;
}

.about-copy > p {
  max-width: 42rem;
  margin-top: 18px;
  color: var(--muted);
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.split-cards article,
.value-grid article,
.service,
.contact-cards a,
.contact-cards .place {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.split-cards h3,
.service h3,
.value-grid h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.split-cards p,
.service p,
.value-grid p,
.clients-copy,
.contact p {
  color: var(--muted);
}

.about-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 28px;
}

.about-photo figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow);
}

.service img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 55%;
}

.service div {
  padding: 22px;
}

.approach {
  background: #efe7d8;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-grid article:nth-child(4),
.value-grid article:nth-child(5) {
  min-height: 100%;
}

.value-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--leaf);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.clients h2 {
  margin-bottom: 16px;
}

.clients-copy {
  max-width: 44rem;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.client-list li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.92rem;
}

.contact {
  background: var(--forest);
  color: var(--cream);
}

.contact .eyebrow,
.contact p {
  color: rgba(246, 241, 232, 0.72);
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-cards a,
.contact-cards .place {
  display: grid;
  gap: 6px;
  background: rgba(246, 241, 232, 0.06);
  border-color: rgba(246, 241, 232, 0.12);
  color: var(--cream);
}

.contact-cards a:hover {
  background: rgba(246, 241, 232, 0.12);
}

.contact-cards small {
  color: rgba(246, 241, 232, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cards strong {
  font-weight: 500;
}

.site-footer {
  background: #0d1b14;
  color: rgba(246, 241, 232, 0.72);
  padding-block: 48px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.footer-inner img {
  height: 92px;
  border-radius: 16px;
}

.legal {
  font-size: 0.85rem;
  color: rgba(246, 241, 232, 0.45);
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 16px 24px 22px;
    background: rgba(246, 241, 232, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 14px;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .stats-grid,
  .about-grid,
  .contact-grid,
  .split-cards,
  .service-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-photo img {
    height: 420px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1160px, calc(100% - 28px));
  }

  .hero-content,
  .about,
  .services,
  .approach,
  .clients,
  .contact {
    padding-block: 64px;
  }

  .stats-grid,
  .about-grid,
  .contact-grid,
  .split-cards,
  .service-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .about-photo img,
  .service img {
    height: 280px;
  }
}
