@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --deep-blue: #004f9e;
  --deep-blue-dark: #003c79;
  --industrial-white: #f5f6f8;
  --steel-gray: #434b57;
  --energy-blue: #2d9cdb;
  --energy-orange: #f39c12;
  --dark-text: #222831;
  --secondary-text: #6b7280;
  --line: #dce1e7;
  --white: #fff;
  --shadow: 0 24px 80px rgba(17, 36, 58, 0.14);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--dark-text);
  font-family: "IBM Plex Sans Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body:has(.rtl) {
  font-family: "IBM Plex Sans Arabic", Arial, sans-serif;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.rtl h1,
.rtl h2,
.rtl h3 {
  letter-spacing: 0;
  line-height: 1.24;
}

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

.skip-link {
  position: fixed;
  z-index: 10000;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--energy-orange);
  color: var(--dark-text);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  background: var(--steel-gray);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.topbar-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a:hover {
  color: white;
}

.ltr-number {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(34, 40, 49, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: block;
  flex: 0 0 auto;
  padding: 10px 20px 10px 2px;
}

.rtl .brand {
  padding: 10px 2px 10px 20px;
}

.brand img {
  width: 212px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--steel-gray);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.rtl .main-nav {
  font-size: 14px;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 34px 30px;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  content: "";
  inset-inline: 0;
  bottom: 22px;
  height: 2px;
  background: var(--energy-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.rtl .main-nav > a:not(.button)::after {
  transform-origin: right;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--deep-blue);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
}

.main-nav .nav-language {
  color: var(--deep-blue);
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 20px;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--industrial-white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--deep-blue);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 0;
  border-radius: 2px;
  background: var(--energy-orange);
  color: var(--dark-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px rgba(243, 156, 18, 0.19);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.rtl .button {
  font-size: 14px;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffa917;
  box-shadow: 0 18px 34px rgba(243, 156, 18, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-dark {
  background: var(--deep-blue);
  color: white;
  box-shadow: 0 12px 26px rgba(0, 79, 158, 0.2);
}

.button-dark:hover {
  background: var(--deep-blue-dark);
  box-shadow: 0 18px 34px rgba(0, 79, 158, 0.28);
}

.arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

a:hover .arrow,
button:hover .arrow {
  transform: translateX(4px);
}

.rtl a:hover .arrow,
.rtl button:hover .arrow {
  transform: translateX(-4px);
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 800;
}

.light-link {
  color: white;
}

.preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background: radial-gradient(circle at 50% 40%, #10345c 0%, #07192f 44%, #04101f 100%);
  color: white;
  animation: preloader-exit 450ms 1.15s ease forwards;
}

.preloader-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(rgba(45, 156, 219, 0.36) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 156, 219, 0.36) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
}

.preloader img {
  position: relative;
  width: 180px;
  margin-bottom: 22px;
}

.preloader p {
  position: relative;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rtl .preloader p {
  letter-spacing: 0;
  font-size: 16px;
}

.load-line {
  position: relative;
  width: 210px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.load-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--energy-orange);
  transform: translateX(-100%);
  animation: loading 1.1s ease forwards;
}

.rtl .load-line span {
  transform: translateX(100%);
}

@keyframes loading { to { transform: translateX(0); } }
@keyframes preloader-exit { to { opacity: 0; visibility: hidden; } }

.hero {
  position: relative;
  height: min(720px, calc(100vh - 120px));
  min-height: 620px;
  overflow: hidden;
  background: #07192f;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.055);
  transition: transform 7.2s linear;
}

.hero-slide.active > img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 19, 38, 0.94) 0%, rgba(0, 54, 109, 0.78) 44%, rgba(0, 79, 158, 0.22) 73%, rgba(3, 19, 38, 0.26) 100%), linear-gradient(0deg, rgba(3, 19, 38, 0.62) 0%, transparent 52%);
}

.rtl .hero-overlay {
  background: linear-gradient(270deg, rgba(3, 19, 38, 0.94) 0%, rgba(0, 54, 109, 0.78) 44%, rgba(0, 79, 158, 0.22) 73%, rgba(3, 19, 38, 0.26) 100%), linear-gradient(0deg, rgba(3, 19, 38, 0.62) 0%, transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(720px, 68vw);
  padding-bottom: 36px;
  color: white;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 5.3vw, 78px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.rtl .hero-copy h1,
.rtl .hero-copy h2 {
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.rtl .hero-copy p {
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slide-dots button {
  width: 48px;
  height: 24px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-dots span {
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
}

.slide-dots button.active span {
  background: var(--energy-orange);
}

.slide-count {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rtl .eyebrow {
  font-size: 14px;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--energy-orange);
}

.eyebrow.light,
.section-heading.light .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.metrics-bar {
  position: relative;
  z-index: 5;
  display: block;
  min-height: 148px;
  opacity: 1;
  visibility: visible;
  background: var(--deep-blue);
  color: white;
}

.metrics-bar .container,
.metrics-bar .metrics-title,
.metrics-bar .metrics-grid,
.metrics-bar .metrics-grid > div {
  opacity: 1;
  visibility: visible;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.metrics-grid > div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 32px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.13);
}

.metrics-grid > div:last-child {
  border-inline-end: 0;
}

.metrics-grid strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
}

.metrics-grid small {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.rtl .metrics-grid small {
  letter-spacing: 0;
  font-size: 12px;
}

.metrics-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.section {
  padding: 112px 0;
}

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

.section-dark {
  background: var(--dark-text);
  color: white;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
}

.rtl .section-heading h2 {
  font-size: clamp(34px, 3.8vw, 54px);
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--secondary-text);
  font-size: 17px;
}

.section-heading.light h2,
.section-heading.light p {
  color: white;
}

.section-heading.light p {
  color: rgba(255, 255, 255, 0.68);
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.section-title-row .section-heading {
  margin-bottom: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

.image-stack {
  position: relative;
  min-height: 590px;
  padding-inline-end: 64px;
  padding-bottom: 64px;
}

.image-stack::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset-inline-start: -24px;
  top: -24px;
  width: 58%;
  height: 55%;
  background: repeating-linear-gradient(45deg, rgba(45, 156, 219, 0.1) 0 2px, transparent 2px 14px);
}

.image-main {
  width: 100%;
  height: 590px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-accent {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 240px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: var(--deep-blue);
  color: white;
  box-shadow: 0 24px 60px rgba(0, 79, 158, 0.25);
}

.image-accent::after {
  position: absolute;
  content: "";
  width: 42px;
  height: 6px;
  inset-inline-start: 30px;
  top: 24px;
  background: var(--energy-orange);
}

.image-accent strong {
  font-size: 30px;
}

.image-accent span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.overview-copy > p,
.lead {
  color: var(--secondary-text);
  font-size: 17px;
}

.lead {
  color: var(--steel-gray);
  font-size: 20px;
  line-height: 1.65;
}

.principle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 28px 0 36px;
  color: var(--steel-gray);
  font-size: 14px;
  font-weight: 700;
}

.principle-list span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.principle-list b {
  color: var(--energy-orange);
}

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

.service-card {
  position: relative;
  min-height: 100%;
  padding: 40px 34px 34px;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.service-card::after {
  position: absolute;
  content: "";
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-blue) 0 85%, var(--energy-orange) 85%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.rtl .service-card::after {
  transform-origin: right;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card.featured {
  min-height: 320px;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  background: rgba(0, 79, 158, 0.07);
}

.service-icon img {
  width: 36px;
  height: 36px;
}

.service-index {
  position: absolute;
  inset-inline-end: 28px;
  top: 32px;
  color: #c8cdd4;
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.service-card p {
  color: var(--secondary-text);
  font-size: 14px;
}

.service-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 24px 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--steel-gray);
  font-size: 12px;
}

.service-card li::before {
  margin-inline-end: 7px;
  content: "—";
  color: var(--energy-orange);
}

.card-link {
  margin-top: 8px;
}

.why-section {
  background: linear-gradient(180deg, white 0 64%, var(--industrial-white) 64%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 24px 80px rgba(17, 36, 58, 0.1);
}

.why-grid article {
  min-height: 300px;
  padding: 40px 30px;
  border-inline-end: 1px solid var(--line);
  background: white;
}

.why-grid article:last-child {
  border-inline-end: 0;
}

.why-grid span {
  color: var(--energy-blue);
  font-size: 12px;
  font-weight: 800;
}

.why-grid h3 {
  margin: 54px 0 16px;
  font-size: 22px;
}

.why-grid p {
  margin-bottom: 0;
  color: var(--secondary-text);
  font-size: 14px;
}

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

.featured-projects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: white;
  color: var(--dark-text);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.22);
}

.project-image {
  position: relative;
  height: 250px;
  display: block;
  overflow: hidden;
  background: var(--steel-gray);
}

.featured-projects .project-image {
  height: 310px;
}

.project-image::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 38, 79, 0.38), transparent 55%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.045);
}

.image-corner {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  bottom: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--energy-orange);
}

.project-body {
  padding: 28px 28px 30px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-row span {
  padding: 4px 8px;
  background: rgba(0, 79, 158, 0.07);
  color: var(--deep-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rtl .tag-row span {
  font-size: 12px;
  letter-spacing: 0;
}

.project-body h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.project-body p {
  color: var(--secondary-text);
  font-size: 14px;
}

.hse-highlight {
  overflow: hidden;
}

.hse-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 30px 0 36px;
}

.hse-points span {
  padding: 13px 14px;
  border-inline-start: 3px solid var(--energy-orange);
  background: var(--industrial-white);
  color: var(--steel-gray);
  font-size: 13px;
  font-weight: 700;
}

.hse-image {
  position: relative;
}

.hse-image > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.safety-badge {
  position: absolute;
  inset-inline-start: -44px;
  bottom: 36px;
  width: 220px;
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--deep-blue);
  color: white;
  box-shadow: var(--shadow);
}

.safety-badge img {
  width: 38px;
  filter: brightness(0) invert(1);
}

.safety-badge span {
  font-size: 13px;
  font-weight: 800;
}

.equipment-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.equipment-strip article {
  min-height: 230px;
  padding: 30px;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  transition: background 200ms ease, color 200ms ease;
}

.equipment-strip article:hover {
  background: var(--deep-blue);
  color: white;
}

.equipment-strip span {
  color: var(--energy-orange);
  font-size: 11px;
  font-weight: 800;
}

.equipment-strip h3 {
  margin: 40px 0 12px;
  font-size: 21px;
}

.equipment-strip p {
  margin: 0;
  color: var(--secondary-text);
  font-size: 13px;
}

.equipment-strip article:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--steel-gray);
  color: white;
  text-align: start;
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 21, 40, 0.86) 0%, transparent 60%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 300ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.gallery-item > span {
  position: absolute;
  z-index: 2;
  inset-inline: 24px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
}

