/* Maharat Al Fahd — Premium Corporate Digital Experience */
:root {
  --navy: #0a1628;
  --navy-deep: #000c18;
  --navy-mid: #122038;
  --navy-soft: #1a2d4a;
  --silver: #8a95a5;
  --silver-light: #c5ccd6;
  --silver-muted: #6b7585;
  --gold: #c09c30;
  --gold-light: #d4b45a;
  --gold-dim: rgba(192, 156, 48, 0.35);
  --surface: #f4f6f9;
  --surface-alt: #ffffff;
  --text-primary: #0e1726;
  --text-on-dark: #f0f3f7;
  --text-muted: #5a6575;
  --border-light: rgba(10, 22, 40, 0.08);
  --shadow-soft: 0 12px 40px rgba(0, 12, 24, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 76px;
  --container: 1140px;
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
  --font-en: "Manrope", "IBM Plex Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(192, 156, 48, 0.45);
}

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

html {
  font-size: 106.25%; /* ~17px base — slightly larger site type */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

body {
  margin: 0;
  font-family: var(--font-ar);
  color: var(--text-primary);
  background: var(--surface-alt);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[dir="ltr"] {
  font-family: var(--font-en);
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10001;
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 12, 24, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

body[dir="ltr"] .brand-sub {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  color: var(--silver-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--gold-light);
}

.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.65rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Keep lang → menu in physical LTR order so hamburger sits on the outer edge */
  direction: ltr;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--silver-light);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 10px rgba(192, 156, 48, 0.12);
}

.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(192, 156, 48, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold-light);
  box-shadow:
    0 0 0 1px rgba(212, 180, 90, 0.35),
    0 0 14px rgba(192, 156, 48, 0.35),
    0 0 28px rgba(192, 156, 48, 0.18);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow:
    0 0 0 1px rgba(212, 180, 90, 0.55),
    0 0 20px rgba(192, 156, 48, 0.5),
    0 0 40px rgba(192, 156, 48, 0.28),
    0 8px 24px rgba(192, 156, 48, 0.22);
}

.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow:
    0 0 0 1px rgba(192, 156, 48, 0.2),
    0 0 12px rgba(192, 156, 48, 0.28),
    0 0 26px rgba(192, 156, 48, 0.12);
}

.btn-ghost:hover {
  background: rgba(192, 156, 48, 0.1);
  box-shadow:
    0 0 0 1px rgba(192, 156, 48, 0.4),
    0 0 18px rgba(192, 156, 48, 0.4),
    0 0 36px rgba(192, 156, 48, 0.2);
}

.btn-nav {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: transparent;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(192, 156, 48, 0.18),
    0 0 10px rgba(192, 156, 48, 0.25),
    0 0 22px rgba(192, 156, 48, 0.1);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn-nav:hover {
  background: rgba(192, 156, 48, 0.12);
  box-shadow:
    0 0 0 1px rgba(192, 156, 48, 0.4),
    0 0 16px rgba(192, 156, 48, 0.38),
    0 0 32px rgba(192, 156, 48, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary,
  .btn-ghost,
  .btn-nav {
    animation: btnAura 3.6s ease-in-out infinite alternate;
  }
}

@keyframes btnAura {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.06);
  }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--silver-light);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 8, 18, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Side drawer — Arabic RIGHT | English LEFT (physical sides only) */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  width: min(82vw, 300px);
  max-width: 300px;
  padding: 1.25rem 1.1rem 2rem;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.98), rgba(0, 12, 24, 0.98));
  border: 1px solid rgba(192, 156, 48, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.38s var(--ease);
}

/* Arabic → right */
.nav-mobile.drawer-right {
  left: auto;
  right: 0;
  border-radius: 14px 0 0 14px;
  border-right: 0;
  transform: translate3d(105%, 0, 0);
}

/* English → left */
.nav-mobile.drawer-left {
  left: 0;
  right: auto;
  border-radius: 0 14px 14px 0;
  border-left: 0;
  transform: translate3d(-105%, 0, 0);
}

.nav-mobile.drawer-left.is-open,
.nav-mobile.drawer-right.is-open {
  transform: translate3d(0, 0, 0);
}

