/* ============================================================
   CAMILO SOTO — Design System
   Inspired by baselarea.swiss: editorial, white, bold typography
   ============================================================ */

/* --- RESET & BOX MODEL --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── LAYOUT DIRECTION LOCK ───────────────────────────────
   Layout always LTR — only the html element gets direction.
   Never set dir="rtl" via JS. This prevents layout shifts.
─────────────────────────────────────────────────────── */
html {
  direction: ltr;
}

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  --black:   #0f0f0f;
  --dark:    #0f1923;  /* brand near-black (navy-tinted) */
  --mid:     #374151;
  --gray:    #6b7280;
  --light:   #f8f8f6;
  --border:  #e5e7eb;
  --white:   #ffffff;
  /* ── Brand palette — Dynamic Structures + AlSuwaiket ────
     Dynamic Structures logo:
       Bronze-gold  #9B7C4A  "DYNAMIC STRUCTURES" text & mark
       Steel blue   #2B5C8A  lighter swoosh tone
       Dark navy    #1A2B5C  deep swoosh / shared navy
     AlSuwaiket logo:
       Royal blue   #1870BE  blue star
       Neutral arc  #8B8B8B  gray arc element
  ─────────────────────────────────────────────────────── */
  --brand-bronze: #8B6D3A;   /* DS bronze — passes WCAG AA on white (4.83:1) */
  --brand-steel:  #2B5C8A;   /* DS steel blue */
  --brand-navy:   #1A2B5C;   /* shared dark navy */
  --brand-blue:   #1870BE;   /* AlSuwaiket royal blue */
  --brand-gray:   #8B8B8B;   /* AlSuwaiket arc gray */

  /* Semantic aliases */
  --gold:    #8B6D3A;   /* DS bronze — WCAG AA on white:4.83 · dark:3.97 */
  --gold2:   #A88250;   /* lighter bronze for hover/gradients */
  --orange:  #E06620;   /* accent orange — CTAs, highlights */
  --orange2: #C4561A;   /* darker orange for hover */
  --cyan:    #2B5C8A;   /* steel blue */
  --blue:    #1870BE;   /* AlSuwaiket blue */
  --navy:    #1A2B5C;   /* deep navy */
  --nav-h:   80px; /* full-width flat nav */
  --max-w:   1180px;
  --section-pad: 96px 0;
}

/* --- BASE --- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;      /* slightly larger base — easier to read */
  line-height: 1.9;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── CROSS-BROWSER INTERACTION FIXES ──────────────────── */

/* Remove iOS tap highlight */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Consistent focus outline */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Prevent font inflation on mobile (iOS Safari) */
input, textarea, select {
  font-size: max(16px, 1rem); /* prevents zoom on focus in iOS */
}

/* Smooth image rendering */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Safari flex gap fallback via margin for very old versions */
@supports not (gap: 1px) {
  .grid-2  > * + * { margin-left: 48px; }
  .grid-3  > * + * { margin-left: 32px; }
  .grid-4  > * + * { margin-left: 24px; }
}

/* Justified body text — only for long-form prose, NOT lead/subtitle text */
.service-desc, .exp-primary-desc, .exp-advisory-lead,
.exp-adv-body p, .project-desc,
.exp-secondary-desc, .timeline-desc,
.who-p, .about-bio {
  text-align: justify;
  hyphens: auto;
}

/* Lead / subtitle text — always left-aligned, never hyphenated */
.sec-lead, .phd-sub, .steps-lead, .ct-lead,
.section-lead, .cp-intro, .pcb-desc {
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

/* sec-lead base style */
.sec-lead {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.85;
  margin-top: 12px;
  hyphens: none;
  -webkit-hyphens: none;
}

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

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

ul, ol {
  list-style: none;
}

/* --- GOOGLE FONTS --- */
/* Loaded via HTML <link> */

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */

.font-display {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

h1, .h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
}

h4, .h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--mid);
}

/* --- TAG / LABEL --- */
.tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad);
  scroll-margin-top: var(--nav-h);
}

section[id], div[id] {
  scroll-margin-top: var(--nav-h);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* Form validation error state */
.form-input.input-error,
.form-textarea.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

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

.grid-2-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

/* ── FLOATING PILL NAVBAR ─────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 76px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: border-color .3s, box-shadow .3s;
}
#nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
  border-bottom-color: transparent;
}
#nav.nav-light { }

/* Logo — center column */
.nav-logo {
  justify-self: center;
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Left links */
.nav-left {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
  padding-right: 48px;
}

/* Right links + lang */
.nav-right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
  padding-left: 48px;
}

/* Hamburger sits outside grid on mobile */
.hamburger {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── ABOUT PAGE — extracted inline styles ────────────── */
.deliver-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.deliver-item {
  display: flex;
  gap: 12px;
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.65;
}
.deliver-arrow {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.process-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--gold);
  font-size: 1rem;
}
.event-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
}
.event-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  min-width: 48px;
}
.event-label {
  font-size: .85rem;
  color: var(--mid);
}

/* ── INDUSTRIES GRID — editorial 2-column numbered list ─ */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  counter-reset: sector;
  border-top: 1px solid var(--border);
}

.industry-item {
  counter-increment: sector;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: transparent;
  border-bottom: 1px solid var(--border);
  border-right: none;
  cursor: default;
  transition: background 0.2s;
  text-align: left;
  min-height: auto;
  position: relative;
}

/* vertical divider between the two columns */
.industry-item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.industry-item::before {
  content: counter(sector, decimal-leading-zero);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  flex-shrink: 0;
  width: 22px;
  line-height: 1;
}

.industry-item:hover {
  background: var(--light);
}

/* hide emoji icons — numbers via ::before replace them */
.industry-icon { display: none; }

.industry-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mid);
  line-height: 1.3;
  letter-spacing: 0;
  transition: color 0.2s;
}

.industry-item:hover .industry-name { color: var(--dark); }

@media (max-width: 768px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry-item:nth-child(odd) { border-right: none; }
  .industry-item { padding: 16px 24px; }
}

/* Logo image sizing — always colored, no inversion */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* On dark backgrounds: colored logo still shows —
   the icon (cyan/blue/navy/yellow/orange) is vibrant on dark.
   Remove any white-filter; add very subtle backdrop for the text. */
.logo-img-white {
  filter: none;               /* keep full brand colors */
  background: rgba(255,255,255,0.07);
  padding: 4px 8px;
  border-radius: 6px;
}

.nav-logo .logo-gold { color: var(--gold); }


