@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/NotoSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/NotoSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #ff6411;
  --orange-soft: #fff2e8;
  --black: #0d0d0f;
  --ink: #202124;
  --muted: #6b6b6d;
  --line: #e6e6e6;
  --panel: #fafafa;
  --white: #ffffff;
  --shadow: 0 18px 46px rgb(22 22 22 / .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Noto Sans Arabic", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body { font-family: "Noto Sans Arabic", Arial, sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }

:focus-visible {
  outline: 3px solid rgb(255 100 17 / .28);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: max(24px, env(safe-area-inset-top)) clamp(28px, 5vw, 78px) 18px;
  background: var(--white);
}

.header-inner {
  width: min(1450px, 100%);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--black);
  text-decoration: none;
  direction: ltr;
}

.brand img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: contain;
}

.brand-copy { display: block; line-height: 1.04; }
.brand-copy strong {
  display: block;
  max-width: 330px;
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0;
}
.brand-copy > span {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: clamp(17px, 1.4vw, 23px);
}
.brand-copy-ar { direction: rtl; font-family: "Noto Sans Arabic", sans-serif; }
.brand-copy-ar strong { font-size: clamp(18px, 1.45vw, 24px); }
.brand-copy-ar > span { font-size: clamp(17px, 1.35vw, 22px); font-weight: 700; }

/* Keep the approved Arabic lockup balanced without affecting the English brand. */
[dir="rtl"] .home-page .brand {
  gap: 10px;
  align-items: center;
}
[dir="rtl"] .home-page .brand img {
  width: 80px;
  height: 80px;
  flex-basis: 80px;
}
[dir="rtl"] .home-page .brand-copy-ar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  line-height: 1;
}
[dir="rtl"] .home-page .brand-copy-ar strong {
  max-width: none;
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.18;
  white-space: nowrap;
}
[dir="rtl"] .home-page .brand-copy-ar > span {
  margin-top: 2px;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.15;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  direction: ltr;
}

