/* =====================================================
   DUBAI ROOF SEAL — global.css
   Loaded on EVERY page. Cached by browser after 1st load.
   Contains: variables, reset, header, nav, footer, wa-float
   ===================================================== */

/* ── Variables ── */
:root {
  --navy:      #1A3A5C;
  --gold:      #E8A020;
  --teal:      #0F6E56;
  --white:     #FFFFFF;
  --light-bg:  #F4F7FB;
  --dark-text: #2C2C2C;
  --light-text:#555555;
  --border:    #dde3ed;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; overflow-x: hidden; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--dark-text); background: #fff; overflow-x: hidden; max-width: 100vw; }
section[id], div[id] { scroll-margin-top: 104px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Top Bar ── */
.top-bar {
  background: #060f1c;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0;
  gap: 0;
  overflow-x: hidden;
  position: relative;
  z-index: 1001;
}
/* Desktop: scrollable section fills available space */
.top-bar-scroll {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 7px 24px;
  flex: 1;
  justify-content: center;
}
.top-bar-lang {
  flex-shrink: 0;
  padding: 0 16px 0 12px;
  border-left: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  align-self: stretch;
}
.top-bar a {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 500;
  transition: color .2s; white-space: nowrap;
}
.top-bar a:hover { color: var(--gold); }
.top-bar a svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }
.top-bar-sep { color: rgba(255,255,255,.2); font-size: .7rem; }

/* Mobile + Tablet: scroll links left, lang button pinned right */
@media (max-width: 768px) {
  .top-bar {
    flex-wrap: nowrap !important;
    overflow: visible !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .top-bar-scroll {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 16px !important;
    padding: 7px 12px !important;
    justify-content: flex-start !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .top-bar-scroll::-webkit-scrollbar { display: none !important; }
  .top-bar-sep { display: none !important; }
  .top-bar a { font-size: .72rem !important; gap: 5px !important; flex-shrink: 0 !important; }
  .top-bar a svg { width: 12px !important; height: 12px !important; }
  .top-bar-lang {
    flex-shrink: 0 !important;
    padding: 0 10px !important;
    border-left: 1px solid rgba(255,255,255,0.15) !important;
    display: flex !important;
    align-items: center !important;
    align-self: stretch !important;
  }
}

/* ── Header ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  max-width: 100vw;
  /* overflow must be visible so dropdowns escape the header box */
  overflow: visible;
}
nav {
  width: 100%; max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 76px; gap: 24px;
  position: relative; /* so mega menus can be positioned relative to nav width */
}

/* ── Logo ── */
.logo { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 68px; width: auto; filter: invert(1); mix-blend-mode: screen; transition: opacity .2s; }
.nav-logo:hover { opacity: .85; }
.logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.3px; line-height: 1.2; }
.logo-tag  { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: .62rem; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

/* ── Nav Links ── */
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links > li > a {
  color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 600;
  transition: color .2s; padding: 8px 12px; border-radius: 6px;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); background: rgba(255,255,255,.06); }
/* Remove the old padding trick that misaligned dropdown position */
.nav-has-drop > a { padding-bottom: 8px; margin-bottom: 0; }

/* Desktop chevron — pure CSS triangle pointing DOWN by default */
.nav-toggle-icon { display: none; }
.nav-chevron {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,.55);
  margin-left: 5px; vertical-align: middle;
  transition: transform .2s, border-top-color .2s;
  flex-shrink: 0;
}
/* On hover: rotate so it points UP (indicating open state) */
.nav-has-drop:hover .nav-chevron { transform: rotate(180deg); border-top-color: var(--gold); }
@media (max-width: 640px) {
  .nav-toggle-icon { display: inline-flex; }
  .nav-chevron { display: none; }
}

