/* ============================================================
   MGAB — Elite Infrastructure & Execution Partner
   Static Website Stylesheet
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #c9a84c;
  --gold-light: #f0d78c;
  --gold-border: rgba(201, 168, 76, 0.4);
  --gold-subtle: rgba(201, 168, 76, 0.2);
  --gold-faint: rgba(201, 168, 76, 0.06);
  --bg: #0a0a0a;
  --bg-alt: #0f0f0f;
  --text: #ffffff;
  --text-88: rgba(255, 255, 255, 0.88);
  --text-85: rgba(255, 255, 255, 0.85);
  --text-78: rgba(255, 255, 255, 0.78);
  --text-72: rgba(255, 255, 255, 0.72);
  --text-65: rgba(255, 255, 255, 0.65);
  --text-60: rgba(255, 255, 255, 0.60);
  --text-55: rgba(255, 255, 255, 0.55);
  --text-35: rgba(255, 255, 255, 0.35);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background-color: var(--gold);
  color: var(--bg);
}

img { max-width: 100%; }
button { font-family: inherit; }
a { text-decoration: none; }

/* ============================================================
   PRELOADER
   ============================================================ */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader__inner { text-align: center; }

.preloader__logo {
  width: clamp(120px, 20vw, 240px);
  height: auto;
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease;
}

.preloader__logo.loaded {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.preloader__label {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(201, 168, 76, 0.7);
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              opacity 0.8s ease 0.2s;
}

.preloader__label.loaded {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   HEADER
   ============================================================ */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  background-color: transparent;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s ease,
              border-color 0.4s ease;
}

#site-header.compact { height: 64px; }

#site-header.scrolled {
  background-color: var(--bg);
  border-color: rgba(201, 168, 76, 0.4);
}

.header-logo {
  height: 44px;
  width: auto;
  transition: height 0.4s ease;
  cursor: pointer;
  display: block;
}

#site-header.compact .header-logo { height: 36px; }

.site-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background-color: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-item:hover {
  background-color: var(--gold);
  color: var(--bg);
}

.lang-switcher {
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 4px;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

.lang-btn {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
  padding: 4px 6px;
}

.lang-btn.active {
  color: var(--gold);
  font-weight: 600;
}

/* Mobile hamburger */
#mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

#mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

#mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

#mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  z-index: 98;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

#mobile-nav.open { display: flex; }

.mobile-nav-item {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 32px;
  width: 100%;
  text-align: center;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  background: none;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.mobile-nav-item:hover {
  color: var(--gold);
  background-color: rgba(201, 168, 76, 0.05);
}

.mobile-lang-row {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}

.mobile-lang-btn {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 10px 24px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.mobile-lang-btn.active {
  color: var(--bg);
  background-color: var(--gold);
  border-color: var(--gold);
}

/* ============================================================
   GOLD DECORATIVE LINES
   ============================================================ */

.gold-line-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
}

.gold-line-center--wide { width: 200px; }
.gold-line-center--bottom { top: auto; bottom: 0; }

/* ============================================================
   HERO SECTION
   ============================================================ */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background-color: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-infra.jpg');
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.8) 100%);
}

.hero__line-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.6;
}

.hero__line-bottom {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 0 clamp(32px, 4.5vw, 72px);
  text-align: left;
}

/*
  In a flex-direction:column container with direction:rtl, the cross axis
  starts from the RIGHT, so align-items:flex-start places children on the
  RIGHT side — matching how flex-start gives left-alignment in LTR.
*/
[dir="rtl"] .hero__content {
  align-items: flex-start;
  text-align: right;
}