.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--dark); border-bottom-color: rgba(0,0,0,.15); }
.nav-links a.active {
  color: var(--dark);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

/* lang-drop inside nav-right gets a left separator */
.nav-right .lang-drop {
  margin-left: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

/* ── LANGUAGE DROPDOWN ────────────────────────────────── */
.lang-drop { position: relative; }

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mid);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.lang-trigger:hover { background: var(--light); color: var(--dark); }

.lang-globe-icon { display: none; }
.lang-flag { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.lang-current { display: none; }
.lang-chevron-icon {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform .2s;
  flex-shrink: 0;
}
.lang-drop.open .lang-chevron-icon { transform: rotate(180deg); }

.lang-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 108px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 200;
}
.lang-drop.open .lang-panel { display: block; }

.lang-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  text-align: left;
  transition: background .15s;
}
.lang-opt:hover { background: var(--light); color: var(--dark); }
.lang-opt.active { color: var(--gold); font-weight: 700; }
.lang-opt .flag { font-size: 1rem; line-height: 1; }

/* Mobile lang buttons (inside mobile-nav) */
.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gray);
  background: transparent;
  border: 1.5px solid var(--border);
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 14px;
  transition: all .2s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ── NAV CTA ─────────────────────────────────────────── */
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--white);
  background: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: 3px;
  padding: 7px 14px;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}
.nav-cta:hover {
  background: var(--orange2);
  border-color: var(--orange2);
  color: var(--white);
}

/* ── HAMBURGER ───────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background .2s;
}
.hamburger:hover { background: var(--light); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav — drops just below the pill */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  border-radius: 16px;
  background: var(--white);
  padding: 8px 24px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
  border-top: 3px solid var(--gold);
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

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

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

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

.mobile-lang {
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.mobile-lang .lang-btn {
  color: var(--gray);
  background: var(--light);
  border-radius: 14px;
  font-size: 0.72rem;
  padding: 5px 12px;
}

.mobile-lang .lang-btn.active,
.mobile-lang .lang-btn:hover {
  background: var(--gold);
  color: var(--white);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--orange2);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  padding: 13px 32px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-1px);
}

.link-arrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 10px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal="left"] {
  transform: translateX(-48px);
  opacity: 0;
}

[data-reveal="right"] {
  transform: translateX(48px);
  opacity: 0;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ============================================================
   PAGE HERO (dark, full-screen)
   ============================================================ */

.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,18,30,0.88) 0%, rgba(11,18,30,0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 900px;
}

/* LIGHT HERO (white background) */
.page-hero-light {
  min-height: 360px;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  background: var(--white);
  display: flex;
  align-items: flex-end;
}

.page-hero-light .page-hero-content {
  text-align: left;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.card-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ============================================================
   OVERVIEW STATS — editorial 2×2 data panel
   ============================================================ */

.ovstat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.ovstat-item {
  padding: 36px 28px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* remove right border on even cells, bottom border on last two */
.ovstat-item:nth-child(even)  { border-right: none; }
.ovstat-item:nth-child(n+3)   { border-bottom: none; }

/* gold accent bar above the number */
.ovstat-item::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 18px;
}

.ovstat-n {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

.ovstat-l {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 10px;
  display: block;
}

/* ============================================================
   SERVICE ROWS — baselarea.swiss interactive hover list
   ============================================================ */

.svc-list {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.svc-row {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  gap: 0 32px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: var(--dark);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.3s ease, background 0.25s ease;
  cursor: pointer;
}

.svc-row:last-child {
  border-bottom: 1px solid var(--border);
}

/* gold left bar sweeps in */
.svc-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}

.svc-row:hover {
  background: var(--light);
}

.svc-row:hover::before { width: 3px; }

.svc-row-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gray);
  padding-top: 6px;
}

.svc-row-body { min-width: 0; }

.svc-row-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  transition: color 0.2s;
}

.svc-row:hover .svc-row-title { color: var(--dark); }

/* description hidden by default, reveals on hover */
.svc-row-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gray);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.3s ease;
  hyphens: none;
  text-align: left;
}

.svc-row:hover .svc-row-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px;
}

.svc-row-arrow {
  font-size: 1.1rem;
  color: var(--gray);
  padding-top: 4px;
  transition: transform 0.3s, color 0.3s;
  text-align: right;
}

.svc-row:hover .svc-row-arrow {
  transform: translate(4px, -2px);
  color: var(--gold);
}

@media (max-width: 768px) {
  .svc-row { grid-template-columns: 40px 1fr 24px; gap: 0 16px; padding: 28px 0; }
  .svc-row-title { font-size: 1.1rem; }
  .svc-row:hover { background: var(--light); }
  .ovstat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   KSA ENTRY STEPS — white editorial grid (about.html)
   ============================================================ */

.steps-section {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.steps-intro {
  margin-bottom: 64px;
  max-width: 640px;
}

.steps-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.steps-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.steps-lead {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 520px;
  text-align: left;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 28px;
}

.step-item {
  padding: 28px 0 24px;
  border-top: 1px solid var(--border);
  position: relative;
  transition: border-top-color 0.25s;
}

/* gold accent line that sweeps across on hover */
.step-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.step-item:hover::before {
  width: 100%;
}

.step-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 14px;
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.76rem;
  color: var(--gray);
  line-height: 1.75;
  text-align: left;
}

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
}


/* ============================================================
   PARTNER PHOTO — Sheikh Mubarak (about.html)
   ============================================================ */

.partner-photo-wrap {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.partner-photo-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 400px;
  object-fit: cover;
}

/* ============================================================
   TEAM — baselarea.swiss style: photo + name + title + icons
   ============================================================ */

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 48px;
  margin-top: 56px;
}

.team-card {
  display: flex;
  flex-direction: column;
}

/* Photo area — warm gray placeholder, portrait ratio */
.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 320px; /* graceful fallback for Safari < 15 */
  background: #e8e5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
}

/* Subtle grain texture overlay */
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(15%);
}

/* Initials shown when no photo */
.team-initials {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(26, 43, 92, 0.12);
  letter-spacing: -2px;
  user-select: none;
}

.team-card-body {
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

.team-person-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.2;
}

.team-person-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 14px;
  line-height: 1.4;
}

.team-person-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.team-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  color: var(--mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.team-icon-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(139,109,58,0.05);
}

.team-icon-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
}

.team-office {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .team-cards { grid-template-columns: 1fr; gap: 40px; }
}

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

/* ============================================================
   NEOM / VISION 2030 — photo tile grid (about.html)
   ============================================================ */

.neom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.neom-tile {
  display: block;
  overflow: hidden;
}