.gallery-item small {
  color: var(--energy-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-item strong {
  font-size: 17px;
}

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(4, 16, 31, 0.94);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  margin: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox figcaption {
  padding: 16px 0;
  color: white;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  inset-inline-end: 28px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.filters button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--steel-gray);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.filters button:hover,
.filters button.active {
  border-color: var(--deep-blue);
  background: var(--deep-blue);
  color: white;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: var(--deep-blue);
  color: white;
}

.cta-band::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(45, 156, 219, 0.2) 40% 62%, transparent 62%);
}

.cta-mark {
  position: absolute;
  inset-inline-end: 5%;
  top: -105px;
  opacity: 0.08;
}

.cta-mark img {
  width: 390px;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-content h2 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(36px, 4.2vw, 58px);
}

.cta-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.cta-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer {
  padding: 80px 0 28px;
  background: #18202a;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.85fr 0.85fr 1fr 0.7fr 1.2fr;
  gap: 34px;
  padding-bottom: 62px;
}

.footer-brand img {
  width: 156px;
  height: auto;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer h3 {
  margin-bottom: 22px;
  color: white;
  font-size: 14px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer a:hover {
  color: var(--energy-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.floating-actions {
  position: fixed;
  z-index: 850;
  inset-inline-end: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-whatsapp {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border-radius: 24px;
  background: #1fb75b;
  color: white;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-whatsapp:hover {
  background: #18a64f;
  box-shadow: 0 17px 42px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.whatsapp-symbol {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

.back-to-top {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 79, 158, 0.18);
  border-radius: 50%;
  background: white;
  color: var(--deep-blue);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
}

.back-to-top span {
  font-size: 20px;
  line-height: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--deep-blue);
  color: white;
}

.page-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #07192f;
  color: white;
}

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

.page-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(3, 19, 38, 0.94), rgba(0, 60, 120, 0.62) 58%, rgba(3, 19, 38, 0.25));
}

.rtl .page-hero .hero-overlay {
  background: linear-gradient(270deg, rgba(3, 19, 38, 0.94), rgba(0, 60, 120, 0.62) 58%, rgba(3, 19, 38, 0.25));
}

.page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.page-hero h1 {
  max-width: 870px;
  margin: 16px 0 18px;
  font-size: clamp(44px, 5.4vw, 76px);
}

.rtl .page-hero h1 {
  max-width: 980px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.breadcrumbs {
  position: absolute;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.breadcrumbs strong {
  color: white;
}

.about-image {
  position: relative;
  padding-inline-start: 40px;
  padding-bottom: 40px;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image > div {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 280px;
  padding: 28px;
  background: var(--deep-blue);
  color: white;
  box-shadow: var(--shadow);
}

.about-image strong,
.about-image span {
  display: block;
}

.about-image strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.about-image span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.three-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.statement-card {
  min-height: 340px;
  padding: 42px 36px;
  background: white;
  border-top: 4px solid var(--deep-blue);
}

.statement-card span {
  color: var(--energy-orange);
  font-size: 12px;
  font-weight: 800;
}

.statement-card h2 {
  margin: 72px 0 18px;
  font-size: 30px;
}

.statement-card p {
  color: var(--secondary-text);
  font-size: 14px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.capability-grid article {
  min-height: 220px;
  padding: 32px;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.capability-grid p {
  margin: 0;
  color: var(--secondary-text);
  font-size: 13px;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sector-list span {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 18px;
  font-weight: 700;
}

.sector-list b {
  color: var(--energy-orange);
  font-size: 11px;
}

.full-services {
  grid-template-columns: repeat(2, 1fr);
}

.full-services .service-card {
  min-height: 520px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
  min-height: 250px;
  padding: 34px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
}

.process-grid span {
  color: var(--energy-orange);
  font-size: 12px;
  font-weight: 800;
}

.process-grid h3 {
  margin: 68px 0 14px;
  font-size: 24px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.project-filters {
  margin-bottom: 50px;
}

.hse-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hse-principles article {
  min-height: 290px;
  padding: 30px;
  background: white;
  border-bottom: 3px solid var(--deep-blue);
}

.hse-principles span {
  color: var(--energy-orange);
  font-size: 11px;
  font-weight: 800;
}

.hse-principles h3 {
  margin: 52px 0 16px;
  font-size: 20px;
}

.hse-principles p {
  color: var(--secondary-text);
  font-size: 13px;
}

.quality-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
}

.quality-line::before {
  position: absolute;
  content: "";
  top: 24px;
  inset-inline: 8%;
  height: 2px;
  background: var(--line);
}

.quality-line div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.quality-line b {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep-blue);
  color: white;
  box-shadow: 0 0 0 8px white;
}

.quality-line span {
  color: var(--steel-gray);
  font-size: 12px;
  font-weight: 700;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.equipment-grid article {
  min-height: 310px;
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.equipment-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.equipment-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--deep-blue);
  color: white;
  font-size: 23px;
}

.equipment-grid h3 {
  margin: 48px 0 14px;
  font-size: 23px;
}

.equipment-grid p {
  color: var(--secondary-text);
  font-size: 13px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}

.showcase-grid img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.client-sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.client-sectors article {
  min-height: 190px;
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
}

.client-sectors span {
  color: var(--energy-orange);
  font-size: 11px;
  font-weight: 800;
}

.client-sectors h3 {
  margin: 70px 0 0;
  font-size: 21px;
}

.logo-placeholder {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  border: 1px dashed #b9c1cc;
  background: white;
  color: var(--secondary-text);
  text-align: center;
}

.logo-placeholder img {
  width: 74px;
  opacity: 0.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 76px;
  align-items: start;
}

.contact-intro > p {
  color: var(--secondary-text);
}

.contact-cards {
  display: grid;
  gap: 10px;
  margin: 32px 0;
}

.contact-cards > * {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border-inline-start: 3px solid var(--energy-orange);
  background: var(--industrial-white);
}

.contact-cards small {
  color: var(--secondary-text);
  font-size: 11px;
}

.contact-cards strong {
  color: var(--deep-blue);
  font-size: 15px;
}

.whatsapp-inline {
  background: #1fb75b;
  color: white;
  box-shadow: 0 12px 26px rgba(31, 183, 91, 0.2);
}

.contact-form {
  padding: 42px;
  background: var(--industrial-white);
  border-top: 4px solid var(--deep-blue);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--steel-gray);
  font-size: 12px;
  font-weight: 800;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d3d9e0;
  border-radius: 0;
  outline: none;
  background: white;
  color: var(--dark-text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid input,
.form-grid select {
  height: 50px;
  padding: 0 14px;
}

.form-grid textarea {
  padding: 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(0, 79, 158, 0.1);
}

.form-status {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-inline-start: 4px solid var(--energy-blue);
  background: rgba(0, 79, 158, 0.08);
  color: var(--deep-blue);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.form-status.is-success {
  border-inline-start-color: #24875d;
  background: rgba(36, 135, 93, 0.1);
  color: #175f42;
}

.form-status.is-error {
  border-inline-start-color: #b43a32;
  background: rgba(180, 58, 50, 0.09);
  color: #8b2924;
}

.location-section {
  padding: 80px 0;
  background: var(--dark-text);
  color: white;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 76px;
  align-items: center;
}

.location-grid .section-heading h2,
.location-grid .section-heading p {
  color: white;
}

.location-grid > div:last-child > p {
  color: rgba(255, 255, 255, 0.62);
}

.map-placeholder {
  position: relative;
  height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #24303d;
}

.map-embed {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(45, 156, 219, 0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 156, 219, 0.8) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotate(-7deg) scale(1.2);
}

.map-pin {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--deep-blue);
  transform: rotate(-45deg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.map-pin img {
  width: 34px;
  transform: rotate(45deg);
}

.map-placeholder strong,
.map-placeholder small {
  position: relative;
}

.map-placeholder strong {
  font-size: 28px;
}

.map-placeholder small {
  color: rgba(255, 255, 255, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .container { width: min(var(--max-width), calc(100% - 36px)); }
  .main-nav { gap: 14px; font-size: 11px; }
  .brand img { width: 180px; }
  .main-nav .nav-language { padding-inline-start: 12px; }
  .main-nav .button { display: none; }
  .project-grid { gap: 20px; }
  .hse-principles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav-shell { min-height: 78px; }
  .brand img { width: 190px; }
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    inset-inline: 0;
    max-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: white;
    box-shadow: 0 18px 40px rgba(17, 36, 58, 0.16);
    transition: max-height 300ms ease;
  }
  .main-nav.is-open { max-height: 680px; }
  .main-nav > a:not(.button) { padding: 15px 24px; border-top: 1px solid var(--line); }
  .main-nav > a:not(.button)::after { display: none; }
  .main-nav .nav-language { border-inline-start: 0; padding-inline-start: 24px; }
  .main-nav .button { display: inline-flex; margin: 16px 24px 22px; }
  .hero { min-height: 650px; height: calc(100vh - 78px); }
  .hero-copy { width: 82vw; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(40px, 8vw, 65px); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid > div:nth-child(2) { border-inline-end: 0; }
  .metrics-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .section { padding: 86px 0; }
  .split-grid { grid-template-columns: 1fr; }
  .reverse-mobile > *:first-child { order: 2; }
  .image-stack { max-width: 650px; margin-inline: auto; }
  .service-grid, .project-grid, .full-services { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid article:nth-child(2) { border-inline-end: 0; }
  .why-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .equipment-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-content { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .three-card-grid, .capability-grid { grid-template-columns: 1fr; }
  .statement-card { min-height: 270px; }
  .statement-card h2 { margin-top: 50px; }
  .sector-list { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .quality-line { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .quality-line::before { display: none; }
  .equipment-grid, .client-sectors { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid img:first-child { grid-column: 1 / -1; }
  .contact-grid, .location-grid { grid-template-columns: 1fr; }
  .map-placeholder { order: 2; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 28px); }
  .brand { padding-inline-end: 10px; }
  .brand img { width: 170px; }
  .hero { min-height: 640px; }
  .hero-copy { width: 100%; padding-bottom: 70px; }
  .hero-copy h1, .hero-copy h2 { font-size: 42px; }
  .rtl .hero-copy h1, .rtl .hero-copy h2 { font-size: 40px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-controls { bottom: 18px; }
  .slide-dots button { width: 34px; }
  .slide-count { display: none; }
  .metrics-grid > div { min-height: 96px; padding: 18px; }
  .metrics-grid strong { font-size: 20px; }
  .metrics-grid span { font-size: 10px; }
  .section { padding: 68px 0; }
  .section-heading h2 { font-size: 34px; }
  .section-heading p { font-size: 15px; }
  .section-title-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .image-stack { min-height: 480px; padding-inline-end: 28px; padding-bottom: 44px; }
  .image-main { height: 480px; }
  .image-accent { width: 200px; min-height: 145px; padding: 24px; }
  .principle-list { grid-template-columns: 1fr; }
  .service-grid, .project-grid, .full-services { grid-template-columns: 1fr; }
  .service-card, .service-card.featured, .full-services .service-card { min-height: auto; padding: 30px 26px; }
  .service-card ul { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article { min-height: 235px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .why-grid h3 { margin-top: 36px; }
  .featured-projects .project-image, .project-image { height: 250px; }
  .hse-points { grid-template-columns: 1fr; }
  .hse-image > img { height: 450px; }
  .safety-badge { inset-inline-start: -8px; width: 205px; }
  .equipment-strip { grid-template-columns: 1fr; }
  .equipment-strip article { min-height: 200px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .lightbox { padding: 18px; }
  .cta-band { padding: 64px 0; }
  .cta-content h2 { font-size: 36px; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-actions { inset-inline-end: 14px; bottom: max(14px, env(safe-area-inset-bottom)); gap: 10px; }
  .floating-whatsapp { width: 50px; height: 50px; min-height: 50px; padding: 0; justify-content: center; border-radius: 50%; }
  .floating-whatsapp b { display: none; }
  .back-to-top { width: 42px; height: 42px; }
  .page-hero { height: 480px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero p { font-size: 14px; }
  .about-image { padding-inline-start: 18px; padding-bottom: 28px; }
  .about-image img { height: 420px; }
  .about-image > div { width: 230px; }
  .sector-list, .process-grid, .hse-principles, .equipment-grid, .client-sectors { grid-template-columns: 1fr; }
  .process-grid article { min-height: 210px; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .quality-line { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-grid img, .showcase-grid img:first-child { grid-column: auto; height: 300px; }
  .contact-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .map-placeholder { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Client revisions: approved typography and strategic content components */
html,
body,
button,
input,
select,
textarea,
html[lang="ar"],
html[lang="ar"] body,
.site,
.rtl,
[dir="rtl"] {
  font-family: "IBM Plex Sans Arabic", Arial, sans-serif;
}

.site { font-size: 18px; }
.main-nav { font-size: 15px; font-weight: 500; }
.button { font-size: 16px; font-weight: 600; }
.hero-copy { width: min(850px, 74vw); }
.hero-copy h1, .hero-copy h2, .rtl .hero-copy h1, .rtl .hero-copy h2 {
  max-width: 850px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
}
.rtl .hero-copy h1, .rtl .hero-copy h2 { line-height: 1.3; }
.hero-copy p { font-size: 18px; line-height: 1.55; }
.rtl .hero-copy p { font-size: 18px; line-height: 1.7; }
.hero-supporting { margin-top: 22px; margin-bottom: 0 !important; font-size: 15px !important; font-weight: 600; color: rgba(255,255,255,.9) !important; }
.button-outline { border: 1px solid rgba(255,255,255,.66); background: rgba(0,0,0,.12); color: #fff; }
.button-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.section-heading h2, .rtl .section-heading h2 { font-size: 40px; font-weight: 600; line-height: 1.18; }
.rtl .section-heading h2 { line-height: 1.32; }
.section-heading p, .overview-copy > p, .lead { font-size: 18px; line-height: 1.58; }
.rtl .section-heading p, .rtl .overview-copy > p, .rtl .lead { line-height: 1.75; }
.service-card h3, .capability-groups h3, .industries-grid h3, .hse-mini-grid h3, .related-service-groups h3 { font-size: 26px; font-weight: 600; }
.service-card p, .capability-groups li, .industries-grid p, .hse-mini-grid p, .related-service-groups p { font-size: 16px; line-height: 1.55; }
.metrics-title { margin: 0; padding: 18px 0 0; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.rtl .metrics-title { letter-spacing: 0; font-size: 15px; }
.metrics-grid strong { font-size: 30px; font-weight: 600; }
.metrics-grid span { font-size: 14px; }
.support-line, .established-line { color: var(--deep-blue); font-weight: 600; }
.footer-statement { display: block; max-width: 390px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.5; }
.footer-legal { display: flex; gap: 22px; }
.footer a, .footer-contact span, .footer-bottom { font-size: 14px; }

.capability-groups { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.capability-groups article { padding: 30px 24px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px rgba(17,36,58,.05); }
.capability-groups article > span, .industries-grid article > span { color: var(--energy-blue); font-size: 12px; font-weight: 700; }
.capability-groups h3 { min-height: 64px; margin: 28px 0 18px; font-size: 20px; }
.capability-groups ul { margin: 0; padding: 0; list-style: none; color: var(--steel-gray); }
.capability-groups li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.capability-groups li::before { content: "—"; margin-inline-end: 7px; color: var(--energy-orange); }
.why-grid-six { grid-template-columns: repeat(3,1fr); }
.why-grid-six article:nth-child(3n) { border-inline-end: 0; }
.why-grid-six article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
.hse-mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 28px 0; background: var(--line); border: 1px solid var(--line); }
.hse-mini-grid article { padding: 22px; background: #fff; }
.hse-mini-grid h3 { margin: 0 0 8px; font-size: 20px; }
.hse-mini-grid p { margin: 0; color: var(--secondary-text); font-size: 14px; }

.project-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 18px 0 20px; }
.project-meta div { padding: 10px; background: var(--industrial-white); }
.project-meta dt { color: var(--secondary-text); font-size: 10px; text-transform: uppercase; }
.project-meta dd { margin: 2px 0 0; font-size: 12px; font-weight: 600; }
.project-detail-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 70px; }
.project-detail-grid article > ul { columns: 2; padding-inline-start: 20px; }
.detail-meta { margin: 0 0 26px; border-top: 1px solid var(--line); }
.detail-meta div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-meta dt { color: var(--secondary-text); }
.detail-meta dd { margin: 0; font-weight: 600; text-align: end; }

.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.industries-grid article { min-height: 220px; padding: 30px; border: 1px solid var(--line); background: #fff; color: var(--dark-text); }
.industries-grid h3 { margin: 30px 0 12px; font-size: 22px; }
.industries-grid p { margin: 0; color: var(--secondary-text); font-size: 15px; }
.section-dark .industries-grid article { border-color: rgba(255,255,255,.12); background: #242d38; color: #fff; }
.section-dark .industries-grid p { color: rgba(255,255,255,.66); }
.related-service-groups { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-service-groups > article { padding: 30px; border: 1px solid var(--line); background: #fff; }
.related-links { display: grid; gap: 10px; margin-bottom: 18px; }
.related-links a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--deep-blue); font-weight: 600; }
.approach-section, .process-grid { background: var(--dark-text); color: #fff; }
.approach-section .section-heading h2 { color: #fff; }
.approach-section .section-heading .eyebrow { color: rgba(255,255,255,.72); }
.process-grid-five { grid-template-columns: repeat(5,1fr); }
.approach-statement { margin: 30px 0 0; text-align: center; color: #fff; font-size: 18px; font-weight: 600; }
.compliance-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.compliance-grid article { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px; border: 1px solid var(--line); background: var(--industrial-white); }
.compliance-grid article > span { color: var(--energy-orange); font-size: 12px; font-weight: 700; }
.compliance-grid strong { font-size: 20px; line-height: 1.25; }
.compliance-grid small { color: var(--secondary-text); font-size: 13px; }
.empty-project-state { padding: 54px; text-align: center; border: 1px solid var(--line); background: var(--industrial-white); }
.empty-project-state strong { display: block; margin-bottom: 10px; font-size: 24px; }
.empty-project-state p { max-width: 680px; margin: 0 auto; color: var(--secondary-text); }
.document-status, .basra-visual { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px; text-align: center; border: 1px solid var(--line); background: var(--industrial-white); }
.document-status img, .basra-visual img { width: 74px; height: 74px; }
.basra-visual span { direction: ltr; unicode-bidi: isolate; color: var(--deep-blue); font-weight: 600; }
.social-media-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.social-media-links a { display: inline-flex; align-items: center; gap: 9px; }
.social-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; flex: 0 0 24px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1; }
.social-icon-linkedin { font-size: 10px; letter-spacing: -0.04em; }
.social-media-links-contact { margin: 22px 0; color: var(--deep-blue); font-weight: 600; }
.social-media-links-contact a { padding: 8px 12px; border: 1px solid rgba(31, 111, 174, 0.18); background: #fff; }
.footer-follow .social-media-links { flex-direction: column; align-items: flex-start; }
.footer-follow .social-icon { color: var(--energy-orange); }
.file-field small { display: block; margin-top: 6px; color: var(--secondary-text); }
.legal-content .container { max-width: 900px; }
.legal-content p { font-size: 18px; }

/* Final visual refinements: bilingual alignment, relevant service icons, and
   optimized industrial section photography. */
.site.ltr {
  direction: ltr;
  text-align: left;
  line-height: 1.58;
}

.site.rtl {
  direction: rtl;
  text-align: right;
  line-height: 1.75;
}

.ltr-number,
.ltr-unit,
.ltr-email {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.ltr .page-hero-content {
  align-items: flex-start;
  text-align: left;
}

.site.rtl .page-hero {
  direction: rtl;
  text-align: right;
}

.site.rtl .page-hero-content {
  align-items: flex-start;
  direction: rtl;
  text-align: right;
}

.site.rtl .page-hero-content > .eyebrow,
.site.rtl .page-hero-content > h1,
.site.rtl .page-hero-content > p,
.site.rtl .page-hero-content > .hero-actions {
  align-self: flex-start;
  margin-inline-start: 0;
  margin-inline-end: 0;
  text-align: right;
}

.site.rtl .page-hero-content > .hero-actions {
  justify-content: flex-start;
}

.site.rtl .page-hero .breadcrumbs {
  inset-inline-start: 0;
  inset-inline-end: auto;
  justify-content: flex-start;
  direction: rtl;
  text-align: right;
}

.page-hero h1,
.rtl .page-hero h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
}

.rtl .page-hero h1 {
  line-height: 1.3;
}

.site main h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.rtl main h3 {
  line-height: 1.3;
}

.ltr :where(
  .hero-copy,
  .overview-copy,
  .service-card,
  .project-card,
  .project-body,
  .capability-groups article,
  .why-grid article,
  .hse-copy,
  .hse-mini-grid article,
  .equipment-grid article,
  .industries-grid article,
  .process-grid article,
  .compliance-grid article,
  .related-service-groups article,
  .project-detail-grid,
  .project-detail-grid aside,
  .contact-intro,
  .contact-cards > *,
  .contact-form,
  .form-grid label,
  .legal-content,
  .footer,
  .footer-grid > div,
  .footer-bottom
) {
  text-align: left;
}

.rtl :where(
  .hero-copy,
  .overview-copy,
  .service-card,
  .project-card,
  .project-body,
  .capability-groups article,
  .why-grid article,
  .hse-copy,
  .hse-mini-grid article,
  .equipment-grid article,
  .industries-grid article,
  .process-grid article,
  .compliance-grid article,
  .related-service-groups article,
  .project-detail-grid,
  .project-detail-grid aside,
  .contact-intro,
  .contact-cards > *,
  .contact-form,
  .form-grid label,
  .legal-content,
  .footer,
  .footer-grid > div,
  .footer-bottom
) {
  direction: rtl;
  text-align: right;
}

.ltr :where(.section-heading.center, .metrics-title, .metrics-grid > div, .approach-statement, .empty-project-state, .document-status, .basra-visual, .quality-line div),
.rtl :where(.section-heading.center, .metrics-title, .metrics-grid > div, .approach-statement, .empty-project-state, .document-status, .basra-visual, .quality-line div) {
  text-align: center;
}

.ltr .section-heading:not(.center),
.ltr .service-card,
.ltr .project-body,
.ltr .capability-groups article,
.ltr .industries-grid article,
.ltr .contact-cards > *,
.ltr .footer-grid > div {
  text-align: left;
}

.rtl .section-heading:not(.center),
.rtl .service-card,
.rtl .project-body,
.rtl .capability-groups article,
.rtl .industries-grid article,
.rtl .contact-cards > *,
.rtl .footer-grid > div,
.rtl .project-detail-grid,
.rtl .related-service-groups article {
  text-align: right;
}

.rtl .section-heading:not(.center),
.rtl .section-heading:not(.center) p {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.rtl .section-title-row {
  text-align: right;
}

.rtl .tag-row,
.rtl .hero-actions,
.rtl .social-media-links {
  justify-content: flex-start;
}

.rtl .footer-grid > div:not(.footer-brand),
.rtl .footer-contact {
  align-items: flex-start;
}

.rtl .contact-phone {
  align-items: flex-start;
  text-align: right;
}

.rtl .contact-phone .ltr-number,
.rtl .footer-phone {
  width: auto;
  align-self: flex-start;
  text-align: left;
}

.rtl .phone-link {
  direction: ltr;
  unicode-bidi: isolate;
}

.rtl .form-grid input:not([dir="ltr"]),
.rtl .form-grid select,
.rtl .form-grid textarea {
  text-align: right;
}

.service-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0, 92, 185, 0.12);
  background: linear-gradient(145deg, rgba(0, 92, 185, 0.1), rgba(0, 79, 158, 0.035));
}

.service-icon img {
  width: 42px;
  height: 42px;
}

.project-meta {
  max-width: 190px;
  grid-template-columns: 1fr;
}

.rtl .project-meta {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.home-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-visual::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
  pointer-events: none;
}

.home-visual > .container {
  position: relative;
  z-index: 1;
}

.home-who {
  background-image: url("../images/hero/about-engineering-team.webp");
  background-position: center 38%;
}

.home-who::before {
  background: linear-gradient(90deg, rgba(247, 249, 252, 0.86), rgba(247, 249, 252, 0.96) 52%, rgba(232, 240, 249, 0.9));
}

.rtl .home-who::before {
  background: linear-gradient(270deg, rgba(247, 249, 252, 0.86), rgba(247, 249, 252, 0.96) 52%, rgba(232, 240, 249, 0.9));
}

.home-services-section {
  background-image: url("../images/hero/services-oilfield-operations.webp");
  background-position: center;
}

.home-services-section::before {
  background: linear-gradient(180deg, rgba(239, 245, 251, 0.9), rgba(247, 249, 252, 0.95));
}

.home-capabilities {
  background-image: url("../images/hero/home-electrical.webp");
  background-position: center;
}

.home-capabilities::before {
  background: linear-gradient(105deg, rgba(238, 244, 250, 0.94), rgba(248, 250, 252, 0.88));
}

.home-why {
  background-image: url("../images/hero/industries-sector-panorama.webp");
  background-position: center;
}

.home-why::before {
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.88), rgba(237, 243, 249, 0.94));
}

.home-hse {
  background-image: url("../images/hero/hse-quality-inspection.webp");
  background-position: center;
}

.home-hse::before {
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.95) 0 52%, rgba(226, 237, 248, 0.78));
}

.rtl .home-hse::before {
  background: linear-gradient(270deg, rgba(248, 250, 252, 0.95) 0 52%, rgba(226, 237, 248, 0.78));
}

.home-projects {
  background-image: url("../images/hero/projects-industrial-execution.webp");
  background-position: center;
}

.home-projects::before {
  background: linear-gradient(120deg, rgba(11, 29, 50, 0.95), rgba(0, 54, 109, 0.84));
}

.home-equipment {
  background-image: url("../images/hero/equipment-field-readiness.webp");
  background-position: center 48%;
}

.home-equipment::before {
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.88), rgba(247, 249, 252, 0.95));
}

.home-approach {
  background-image: url("../images/hero/home-logistics.webp");
  background-position: center;
}

.home-approach::before {
  background: linear-gradient(120deg, rgba(11, 29, 50, 0.95), rgba(0, 54, 109, 0.86));
}

.home-industries {
  background-image: url("../images/hero/industries-sector-panorama.webp");
  background-position: center;
}

.home-industries::before {
  background: linear-gradient(120deg, rgba(12, 30, 51, 0.94), rgba(0, 62, 124, 0.84));
}

.home-iraq {
  background-image: url("../images/hero/home-energy.webp");
  background-position: center 42%;
}

.home-iraq::before {
  background: linear-gradient(90deg, rgba(244, 248, 252, 0.94), rgba(227, 238, 248, 0.88));
}

.rtl .home-iraq::before {
  background: linear-gradient(270deg, rgba(244, 248, 252, 0.94), rgba(227, 238, 248, 0.88));
}

.cta-visual {
  background-color: var(--deep-blue);
  background-image: linear-gradient(90deg, rgba(0, 38, 79, 0.95), rgba(0, 79, 158, 0.82)), url("../images/hero/contact-project-office.webp");
  background-position: center;
  background-size: cover;
}

.rtl .cta-visual {
  background-image: linear-gradient(270deg, rgba(0, 38, 79, 0.95), rgba(0, 79, 158, 0.82)), url("../images/hero/contact-project-office.webp");
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-visual,
  .cta-visual {
    background-attachment: fixed;
  }
}

@media (max-width: 900px) {
  .home-visual,
  .cta-visual {
    background-attachment: scroll;
    background-position: center;
  }
}

@media (max-width: 1120px) {
  .capability-groups { grid-template-columns: repeat(3,1fr); }
  .industries-grid { grid-template-columns: repeat(3,1fr); }
  .process-grid-five { grid-template-columns: repeat(3,1fr); }
  .compliance-grid { grid-template-columns: repeat(2,1fr); }
  .main-nav { font-size: 13px; }
}

@media (max-width: 900px) {
  .hero-copy { width: min(850px, 88vw); }
  .hero-copy h1, .hero-copy h2, .rtl .hero-copy h1, .rtl .hero-copy h2 { font-size: 44px; }
  .main-nav { font-size: 16px; font-weight: 500; }
  .capability-groups, .industries-grid, .related-service-groups { grid-template-columns: repeat(2,1fr); }
  .why-grid-six { grid-template-columns: repeat(2,1fr); }
  .metrics-grid > div:last-child { grid-column: span 2; }
  .project-detail-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 620px) {
  .site { font-size: 16px; }
  .hero-copy h1, .hero-copy h2, .rtl .hero-copy h1, .rtl .hero-copy h2 { font-size: 36px; font-weight: 600; line-height: 1.18; }
  .rtl .hero-copy h1, .rtl .hero-copy h2 { line-height: 1.3; }
  .page-hero h1, .rtl .page-hero h1 { font-size: 36px; font-weight: 600; line-height: 1.18; }
  .rtl .page-hero h1 { line-height: 1.3; }
  .page-hero p, .rtl .page-hero p { font-size: 16px; }
  .hero-copy p, .rtl .hero-copy p { font-size: 16px; }
  .hero-supporting { font-size: 13px !important; }
  .section-heading h2, .rtl .section-heading h2 { font-size: 30px; }
  .section-heading p, .overview-copy > p, .lead { font-size: 16px; }
  .site main h3, .service-card h3, .capability-groups h3, .industries-grid h3 { font-size: 23px; }
  .metrics-title { padding-inline: 12px; font-size: 11px; }
  .metrics-grid strong { font-size: 23px; }
  .metrics-grid span { font-size: 11px; }
  .capability-groups, .industries-grid, .related-service-groups, .why-grid-six { grid-template-columns: 1fr; }
  .process-grid-five, .compliance-grid { grid-template-columns: 1fr; }
  .metrics-grid > div:last-child { grid-column: span 2; }
  .capability-groups h3 { min-height: 0; }
  .why-grid-six article { border-inline-end: 0; }
  .hse-mini-grid { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
  .project-detail-grid article > ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-legal { flex-direction: column; gap: 8px; }
}
