.site-header {
  position: relative;
  z-index: 10;
  padding: 24px 56px 16px;
  background: #050f18;
  height: 116px;
  box-sizing: border-box;
}
.site-nav {
  max-width: 1328px;
  height: 76px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #2d4353;
  border-radius: 16px;
  background: rgba(13, 29, 41, 0.94);
  box-shadow:
    0 10px 24px #0000003d,
    inset 0 1px #ffffff12;
}
.brand {
  display: block;
  width: 160px;
  height: 53px;
  flex-shrink: 0;
}
.brand-art {
  display: block;
  width: 100%;
  height: auto;
}
.brand-mobile {
  display: none;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 480px;
  gap: 24px;
}
.desktop-nav a {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #b4c1cb;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
.desktop-nav a::after {
  position: absolute;
  content: '';
  height: 1px;
  background: currentColor;
  left: 0;
  bottom: -3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current='page']::after {
  transform: scaleX(1);
}
.desktop-nav a:hover,
.desktop-nav a[aria-current='page'] {
  color: #f5f3ee;
}
.site-nav .nav-quote {
  width: 208px;
  padding: 0 20px;
  box-shadow: 0 4px 20px #f4b54438;
}
.menu-toggle {
  display: none;
}
.mobile-menu {
  padding: 0;
  border: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  background: #fff;
  color: #102a38;
}
.mobile-menu::backdrop {
  background: #fff;
}
.mobile-menu-head {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.mobile-menu-head .brand {
  width: 150px;
  height: 50px;
}
.menu-close {
  border: 1px solid #d8e0e2;
  border-radius: 8px;
  width: 80px;
  height: 44px;
  color: #102a38;
  font:
    600 16px/20px 'Source Sans 3',
    sans-serif;
  background: #fff;
  cursor: pointer;
}
.mobile-menu-links {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #d8e0e2;
  color: #102a38;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  text-decoration: none;
  gap: 16px;
}
.mobile-menu-links a img {
  flex-shrink: 0;
}
.mobile-menu-contact {
  padding: 0 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-contact .button {
  width: 100%;
}
.mobile-menu-contact > a:last-child {
  font-size: 16px;
  line-height: 25px;
}
.menu-is-open {
  overflow: hidden;
}
.site-footer {
  background: #102a38;
  color: #f5f3ee;
  padding: 64px 0 32px;
}
.footer-content {
  display: grid;
  grid-template-columns: 370fr 480fr 302fr;
  gap: 64px;
}
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand {
  display: block;
  width: 200px;
  height: 66px;
}
.footer-company p {
  font-size: 16px;
  line-height: 25px;
  max-width: 340px;
  margin: 0;
}
.footer-links {
  display: grid;
  grid-template-columns: 246fr 186fr;
  gap: 48px;
}
.site-footer h2 {
  font:
    600 12px/18px 'Source Sans 3',
    sans-serif;
  color: #f4b544;
  letter-spacing: 1.4px;
  margin: 0 0 12px;
}
.footer-links a {
  font-size: 14px;
  line-height: 21px;
  display: block;
  margin-top: 12px;
  color: #f5f3ee;
  text-decoration: none;
  width: fit-content;
}
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-contact > a {
  display: block;
  font-size: 16px;
  line-height: 25px;
  margin: 12px 0;
  color: #f5f3ee;
  text-decoration: none;
  width: fit-content;
}
.footer-contact address {
  font-size: 14px;
  line-height: 21px;
  font-style: normal;
  margin: 12px 0 0;
}
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #1c3a49;
  padding-top: 40px;
  font-size: 14px;
  line-height: 21px;
}
.site-header button:focus-visible,
.site-header a:focus-visible,
.mobile-menu button:focus-visible,
.mobile-menu a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid #f4b544;
  outline-offset: 5px;
}

/* Three deliberate groups keep the navigation centered in either direction. */
.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
}
.site-nav .brand {
  height: auto;
  align-self: center;
  line-height: 0;
  transform: translateY(3px);
}
.desktop-nav {
  width: auto;
  justify-content: center;
  gap: 28px;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}
.site-nav .nav-quote {
  width: 176px;
  min-height: 46px;
  padding: 12px 16px;
}
.language-toggle {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid #405565;
  border-radius: 10px;
  background: #071822;
  flex-shrink: 0;
}
.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 6px;
  color: #d8e0e2;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.language-option[lang='ar'] {
  font-family: 'IBM Plex Sans Arabic', 'Source Sans 3', sans-serif;
  min-width: 56px;
}
.language-option[lang='en'] {
  font-family: 'Source Sans 3', Arial, sans-serif;
}
.language-option.is-current {
  background: var(--amber);
  color: var(--navy);
}
.language-switch:hover {
  background: #203847;
  color: #fff;
}
.language-switch:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.mobile-menu-contact .language-toggle {
  align-self: flex-start;
  background: var(--paper);
  border-color: var(--line);
}
.mobile-menu-contact .language-option {
  color: var(--navy);
}
.mobile-menu-contact .language-switch:hover {
  background: #dfe7eb;
}
@media (max-width: 1199px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }
  .site-nav {
    gap: 20px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .site-nav .nav-quote {
    width: 164px;
  }
  .footer-content {
    gap: 32px;
    grid-template-columns: 1.05fr 1.4fr 1fr;
  }
  .footer-links {
    gap: 24px;
  }
}
@media (max-width: 1120px) {
  .site-header {
    height: 96px;
    padding: 16px 12px;
  }
  .site-nav {
    height: 64px;
    padding: 0 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }
  .brand-desktop,
  .desktop-nav,
  .site-nav .nav-quote {
    display: none;
  }
  .site-nav .brand-mobile {
    display: block;
    width: 140px;
    height: auto;
  }
  .nav-actions {
    gap: 0;
  }
  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 44px;
    border: 1px solid #405565;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }
}
@media (max-width: 380px) {
  .site-nav {
    gap: 8px;
  }
  .site-nav .brand-mobile {
    width: 112px;
  }
  .language-toggle {
    padding: 3px;
  }
  .language-option {
    padding: 5px 7px;
    min-width: 32px;
  }
  .language-option[lang='ar'] {
    min-width: 50px;
  }
  .menu-toggle {
    width: 38px;
  }
}
@media (max-width: 340px) {
  .site-nav .brand-mobile {
    width: 96px;
  }
  .menu-toggle {
    width: 36px;
  }
}
@media (max-width: 900px) {
  .site-footer {
    padding-top: 48px;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-company p {
    max-width: 342px;
  }
  .footer-contact {
    max-width: 342px;
  }
}
