@font-face {
  font-family: "Plex Arabic";
  src: url("/fonts/ibm-plex-sans-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("/fonts/ibm-plex-sans-arabic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #082d38;
  --teal: #063f48;
  --teal-deep: #062f38;
  --muted: #48616a;
  --gold: #c7994f;
  --gold-dark: #82571d;
  --paper: #f6f2e9;
  --white: #fffdf8;
  --line: #d6d3ca;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: "Plex Arabic", Tahoma, Arial, sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: #e5d3b0; color: var(--ink); }
:where(a, button):focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link {
  position: fixed;
  inset-block-start: .65rem;
  inset-inline-start: .65rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: .65rem 1rem;
  background: var(--teal);
  color: white;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  border-bottom: 1px solid #e8e2d5;
  background: rgba(255, 253, 248, .97);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  width: min(1510px, calc(100% - 4rem));
  min-height: 68px;
  margin-inline: auto;
  gap: 1.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: .65rem;
  text-decoration: none;
}
.brand-emblem { position: relative; display: block; flex: none; width: 44px; height: 44px; overflow: hidden; }
.brand-mark { position: absolute; display: block; left: -64px; top: -31px; width: 108px; height: 108px; max-width: none; }
.brand-text { display: grid; line-height: 1.25; }
.brand-text strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -.025em; }
.brand-text small { display: none; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; margin-inline: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--gold-dark); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .65rem; text-decoration-thickness: 2px; }
.lang-switcher { display: inline-flex; align-items: center; flex-shrink: 0; gap: .8rem; }
.lang-switcher a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .75rem; text-decoration: none; }
.lang-switcher a + a { border-inline-start: 1px solid var(--gold); padding-inline-start: .8rem; }
.lang-switcher a:hover, .lang-switcher a[aria-current="true"] { color: var(--gold-dark); text-decoration: underline; text-underline-offset: .3rem; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: .6rem; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }
.site-main { overflow: clip; }

