@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --logo-navy: #05111d;
  --navy: #0b1730;
  --navy-deep: #07101f;
  --royal: #16294f;
  --sapphire: #244179;
  --steel: #7e8a97;
  --platinum: #c7ced6;
  --frost: #eef1f5;
  --bone: #e7ddc8;
  --paper: #f7f5f0;
  --ink: #101b2e;
  --muted: #5e6978;
  --line: rgba(11, 23, 48, .14);
  --white: #fbfaf7;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', 'Segoe UI', sans-serif;
  --shadow: 0 18px 55px rgba(7, 16, 31, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-deep); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--navy-deep);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 17px clamp(20px, 5vw, 76px);
  color: var(--bone);
  background: var(--logo-navy);
  border-bottom: 1px solid rgba(231, 221, 200, .12);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo {
  display: block;
  width: 154px;
  height: auto;
  border-radius: 2px;
}
nav { display: flex; gap: clamp(16px, 2.2vw, 32px); font-size: 12px; }
nav a { position: relative; padding: 11px 0; color: rgba(251, 250, 247, .72); transition: color .25s ease; }
nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: '';
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
nav a:hover, nav a:focus-visible { color: var(--bone); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn, .menu-btn {
  border: 1px solid rgba(231, 221, 200, .4);
  border-radius: 999px;
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.lang-btn { padding: 9px 14px; font-size: 12px; }
.lang-btn:hover, .menu-btn:hover { background: rgba(231, 221, 200, .11); border-color: var(--bone); }
.menu-btn { display: none; width: 39px; height: 39px; padding: 0; }
.menu-btn span, .menu-btn::before, .menu-btn::after {
  display: block;
  width: 15px;
  height: 1px;
  margin: 4px auto;
  content: '';
  background: var(--bone);
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(40px, 8vw, 135px);
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 10vw, 138px) clamp(20px, 9vw, 138px) clamp(66px, 8vw, 112px);
  color: var(--white);
  background:
    radial-gradient(circle at 87% 15%, rgba(36, 65, 121, .55), transparent 31%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 59%, #142f60);
}
.hero::before {
  position: absolute;
  top: 0;
  right: 9%;
  bottom: 0;
  width: 1px;
  content: '';
  background: linear-gradient(transparent, rgba(231, 221, 200, .2), transparent);
}
.hero::after {
  position: absolute;
  right: -9%;
  bottom: -42%;
  width: 65vw;
  aspect-ratio: 1;
  border: 1px solid rgba(231, 221, 200, .1);
  border-radius: 50%;
  content: '';
}
.hero-copy, .hero-graphic { position: relative; z-index: 1; }
.eyebrow {
  margin-bottom: 19px;
  color: var(--sapphire);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
}
.hero .eyebrow { color: var(--bone); opacity: .75; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; }
h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(54px, 7.4vw, 106px);
  line-height: .91;
}
h2 { margin-bottom: 24px; font-size: clamp(39px, 5vw, 69px); line-height: .98; }
.hero-copy > p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(251, 250, 247, .71);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { color: var(--navy); background: var(--bone); }
.primary:hover { background: #f0e9db; }
.ghost { border-color: rgba(231, 221, 200, .34); color: var(--bone); background: transparent; }
.ghost:hover { border-color: var(--bone); background: rgba(231, 221, 200, .08); }
.hero-graphic { max-width: 500px; width: 100%; justify-self: end; }
.hero-card {
  position: relative;
  aspect-ratio: .88;
  overflow: hidden;
  border: 1px solid rgba(231, 221, 200, .2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), transparent 56%),
    rgba(255, 255, 255, .025);
}
.hero-card::before, .hero-card::after {
  position: absolute;
  width: 14px;
  height: 14px;
  content: '';
  border-color: var(--bone);
  border-style: solid;
  opacity: .7;
}
.hero-card::before { top: 17px; left: 17px; border-width: 1px 0 0 1px; }
.hero-card::after { right: 17px; bottom: 17px; border-width: 0 1px 1px 0; }
.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .96;
}
.hero-card::after {
  z-index: 2;
}
.hero-card::before {
  z-index: 2;
}
.monogram {
  position: absolute;
  color: rgba(231, 221, 200, .13);
  font-family: var(--display);
  font-size: clamp(130px, 18vw, 230px);
  line-height: 1;
}
.hero-card p, .hero-card strong { position: relative; z-index: 2; text-align: center; }
.hero-card p {
  align-self: end;
  margin-bottom: 9px;
  color: var(--bone);
  font-size: clamp(18px, 2vw, 25px);
}
.hero-card strong {
  align-self: start;
  color: rgba(231, 221, 200, .78);
  font-size: 10px;
  letter-spacing: .18em;
}
.hero-index {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  bottom: 28px;
  color: rgba(231, 221, 200, .5);
  font-size: 10px;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}