.nav-mobile a {
  display: block;
  color: var(--silver-light);
  padding: 0.95rem 0.65rem;
  min-height: 48px;
  border-bottom: 1px solid rgba(192, 156, 48, 0.12);
  font-size: 1.02rem;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-mobile a:hover,
.nav-mobile a.is-active {
  color: var(--gold-light);
  background: rgba(192, 156, 48, 0.08);
}

/* Mobile/tablet: Arabic — logo left, menu icon on the right (same side as drawer) */
@media (max-width: 1023px) {
  html[dir="rtl"] .header-inner,
  body[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .btn-nav {
    display: inline-flex;
  }
  .brand-sub {
    max-width: 220px;
  }
  .nav-mobile,
  .nav-backdrop {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(192, 156, 48, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 45, 74, 0.8), transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, #07101c 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192, 156, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 156, 48, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-copy {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-brand {
  margin-bottom: 1.5rem;
}

.hero-brand-ar {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}

.hero-brand-sub {
  color: var(--gold);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
}

.hero-brand-en {
  color: var(--silver);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  font-family: var(--font-en);
}

.gold-line {
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.25rem 0 1.5rem;
}

body[dir="rtl"] .gold-line {
  background: linear-gradient(270deg, var(--gold), transparent);
}

.hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-lead {
  color: var(--silver-light);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-visual {
    animation: fadeUp 0.9s var(--ease) both;
  }
  .hero-badge { animation-delay: 0.05s; }
  .hero-brand { animation-delay: 0.12s; }
  .hero h1 { animation-delay: 0.2s; }
  .hero-lead { animation-delay: 0.28s; }
  .hero-actions { animation-delay: 0.36s; }
  .hero-visual { animation-delay: 0.18s; animation-name: fadeSlide; }
  .gold-line {
    width: 0;
    animation: lineGrow 1s var(--ease) 0.25s forwards;
  }
}

.hero-frame {
  position: relative;
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  overflow: hidden;
  background: #020810;
  aspect-ratio: 3 / 4;
  max-height: min(70vh, 640px);
  margin-inline: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 8s var(--ease);
}

.hero:hover .hero-frame img {
  transform: scale(1.03);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(192, 156, 48, 0.25);
  border-radius: 10px;
  pointer-events: none;
}

@keyframes fadeUp {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeSlide {
  from {
    transform: translateY(20px) scale(0.985);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes lineGrow {
  to {
    width: 88px;
  }
}

/* Sections common */
section {
  padding: 5rem 0;
}

.section-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  line-height: 1.25;
  color: var(--navy);
}

.section-lead {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.section-dark {
  background: var(--navy-deep);
  color: var(--text-on-dark);
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-lead {
  color: var(--silver-light);
}

.section-surface {
  background: var(--surface);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-media:hover img {
  transform: scale(1.03);
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-text .lead {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

.about-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 560px) {
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.mini-card {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  background: var(--surface-alt);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.mini-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.mini-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}

.mini-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mini-card .icon-gold {
  width: 28px;
  height: 28px;
  margin-bottom: 0.65rem;
  color: var(--gold);
}

/* Vision */
.vision-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vision-card {
  background: var(--navy-mid);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  min-height: 100%;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.vision-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.vision-num {
  font-family: var(--font-en);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.vision-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: #fff;
}

.vision-card p {
  margin: 0;
  color: var(--silver-light);
  font-size: 0.95rem;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.values-list li {
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Services */
.service-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface-alt);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease);
  width: 100%;
  color: inherit;
}

.service-card:hover,
.service-card.is-open {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.service-card .summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s, margin 0.35s;
  margin-top: 0;
  color: var(--navy-soft);
  font-size: 0.92rem;
}

.service-card.is-open .service-detail {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.85rem;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sectors */
.sectors-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .sectors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sector-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.sector-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
  border-top-color: var(--gold);
}

.sector-card .sector-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.sector-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.4;
}

.sector-card .en-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--silver-muted);
  font-family: var(--font-en);
}

body[dir="ltr"] .sector-card .en-label {
  display: none;
}

/* Why */
.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.why-card {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}

.why-card:hover {
  border-color: var(--gold);
  background: rgba(192, 156, 48, 0.05);
}

.why-n {
  font-family: var(--font-en);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff;
  line-height: 1.4;
}

.why-card p {
  margin: 0;
  color: var(--silver);
  font-size: 0.88rem;
}

/* Reach */
.reach-quote {
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 1.25rem;
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
  max-width: 65ch;
}

.reach-support {
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 60ch;
}

.regions-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .regions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.region-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-bottom: 2px solid var(--gold);
}

.region-card h3 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.region-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* HQ */
.hq-block {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hq-block {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hq-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  aspect-ratio: 16 / 10;
}

.hq-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hq-media:hover img {
  transform: scale(1.04);
}

.hq-tag {
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hq-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.gallery-note {
  margin-top: 1rem;
  color: var(--silver-muted);
  font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 16, 0.92);
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
}

.lightbox-inner img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
}

.lightbox-caption {
  color: var(--silver-light);
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.lightbox-btn {
  position: absolute;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.lightbox-close {
  top: -0.5rem;
  inset-inline-end: -0.5rem;
}

.lightbox-prev {
  top: 50%;
  inset-inline-start: -0.5rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  inset-inline-end: -0.5rem;
  transform: translateY(-50%);
}

@media (max-width: 700px) {
  .lightbox-prev {
    inset-inline-start: 0.25rem;
  }
  .lightbox-next {
    inset-inline-end: 0.25rem;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.contact-card .label {
  color: var(--silver-muted);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-card .hint {
  color: var(--silver);
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.contact-card .value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

/* Keep phone numbers LTR (so + stays on the left) but centered in the card */
.phone-ltr,
[dir="ltr"].phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate;
  text-align: center;
  display: block;
  width: 100%;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.contact-actions .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.contact-panel {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-panel {
    grid-template-columns: minmax(0, 560px);
    justify-content: start;
  }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.form-card h3 {
  margin: 0 0 1.25rem;
  color: var(--navy);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-soft);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: #fff;
  color: var(--text-primary);
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.is-success {
  color: #1f6b3a;
}

.form-status.is-error {
  color: #9b2c2c;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
}

.email-pending {
  color: var(--silver-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--silver-light);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--gold-dim);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .brand-name {
  font-size: 1.15rem;
}

.footer-brand p {
  color: var(--silver);
  font-size: 0.92rem;
  margin: 0.85rem 0 0;
  max-width: 36ch;
}

.footer-col h3 {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--silver);
  font-size: 0.92rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(192, 156, 48, 0.15);
  font-size: 0.85rem;
  color: var(--silver-muted);
}

/* Privacy page */
.page-simple {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 70vh;
}

.page-simple article {
  max-width: 720px;
}

.page-simple h1 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* 404 */
.page-404 {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--navy-deep);
  color: var(--text-on-dark);
  padding: 2rem;
}

.page-404 h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.page-404 p {
  color: var(--silver-light);
  margin: 0 0 1.5rem;
}

/* ——— Ambient lighting & interactive glow ——— */
.ambient-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 10%, rgba(192, 156, 48, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 80%, rgba(26, 75, 140, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(192, 156, 48, 0.03), transparent 60%);
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

@keyframes ambientDrift {
  from {
    opacity: 0.75;
    transform: scale(1) translate(0, 0);
  }
  to {
    opacity: 1;
    transform: scale(1.05) translate(-1%, 1%);
  }
}

.cursor-glow {
  display: none;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(circle, rgba(192, 156, 48, 0.16) 0%, rgba(192, 156, 48, 0.04) 40%, transparent 70%);
  mix-blend-mode: soft-light;
  transition: opacity 0.35s ease;
  will-change: transform;
}

body.has-cursor-glow .cursor-glow {
  display: block;
}

.cursor-glow.is-on {
  opacity: 1;
}

.glow-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(192, 156, 48, 0.14),
    transparent 55%
  );
  z-index: 0;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

.glow-card:hover::after,
.glow-card:focus-within::after {
  opacity: 1;
}

.glow-card.is-pressed {
  transform: scale(0.98);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(192, 156, 48, 0.25), 0 10px 28px rgba(192, 156, 48, 0.12);
}

.btn,
.btn-nav {
  position: relative;
  overflow: visible;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.section-dark .vision-card,
.section-dark .why-card {
  box-shadow: inset 0 1px 0 rgba(192, 156, 48, 0.08);
}

.section-dark .vision-card:hover,
.section-dark .why-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(192, 156, 48, 0.2),
    0 0 32px rgba(192, 156, 48, 0.1);
}

.hero-frame {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(192, 156, 48, 0.08);
}

.brand-mark {
  box-shadow: 0 0 0 1px var(--gold-dim), 0 0 16px rgba(192, 156, 48, 0.15);
}

.gold-line {
  box-shadow: 0 0 12px rgba(192, 156, 48, 0.45);
}

/* ——— Mobile-first refinements ——— */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand-sub {
    max-width: 110px;
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  /* ——— Mobile hero: image as soft background + centered text ——— */
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
    overflow: hidden;
  }

  .hero-grid {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--navy-deep);
  }

  .hero-frame {
    position: absolute;
    inset: 0;
    max-height: none;
    aspect-ratio: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--navy-deep);
    overflow: hidden;
  }

  .hero-frame::after {
    display: none;
  }

  .hero-frame img {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: center 32%;
    opacity: 0.52;
    filter: saturate(0.95) contrast(1.04) blur(0.2px);
    transform: scale(1.18) !important;
    transform-origin: center center;
    /* Long soft dissolve — image has no visible top/bottom edge */
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 8%,
      #000 22%,
      #000 68%,
      rgba(0, 0, 0, 0.4) 86%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 8%,
      #000 22%,
      #000 68%,
      rgba(0, 0, 0, 0.4) 86%,
      transparent 100%
    );
  }

  .hero-visual::before,
  .hero-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
  }

  /* Solid navy caps so top/bottom never read as a photo crop */
  .hero-visual::before {
    top: 0;
    height: 28%;
    background: linear-gradient(
      180deg,
      var(--navy-deep) 0%,
      rgba(0, 12, 24, 0.92) 35%,
      rgba(0, 12, 24, 0.35) 70%,
      transparent 100%
    );
  }

  .hero-visual::after {
    inset: auto 0 0;
    height: 38%;
    background:
      linear-gradient(
        0deg,
        var(--navy-deep) 0%,
        rgba(0, 12, 24, 0.95) 28%,
        rgba(0, 12, 24, 0.45) 65%,
        transparent 100%
      );
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0 1rem;
  }

  .hero-badge {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-badge::before {
    display: none;
  }

  .hero-brand {
    margin-bottom: 1rem;
  }

  .hero-brand-ar {
    font-size: clamp(1.85rem, 8.5vw, 2.4rem);
  }

  .hero-brand-en {
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .gold-line {
    margin-inline: auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    max-width: 18ch;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: 34ch;
    margin-inline: auto;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* ——— Center site content on mobile ——— */
  section {
    padding: 3rem 0;
    text-align: center;
  }

  .section-eyebrow,
  .section-title,
  .section-lead,
  .reach-quote,
  .reach-support,
  .gallery-note,
  .hq-tag {
    margin-inline: auto;
    text-align: center;
  }

  .section-title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .section-lead,
  .reach-support {
    max-width: 36ch;
  }

  .reach-quote {
    border-inline-start: 0;
    border-top: 2px solid var(--gold);
    padding-inline-start: 0;
    padding-top: 1rem;
    max-width: 36ch;
  }

  .about-grid,
  .hq-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .about-media,
  .hq-media {
    order: -1;
    max-height: 240px;
    aspect-ratio: 16 / 10;
    margin-inline: auto;
    width: 100%;
  }

  .about-text p,
  .about-text .lead,
  .hq-block p {
    margin-inline: auto;
    max-width: 38ch;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .mini-card,
  .vision-card,
  .service-card,
  .sector-card,
  .why-card,
  .region-card,
  .contact-card {
    text-align: center;
  }

  .mini-card .icon-gold,
  .service-icon,
  .sector-card .sector-icon {
    margin-inline: auto;
  }

  .values-list {
    justify-content: center;
  }

  .service-toggle {
    justify-content: center;
  }

  .hq-location {
    justify-content: center;
  }

  .contact-grid {
    gap: 0.85rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .sector-card {
    padding: 1.1rem 1rem;
  }

  .sector-card h3 {
    font-size: 0.95rem;
  }

  .why-grid,
  .vision-grid,
  .service-grid,
  .regions-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    top: 0.25rem;
    inset-inline-end: 0.25rem;
  }

  .site-footer {
    text-align: center;
  }

  .footer-grid {
    gap: 1.75rem;
    justify-items: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .footer-brand p {
    margin-inline: auto;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .phone-ltr {
    text-align: center;
  }

  .glow-card::after {
    display: none;
  }

  .ambient-glow {
    animation: none;
    opacity: 0.85;
  }

  .cursor-glow {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .lang-toggle {
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
  }

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

@media (hover: none) and (pointer: coarse) {
  .cursor-glow {
    display: none !important;
  }

  .glow-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .service-card:hover,
  .vision-card:hover,
  .why-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow {
    animation: none !important;
  }
  .cursor-glow {
    display: none !important;
  }
  .glow-card,
  .btn,
  .btn-nav {
    transition: none !important;
  }
}