.hero-home {
  position: relative;
  isolation: isolate;
  min-height: clamp(590px, 45vw, 740px);
  background: #e5d7c0;
}
.hero-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-headline {
  position: absolute;
  inset-block-start: 17%;
  right: 2%;
  width: min(29%, 460px);
  text-align: start;
}
html[dir="rtl"] .hero-headline { inset-block-start: 14%; right: 4.5%; width: min(43%, 660px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1rem;
  color: var(--gold-dark);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .035em;
}
.eyebrow::before { display: block; width: 35px; height: 2px; background: var(--gold); content: ""; }
.hero-title {
  max-width: 16ch;
  margin: 0;
  color: #072b36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 3.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.12;
}
html[lang="ar"] .hero-title { max-width: 11.5ch; font-family: "Plex Arabic", Tahoma, sans-serif; font-size: clamp(3.2rem, 5vw, 5.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.32; }
.hero-lead { max-width: 44ch; margin: 1.1rem 0 0; color: #254753; font-size: clamp(.94rem, 1.2vw, 1.06rem); line-height: 1.9; }
html[dir="ltr"] .hero-lead { font-size: clamp(.84rem, 1.05vw, .96rem); line-height: 1.65; }
.hero-rail {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: clamp(245px, 20%, 310px);
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--teal-deep);
  color: var(--white);
}
html[dir="rtl"] .hero-rail { inset-inline-start: auto; left: 0; }
html[dir="ltr"] .hero-rail { left: 0; }
.rail-rule { width: 45px; height: 2px; background: var(--gold); }
.hero-rail p { max-width: 11ch; margin: 1.3rem 0 2.1rem; font-size: clamp(1.45rem, 1.7vw, 1.9rem); line-height: 1.5; }
.rail-link, .rail-secondary { align-self: flex-start; color: #efd3a3; font-size: .88rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .5rem; }
.rail-link { min-height: 44px; }
.rail-secondary { margin-top: 1.5rem; color: #e2e8e2; font-size: .78rem; font-weight: 400; }
.rail-link:hover, .rail-secondary:hover { color: white; }

.hero-compact { display: grid; grid-template-columns: 43% 57%; min-height: 420px; background: var(--white); direction: ltr; }
.compact-photo { grid-column: 1; min-height: 420px; overflow: hidden; }
.compact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 50%; }
.compact-copy { grid-column: 2; align-self: center; padding: clamp(2rem, 6vw, 6rem); direction: ltr; }
html[dir="rtl"] .compact-copy { direction: rtl; }
.hero-compact .hero-title { max-width: 18ch; font-size: clamp(2.5rem, 4vw, 4.2rem); }
html[lang="ar"] .hero-compact .hero-title { max-width: 15ch; font-size: clamp(2.5rem, 4vw, 4.1rem); }
.hero-compact .hero-lead { max-width: 64ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.8rem; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .45rem; }
.text-action:hover { color: var(--gold-dark); }
.text-action-muted { color: var(--muted); font-weight: 400; }

.section { padding-block: clamp(4rem, 7vw, 7rem); }
.section-alt { background: var(--white); }
.section-inner, .footer-inner { width: min(1240px, calc(100% - 4rem)); margin-inline: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-title { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(2.1rem, 3.3vw, 3.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.25; }
html[lang="ar"] .section-title { font-family: "Plex Arabic", Tahoma, sans-serif; font-size: clamp(2.1rem, 3.2vw, 3.2rem); font-weight: 700; line-height: 1.4; }
.section-lead { max-width: 58ch; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.services-overview { padding-top: 0; }
.services-overview .section-inner { width: 100%; }
.services-overview .section-head { width: min(1240px, calc(100% - 4rem)); min-height: 112px; margin: 0 auto; align-items: center; }
.services-overview .section-title { font-size: clamp(1.9rem, 2.6vw, 2.7rem); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-panel { position: relative; display: block; min-width: 0; height: clamp(285px, 28vw, 405px); overflow: hidden; background: #d9d1c3; text-decoration: none; }
.service-panel + .service-panel { border-inline-start: 1px solid #f4f0e9; }
.service-panel img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
a.service-panel:hover img { transform: scale(1.045); }
.service-panel-content { position: absolute; inset-block-start: 0; inset-inline-start: 0; display: flex; flex-direction: column; width: min(82%, 300px); min-height: 145px; padding: 1.2rem 1.4rem 1.4rem; background: rgba(255,253,248,.95); color: var(--ink); }
.service-panel:nth-child(2) .service-panel-content { background: rgba(6,47,56,.95); color: white; }
.service-panel-number { color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.service-panel:nth-child(2) .service-panel-number { color: #e5bc76; }
.service-panel-content h3 { margin: 1rem 0 0; font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 700; line-height: 1.45; }
.service-panel-content h3::after { display: block; width: 30px; height: 2px; margin-top: .65rem; background: var(--gold); content: ""; }
.service-grid-detailed { width: min(1320px, calc(100% - 4rem)); margin-inline: auto; gap: 1rem; }
.service-grid-detailed .service-panel { height: 500px; }
.service-grid-detailed .service-panel-content { inset-block-start: auto; inset-block-end: 0; width: 100%; min-height: 185px; }
.service-grid-detailed .service-panel-description { margin-top: .8rem; font-size: .83rem; line-height: 1.65; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 7vw, 8rem); }
.card { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; min-height: 170px; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.card-index { color: var(--gold-dark); font-size: .8rem; font-weight: 700; }
.card-title { margin: 0 0 .5rem; color: var(--ink); font-size: 1.18rem; line-height: 1.5; }
.card-copy { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.85; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { min-height: 205px; padding: 1.6rem; border-top: 1px solid var(--line); }
.step + .step { border-inline-start: 1px solid var(--line); }
.step-index { color: var(--gold-dark); font-size: 1.4rem; }
.step .card-title { margin-top: 1.2rem; }
.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 2rem; margin-top: 1rem; padding: clamp(2rem, 5vw, 4rem); border-inline-start: 4px solid var(--gold); background: var(--teal-deep); color: white; }
.callout h2 { max-width: 22ch; margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 2.8vw, 2.9rem); font-weight: 500; line-height: 1.3; }
html[lang="ar"] .callout h2 { font-family: "Plex Arabic", Tahoma, sans-serif; font-weight: 700; line-height: 1.5; }
.callout p { grid-column: 1; max-width: 65ch; margin: .8rem 0 0; color: #d4dfdc; font-size: .93rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.4rem; font-size: .87rem; font-weight: 700; text-decoration: none; }
.button-gold { grid-column: 2; grid-row: 1 / span 2; border: 1px solid var(--gold); color: #f2d19c; }
.button-gold:hover { background: var(--gold); color: var(--ink); }
.empty-state { max-width: 780px; padding: 2.5rem 0; border-block: 1px solid var(--line); }
.empty-state h2 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
.empty-state p { max-width: 60ch; color: var(--muted); }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-method { padding: 2rem 0; border-top: 1px solid var(--line); }
.contact-method small { display: block; margin-bottom: 1rem; color: var(--gold-dark); font-size: .78rem; font-weight: 700; }
.contact-method a { color: var(--teal); font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-note { max-width: 75ch; margin-top: 1.5rem; color: var(--muted); font-size: .85rem; }
.site-footer { margin-top: 3rem; border-top: 3px solid var(--gold); background: var(--teal-deep); color: #e2e8e4; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-brand { color: white; font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.footer-inner p { max-width: 48ch; margin: .6rem 0 0; color: #becfca; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: .6rem 1.2rem; }
.footer-links a { font-size: .85rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 1170px) {
  .header-inner { gap: .8rem; }
  .site-nav { gap: .7rem; }
  .nav-link { font-size: .76rem; }
  .brand-text strong { font-size: .94rem; }
  .hero-headline { width: 30%; }
  html[dir="rtl"] .hero-headline { width: 42%; }
  .hero-title { font-size: clamp(2.45rem, 3.5vw, 3.4rem); }
  html[lang="ar"] .hero-title { font-size: clamp(2.9rem, 5vw, 4.5rem); }
  .service-grid-detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .header-inner { min-height: 68px; flex-wrap: wrap; column-gap: .5rem; row-gap: 0; padding-block: .35rem; }
  .brand { order: 1; flex: 1 1 auto; }
  .has-js .menu-toggle { display: inline-flex; order: 2; }
  .lang-switcher { order: 3; justify-content: flex-end; width: 100%; margin: 0; }
  .site-nav { display: flex; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem 0 1rem; }
  .has-js .site-nav { display: none; }
  .has-js .site-nav[data-open="true"] { display: flex; }
  .nav-link { min-height: 44px; font-size: .9rem; }
  .hero-home { display: grid; min-height: 0; }
  .hero-photo { position: relative; z-index: auto; grid-row: 1; height: clamp(270px, 52vw, 450px); object-position: 28% 50%; }
  .hero-headline, html[dir="rtl"] .hero-headline { position: relative; inset: auto; grid-row: 2; width: 100%; padding: 2.2rem clamp(2rem, 6vw, 4rem); background: var(--paper); }
  .hero-title, html[lang="ar"] .hero-title { max-width: 15ch; font-size: clamp(2.8rem, 7vw, 4.3rem); }
  .hero-lead { max-width: 65ch; }
  .hero-rail, html[dir="rtl"] .hero-rail, html[dir="ltr"] .hero-rail { position: relative; inset: auto; left: auto; grid-row: 3; display: block; width: 100%; padding: 1.7rem clamp(2rem, 6vw, 4rem); }
  .hero-rail p { display: inline-block; max-width: none; margin: 0 2rem 0 0; font-size: 1.2rem; }
  .rail-rule { display: none; }
  .rail-link, .rail-secondary { display: inline-flex; align-items: center; min-height: 44px; margin: 0 1.2rem; }
  .hero-compact { grid-template-columns: 1fr; }
  .compact-photo { grid-column: 1; grid-row: 1; min-height: 270px; max-height: 340px; }
  .compact-copy { grid-column: 1; grid-row: 2; padding: 3rem clamp(2rem, 6vw, 4rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-panel { height: 340px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-inline-start: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner, .section-inner, .footer-inner { width: calc(100% - 2rem); }
  .brand-emblem { width: 40px; height: 40px; }
  .brand-mark { left: -58px; top: -28px; width: 98px; height: 98px; }
  .brand-text strong { font-size: .85rem; }
  .lang-switcher { gap: .4rem; }
  .lang-switcher a { font-size: .72rem; }
  .lang-switcher a + a { padding-inline-start: .4rem; }
  .hero-photo { height: 235px; }
  .hero-headline { padding: 2.1rem 1.3rem; }
  .hero-title, html[lang="ar"] .hero-title { font-size: clamp(2.25rem, 10.5vw, 3rem); line-height: 1.33; }
  .hero-lead { font-size: .94rem; }
  .hero-rail, html[dir="rtl"] .hero-rail, html[dir="ltr"] .hero-rail { padding: 1.4rem 1.3rem; }
  .hero-rail p { display: block; margin: 0 0 .7rem; }
  .rail-link, .rail-secondary { margin: 0 1rem 0 0; }
  .compact-photo { min-height: 215px; max-height: 240px; }
  .compact-copy { padding: 2.5rem 1.3rem; }
  .section { padding-block: 3.5rem; }
  .services-overview { padding-top: 0; }
  .services-overview .section-head { width: calc(100% - 2rem); display: block; min-height: 0; padding-block: 2rem; }
  .section-head { display: block; }
  .section-lead { margin-top: .7rem; }
  .service-grid, .service-grid-detailed { grid-template-columns: 1fr; }
  .service-grid-detailed { width: calc(100% - 2rem); }
  .service-panel { height: 300px; }
  .service-grid-detailed .service-panel { height: 400px; }
  .service-panel-content { min-height: 125px; }
  .card-grid, .steps, .contact-methods { grid-template-columns: 1fr; }
  .step { min-height: 0; padding-inline: 0; }
  .step + .step { border-inline-start: 0; }
  .callout { display: block; padding: 2rem 1.4rem; }
  .callout p { margin-bottom: 1.4rem; }
  .footer-inner { padding-block: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-link, .service-panel img { transition: none; }
}