.neom-tile-wide {
  grid-column: 1 / -1;
}

.neom-img {
  aspect-ratio: 4 / 3;
  min-height: 200px; /* fallback */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.neom-img-wide {
  aspect-ratio: 16 / 7;
}

.neom-tile:hover .neom-img {
  transform: scale(1.04);
}

.neom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 10, 18, 0.82) 0%,
    rgba(6, 10, 18, 0.35) 55%,
    transparent 100%
  );
  transition: opacity 0.35s;
}

.neom-tile:hover .neom-overlay {
  opacity: 0.9;
}

.neom-name {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 1;
}

.neom-img-wide + .neom-name,
.neom-tile-wide .neom-name {
  font-size: 1.15rem;
}

.neom-desc {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 7px 2px 2px;
}

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

/* ============================================================
   FOOTER — Dynamic Structures navy, clean editorial
   ============================================================ */

#footer {
  background: var(--navy);
  border-top: 3px solid var(--orange);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── CTA STRIP ─────────────────────────────────────────── */
.footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 48px 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-cta-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-cta-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer-cta-btn:hover {
  background: var(--orange2);
  transform: translateY(-1px);
}

/* ── LINKS GRID ────────────────────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  align-items: start;
}

.footer-brand {}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo .logo-img {
  height: 72px;
  width: auto;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.logo-img-white {
  filter: none;
  background: rgba(255,255,255,0.95);
  padding: 10px 18px;
  border-radius: 8px;
}

.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

.footer-nav-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  text-decoration: none;
}

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

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-social-link:hover { color: var(--orange); }

.footer-social-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ── BOTTOM BAR ────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-right {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   DIVIDER LINE (editorial style)
   ============================================================ */

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 24px 0;
}

.divider-full {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ============================================================
   NUMBERS / STATS SECTION
   ============================================================ */

.stats-section {
  background: var(--navy);   /* Dynamic Structures navy #1A2B5C */
  padding: 80px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  display: block;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: var(--gold);
  padding: 80px 40px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--dark);
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background: var(--dark);
  color: var(--white);
}

.cta-banner .btn-primary:hover {
  background: var(--black);
}

/* ============================================================
   ALTERNATING SERVICE SECTIONS
   ============================================================ */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/* Reverse column order without touching direction */
.service-block.reverse .service-block-img  { order: 2; }
.service-block.reverse .service-block-content { order: 1; }

.service-block-img {
  overflow: hidden;
  position: relative;
}

.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-block:hover .service-block-img img {
  transform: scale(1.03);
}

.service-block-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.service-block.alt .service-block-content {
  background: var(--light);
}

