:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --text: #111827;
  --muted: rgba(17, 24, 39, 0.72);
  --muted-2: rgba(17, 24, 39, 0.45);
  --navy: #082a5a;
  --navy-soft: rgba(8, 42, 90, 0.4);
  --gold: #b89a52;
  --gold-dark: #9a7d3a;
  --border: #e5e7eb;
  --shadow: 0 24px 48px rgba(8, 42, 90, 0.12);
  --radius: 6px;
  --container: 1180px;
  --header-offset: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

body[data-lang="ar"] {
  font-family: "Tajawal", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  background: var(--navy-soft);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 24px rgba(8, 42, 90, 0.1);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(8, 42, 90, 0.08);
}

.brand-mark {
  padding: 4px 8px;
}

.brand-mark img {
  height: 36px;
  width: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title,
.footer-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-header .brand-title {
  color: #fff;
  transition: color 0.25s ease;
}

.site-header.is-scrolled .brand-title {
  color: var(--navy);
}

.brand-sub {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.site-header.is-scrolled .desktop-nav a {
  color: var(--text);
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.contact-link:hover {
  color: var(--gold);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-toggle:hover,
.cta-link:hover {
  background: var(--gold-dark);
}

.lang-toggle svg,
.approach-icon svg,
.contact-icon svg,
.footer-location svg {
  width: 18px;
  height: 18px;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled .mobile-toggle span {
  background: var(--navy);
}

.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 auto;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(8, 42, 90, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.mobile-nav a {
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
}

.mobile-lang-toggle {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: rgba(8, 42, 90, 0.78);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow-pill {
  display: inline-block;
  padding: 10px 14px;
  margin-bottom: 32px;
  border: 1px solid rgba(184, 154, 82, 0.4);
  border-radius: 999px;
  background: rgba(184, 154, 82, 0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
  font-weight: 300;
}

.section {
  position: relative;
  scroll-margin-top: var(--header-offset);
  padding: 112px 0;
}

.section-light {
  background: var(--bg);
}

.section-white {
  background: var(--surface);
}

.section-label {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label-gold {
  color: var(--gold);
}

.section-label-blue {
  color: var(--navy);
}

.overview-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.overview-text,
.value-text,
.approach-text {
  margin: 0;
}

.overview-text {
  color: var(--navy);
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.55;
  font-weight: 500;
}

.overview-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.overview-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2,
.contact-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 38px);
  line-height: 1.25;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.service-card {
  height: 100%;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 42, 90, 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold);
  transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: #fff;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-list li:last-child {
  margin-bottom: 0;
}

.service-list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.value-section {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.value-visual,
.value-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.value-visual {
  inset-inline-start: 50%;
  opacity: 0.07;
}

.value-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.value-gradient {
  background: linear-gradient(90deg, var(--navy) 0%, rgba(8, 42, 90, 0.96) 60%, rgba(8, 42, 90, 0) 100%);
}

.value-content {
  position: relative;
  z-index: 1;
}

.value-content > div {
  max-width: 780px;
}

.value-text {
  margin-bottom: 40px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.45;
  font-weight: 300;
}

.value-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
}

.approach-shell {
  max-width: 820px;
  text-align: center;
}

.approach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.approach-text {
  color: #4b5563;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.6;
  font-weight: 500;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold);
  flex: 0 0 auto;
}

.contact-kicker {
  margin: 0 0 4px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value,
.contact-link {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-link {
  color: var(--navy);
  transition: color 0.2s ease;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 24px 48px rgba(8, 42, 90, 0.2);
}

.contact-card-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  padding: 14px 24px;
  border-radius: 4px;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}

.cta-arrow {
  transition: transform 0.2s ease;
}

.cta-link:hover .cta-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .cta-link:hover .cta-arrow {
  transform: translateX(-4px);
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding-top: 56px;
  padding-bottom: 32px;
}

.footer-shell,
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-shell {
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark {
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-mark img {
  height: 56px;
  width: auto;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-location svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 {
  transition-delay: 0.08s;
}

.fade-delay-2 {
  transition-delay: 0.16s;
}

@media (max-width: 960px) {
  .desktop-nav,
  .brand-copy {
    display: none;
  }

  .mobile-toggle,
  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 88vh;
  }

  .section {
    padding: 88px 0;
  }

  .overview-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .overview-image {
    order: 2;
  }

  .value-visual {
    inset-inline-start: 25%;
  }

  .footer-shell,
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero h1 {
    font-size: 44px;
  }

  .overview-text,
  .value-text,
  .approach-text {
    font-size: 24px;
  }

  .contact-card,
  .service-card {
    padding: 28px;
  }
}

[dir="rtl"] .desktop-nav,
[dir="rtl"] .brand,
[dir="rtl"] .contact-item,
[dir="rtl"] .footer-brand,
[dir="rtl"] .footer-location {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-meta {
  align-items: flex-start;
}