.hero__logo {
  width: clamp(80px, 12vw, 140px);
  height: auto;
  margin-bottom: 8px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(201, 168, 76, 0.9);
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(40px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text);
  max-width: 920px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero__title .gold-word {
  color: var(--gold);
  font-weight: 600;
}

.hero__subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

[dir="rtl"] .hero__ctas {
  flex-direction: row;
  justify-content: flex-start;
  direction: rtl;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 16px 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: "Helvetica Neue", sans-serif;
  border: none;
  display: inline-block;
  white-space: nowrap;
}

.btn--gold {
  color: var(--gold);
  background-color: transparent;
  border: 1px solid var(--gold);
}

.btn--gold:hover {
  color: var(--bg);
  background-color: var(--gold);
}

.btn--white {
  color: var(--text);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn--white:hover {
  color: var(--bg);
  background-color: var(--text);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */

.section__container {
  max-width: 1400px;
  margin: 0 auto;
}

.section__container--md {
  max-width: 1000px;
  margin: 0 auto;
}

.section__container--sm {
  max-width: 800px;
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.section__title--sm {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.section__body {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-72);
  max-width: 640px;
}

.gold-bar {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin-bottom: 32px;
}

[dir="ltr"] .gold-bar { margin-right: auto; }
[dir="rtl"] .gold-bar { margin-left: auto; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */

#about {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}

.about__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 80px;
  align-items: center;
}

.about__text p {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-78);
  max-width: 560px;
}

/* Image frame with gold corners */
.img-frame {
  position: relative;
  width: 100%;
  padding-bottom: 66%;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.img-frame img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
}

.corner--tl { top: 0; left: 0; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner--tr { top: 0; right: 0; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.corner--bl { bottom: 0; left: 0; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner--br { bottom: 0; right: 0; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ============================================================
   VISION & MISSION SECTION
   ============================================================ */

#vision-mission {
  background-color: var(--bg-alt);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 60px);
  position: relative;
}

.vm__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.vm__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 60px;
  position: relative;
  z-index: 1;
}

.vm-card {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  background-color: rgba(201, 168, 76, 0.03);
  position: relative;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--gold);
}

[dir="rtl"] .vm-card::before { left: auto; right: 0; }

.vm-card__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.vm-card__title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

.vm-card__text {
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

#services {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
}

.services__header {
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  padding-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 2px;
  background-color: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.service-card {
  background-color: rgba(10, 10, 10, 0.85);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 160px;
  cursor: default;
  transition: background-color 0.3s ease;
}

.service-card:hover {
  background-color: rgba(201, 168, 76, 0.1);
}

.service-card:hover .sc-num { color: var(--gold); }
.service-card:hover .sc-name { color: var(--gold); }

.sc-num {
  flex: 0 0 auto;
  width: 36px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(201, 168, 76, 0.55);
  font-variant-numeric: tabular-nums;
  padding-top: 7px;
  transition: color 0.3s ease;
}

.sc-body { flex: 1 1 0%; }

.sc-name {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.sc-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ============================================================
   CAPACITY SECTION
   ============================================================ */

#capacity {
  background-color: var(--bg-alt);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}

.capacity__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.capacity__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 60px;
  align-items: center;
}

[dir="ltr"] .capacity__img-col { order: 1; }
[dir="ltr"] .capacity__text-col { order: 2; }
[dir="rtl"] .capacity__img-col { order: 2; }
[dir="rtl"] .capacity__text-col { order: 1; }

.capacity__text-col p {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-78);
  max-width: 520px;
}

/* ============================================================
   EQUIPMENT SECTION
   ============================================================ */

#equipment {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
}

.eq-header-row {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.eq-header-row span:last-child { text-align: center; }

.eq-row {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s ease;
  cursor: default;
}

.eq-row:hover { background-color: rgba(201, 168, 76, 0.06); }

.eq-no {
  font-variant-numeric: tabular-nums;
  color: rgba(201, 168, 76, 0.7);
}

.eq-qty {
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 500;
  color: var(--gold);
}

.eq-total {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 16px;
  padding: 18px 24px;
  border-top: 2px solid rgba(201, 168, 76, 0.4);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.eq-total span:last-child {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   METHODOLOGY SECTION
   ============================================================ */

#methodology {
  background-color: var(--bg-alt);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
}

.methodology__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0;
}

.step-item {
  padding: 32px 28px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  background-color: rgba(201, 168, 76, 0.02);
  transition: background-color 0.3s ease;
}

.step-item:hover { background-color: rgba(201, 168, 76, 0.08); }

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

[dir="ltr"] .step-num { margin-right: auto; }
[dir="rtl"] .step-num { margin-left: auto; }

.step-title {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
}

/* ============================================================
   QUALITY & SAFETY SECTION
   ============================================================ */

#quality-safety {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}

.qs__bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/field-gallery-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.qs__grid {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 60px;
  align-items: center;
}

.qs__text p {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

[dir="ltr"] .badges { justify-content: flex-start; }
[dir="rtl"] .badges { justify-content: flex-end; }

.badge {
  padding: 16px 28px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background-color: rgba(201, 168, 76, 0.06);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.badge:hover {
  background-color: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.6);
}

/* ============================================================
   COVERAGE SECTION
   ============================================================ */

#coverage {
  background-color: var(--bg-alt);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 60px);
  position: relative;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2px;
  background-color: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.coverage-item {
  background-color: rgba(10, 10, 10, 0.9);
  padding: clamp(32px, 4vw, 48px);
  transition: background-color 0.3s ease;
  cursor: default;
}

.coverage-item:hover { background-color: rgba(201, 168, 76, 0.08); }

.coverage-item__num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(201, 168, 76, 0.7);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 12px;
}

.coverage-item__name {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}

/* ============================================================
   LEADERSHIP SECTION
   ============================================================ */

#leadership {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}

.leadership__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.leadership__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  background-color: rgba(201, 168, 76, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.leadership__name {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.leadership__bar {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 0 auto 32px;
}

.leadership__text {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-78);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */

#gallery {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 2px;
  background-color: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background-color: #111;
  cursor: pointer;
}

.gallery-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__view-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 10px 20px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-color: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

#lightbox.open {
  opacity: 1;
  visibility: visible;
}

#lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

#lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 8px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

#cta {
  background-color: var(--bg);
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-infra.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,0.7) 50%, var(--bg) 100%);
}

.cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}

.cta__text {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-78);
  margin-bottom: 40px;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

[dir="rtl"] .cta__buttons { flex-direction: row-reverse; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */

#contact {
  position: relative;
  width: 100%;
  min-height: 700px;
  background-color: var(--bg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
}

.contact__info {
  background-color: var(--bg-alt);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
}

[dir="rtl"] .contact__info {
  border-right: none;
  border-left: 1px solid rgba(201, 168, 76, 0.15);
}

.contact__info-inner {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.contact__eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.contact__title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 16px;
}

.contact__subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cil__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(201, 168, 76, 0.7);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.cil__value {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* Contact Form */
.contact__form-wrap {
  background-color: var(--bg);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__form-inner {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.form-error {
  border: 1px solid rgba(255, 100, 100, 0.5);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 150, 150, 0.9);
  margin-bottom: 4px;
  display: none;
}

.form-error.show { display: block; }

.form-success {
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 32px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  display: none;
}

.form-success.show { display: block; }

.form-success__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.field-group {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 76, 0.6);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.field-input {
  width: 100%;
  padding: 12px 0;
  font-size: 15px;
  background-color: transparent;
  color: #ffffff;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  outline: none;
  font-family: inherit;
  letter-spacing: 0.01em;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  transition: border-color 0.25s ease;
}

.field-input:focus { border-bottom-color: var(--gold); }
.field-input option { color: #000; background-color: #fff; }

textarea.field-input {
  resize: vertical;
  padding-top: 12px;
}

.btn--submit {
  margin-top: 12px;
  padding: 18px 24px;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  background-color: transparent;
  border: 1px solid var(--gold);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
  font-family: "Helvetica Neue", sans-serif;
}

.btn--submit:hover {
  color: var(--bg);
  background-color: var(--gold);
}

.btn--submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
  background-color: var(--bg);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 80px clamp(20px, 4vw, 60px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.footer__grid {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 80px;
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer__slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 260px;
  white-space: pre-line;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

[dir="ltr"] .footer__link { text-align: left; }
[dir="rtl"] .footer__link { text-align: right; }

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
}

.footer__wordmark {
  font-size: clamp(60px, 14vw, 260px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(201, 168, 76, 0.06);
  white-space: nowrap;
  transform: translateY(15%);
  user-select: none;
  line-height: 0.8;
}

/* ============================================================
   SCROLL ANIMATIONS — Progressive Enhancement
   Elements are visible by default. .js-enabled activates
   the hide-then-reveal pattern via IntersectionObserver.
   ============================================================ */

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal-img {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"].js-enabled .reveal-img,
[dir="rtl"] .js-enabled .reveal-img {
  transform: translateX(-80px);
}

.js-enabled .reveal-img.visible {
  opacity: 1;
  transform: translateX(0);
}

.js-enabled .reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-enabled .reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for child reveals */
.js-enabled .stagger > *:nth-child(1) { transition-delay: 0s; }
.js-enabled .stagger > *:nth-child(2) { transition-delay: 0.1s; }
.js-enabled .stagger > *:nth-child(3) { transition-delay: 0.2s; }
.js-enabled .stagger > *:nth-child(4) { transition-delay: 0.3s; }
.js-enabled .stagger > *:nth-child(5) { transition-delay: 0.4s; }
.js-enabled .stagger > *:nth-child(6) { transition-delay: 0.5s; }
.js-enabled .stagger > *:nth-child(7) { transition-delay: 0.6s; }
.js-enabled .stagger > *:nth-child(8) { transition-delay: 0.7s; }
.js-enabled .stagger > *:nth-child(9) { transition-delay: 0.8s; }
.js-enabled .stagger > *:nth-child(10) { transition-delay: 0.9s; }
.js-enabled .stagger > *:nth-child(11) { transition-delay: 1.0s; }
.js-enabled .stagger > *:nth-child(12) { transition-delay: 1.1s; }
.js-enabled .stagger > *:nth-child(13) { transition-delay: 1.2s; }

/* ============================================================
   CONTACT VALUES — LTR ISOLATION
   Phone numbers, emails, and URLs must always render left-to-right
   regardless of the page's dir="rtl" setting.
   unicode-bidi: isolate prevents the surrounding RTL context from
   reversing the character order within these elements.
   ============================================================ */
.phone-number,
.email-value,
.url-value,
.whatsapp-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

a[href^="tel:"],
a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

/* In RTL context: align the wrapper right but keep value characters LTR */
[dir="rtl"] .contact-phone-wrapper {
  text-align: right;
}

[dir="rtl"] .phone-number,
[dir="rtl"] .email-value,
[dir="rtl"] .url-value,
[dir="rtl"] .whatsapp-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ============================================================
   RTL — OVERRIDES
   These selectors only fire when dir="rtl" / lang="ar" is on <html>.
   No separate font family is loaded — Arabic renders in the same
   Helvetica Neue / Segoe UI / Arial stack as English.
   English layout is completely untouched.
   ============================================================ */

/*
  FIX: Duplicate logo in BOTH languages.
  .hero__logo lives inside #hero (not the header). On desktop the fixed
  header-logo is simultaneously visible at the top of every viewport, so
  both logos are seen at once. Hiding .hero__logo unconditionally removes
  the duplicate in English and Arabic — the header-logo handles branding.
*/
.hero__logo {
  display: none;
}

/* Arabic hero title — larger size for proper visual hierarchy */
[dir="rtl"] .hero__title {
  font-size: clamp(4.5rem, 6vw, 7.5rem);
  line-height: 1.15;
  max-width: 1000px;
  text-align: right;
  letter-spacing: 0;
  text-wrap: balance;
  margin-left: auto;
  margin-right: 0;
}

/* Arabic hero subtitle */
[dir="rtl"] .hero__subtitle {
  text-align: right;
  max-width: 760px;
  line-height: 1.9;
  margin-left: auto;
  margin-right: 0;
}

/* Arabic eyebrow */
[dir="rtl"] .hero__eyebrow {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

/* Section titles — reset negative letter-spacing (not suitable for Arabic glyphs) */
[dir="rtl"] .section__title,
[dir="rtl"] .section__title--sm {
  letter-spacing: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .site-nav { display: none !important; }
  #mobile-menu-btn { display: flex; }

  .form-row { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact__info {
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  [dir="rtl"] .contact__info {
    border-left: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }
}

@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  [dir="rtl"] .hero__ctas { align-items: flex-end; }
  .cta__buttons { flex-direction: column; align-items: center; }
  .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  [dir="rtl"] .footer__bottom { align-items: flex-end; }
}