.service-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.service-desc {
  color: var(--mid);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.service-bullets li {
  font-size: 0.88rem;
  color: var(--mid);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   EXPERTISE — reorganised layout
   ============================================================ */

/* Intro bar */
.expertise-intro {
  background: var(--white);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.expertise-intro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: center;
}
.expertise-intro p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray);
}
.expertise-intro-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}
.ei-stat-n {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.ei-stat-l { font-size: .78rem; color: var(--gray); margin-top: 3px; }

/* Category label */
.expertise-category {
  background: var(--light);
  padding: 40px 0 0;
}
.expertise-cat-label {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.expertise-cat-label span {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.expertise-cat-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Primary services — 3 tall image cards */
.exp-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.exp-primary-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.exp-primary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  z-index: 1;
}
.exp-primary-img {
  height: 240px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.exp-primary-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.exp-primary-card:hover .exp-primary-img img { transform: scale(1.05); }

.exp-primary-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(8,14,26,.35) 100%);
}
.exp-primary-num {
  position: absolute;
  top: 16px; left: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.9);
  background: rgba(0,180,227,.7);
  padding: 4px 10px;
  border-radius: 20px;
}
.exp-primary-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.exp-primary-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.exp-primary-desc {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}
.exp-primary-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.exp-tag-pill {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.exp-tag-pill::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Secondary services — 3 horizontal minimal rows */
.exp-secondary-section {
  background: var(--dark);
  padding: 56px 0;
}
.exp-secondary-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.exp-secondary-card {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.exp-secondary-card:last-child { border-right: none; }
.exp-secondary-card:hover { background: rgba(255,255,255,.04); }

.exp-secondary-num {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.exp-secondary-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}
.exp-secondary-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.exp-secondary-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 20px;
}
.exp-secondary-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.exp-secondary-bullets li {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.exp-secondary-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* ── ADVISORY SECTION — baselarea style ───────────────── */
.exp-advisory {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.exp-advisory-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.exp-advisory-content .tag { margin-bottom: 14px; }
.exp-advisory-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.exp-advisory-lead {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 40px;
}

.exp-advisory-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-adv-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.exp-adv-item:first-child { border-top: 1px solid var(--border); }

.exp-adv-num {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  padding-top: 4px;
}

.exp-adv-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.exp-adv-body p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.exp-adv-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.exp-adv-bullets li {
  font-size: .78rem;
  color: var(--gray);
  position: relative;
  padding-left: 12px;
}
.exp-adv-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* Photo */
.exp-advisory-photo {
  position: sticky;
  top: 110px;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.exp-advisory-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive expertise */
@media (max-width: 900px) {
  .exp-primary-grid { grid-template-columns: 1fr 1fr; }
  .exp-secondary-grid { grid-template-columns: 1fr; }
  .exp-secondary-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .exp-secondary-card:last-child { border-bottom: none; }
  .expertise-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .exp-advisory-inner { grid-template-columns: 1fr; }
  .exp-advisory-photo { position: static; aspect-ratio: 16/7; }
}
@media (max-width: 600px) {
  .exp-primary-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  padding: 0 0 64px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  padding-top: 6px;
  padding-right: 40px;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 174px;
  top: 10px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline-body {
  padding-left: 40px;
}

.timeline-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-company {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.timeline-desc {
  font-size: 0.93rem;
  color: var(--mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.timeline-achievements {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-achievements li {
  font-size: 0.85rem;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.timeline-achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */

/* ── PROJECTS — editorial dark-card layout ──────────────── */

.projects-layout { display: flex; flex-direction: column; gap: 3px; }
.projects-row { display: grid; gap: 3px; }
.projects-row-2 { grid-template-columns: 1fr 1fr; }
.projects-row-3 { grid-template-columns: repeat(3, 1fr); }
.projects-row-4 { grid-template-columns: repeat(4, 1fr); }

.proj-card {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  cursor: pointer;
}
.proj-card.large  { height: 460px; }
.proj-card.medium { height: 340px; }

.pcb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .7s ease, filter .4s ease;
  filter: brightness(.75);
}
.proj-card:hover .pcb-bg {
  transform: scale(1.07);
  filter: brightness(.45);
}

.pcb-overlay {
  position: absolute;
  inset: 0;
  /* Always dark enough for text to be readable */
  background: linear-gradient(to top,
    rgba(8,14,26,.97) 0%,
    rgba(8,14,26,.75) 55%,
    rgba(8,14,26,.35) 100%);
  transition: background .35s;
}
.proj-card:hover .pcb-overlay {
  background: linear-gradient(to top,
    rgba(8,14,26,.99) 0%,
    rgba(8,14,26,.88) 65%,
    rgba(8,14,26,.5) 100%);
}

.pcb-body {
  position: absolute;
  inset: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.pcb-num {
  position: absolute;
  top: 18px; left: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  background: rgba(0,0,0,.45);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
  /* Always visible — never hidden */
  opacity: 1 !important;
  transform: none !important;
}

.pcb-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
  display: block;
}

.pcb-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0;
}
.proj-card.large  .pcb-title { font-size: 1.35rem; }
.proj-card.medium .pcb-title { font-size: 1rem; }

/* Description — always visible, no slide animation */
.pcb-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-top: 12px;
}

/* Metrics — always visible */
.pcb-metrics {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.pcb-metric { display: flex; flex-direction: column; gap: 3px; }
.pcb-mn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.pcb-ml {
  font-size: .62rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Location tag */
.pcb-loc {
  position: absolute;
  top: 22px; right: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #F08320;
  background: rgba(240,131,32,.12);
  border: 1px solid rgba(240,131,32,.35);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Old card styles kept for compatibility */
.project-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,.09); }
.project-card-img { overflow: hidden; height: 220px; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-body { padding: 28px 28px 32px; }
.project-tag { font-family:'Montserrat',sans-serif; font-size:.6rem; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold); margin-bottom:10px; display:block; }
.project-title { font-family:'Montserrat',sans-serif; font-size:1rem; font-weight:700; color:var(--dark); margin-bottom:10px; line-height:1.35; }
.project-desc { font-size:.85rem; color:var(--gray); line-height:1.7; margin-bottom:20px; }

/* Responsive projects */
@media (max-width: 900px) {
  .projects-row-2 { grid-template-columns: 1fr; }
  .projects-row-3 { grid-template-columns: 1fr 1fr; }
  .projects-row-4 { grid-template-columns: 1fr 1fr; }
  .proj-card.large { height: 340px; }
}
@media (max-width: 540px) {
  .projects-row-4 { grid-template-columns: 1fr; }
  .proj-card.medium { height: 260px; }
}

/* ============================================================
   CLIENT LIST (editorial typographic style)
   ============================================================ */

.clients-section {
  padding: var(--section-pad);
}

.clients-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
}

.client-col-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  padding-bottom: 14px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
/* gold left accent on column header */
.client-col-header::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -1px;
}

.client-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.client-row:hover { background: var(--light); padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.client-row:last-child { border-bottom: none; }

.client-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.client-sector {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: var(--gray);
  white-space: nowrap;
}

.client-country {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ── POTENTIAL CLIENTS GRID ──────────────────────────── */
.potential-clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.pc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 12px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .22s, box-shadow .22s, transform .18s;
  text-align: center;
  /* Fixed height: logo(52) + gap(12) + name(18) + gap(6) + sector(14) + padding(44) = 146px */
  height: 148px;
  overflow: hidden;
}
.pc-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(224,102,32,.15);
  transform: translateY(-2px);
}

/* Fixed logo area — all logos same container size */
.pc-logo {
  width: 100%;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pc-logo img {
  max-height: 44px;
  max-width: 108px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  display: block;
}
.pc-card:hover .pc-logo img { filter: none; }

/* Hide broken image icon — show nothing if logo fails */
.pc-logo img[src=""],
.pc-logo img:not([src]) {
  display: none;
}

.pc-name {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  transition: color .2s;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.pc-sector {
  font-size: .60rem;
  color: var(--gray);
  line-height: 1.3;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Monogram fallback for companies without logos */
.pc-monogram {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--gold);
}

@media (max-width: 1024px) { .potential-clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .potential-clients-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ── LOGO GRID — for clients / partner logos ──────────── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: center;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .22s, box-shadow .22s, transform .18s;
  min-height: 88px;
  background: var(--white);
}
.logo-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(155,124,74,.12);
  transform: translateY(-2px);
}

.logo-item img {
  max-height: 40px;
  max-width: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(40%) opacity(.7);
  transition: filter .25s;
}
.logo-item:hover img { filter: grayscale(0%) opacity(1); }

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: .5px;
  text-align: center;
  transition: color .2s;
  line-height: 1.4;
}
.logo-item:hover .logo-text { color: var(--dark); }

.logo-caption {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  margin-top: 6px;
  line-height: 1.3;
  transition: color .2s;
}
.logo-item:hover .logo-caption { color: var(--dark); }

@media (max-width: 1024px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 768px)  { .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (max-width: 480px)  { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logo-item { min-height: 72px; padding: 12px 8px; }
  .logo-item img { max-height: 32px; }
}

/* ── Strategic Partner LOGO GRID ──────────────────────── */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .22s, box-shadow .22s, transform .2s;
  min-height: 100px;
  text-align: center;
}
.partner-logo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(245,194,24,.12);
  transform: translateY(-2px);
}

.partner-logo-card img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(.65);
  transition: filter .25s;
}
.partner-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Text-only fallback for logos without accessible image */
.partner-logo-text-only .partner-logo-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #9ca3af;
  letter-spacing: 1px;
  line-height: 1.3;
  transition: color .25s;
}
.partner-logo-card:hover .partner-logo-wordmark {
  color: var(--dark);
}

.partner-logo-label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  color: var(--gray);
  line-height: 1.4;
  margin-top: 2px;
}

/* Keep legacy .partners-strip for clients.html */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.partner-item {
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--border);
}
.partner-item:last-child { border-right: none; }
.partner-name {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
  margin-bottom: 6px;
  line-height: 1.3;
}
.partner-role { font-size: .78rem; color: var(--gray); display: block; line-height: 1.5; }

@media (max-width: 1024px) {
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-strip { grid-template-columns: 1fr 1fr; }
  .partner-item { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .partner-item:last-child { border-bottom: none; }
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */

/* ── NEWS & MEDIA GRID ──────────────────────────────── */
.news-grid {
  display: block;
  border: 1px solid var(--border);
  margin-top: 0;
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--dark);
  transition: background 0.2s;
  overflow: hidden;
}

.news-card:last-child { border-right: none; }
.news-card:hover { background: var(--light); }

.news-card-featured {
  flex-direction: row;
}

.news-card-featured .news-card-media {
  width: 45%;
  flex-shrink: 0;
}

/* Media thumbnail */
.news-card-media {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--dark);
  flex-shrink: 0;
}

.news-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(10%);
}