.section { padding: clamp(74px, 9vw, 132px) clamp(20px, 9vw, 138px); }
.about-section { background: var(--paper); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: clamp(38px, 8vw, 128px);
  align-items: end;
}
.split > p {
  max-width: 610px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}
.stat { min-height: 118px; padding: 24px 26px; background: var(--paper); }
.stat strong { display: block; margin-bottom: 8px; color: var(--navy); font-family: var(--display); font-size: 38px; font-weight: 400; }
.stat span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.services-section { color: var(--white); background: var(--royal); }
.services-section .eyebrow { color: var(--bone); }
.services-section h2 { max-width: 580px; }
.services-intro { max-width: 510px; color: rgba(251, 250, 247, .62); line-height: 1.75; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(231, 221, 200, .22);
  border-bottom: 1px solid rgba(231, 221, 200, .22);
}
.cards article {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border-right: 1px solid rgba(231, 221, 200, .22);
  transition: background-color .35s ease;
}
.cards article:nth-child(3n) { border-right: 0; }
.cards article:nth-child(n+4) { border-top: 1px solid rgba(231, 221, 200, .22); }
.cards article:hover { background: rgba(231, 221, 200, .07); }
.cards span { color: var(--bone); font-size: 10px; letter-spacing: .16em; opacity: .72; }
.cards h3 {
  position: absolute;
  right: 26px;
  bottom: 27px;
  left: 26px;
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}
.cards h3::after { display: block; width: 25px; height: 1px; margin-top: 18px; content: ''; background: var(--bone); opacity: .65; }