/* CTA button */
.nav-cta > a,
.nav-links > li.nav-cta > a {
  background: var(--gold) !important; color: var(--navy) !important;
  font-weight: 700 !important; padding: 9px 20px !important; border-radius: 6px !important;
  transition: background .2s, transform .15s !important;
}
.nav-links > li.nav-cta > a:hover { background: #d4911a !important; transform: translateY(-1px); color: var(--navy) !important; }
.nav-links > li.nav-cta > a.active { color: var(--navy) !important; background: var(--gold) !important; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ── Dropdown ── */
.nav-has-drop { position: relative; z-index: 1001; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: 10px; min-width: 240px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  padding: 8px 0; margin-top: 8px;
  z-index: 9999; flex-direction: column;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
/* Invisible bridge — keeps dropdown open while mouse travels from link to menu */
.nav-dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-has-drop:hover .nav-dropdown { display: flex; }
.nav-dropdown li a {
  display: block; padding: 9px 20px; color: var(--navy) !important;
  font-size: .84rem; font-weight: 600;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-dropdown li a:hover,
.nav-dropdown li a.active { background: var(--light-bg); color: var(--teal) !important; }
.nav-dropdown li:first-child a { border-radius: 10px 10px 0 0; }
.nav-dropdown li:last-child  a { border-radius: 0 0 10px 10px; }
.nav-dropdown-wide { min-width: 260px; }

/* ══════════════════════════════════════════
   SERVICES MEGA MENU — 4 grouped columns
   Centered via JS clamp on mouseenter.
   Keeps absolute positioning so the hover
   bridge (::before) stays connected.
   ══════════════════════════════════════════ */
.svc-mega-menu {
  display: none;
  position: absolute; top: 100%;
  left: 0; right: auto;
  transform: none;
  width: min(880px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  margin-top: 0; z-index: 9999;
  overflow: hidden; flex-direction: column;
}
/* Tall invisible bridge — keeps dropdown alive while mouse travels down */
.svc-mega-menu::before { content: ''; position: absolute; top: -20px; left: -20px; right: -20px; height: 24px; }
.nav-has-drop:hover .svc-mega-menu { display: flex; }
.svc-mega-banner {
  background: linear-gradient(90deg, #0d2240 0%, #1a3a5c 100%);
  padding: 9px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.svc-mega-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .7rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: .1em;
}
.svc-mega-all {
  font-size: .7rem; color: rgba(255,255,255,.6); font-weight: 500; transition: color .2s;
}
.svc-mega-all:hover { color: var(--gold) !important; }
.svc-mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.svc-group { border-right: 1px solid #eef0f4; padding: 14px 14px 18px; }
.svc-group:last-child { border-right: none; }
.svc-group-head {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 8px; margin-bottom: 8px;
  border-bottom: 2px solid var(--gc, var(--gold));
}
.svc-group-icon { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.svc-group-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: .72rem; color: var(--gc, var(--navy));
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.2;
}
.svc-group-list { list-style: none; padding: 0; margin: 0; }
.svc-group-list li a {
  display: flex; align-items: flex-start; gap: 4px;
  padding: 4px 5px; border-radius: 4px;
  font-size: .76rem; font-weight: 500; color: #445566;
  transition: background .15s, color .15s; line-height: 1.35;
  white-space: normal; word-break: normal;
}
.svc-group-list li a::before {
  content: '›'; color: var(--gc, var(--gold));
  font-size: .9rem; flex-shrink: 0; line-height: 1; margin-top: 1px;
}
.svc-group-list li a:hover { background: #f4f7fb; color: var(--teal) !important; }
.svc-group-list li a.active { color: var(--teal) !important; font-weight: 700; }

/* ══════════════════════════════════════════
   ARTICLES 3-column — right-anchored so it
   never bleeds off the right edge.
   ══════════════════════════════════════════ */
.nav-dropdown.two-col {
  display: none;
  flex-direction: column !important;
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  left: auto !important; right: 0 !important;
  transform: none !important;
  padding: 0; overflow: hidden;
}
.nav-has-drop:hover .nav-dropdown.two-col { display: flex; }

/* Banner */
.nav-dropdown.two-col .dd-header {
  background: linear-gradient(90deg, #0d2240 0%, #1a3a5c 100%);
  padding: 9px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-dropdown.two-col .dd-header-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .7rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: .1em;
}
.nav-dropdown.two-col .dd-header-link {
  font-size: .7rem; color: rgba(255,255,255,.6); font-weight: 500;
}
.nav-dropdown.two-col .dd-header-link:hover { color: var(--gold) !important; }

/* 3-col grid */
.nav-dropdown.two-col .dd-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; padding: 6px 6px 10px; list-style: none;
}
.nav-dropdown.two-col .dd-grid li { width: auto; border-bottom: none !important; }
.nav-dropdown.two-col .dd-grid li a {
  display: flex !important; align-items: flex-start; gap: 5px;
  padding: 6px 10px !important;
  font-size: .78rem !important; font-weight: 500 !important;
  color: var(--navy) !important; border-radius: 5px !important;
  white-space: normal; line-height: 1.3;
  transition: background .15s, color .15s !important;
}
.nav-dropdown.two-col .dd-grid li a::before {
  content: '›'; color: var(--gold); font-size: .95rem; flex-shrink: 0; line-height: 1; margin-top: 1px;
}
.nav-dropdown.two-col .dd-grid li a:hover {
  background: var(--light-bg) !important; color: var(--teal) !important;
}

/* ══════════════════════════════════════════
   LOCATIONS MEGA MENU — infographic style
   Right-anchored, capped to viewport width.
   ══════════════════════════════════════════ */
.nav-dropdown.mega-menu {
  display: none;
  position: absolute; top: 100%; right: 0; left: auto;
  transform: none;
  width: min(900px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  margin-top: 8px; z-index: 9999;
  overflow: hidden;
  flex-direction: column;
}
.nav-dropdown.mega-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-has-drop:hover .nav-dropdown.mega-menu { display: flex; }

/* Top banner row — "All Industrial Areas" link */
.nav-dropdown.mega-menu > li.mega-full {
  list-style: none;
  background: linear-gradient(90deg, #0d2240 0%, #1a3a5c 100%);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-dropdown.mega-menu > li.mega-full a {
  color: var(--gold) !important; font-size: .78rem !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: .1em; padding: 0 !important;
  display: flex; align-items: center; gap: 8px;
  background: transparent !important;
}
.nav-dropdown.mega-menu > li.mega-full a:hover { opacity: .85; }

/* Emirate columns wrapper */
.nav-dropdown.mega-menu > li.mega-full ~ li { display: none; }
/* We render the grid via the ul inside */
.nav-dropdown.mega-menu ul.mega-grid {
  display: grid !important;
  /* Dubai (1st emirate col) gets 2fr; remaining 5 emirates share equally */
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0;
  padding: 0;
  list-style: none;
  /* Prevent any column from overflowing its cell */
  overflow: hidden;
}

/* Each emirate card */
.nav-dropdown.mega-menu .nav-has-subdrop {
  position: static !important;
  border-right: 1px solid #eef0f4;
  padding: 16px 14px 18px;
}
.nav-dropdown.mega-menu .nav-has-subdrop:last-child { border-right: none; }

/* Emirate header */
.nav-dropdown.mega-menu .nav-has-subdrop > a {
  display: flex !important; align-items: center; gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800 !important; font-size: .82rem !important;
  color: var(--navy) !important;
  padding: 0 0 8px !important; margin-bottom: 10px !important;
  border-bottom: 2px solid var(--gold) !important;
  white-space: nowrap; background: transparent !important;
  border-radius: 0 !important;
}
.nav-dropdown.mega-menu .nav-has-subdrop > a .nav-toggle-icon,
.nav-dropdown.mega-menu .nav-has-subdrop > a .nav-chevron { display: none !important; }

/* Emirate icon badge */
.nav-dropdown.mega-menu .nav-has-subdrop > a::before {
  content: attr(data-icon);
  font-size: 1rem; line-height: 1;
}

/* Dubai (1st emirate) — 2-col sub-list so 19 items don't stretch column too tall */
.nav-dropdown.mega-menu ul.mega-grid > li:first-child .nav-subdropdown {
  column-count: 2 !important;
  column-gap: 8px !important;
}
.nav-dropdown.mega-menu ul.mega-grid > li:first-child .nav-subdropdown li {
  break-inside: avoid;
}

/* Sub-location links */
.nav-dropdown.mega-menu .nav-subdropdown {
  display: block !important; position: static !important;
  background: transparent !important; border: none !important;
  box-shadow: none !important; border-radius: 0 !important;
  padding: 0 !important; margin: 0 !important; min-width: 0 !important;
}
.nav-dropdown.mega-menu .nav-subdropdown li { list-style: none; }
.nav-dropdown.mega-menu .nav-subdropdown li a {
  display: flex !important; align-items: center; gap: 5px;
  padding: 4px 0 !important; font-size: .78rem !important; font-weight: 500 !important;
  color: #556070 !important; white-space: nowrap;
  border-radius: 0 !important; border-bottom: none !important;
  background: transparent !important;
  transition: color .15s, padding-left .15s !important;
}
.nav-dropdown.mega-menu .nav-subdropdown li a::before {
  content: '›'; color: var(--gold); font-size: .9rem; flex-shrink: 0;
}
.nav-dropdown.mega-menu .nav-subdropdown li a:hover {
  color: var(--teal) !important; padding-left: 4px !important;
}

/* Simple flat items in mega menu (fallback) */
.nav-dropdown.mega-menu > li:not(.mega-full):not(.nav-has-subdrop) { display: none; }

/* ── Sub-dropdown (nested flyout) ── */
.nav-has-subdrop { position: relative; }
.nav-subdropdown {
  display: none; position: absolute; top: 0; left: 100%;
  background: #fff; border-radius: 10px; min-width: 220px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  padding: 8px 0; z-index: 10000;
  margin-left: -1px; padding-left: 6px;
}
.nav-subdropdown::before { content: ''; position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; }
.nav-has-subdrop:hover .nav-subdropdown { display: block; }
.nav-subdropdown li a {
  display: block; padding: 10px 22px; color: var(--navy) !important;
  font-size: .86rem; font-weight: 500;
  transition: background .15s; white-space: nowrap;
}
.nav-subdropdown li a:hover,
.nav-subdropdown li a.active { background: var(--light-bg); color: var(--teal) !important; }
.nav-subdropdown li:first-child a { border-radius: 10px 10px 0 0; }
.nav-subdropdown li:last-child  a { border-radius: 0 0 10px 10px; }

/* ── Footer CTA strip ── */
.footer-cta-strip {
  background: linear-gradient(90deg, var(--gold) 0%, #f0b832 100%);
  padding: 20px 0;
}
.footer-cta-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-cta-text { display: flex; flex-direction: column; gap: 3px; }
.footer-cta-headline { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; color: #0a1628; }
.footer-cta-sub { font-size: .8rem; color: rgba(10,22,40,.7); font-weight: 500; }
.footer-cta-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 7px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .85rem; text-decoration: none; transition: opacity .2s, transform .15s;
}
.footer-cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.footer-cta-wa { background: #0a1628; color: #fff; }
.footer-cta-call { background: rgba(10,22,40,.15); color: #0a1628; border: 1.5px solid rgba(10,22,40,.25); }

/* ── Footer main ── */
footer { background: #0b1e32; color: rgba(255,255,255,.65); padding: 44px 0 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 36px;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
}
.footer-logo { height: 60px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.footer-brand p { font-size: .84rem; line-height: 1.7; margin-top: 10px; color: rgba(255,255,255,.55); }
.footer-trust-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.footer-trust-pills span { font-size: .73rem; color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 4px 10px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; font-size: .88rem; margin-bottom: 14px; letter-spacing: .03em; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }

/* Desktop: wrapper is transparent to grid layout */
.footer-cols-mobile-grid { display: contents; }

/* ── Footer bottom bar ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1200px; margin: 0 auto; padding: 18px 24px 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .81rem; font-weight: 600; transition: color .2s; }
.footer-contact-link:hover { color: var(--gold); }
.footer-divider { color: rgba(255,255,255,.2); font-size: .9rem; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-copy a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-copy a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; border: 1px solid rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); border-color: var(--gold); }
.footer-social a svg { width: 16px; height: 16px; fill: rgba(255,255,255,.8); display: block; }
.footer-social a:hover svg { fill: #0a1628; }

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed; bottom: 24px; right: 20px; z-index: 9999;
  width: 62px; height: 62px;
  display: block; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(37,211,102,.5);
  transition: transform .2s, box-shadow .2s;
  animation: waPulse 2.5s infinite;
}
.wa-float img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.65); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.78); }
}
@media (max-width: 640px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 14px; border-radius: 14px; }
  .wa-float img { border-radius: 14px; }
}

/* ── Shared utility ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label { font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px; }
.section-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.section-title span { color: var(--gold); }
.body-p { font-size: .97rem; color: var(--light-text); line-height: 1.8; }

/* Buttons */
.btn-gold { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--navy); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .95rem; padding: 14px 28px; border-radius: 8px; transition: background .2s, transform .15s; text-transform: uppercase; letter-spacing: .05em; }
.btn-gold:hover { background: #d4911a; transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.25); transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem; padding: 13px 28px; border-radius: 8px; border: 2px solid rgba(255,255,255,.25); transition: border-color .2s, color .2s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .nav-links { gap: 4px; }
  .nav-links > li > a { padding: 8px 9px; font-size: .84rem; }
}
@media (max-width: 1024px) {
  .nav-dropdown.mega-menu { min-width: 0; width: min(800px, calc(100vw - 32px)); }
  .nav-dropdown.mega-menu ul.mega-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; }
  .nav-links { gap: 2px; }
  .nav-links > li > a { padding: 8px 8px; font-size: .82rem; }
  /* Locations mega: reduce to 5 cols (hide Fujairah to fit) */
  .nav-dropdown.mega-menu ul.mega-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-dropdown.mega-menu { min-width: 0; width: min(740px, calc(100vw - 32px)); }
  .nav-dropdown.mega-menu ul.mega-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  /* Articles — right-anchored, keep compact */
  .nav-dropdown.two-col { width: min(600px, calc(100vw - 32px)); }
  /* Services — limit columns */
  .svc-mega-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .svc-mega-menu { width: min(600px, calc(100vw - 32px)); }
}
/* ═══════════════════════════════════════════
   MOBILE NAV  ≤ 640px
   Clean full-height slide-down drawer
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Nav bar */
  nav {
    padding: 0 16px;
    height: 64px;
    width: 100%;
    max-width: 100%;
  }
  .nav-logo { height: 40px; }
  .logo-name { font-size: .85rem; max-width: 160px; line-height: 1.1; }
  .logo-tag  { display: none; }
  nav { gap: 15px; }

  /* ── Hamburger → X ── */
  .hamburger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; cursor: pointer; padding: 8px; margin-left: auto;
    flex-shrink: 0; width: 40px; height: 40px;
    border-radius: 6px; transition: background .2s;
    position: relative; z-index: 10001;
  }
  .hamburger:active { background: rgba(255,255,255,.1); }
  .hamburger span {
    width: 22px; height: 2px; background: #fff;
    border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
    display: block;
  }
  /* X state */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Mobile menu drawer ── */
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 96px; left: 0; right: 0; bottom: 0;
    background: #0d2240;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    padding: 8px 0 100px;
    gap: 0;
  }

  /* ── Top-level nav items ── */
  .nav-links.open > li {
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links.open > li:last-child { border-bottom: none; }

  .nav-links.open > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    line-height: 1.3;
    min-height: 52px;
  }
  .nav-links.open > li > a:active { background: rgba(255,255,255,.06); }

  /* CTA button in nav — keep it styled */
  .nav-links.open > li > a.nav-cta {
    margin: 14px 20px 4px !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-radius: 8px !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: .95rem !important;
  }

  /* Toggle arrow icon */
  .nav-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    font-size: .65rem;
    flex-shrink: 0;
    transition: transform .3s ease, background .2s;
  }
  .nav-has-drop.expanded > a .nav-toggle-icon {
    transform: rotate(180deg);
    background: rgba(232,160,32,.2);
    color: var(--gold);
  }
  .nav-has-subdrop.expanded > a .nav-toggle-icon {
    transform: rotate(90deg);
    background: rgba(15,110,86,.2);
    color: #4ecba0;
  }

  /* ── First-level dropdown (accordion) ── */
  .nav-dropdown,
  .nav-dropdown.mega-menu,
  .svc-mega-menu {
    display: none !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(0,0,0,.18) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,.05) !important;
    flex-direction: column !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }
  .nav-dropdown::before,
  .nav-dropdown::after,
  .nav-dropdown.mega-menu::before,
  .nav-dropdown.mega-menu::after,
  .svc-mega-menu::before { display: none !important; }

  .nav-has-drop.expanded > .nav-dropdown,
  .nav-has-drop.expanded > .nav-dropdown.mega-menu,
  .nav-has-drop.expanded > .svc-mega-menu {
    display: flex !important;
  }

  /* Services mega menu — flatten into single column on mobile */
  .svc-mega-banner { display: none !important; }
  .svc-mega-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    height: auto !important;
  }
  .svc-group {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
  }
  .svc-group-head {
    padding: 11px 20px 11px 20px !important;
    margin: 0 !important;
    border-bottom: none !important;
    background: rgba(255,255,255,.06) !important;
  }
  .svc-group-title {
    color: rgba(255,255,255,.9) !important;
    font-size: .78rem !important;
  }
  .svc-group-icon { font-size: .9rem !important; }
  .svc-group-list { padding: 0 !important; }
  .svc-group-list li a {
    display: flex !important;
    align-items: center !important;
    padding: 11px 20px 11px 32px !important;
    font-size: .88rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.75) !important;
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
    border-radius: 0 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    background: transparent !important;
    min-height: 44px;
  }
  .svc-group-list li a::before {
    color: var(--gold) !important;
    flex-shrink: 0 !important;
  }
  .svc-group-list li a:active {
    background: rgba(255,255,255,.06) !important;
    color: var(--gold) !important;
  }

  /* Articles two-col — single column on mobile */
  .nav-dropdown.two-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .nav-dropdown.two-col .dd-header { display: none !important; }
  .nav-dropdown.two-col .dd-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
  }
  .nav-dropdown.two-col .dd-grid li a {
    padding: 12px 20px 12px 32px !important;
    font-size: .88rem !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    border-radius: 0 !important;
    color: rgba(255,255,255,.8) !important;
    background: transparent !important;
    min-height: 44px;
  }

  /* Mega menu inner ul — force single column */
  .nav-dropdown.mega-menu ul,
  .nav-dropdown.mega-menu ul.mega-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    column-count: 1 !important;
    gap: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Hide the "All Industrial Areas" banner inside mobile dropdown */
  .nav-dropdown.mega-menu > li.mega-full {
    display: none !important;
  }

  /* Show the wrapper li that contains mega-grid */
  .nav-dropdown.mega-menu > li.mega-full ~ li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }

  /* Each emirate column becomes a flat accordion item */
  .nav-dropdown.mega-menu .nav-has-subdrop {
    position: static !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Dubai subdropdown — remove 2-column layout on mobile */
  .nav-dropdown.mega-menu ul.mega-grid > li:first-child .nav-subdropdown {
    column-count: 1 !important;
    column-gap: 0 !important;
  }

  /* Items inside first-level dropdown */
  .nav-dropdown li,
  .nav-dropdown.mega-menu li { list-style: none !important; }

  .nav-dropdown li a,
  .nav-dropdown.mega-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 20px 13px 32px !important;
    font-size: .9rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.8) !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    border-radius: 0 !important;
    min-height: 48px;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .nav-dropdown li:last-child > a,
  .nav-dropdown.mega-menu li:last-child > a {
    border-bottom: none !important;
  }
  .nav-dropdown li a:active,
  .nav-dropdown.mega-menu li a:active {
    background: rgba(255,255,255,.06) !important;
    color: var(--gold) !important;
  }

  /* Section headers inside mega menus (nav-has-subdrop parent labels) */
  .nav-dropdown.mega-menu .nav-has-subdrop > a,
  .nav-dropdown .nav-has-subdrop > a {
    color: rgba(255,255,255,.9) !important;
    font-weight: 600 !important;
    background: rgba(255,255,255,.04) !important;
  }

  /* ── Second-level sub-dropdown ── */
  .nav-subdropdown,
  .nav-dropdown.mega-menu .nav-subdropdown {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    background: rgba(0,0,0,.15) !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,.04) !important;
    border-left: 3px solid var(--teal) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-width: 0 !important;
  }
  .nav-subdropdown::before { display: none !important; }

  .nav-has-subdrop.expanded > .nav-subdropdown,
  .nav-dropdown.mega-menu .nav-has-subdrop.expanded > .nav-subdropdown {
    display: block !important;
  }

  .nav-subdropdown li a,
  .nav-dropdown.mega-menu .nav-subdropdown li a {
    padding: 11px 20px 11px 44px !important;
    font-size: .85rem !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,.65) !important;
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
    border-radius: 0 !important;
    min-height: 44px;
    justify-content: flex-start !important;
  }
  .nav-subdropdown li:last-child a,
  .nav-dropdown.mega-menu .nav-subdropdown li:last-child a {
    border-bottom: none !important;
  }
  .nav-subdropdown li a:active,
  .nav-dropdown.mega-menu .nav-subdropdown li a:active {
    color: var(--gold) !important;
    background: rgba(255,255,255,.05) !important;
  }

  /* Footer CTA strip — compact on mobile */
  .footer-cta-strip { padding: 16px 0; }
  .footer-cta-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 16px; }
  .footer-cta-text { gap: 2px; }
  .footer-cta-headline { font-size: .86rem; }
  .footer-cta-sub { font-size: .74rem; }
  .footer-cta-actions { width: 100%; gap: 8px; }
  .footer-cta-btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: .8rem; border-radius: 8px; }

  /* Footer main grid — single column, wrapper becomes real block */
  .footer-inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  footer { padding-top: 0; }
  .footer-brand { padding: 28px 24px 0; }

  /* Footer link columns — 2-col grid on mobile */
  .footer-cols-mobile-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 24px 28px;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  /* Footer bottom bar — stack cleanly */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 16px 24px; }
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-contact-link { font-size: .79rem; }
  .footer-copy { font-size: .76rem; color: rgba(255,255,255,.45); }
  .footer-divider { display: none; }
  .footer-social { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
  .footer-social a { width: 34px; height: 34px; border-radius: 8px; }
  .footer-social a svg { width: 16px; height: 16px; }
  .footer-trust-pills { gap: 6px; }
  .footer-trust-pills span { font-size: .7rem; padding: 3px 8px; }
  .footer-brand p { font-size: .8rem; }
  .footer-logo { height: 52px; }
}

/* ── 390px and smaller ── */
@media (max-width: 390px) {
  body { padding-top: 60px; }
  nav { padding: 0 12px; height: 60px; }
  .nav-logo { height: 44px; }
  .nav-links.open { top: 60px; }
  .logo-name { font-size: .88rem; }
}

/* ── Accessibility & cross-browser ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