.news-card:hover .news-card-media img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Play button for video cards */
.news-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
  transition: transform 0.2s, background 0.2s;
}

.news-card-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.news-card:hover .news-card-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
  color: var(--white);
}

.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,10,18,0.5) 0%, transparent 60%);
}

/* Card body */
.news-card-body {
  padding: 40px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.news-card-source {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.news-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin: 4px 0;
}

.news-card-featured .news-card-title {
  font-size: 1.2rem;
}

.news-card-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.65;
  hyphens: none;
  text-align: left;
  flex: 1;
}

.news-card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 8px;
  display: block;
  transition: letter-spacing 0.2s;
}

.news-card:hover .news-card-link { letter-spacing: 0.5px; }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card { border-bottom: 1px solid var(--border); }
  .news-card-featured { grid-column: span 2; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: span 1; }
  .news-card { border-right: none; }
}

/* ── PHOTO GALLERY ──────────────────────────────────── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 260px;
  gap: 6px;
  margin-top: 0;
}

.gallery-item {
  overflow: hidden;
  background: var(--dark);
  position: relative;
}

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

/* Images fill the cell completely — no dead space */
.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(8%);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .gallery-item-wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .gallery-item-wide { grid-column: span 1; }
}

/* ── PARTNER CHAIN — Connection GCC → AlSuwaiket → Saudi Market ── */
.partner-chain {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.chain-node {
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.chain-node-you   { color: var(--gray); }
.chain-node-gcc   { color: var(--navy); border-color: var(--navy); background: rgba(26,43,92,.06); }
.chain-node-als   { color: var(--gold); border-color: var(--gold); background: rgba(139,109,58,.06); }
.chain-node-ksa   { color: var(--white); background: var(--navy); border-color: var(--navy); }

.chain-arrow {
  color: var(--gray);
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .partner-chain { flex-direction: column; align-items: flex-start; }
  .chain-arrow { transform: rotate(90deg); }
}

/* ── OFFICES GRID ───────────────────────────────────── */

.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--border);
}

.office-card {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}

.office-card:last-child { border-right: none; }

.office-flag {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.office-city {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.office-country {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}

.office-divider {
  width: 32px;
  height: 2px;
  background: var(--border);
  margin: 24px 0;
}

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

.office-link {
  font-size: 0.85rem;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

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

.office-note {
  font-size: 0.75rem;
  color: var(--gray);
  font-style: italic;
}

@media (max-width: 768px) {
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .office-card { border-right: none; border-bottom: 1px solid var(--border); }
  .office-card:last-child { border-bottom: none; }
}

/* ── CONTACT PAGE — baselarea.swiss editorial style ──── */

.ct-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 16px;
}

.ct-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
}

.ct-lead {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 48px;
  text-align: left;
}

/* Clean data rows — no icons */
.ct-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}

.ct-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.ct-row:first-child {
  border-top: 1px solid var(--border);
}

.ct-row-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.ct-row-val {
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.6;
  text-decoration: none;
}

a.ct-row-val:hover {
  color: var(--gold);
}

/* Team direct contacts */
.ct-team {
  padding-top: 40px;
}

.ct-team-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

.ct-person {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.ct-person:first-of-type {
  border-top: 1px solid var(--border);
}

.ct-person-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.ct-person-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.ct-person-email {
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.ct-person-email:hover { opacity: 0.75; }

/* Right — form stays clean white, no background */
.ct-right {
  padding-top: 0;
}

@media (max-width: 900px) {
  .ct-layout { grid-template-columns: 1fr; gap: 56px; }
  .ct-heading { font-size: 2.4rem; }
}

/* Keep old contact-split styles only for backwards compat — safely unused */
.contact-split { display: none; }

/* Form */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

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

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* ============================================================
   WORLD MAP (Contact)
   ============================================================ */

.map-section {
  background: var(--navy);   /* Dynamic Structures navy */
  background-image:
    radial-gradient(ellipse 40% 70% at 28% 58%, rgba(155,124,74,.15) 0%, transparent 65%),
    radial-gradient(ellipse 32% 60% at 72% 52%, rgba(24,112,190,.22) 0%, transparent 65%),
    radial-gradient(ellipse 100% 35% at 50% 100%, rgba(8,14,26,.95) 0%, transparent 100%);
  /* Compact: title + map + legend fit in one screen */
  padding: 48px 0 0;
  overflow: hidden;
}

/* Map legend */
.map-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.map-legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-wrap {
  position: relative;
  width: 100%;
  /* Scale so the whole section (title ~100px + map + legend ~60px) fits ~100vh */
  height: clamp(280px, 55vh, 520px);
  margin-top: 0;
}
.map-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.map-wrap svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.map-pill-rect { transition: fill .2s; }
.map-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0f1a;
}
.map-loader-dots { display: flex; gap: 8px; }
.map-loader-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .4;
  animation: ldot 1.2s ease-in-out infinite;
}
.map-loader-dots span:nth-child(2) { animation-delay: .2s; }
.map-loader-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes ldot {
  0%,100% { opacity:.2; transform:scaleY(1); }
  50%     { opacity:1;  transform:scaleY(1.5); }
}

/* ============================================================
   SECTION TITLES (shared pattern)
   ============================================================ */

.section-header {
  max-width: none;       /* let headings use full section width */
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--dark);
}

.section-header p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  hyphens: none;
  -webkit-hyphens: none;
  text-align: left;
  max-width: 720px;      /* comfortable reading width for lead text */
}

/* ============================================================
   WHO / ABOUT SPLIT
   ============================================================ */

.who-img-wrap {
  position: relative;
}

.who-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.who-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--dark);
  box-shadow: 0 8px 32px rgba(200,168,75,0.4);
}

.who-badge-num {
  font-size: 1.8rem;
  line-height: 1;
}

.who-badge-label {
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================================
   VALUES CARDS
   ============================================================ */

.value-card {
  padding: 40px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}

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

.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--gold);
}

.value-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.value-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================================
   SKILLS TAGS
   ============================================================ */

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.skill-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mid);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.skill-tag:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ============================================================
   EDUCATION ROW
   ============================================================ */