.contact-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(38px, 8vw, 128px);
  color: var(--white);
  background: var(--navy-deep);
}
.contact-section .eyebrow { color: var(--bone); }
.contact-section h2 { margin-bottom: 0; color: var(--white); }
.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid rgba(231, 221, 200, .24);
}
.contact-links a {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(231, 221, 200, .2);
  color: var(--white);
  transition: color .25s ease, padding .25s ease;
}
.contact-links a::after { content: '↗'; color: var(--steel); font-size: 14px; transition: transform .25s ease; }
.contact-links a:hover { padding-inline-start: 8px; color: var(--bone); }
.contact-links a:hover::after { transform: translate(3px, -3px); }
.contact-links span { color: rgba(231, 221, 200, .68); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.contact-links strong { color: rgba(251, 250, 247, .9); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.contact-number { direction: ltr; unicode-bidi: isolate; text-align: left; }
.contact-links a:nth-child(-n+2) { grid-column: 1 / -1; }
.contact-links a:nth-child(-n+2) strong { white-space: nowrap; }
.contact-links a:last-child { grid-column: 1 / -1; }
.whatsapp-icon-link {
  display: flex !important;
  min-height: 72px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.whatsapp-icon-link::after { display: none; }
.whatsapp-icon {
  display: inline-grid !important;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(37, 211, 102, .55);
  border-radius: 50%;
  color: #25d366 !important;
  background: rgba(37, 211, 102, .07);
  transition: transform .25s ease, background-color .25s ease;
}
.whatsapp-icon-link:hover { padding-inline-start: 0 !important; color: var(--white) !important; }
.whatsapp-icon-link:hover .whatsapp-icon { background: rgba(37, 211, 102, .15); transform: translateY(-2px); }
.whatsapp-icon svg { width: 15px; height: 15px; fill: currentColor; }
.whatsapp-icon-link strong { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

footer {
  background: var(--navy-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: end;
  padding: 30px clamp(20px, 9vw, 138px) 22px;
  color: var(--bone);
  direction: ltr;
}
.footer-identity {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.footer-language-block {
  min-height: 62px;
  text-align: left;
}
.footer-en {
  grid-column: 1;
  grid-row: 1;
}
.footer-ar {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}
.footer-language-block h3 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}
.footer-language-block p {
  max-width: 470px;
  margin: 0;
  color: rgba(231, 221, 200, .68);
  font-size: 12px;
  line-height: 1.5;
}
.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  grid-column: 1 / -1;
  align-self: end;
  align-items: start;
  margin-top: -10px;
  color: rgba(231, 221, 200, .56);
  font-size: 10px;
  line-height: 1.7;
}
.footer-meta-en { grid-column: 1; text-align: left; }
.footer-meta-ar { grid-column: 2; text-align: right; }
.footer-meta-en, .footer-meta-ar {
  display: flex;
  min-height: 42px;
  flex-direction: column;
}
.footer-meta-en .footer-copyright { transform: translateY(-2px); }
.footer-meta-ar .footer-copyright { transform: translateY(-10px); }
.footer-meta-ar .footer-license { transform: translateY(-10px); }
.footer-meta p { margin: 0; }
.footer-license {
  margin-bottom: 4px !important;
  color: rgba(231, 221, 200, .76);
}

html[dir='rtl'] body { font-family: Tahoma, 'Segoe UI', sans-serif; }
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] .monogram, html[dir='rtl'] .hero-card p { font-family: Tahoma, 'Segoe UI', sans-serif; letter-spacing: 0; }
html[dir='rtl'] .eyebrow { letter-spacing: .02em; }
html[dir='rtl'] .security-note { border-right: 2px solid var(--bone); border-left: 0; }
html[dir='rtl'] .contact-links a:hover { padding-right: 8px; padding-left: 0; }
html[dir='rtl'] .contact-links a::after { content: '↙'; }
html[dir='rtl'] .contact-links a {
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
}
html[dir='rtl'] .contact-number { text-align: right; }
html[dir='rtl'] .hero-index { right: auto; left: clamp(20px, 4vw, 60px); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > nav { display: none; }
  .header-actions { gap: 8px; }
  .menu-btn { display: block; }
  .site-header.nav-open .menu-btn::before { transform: translateY(5px) rotate(45deg); }
  .site-header.nav-open .menu-btn span { opacity: 0; }
  .site-header.nav-open .menu-btn::after { transform: translateY(-5px) rotate(-45deg); }
  .site-header.nav-open .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 18px;
    border-top: 1px solid rgba(231, 221, 200, .12);
    background: rgba(11, 23, 48, .98);
  }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid rgba(231, 221, 200, .1); color: var(--bone); font-size: 13px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; }
  .hero-graphic { width: min(100%, 470px); justify-self: start; }
  .split, .contact-section { grid-template-columns: 1fr; }
  .split > p { max-width: 680px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards article { min-height: 252px; }
  .cards article:nth-child(3n) { border-right: 1px solid rgba(231, 221, 200, .22); }
  .cards article:nth-child(2n) { border-right: 0; }
  .cards article:nth-child(n+3) { border-top: 1px solid rgba(231, 221, 200, .22); }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
}

@media (max-width: 600px) {
  .site-header { padding: 14px 16px; }
  .brand-logo { width: 132px; }
  .lang-btn { padding: 8px 11px; font-size: 11px; }
  .hero { padding: 70px 20px 80px; }
  h1 { max-width: 470px; font-size: clamp(51px, 15vw, 72px); }
  .hero-actions .btn { flex: 1; padding-inline: 14px; }
  .hero-card { aspect-ratio: .9; }
  .section { padding: 75px 20px; }
  h2 { font-size: 46px; }
  .stats-strip { grid-template-columns: 1fr; margin-top: 48px; }
  .stat { min-height: auto; padding: 19px 22px; }
  .stat strong { display: inline-block; margin: 0 13px 0 0; font-size: 32px; }
  .stat span { display: inline; }
  .cards { grid-template-columns: 1fr; }
  .cards article, .cards article:nth-child(2) {
    min-height: 178px;
    border-right: 0;
    border-top: 1px solid rgba(231, 221, 200, .22);
  }
  .cards article:first-child { border-top: 0; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a:last-child { grid-column: auto; }
  .contact-links a { grid-column: auto; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; }
  html[dir='rtl'] .contact-links a { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; }
  .contact-links strong { font-size: 13px; }
  footer { padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; padding: 26px 20px 20px; }
  .footer-identity { grid-template-columns: 1fr; gap: 12px; }
  .footer-en, .footer-ar { grid-column: 1; grid-row: auto; }
  .footer-en { order: 1; }
  .footer-ar { order: 2; }
  .footer-language-block { min-height: 0; }
  .footer-meta { grid-template-columns: 1fr; gap: 12px; }
  .footer-meta-en { grid-column: 1; grid-row: 1; text-align: left; }
  .footer-meta-ar { grid-column: 1; grid-row: 2; text-align: right; }
}