.language-link {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}
.language-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: transparent;
}
.language-link:hover,
.language-link.is-active { color: var(--orange); }
.language-link.is-active::after { background: var(--orange); }
.nav-divider { width: 1px; height: 26px; background: #cfcfcf; }
.contact-link {
  padding: 12px 0;
  color: #4f4f50;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.contact-link:hover { color: var(--orange); }

.nav-button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.nav-button svg { width: 18px; }
[dir="rtl"] .nav-button svg { transform: rotate(180deg); }

.hero-section {
  width: min(1536px, 100%);
  min-height: 600px;
  margin: 0 auto;
  padding: 44px clamp(32px, 5vw, 82px) 36px;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(550px, 1.1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
}

.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .44em;
  text-transform: uppercase;
}
.eyebrow::after {
  content: "";
  width: clamp(86px, 10vw, 180px);
  height: 1px;
  background: #e9a277;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 17px; }

.hero-copy h1,
.contact-intro h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(50px, 4.6vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}
[dir="rtl"] .hero-copy h1 { font-size: clamp(48px, 4.35vw, 70px); line-height: 1.28; }
.hero-intro {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}
[dir="rtl"] .hero-intro { line-height: 1.9; }

.hero-visual {
  position: relative;
  height: min(58vw, 610px);
  min-height: 530px;
  overflow: hidden;
  border-left: 6px solid var(--orange);
  border-radius: 48% 0 0 53% / 52% 0 0 48%;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
[dir="rtl"] .hero-section { direction: rtl; }
[dir="rtl"] .hero-copy { text-align: right; }
[dir="rtl"] .hero-visual {
  border-right: 6px solid var(--orange);
  border-left: 0;
  border-radius: 0 48% 53% 0 / 0 52% 48% 0;
}
[dir="rtl"] .hero-visual img { transform: scaleX(-1); }

.services {
  width: min(1410px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-item {
  min-height: 258px;
  padding: 28px clamp(26px, 3vw, 48px);
  border-inline-end: 1px solid var(--line);
}
.service-item:last-child { border-inline-end: 0; }
.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 7px;
}
.service-icon svg { width: 33px; height: 33px; stroke-width: 1.8; }
.service-item h2 {
  min-height: 57px;
  margin: 0 0 12px;
  color: var(--black);
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.08;
  letter-spacing: 0;
}
.service-item p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
[dir="rtl"] .services { direction: rtl; }
[dir="rtl"] .service-item { text-align: right; }
[dir="rtl"] .service-item h2 { min-height: 50px; line-height: 1.4; }
[dir="rtl"] .service-item p { line-height: 1.8; }

.contact-band {
  position: relative;
  min-height: 390px;
  padding: 50px clamp(32px, 6vw, 96px) max(42px, env(safe-area-inset-bottom));
  overflow: hidden;
  border-top: 1px solid #f4f4f4;
}
.skyline {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(72vw, 1120px);
  height: auto;
  pointer-events: none;
}
.contact-band-copy { position: relative; z-index: 2; width: min(1410px, 100%); margin: 0 auto; }
.contact-band .eyebrow { margin-bottom: 20px; }
.contact-band h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}
.phone-block {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.phone-icon,
.detail-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
}
.phone-icon { width: 62px; height: 62px; }
.phone-icon svg { width: 29px; height: 29px; }
.phone-rule { width: 1px; height: 50px; background: #717171; }
.phone-list { display: grid; gap: 5px; }
.phone-list a {
  color: var(--black);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.phone-list a:hover { color: var(--orange); }
[dir="rtl"] .contact-band-copy { direction: rtl; text-align: right; }
[dir="rtl"] .contact-band .eyebrow { justify-content: flex-start; }
[dir="rtl"] .contact-band h2 { line-height: 1.45; }
[dir="rtl"] .skyline { right: auto; left: 0; transform: scaleX(-1); }

/* Contact page */
.contact-main {
  width: min(1536px, 100%);
  margin: 0 auto;
  padding: 30px clamp(32px, 5vw, 82px) 70px;
}
.contact-intro { max-width: 820px; margin-bottom: 34px; }
.contact-intro .eyebrow { margin-bottom: 20px; }
.contact-intro h1 { font-size: clamp(50px, 4.35vw, 72px); }
.contact-intro > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}
[dir="rtl"] .contact-intro { margin-inline-start: auto; text-align: right; }
[dir="rtl"] .contact-intro h1 { line-height: 1.35; }
[dir="rtl"] .contact-intro > p:last-child { line-height: 1.9; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(300px, .65fr) minmax(500px, 1.15fr);
  align-items: start;
  gap: 22px;
}
.form-card,
.details-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.form-card { padding: 24px; }
.form-card h2,
.details-card h2 {
  margin: 0;
  color: var(--black);
  font-size: 24px;
  line-height: 1.25;
}
.form-card form { margin-top: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field {
  position: relative;
  min-width: 0;
  margin-bottom: 12px;
  display: block;
}
.field > svg {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  width: 19px;
  height: 19px;
  color: #767676;
  pointer-events: none;
}
[dir="rtl"] .field > svg { right: 16px; left: auto; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input,
.field select { height: 52px; padding: 0 16px 0 48px; }
[dir="rtl"] .field input,
[dir="rtl"] .field select { padding: 0 48px 0 16px; }
.field textarea { min-height: 142px; padding: 15px 16px 15px 48px; resize: vertical; }
[dir="rtl"] .field textarea { padding: 15px 48px 15px 16px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgb(255 100 17 / .12);
}
.field input::placeholder,
.field textarea::placeholder { color: #888; opacity: 1; }
.select-field select { appearance: auto; color: #777; }
.message-field > svg { top: 17px; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #b42318; }
.form-status { min-height: 24px; margin: 0 0 10px; color: #b42318; font-size: 14px; line-height: 1.4; }
.form-status.is-success { color: #287a43; }
.submit-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}
.submit-button:hover { background: #e9570a; }
.submit-button svg { width: 20px; height: 20px; }
[dir="rtl"] .submit-button svg { transform: rotate(180deg); }

.contact-details { display: grid; gap: 20px; }
.details-card { padding: 22px; }
.details-card > p {
  margin: 9px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.detail-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.detail-icon { width: 48px; height: 48px; flex: 0 0 48px; }
.detail-icon svg { width: 24px; height: 24px; }
.detail-row strong { display: block; color: var(--black); font-size: 17px; }
.detail-row small { display: block; margin-top: 3px; color: #8a8a8a; font-size: 12px; }
.location-card {
  position: relative;
  min-height: 244px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  overflow: hidden;
}
.location-card > div { position: relative; z-index: 2; }
.location-card p { max-width: 210px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.location-card > img { position: absolute; right: -24px; bottom: -5px; width: 125%; max-width: none; opacity: .9; }
.location-icon {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
}
.location-icon svg { width: 23px; height: 23px; }

.contact-visual {
  min-height: 630px;
  overflow: hidden;
  border-left: 6px solid var(--orange);
  border-radius: 48% 0 0 50% / 44% 0 0 46%;
  box-shadow: var(--shadow);
}
.contact-visual img { width: 100%; height: 100%; min-height: 630px; object-fit: cover; object-position: 55% center; }
[dir="rtl"] .contact-layout { direction: rtl; }
[dir="rtl"] .form-card,
[dir="rtl"] .details-card { text-align: right; }
[dir="rtl"] .contact-visual {
  border-right: 6px solid var(--orange);
  border-left: 0;
  border-radius: 0 48% 50% 0 / 0 44% 46% 0;
}
[dir="rtl"] .contact-visual img { transform: scaleX(-1); }
[dir="rtl"] .location-card > img { right: auto; left: -24px; transform: scaleX(-1); }

@media (max-width: 1180px) {
  .hero-section { grid-template-columns: minmax(360px, .9fr) minmax(470px, 1.1fr); }
  .hero-visual { min-height: 480px; }
  .contact-layout { grid-template-columns: minmax(420px, 1fr) minmax(300px, .7fr); }
  .contact-visual { grid-column: 1 / -1; min-height: 420px; border-radius: 140px 0 0 0; }
  .contact-visual img { min-height: 420px; object-position: center 55%; }
  [dir="rtl"] .contact-visual { border-radius: 0 140px 0 0; }
}

@media (max-width: 860px) {
  .site-header { padding: max(18px, env(safe-area-inset-top)) 22px 12px; }
  .header-inner { min-height: 72px; gap: 16px; }
  .brand { gap: 9px; }
  .brand img { width: 62px; height: 62px; flex-basis: 62px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy > span { margin-top: 4px; font-size: 16px; }
  .primary-nav { gap: 14px; }
  .nav-divider { display: none; }
  .language-link,
  .contact-link { font-size: 14px; }
  .nav-button { min-height: 44px; padding: 0 16px; font-size: 14px; }

  .hero-section {
    min-height: auto;
    padding: 44px 24px 34px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-copy { max-width: 680px; }
  .hero-copy h1 { font-size: clamp(48px, 10vw, 68px); }
  .hero-intro { max-width: 650px; font-size: 18px; }
  .hero-visual {
    width: calc(100% + 24px);
    height: min(72vw, 520px);
    min-height: 380px;
    margin-inline-end: -24px;
    border-radius: 120px 0 0 120px;
  }
  [dir="rtl"] .hero-visual { margin-inline-end: 0; margin-inline-start: -24px; border-radius: 0 120px 120px 0; }

  .services { width: calc(100% - 48px); padding-top: 20px; grid-template-columns: 1fr; }
  .service-item { min-height: auto; padding: 30px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .service-item h2 { min-height: 0; }
  .service-item p { max-width: 620px; }
  .service-icon { margin-bottom: 18px; }

  .contact-band { min-height: 430px; padding-inline: 24px; }
  .skyline { width: 115%; opacity: .76; }
  .contact-band h2 { font-size: 38px; }

  .contact-main { padding: 36px 24px 54px; }
  .contact-intro { margin-bottom: 28px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-visual { grid-column: auto; grid-row: 1; min-height: 360px; border-radius: 100px 0 0 100px; }
  [dir="rtl"] .contact-visual { border-radius: 0 100px 100px 0; }
  .form-card { grid-row: 2; }
  .contact-details { grid-row: 3; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 16px; }
  .header-inner { align-items: flex-start; flex-wrap: wrap; }
  .brand { max-width: calc(100% - 46px); }
  .brand img { width: 54px; height: 54px; flex-basis: 54px; }
  .brand-copy strong { max-width: 228px; overflow-wrap: anywhere; white-space: normal; font-size: 16px; line-height: 1.04; }
  .brand-copy > span { font-size: 15px; }
  .brand-copy-ar strong { font-size: 16px; line-height: 1.35; }
  [dir="rtl"] .home-page .brand {
    max-width: 100%;
    gap: 9px;
  }
  [dir="rtl"] .home-page .brand img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  [dir="rtl"] .home-page .brand-copy-ar strong {
    max-width: none;
    overflow-wrap: normal;
    white-space: nowrap;
    font-size: 18px;
    line-height: 1.2;
  }
  [dir="rtl"] .home-page .brand-copy-ar > span {
    margin-top: 1px;
    font-size: 17px;
    line-height: 1.1;
  }
  .primary-nav { width: 100%; justify-content: flex-end; padding-top: 4px; border-top: 1px solid #f0f0f0; }
  [dir="rtl"] .primary-nav { justify-content: flex-start; }
  .nav-button { margin-inline-start: auto; }
  [dir="rtl"] .nav-button { margin-inline-start: 0; margin-inline-end: auto; }

  .hero-section { padding: 38px 18px 26px; gap: 34px; }
  .eyebrow { margin-bottom: 20px; font-size: 12px; letter-spacing: .34em; }
  [dir="rtl"] .eyebrow { font-size: 16px; }
  .hero-copy h1 { font-size: clamp(44px, 13vw, 58px); line-height: 1.03; }
  [dir="rtl"] .hero-copy h1 { font-size: clamp(42px, 12vw, 54px); line-height: 1.3; }
  .hero-intro { margin-top: 23px; font-size: 17px; line-height: 1.65; }
  .hero-visual { width: calc(100% + 18px); height: 330px; min-height: 330px; margin-inline-end: -18px; border-radius: 84px 0 0 84px; }
  [dir="rtl"] .hero-visual { margin-inline-start: -18px; border-radius: 0 84px 84px 0; }

  .services { width: calc(100% - 36px); padding-bottom: 44px; }
  .service-item { padding: 26px 0; }
  .service-item h2 { font-size: 23px; }

  .contact-band { min-height: 480px; padding: 42px 18px max(34px, env(safe-area-inset-bottom)); }
  .contact-band h2 { font-size: 34px; }
  .skyline { right: -45%; bottom: 0; width: 170%; opacity: .68; }
  [dir="rtl"] .skyline { right: auto; left: -45%; }
  .phone-block { margin-top: 32px; gap: 16px; }
  .phone-icon { width: 54px; height: 54px; }
  .phone-list a { font-size: 17px; }

  .contact-main { padding: 30px 16px 44px; }
  .contact-intro h1 { font-size: 44px; }
  [dir="rtl"] .contact-intro h1 { font-size: 42px; }
  .contact-intro > p:last-child { font-size: 17px; }
  .contact-visual { min-height: 300px; border-radius: 72px 0 0 72px; }
  .contact-visual img { min-height: 300px; }
  [dir="rtl"] .contact-visual { border-radius: 0 72px 72px 0; }
  .form-card { padding: 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .details-card { padding: 19px; }
}

@media (max-width: 360px) {
  [dir="rtl"] .home-page .brand { gap: 7px; }
  [dir="rtl"] .home-page .brand img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  [dir="rtl"] .home-page .brand-copy-ar strong { font-size: 16px; }
  [dir="rtl"] .home-page .brand-copy-ar > span { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