.edu-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 40px;
  border: 1px solid var(--border);
}

.edu-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

.edu-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.edu-institution {
  font-size: 0.88rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ============================================================
   HERO SWIPER (Home)
   ============================================================ */

.hero-swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Slightly darken the image for better text contrast */
  filter: brightness(0.75);
  transition: transform 8s ease, filter 1s ease;
}
.swiper-slide-active .slide-bg {
  filter: brightness(0.7);
}

.swiper-slide-active .slide-bg {
  transform: scale(1.04);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  /* Two-layer overlay: strong dark on left where text is, lighter on right */
  background:
    linear-gradient(to right, rgba(6,10,18,0.92) 0%, rgba(6,10,18,0.72) 45%, rgba(6,10,18,0.35) 75%, rgba(6,10,18,0.15) 100%),
    linear-gradient(to top, rgba(6,10,18,0.6) 0%, transparent 50%);
}

.slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  /* Full width, horizontal breathing room */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  padding-top: var(--nav-h);
}

.slide-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.3s, transform 0.6s 0.3s;
}

.swiper-slide-active .slide-tag {
  opacity: 1;
  transform: none;
}

.slide-headline {
  font-family: 'Montserrat', sans-serif;
  /* Refined, C-level — not oversized */
  font-size: clamp(1.9rem, 2.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.015em;
  max-width: min(700px, 60vw);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s 0.5s, transform 0.7s 0.5s;
}

.slide-headline em {
  font-style: italic;
  color: var(--gold);
}

.swiper-slide-active .slide-headline {
  opacity: 1;
  transform: none;
}

.slide-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  max-width: min(680px, 60vw);
  line-height: 1.8;
  margin-bottom: 36px;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.7s, transform 0.6s 0.7s;
}

.swiper-slide-active .slide-sub {
  opacity: 1;
  transform: none;
}

.slide-buttons {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.9s, transform 0.6s 0.9s;
}

.swiper-slide-active .slide-buttons {
  opacity: 1;
  transform: none;
}

/* Swiper custom controls */
.swiper-bottom-bar {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
}

.slide-counter .current {
  color: var(--gold);
  font-size: 0.9rem;
}

.swiper-custom-nav {
  display: flex;
  gap: 8px;
}

.swiper-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.swiper-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.swiper-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Swiper progress bar */
.swiper-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 10;
  transition: width 0.1s linear;
}

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

.hero-light {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.hero-light .tag {
  margin-bottom: 16px;
}

.hero-light h1 {
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-light .hero-sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   ARABIC LANGUAGE — font only, layout stays identical to EN/ES
   ============================================================ */

/* Arabic: font change only — direction and layout never change */
:lang(ar),
:lang(ar) * {
  font-family: 'Cairo', sans-serif;
  direction: ltr !important;
  unicode-bidi: normal !important;
}
/* Arabic nav links: no uppercase, no letter-spacing (not applicable to Arabic) */
:lang(ar) .nav-links a {
  text-transform: none;
  letter-spacing: 0;
  font-size: .88rem;
}

/* Logo images need no font override */

/* Increase line-height slightly for Arabic script readability */
:lang(ar) p,
:lang(ar) li,
:lang(ar) .slide-sub,
:lang(ar) .who-p {
  line-height: 2;
}

/* LTR content override (client names, company names stay LTR) */
.ltr-content {
  direction: ltr;
  unicode-bidi: embed;
}

/* ============================================================
   DARK PAGE HERO  (baselarea-style: full-width photo + white text left + logo right)
   ============================================================ */

/* ── PAGE HERO — baselarea.swiss clean style ─────────────── */
.page-hero-dark {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.phd-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.03);
  transition: transform 8s ease;
  /* slight desaturation for editorial feel */
  filter: grayscale(15%);
}
.page-hero-dark.visible .phd-bg { transform: scale(1); }

/* lighter overlay — image breathes through */
.phd-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,10,18,0.55) 0%, rgba(6,10,18,0.45) 60%, rgba(6,10,18,0.62) 100%),
    linear-gradient(to right, rgba(6,10,18,0.55) 0%, transparent 65%);
}

.phd-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 80px);
}

.phd-content { max-width: 680px; }

/* Hide logo — not needed in baselarea style */
.phd-logo { display: none; }

.phd-tag {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.phd-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.phd-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

.phd-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 680px;
  line-height: 1.85;
  text-align: left;
}

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

/* ════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM — Clean, ordered breakpoints
   1280 · 1024 · 768 · 640 · 480 · 380
   ════════════════════════════════════════════════════════ */

/* ── 1280px: Large desktop clamp ──────────────────────── */
@media (max-width: 1280px) {
  #nav { max-width: 1180px; }
}

/* ── 1024px: Small desktop / large tablet landscape ───── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px 0; }

  #nav, .section-inner, .footer-inner { padding-left: 32px; padding-right: 32px; }

  .grid-2   { grid-template-columns: 1fr; gap: 48px; }
  .grid-3   { grid-template-columns: 1fr 1fr; }
  .grid-4   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-2-2 { grid-template-columns: 1fr 1fr; }

  /* Service blocks stack */
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse .service-block-img { order: 0; }
  .service-block.reverse .service-block-content { order: 0; }
  .service-block-img { min-height: 300px; }
  .service-block-content { padding: 56px 40px; }

  /* Experience timeline */
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .exp-sticky { position: static; }
  .timeline::before { left: 120px; }
  .timeline-item { grid-template-columns: 120px 1fr; }
  .timeline-dot { left: 114px; }

  /* Contact form */
  .contact-split { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 56px 40px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Clients */
  .clients-columns { gap: 48px; }

  /* Projects */
  .projects-row-4 { grid-template-columns: 1fr 1fr; }
  .proj-card.medium { height: 300px; }

  /* Expertise */
  .exp-primary-grid { grid-template-columns: 1fr 1fr; }
  .exp-advisory-inner { grid-template-columns: 1fr; }
  .exp-advisory-photo { position: static; aspect-ratio: 16/7; }

  /* Partners logo */
  .partner-logo-grid { grid-template-columns: repeat(4, 1fr); }

  /* Map */
  .wm-header { padding: 0 32px 40px; }
}

/* ── 768px: Tablet portrait / hide nav links ──────────── */
@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  /* Nav mobile */
  #nav { padding: 0 16px; height: 60px; display: flex; justify-content: center; align-items: center; }
  .nav-left, .nav-right { display: none !important; }
  .hamburger { display: flex !important; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
  .nav-logo { position: relative; left: auto; top: auto; transform: none; }
  .logo-img { height: 38px !important; width: auto !important; }

  .section-inner, .footer-inner { padding: 0 24px; }

  /* Grids */
  .grid-3   { grid-template-columns: 1fr; }
  .grid-4   { grid-template-columns: 1fr 1fr; gap: 20px; }
  .grid-2-2 { grid-template-columns: 1fr; }

  /* Timeline simplified */
  .timeline { padding-left: 0; }
  .timeline::before, .timeline-dot { display: none; }
  .timeline-item { grid-template-columns: 1fr; padding-bottom: 40px; }
  .timeline-year { text-align: left; padding-right: 0; margin-bottom: 8px; }
  .timeline-body { padding-left: 0; }

  /* Clients table */
  .clients-columns { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  /* Hero */
  .slide-headline { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 85vw; }
  .slide-sub      { max-width: 80vw; }
  .slide-content  { padding: 100px 28px 80px; }
  .swiper-bottom-bar { bottom: 20px; padding: 0 28px; }

  /* Dark page hero */
  .page-hero-dark { min-height: 52vh; }
  .phd-inner { padding: 56px 28px 48px; }
  .phd-title { font-size: clamp(2rem, 5vw, 3rem); }

  /* Section helpers */
  .section-header { margin-bottom: 40px; }
  .edu-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; }
  .service-block-content { padding: 40px 24px; }

  /* Stats */
  .ctr-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Experience tabs */
  .exp-grid { grid-template-columns: 1fr; }
  .exp-sticky { position: static; }

  /* Expertise primary */
  .exp-primary-grid { grid-template-columns: 1fr 1fr; }

  /* Projects */
  .projects-row-2 { grid-template-columns: 1fr; }
  .projects-row-3 { grid-template-columns: 1fr 1fr; }
  .projects-row-4 { grid-template-columns: 1fr 1fr; }
  .proj-card.large  { height: 380px; }
  .proj-card.medium { height: 280px; }

  /* Partner logos */
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }

  /* Map */
  .map-section { padding: 56px 0 0; }
  .wm-header { padding: 0 24px 32px; }
  .map-wrap { min-height: 280px; margin-top: 0; }
  .map-legend { flex-wrap: wrap; gap: 12px; padding: 16px 24px; }
}

/* ── 640px: Large phones / small tablet ───────────────── */
@media (max-width: 640px) {
  :root { --section-pad: 56px 0; }

  #nav { padding: 0 16px; height: 56px; }
  .logo-img { height: 34px !important; width: auto !important; }
  .lang-trigger { padding: 5px 9px; font-size: .68rem; }

  .section-inner, .footer-inner { padding: 0 20px; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Hero */
  .slide-content  { padding: 88px 20px 72px; }
  .slide-headline { font-size: clamp(1.8rem, 6vw, 2.6rem); max-width: 92vw; }
  .slide-sub      { font-size: .9rem; line-height: 1.75; max-width: 92vw; }
  .slide-buttons  { flex-wrap: wrap; gap: 12px; }
  .btn-primary, .btn-outline { padding: 11px 22px; font-size: .7rem; }
  .swiper-bottom-bar { bottom: 16px; padding: 0 20px; }

  /* Dark page hero */
  .phd-inner { padding: 56px 20px 40px; }
  .phd-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Projects */
  .projects-row-2 { grid-template-columns: 1fr; }
  .projects-row-4 { grid-template-columns: 1fr; }
  .proj-card.large  { height: 340px; }
  .proj-card.medium { height: 260px; }
  .pcb-title { font-size: .9rem; }

  /* Expertise */
  .exp-primary-grid { grid-template-columns: 1fr; }
  .exp-primary-img  { height: 200px; }
  .exp-secondary-grid { grid-template-columns: 1fr; }
  .exp-secondary-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 28px 20px; }
  .exp-secondary-card:last-child { border-bottom: none; }

  /* Partner logos */
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-logo-card { min-height: 80px; padding: 14px 10px; }
  .partner-logo-card img { max-height: 28px; }

  /* Stats */
  .ctr-inner { grid-template-columns: 1fr 1fr; }
  .c-n { font-size: 2.4rem; }

  /* Footer */
  .foot-links { display: none; }

  /* Clients table */
  .client-row { gap: 10px; }
  .client-sector { display: none; } /* hide sector on small screens */

  /* Map legend */
  .map-legend-item { font-size: .6rem; }
  .map-legend-dot  { width: 6px; height: 6px; }

  /* Advisory */
  .exp-advisory-inner { grid-template-columns: 1fr; }
  .exp-advisory-photo { display: none; }
  .exp-adv-item { grid-template-columns: 32px 1fr; gap: 12px; }

  /* Intro stats */
  .expertise-intro-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ── 480px: Small phone portrait ──────────────────────── */
@media (max-width: 480px) {
  :root { --section-pad: 48px 0; }

  .section-inner, .footer-inner { padding: 0 16px; }

  /* Hero */
  .slide-content  { padding: 80px 16px 68px; }
  .slide-headline { font-size: clamp(1.6rem, 7vw, 2rem); line-height: 1.12; max-width: 100%; }
  .slide-sub      { max-width: 100%; font-size: .85rem; }
  .slide-sub      { font-size: .82rem; }
  /* Buttons stack only on very small screens */
  .slide-buttons  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  /* Dark page hero */
  .page-hero-dark { min-height: 46vh; }
  .phd-inner { padding: 48px 16px 36px; }

  /* Contact */
  .contact-left, .contact-right { padding: 40px 16px; }

  /* Section headings */
  .sec-title { font-size: 1.6rem; }
  h1, .h1   { font-size: 2rem; }
  h2, .h2   { font-size: 1.5rem; }

  /* Stats */
  .stat-number { font-size: 2.4rem; }

  /* CTA banner */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-h     { font-size: 1.5rem; }

  /* Experience tabs */
  .exp-tabs { gap: 2px; }
  .et-yr    { display: none; }
  .et-role  { font-size: .78rem; }

  /* Mobile nav inside overlay */
  .mobile-nav { left: 12px; right: 12px; padding: 20px; }
  .mobile-nav a { font-size: .82rem; padding: 12px 0; }
}

/* ── 380px: Very small phones ─────────────────────────── */
@media (max-width: 380px) {
  #nav { width: calc(100% - 16px); padding: 0 12px; }
  .slide-headline { font-size: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .ctr-inner { grid-template-columns: 1fr; }
  .projects-row-4 { grid-template-columns: 1fr; }
}


/* ============================================================
   COMPREHENSIVE RESPONSIVE — All breakpoints
   ============================================================ */

/* ── 1024px — Tablet landscape ─────────────────────────── */
@media (max-width: 1024px) {
  /* Grids */
  .grid-2 { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-3 { grid-template-columns: 1fr 1fr; }

  /* Partner page inline grids */
  .partner-projects-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Sections padding */
  .section-inner { padding: 0 40px; }
}

/* ── 768px — Tablet portrait ────────────────────────────── */
@media (max-width: 768px) {
  /* Typography */
  h1, h2 { word-break: break-word; }

  /* Sections */
  .section-inner { padding: 0 20px; }
  section, .section { padding: 56px 0; }

  /* About — clients grid: remove inline override */
  .potential-clients-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
  }

  /* About — deliver list flex header */
  .about-header-flex {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Partner — sheikh stats flex */
  .sheikh-stats-row {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Partner — ALS stats 2-col inline grid */
  .als-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Partner — projects 4-col → 2-col */
  .als-projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Index — map legend */
  .map-legend { flex-wrap: wrap; gap: 10px 20px; }

  /* Gallery cinema sections */
  .cin-section { padding: 40px 20px 0; }
  .cin-section-header { margin-bottom: 20px; }
  .cin-hero-inner { padding: 0 20px 48px; }
  .cin-hero { height: 55vh; min-height: 340px; }
  .cin-cta { padding: 56px 24px; }

  /* Footer */
  .footer-top { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; }

  .map-wrap { min-height: 220px; }

  /* Mobile nav top alignment */
  .mobile-nav { top: 60px; }
}

/* ── 640px — Large phone ────────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-pad: 48px 0; }

  /* Nav */
  #nav { height: 56px; }
  .mobile-nav { top: 56px; }

  /* Typography */
  .slide-headline { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; }
  .slide-sub { font-size: .82rem; max-width: 90vw; }
  .slide-content { padding: 80px 20px 60px; }

  /* Swiper buttons */
  .slide-actions { flex-direction: column; gap: 12px; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }

  /* Page hero dark */
  .phd-inner { padding: 48px 20px 36px; }
  .phd-title { font-size: clamp(1.6rem, 8vw, 2.4rem) !important; }
  .phd-sub { font-size: .82rem; }
  .phd-logo-img { width: 100px !important; height: auto !important; }

  /* Section headers */
  .section-header { margin-bottom: 28px; }
  .sec-lead { font-size: .88rem; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

  /* Clients grid */
  .potential-clients-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .pc-card { padding: 16px 10px; }

  /* Industries */
  .industries-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .industry-item { padding: 10px 12px; }

  /* Process steps */
  .process-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* Partner page */
  .als-stats-grid { grid-template-columns: 1fr 1fr !important; }
  .als-projects-grid { grid-template-columns: 1fr 1fr !important; }

  /* Gallery cinema */
  .cin-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
  .cin-card { height: 180px; }
  .cin-card--wide { grid-column: span 2; height: 200px; }
  .cin-card--full { grid-column: span 2; height: 200px; }
  .cin-hero { height: 50vh; min-height: 300px; }
  .cin-section { padding: 32px 16px 0; }
  .cin-cta { padding: 48px 20px; }
  .cin-cta-title { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Stats ctr */
  .ctr-inner { grid-template-columns: 1fr 1fr !important; }
  .stat-item { padding: 24px 16px; }

  /* Footer */
  .footer-inner { padding: 0 20px; }
  .footer-nav-links { gap: 10px; }
  .footer-bottom { font-size: .75rem; }

  /* Forms */
  .form-grid { grid-template-columns: 1fr !important; }

  /* Expertise cards */
  .service-block { grid-template-columns: 1fr !important; }
  .service-block-icon { display: none; }

  /* NEOM / Vision section */
  .neom-grid { grid-template-columns: 1fr !important; }
  .neom-events { flex-direction: column; gap: 8px; }

  /* News card featured — stack to column on mobile */
  .news-card-featured { flex-direction: column !important; }
  .news-card-featured .news-card-media { width: 100% !important; height: 220px !important; }

  /* Map */
  .map-wrap { min-height: 180px; }
  .map-legend { font-size: .72rem; }
}

/* ── 480px — Phone ──────────────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  #nav { padding: 0 16px; height: 54px; }
  .mobile-nav { top: 54px; }
  .logo-img { height: 32px !important; width: auto !important; }

  /* Hero */
  .slide-headline { font-size: clamp(1.4rem, 8vw, 2rem) !important; }
  .slide-content { padding: 70px 16px 50px; }

  /* Clients */
  .potential-clients-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Cinema gallery — single column */
  .cin-grid { grid-template-columns: 1fr !important; }
  .cin-card, .cin-card--wide, .cin-card--full { grid-column: span 1 !important; height: 200px; }

  /* Partner projects — single column */
  .als-projects-grid { grid-template-columns: 1fr !important; }

  /* Stats */
  .ctr-inner { grid-template-columns: 1fr !important; gap: 0; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); }

  /* Industries */
  .industries-grid { grid-template-columns: 1fr 1fr; }

  /* Page hero */
  .page-hero-dark { min-height: 45vh; }

}

/* ── 380px — Small phone ─────────────────────────────────── */
@media (max-width: 380px) {
  .logo-img { height: 28px !important; width: auto !important; }
  .potential-clients-grid { grid-template-columns: 1fr 1fr !important; }
  .industries-grid { grid-template-columns: 1fr; }
  .cin-card, .cin-card--wide, .cin-card--full { height: 160px; }
  .slide-headline { font-size: 1.4rem !important; }
  .nav-links a { font-size: .72rem; }
}

/* ============================================================
   NAV MOBILE — OVERRIDE FINAL (highest priority)
   Must be last in file to win all conflicts
   ============================================================ */
@media screen and (max-width: 768px) {
  nav#nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    height: 60px !important;
    padding: 0 16px !important;
    grid-template-columns: none !important;
  }
  nav#nav .nav-left  { display: none !important; visibility: hidden !important; width: 0 !important; overflow: hidden !important; }
  nav#nav .nav-right { display: none !important; visibility: hidden !important; width: 0 !important; overflow: hidden !important; }
  nav#nav .hamburger { display: flex !important; visibility: visible !important; position: absolute !important; right: 16px !important; top: 50% !important; transform: translateY(-50%) !important; }
  nav#nav .nav-logo  { position: relative !important; left: auto !important; top: auto !important; transform: none !important; }
  nav#nav .logo-img  { height: 36px !important; width: auto !important; }
}
