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

:root {
  --white: #ffffff;
  --navy: #0b1526;
  --blue: #0052e0;
  --blue-h: #0043c0;
  --blue-l: #e6eeff;
  --green: #00b96b;
  --text: #111827;
  --text2: #4b5563;
  --text3: #9ca3af;
  --border: #e5e9f0;
  --surface: #f8fafc;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, .15), 0 10px 20px -5px rgba(0, 0, 0, .07);
  --font: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font)
}

/* ─── TOP BAR ─── */
.top-bar {
  background: var(--navy);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 5.5rem);
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
  transition: height .3s, opacity .3s;
  overflow: hidden;
}

.top-bar.hidden {
  height: 0;
  opacity: 0;
  pointer-events: none
}

.top-bar a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: color .15s
}

.top-bar a:hover {
  color: #fff
}

.tb-left,
.tb-right {
  display: flex;
  align-items: center;
  gap: 1.25rem
}

.tb-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .15)
}

.tb-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  padding: 3px 10px 3px 6px;
  font-size: .76rem;
  transition: background .15s;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.tb-pill:hover {
  background: rgba(255, 255, 255, .12) !important
}

.tb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: blink 2s ease infinite;
}

.tb-icon {
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, .6);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

/* ─── MAIN HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .1)
}

.hdr-inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 70px;
  display: flex;
  align-items: center;
  transition: height .25s;
}

.site-header.scrolled .hdr-inner {
  height: 62px
}

/* ─── LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 2rem;
  width: 17%;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}

.logo:hover .logo-mark {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(0, 82, 224, .15)
}

.logo-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.035em;
  line-height: 1
}

.logo-name em {
  font-style: normal;
  color: var(--blue)
}

.logo-tag {
  font-size: .63rem;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 2px
}

/* ─── PRIMARY NAV ─── */
.primary-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  list-style: none;
  flex: 1;
  gap: 0
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 .9rem;
  font-size: .875rem;
  font-weight: 800;
  color: #393939;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav-link:hover,
.nav-item:hover>.nav-link {
  color: var(--text);
  border-bottom-color: var(--blue)
}

.chev {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  margin-left: 1px;
  transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}

.nav-item:hover>.nav-link .chev {
  transform: rotate(180deg)
}

/* ─── DROPDOWN WRAPPER ─── */
.drop-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s cubic-bezier(.4, 0, .2, 1), visibility .18s;
  z-index: 800;
  padding-top: 8px;
}

.nav-item:hover>.drop-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0)
}

.drop-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ─── ICON BOXES ─── */
.mlink-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.mlink-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.rail-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--blue-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}

.rail-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.rail-item.active .rail-icon {
  background: var(--blue)
}

.rail-item.active .rail-icon svg {
  stroke: #fff
}

.mob-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--blue-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mob-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.aside-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.aside-card-icon svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, .85);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* ─── RIGHT ASIDE (dark panel) ─── */
.menu-aside {
  background: var(--navy);
  padding: 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  border-left: 1px solid rgba(255, 255, 255, .06);
  min-width: 210px;
}

.aside-label {
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .3);
  margin-bottom: .1rem
}

.aside-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: .85rem .9rem;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.aside-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .15)
}

.aside-card-title {
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3
}

.aside-card-desc {
  font-size: .71rem;
  color: rgba(255, 255, 255, .42);
  line-height: 1.4;
  margin-top: 2px
}

.aside-stat {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  padding: .75rem .9rem;
}

.aside-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1
}

.aside-stat-label {
  font-size: .69rem;
  color: rgba(255, 255, 255, .35);
  margin-top: 12px
}

.aside-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem
}

.aside-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  background: var(--blue);
  border-radius: 9px;
  padding: .75rem .9rem;
  text-decoration: none;
  margin-top: auto;
  transition: background .15s;
}

.aside-cta:hover {
  background: var(--blue-h)
}

.aside-cta-text {
  font-size: .79rem;
  font-weight: 600;
  color: #fff
}

.aside-cta-arrow {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem
}

/* ─── SERVICES MEGA ─── */
.mega-services {
  width: 980px
}

.mega-services .drop-inner {
  display: grid;
  grid-template-columns: 195px 1fr 210px
}

.mega-rail {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.1rem 0
}

.rail-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .62rem 1.1rem;
  font-size: .845rem;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  border-left: 2.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}

.rail-item:hover,
.rail-item.active {
  background: var(--white);
  color: var(--blue);
  border-left-color: var(--blue)
}

.rail-div {
  height: 1px;
  background: var(--border);
  margin: .5rem 1.1rem
}

.mega-panels {
  position: relative
}

.mega-panel {
  padding: 1.25rem 1.25rem 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .16s, transform .16s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.mega-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative
}

.panel-label {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  padding-bottom: .6rem;
  margin-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

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

.link-grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.mlink {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .12s
}

.mlink:hover {
  background: var(--surface)
}

.mlink-title {
  font-size: .845rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3
}

.mlink-desc {
  font-size: .75rem;
  color: var(--text3);
  margin-top: 2px;
  line-height: 1.4
}

.promo-strip {
  margin: 1rem 0 0;
  background: linear-gradient(120deg, var(--blue) 0%, #003fb5 100%);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  transition: opacity .15s;
}

.promo-strip:hover {
  opacity: .92
}

.ps-eyebrow {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 3px
}

.ps-title {
  font-size: .875rem;
  font-weight: 600;
  color: #fff
}

.ps-btn {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .38rem 1rem;
  border-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font);
  transition: background .15s;
}

.promo-strip:hover .ps-btn {
  background: rgba(255, 255, 255, .28)
}

/* ─── WIDE MEGA (Industries & Resources) ─── */
.mega-wide {
  width: 840px
}

.mega-wide .drop-inner {
  display: grid;
  grid-template-columns: 1fr 210px
}

.mega-wide-body {
  padding: 1.25rem
}

.wide-header {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  padding-bottom: .8rem;
  margin-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}

/* ─── COMPANY DROPDOWN ─── */
.mega-company {
  width: 430px
}

.mega-company .drop-inner {
  display: grid;
  grid-template-columns: 1fr 200px;
  padding: 0
}

.company-links {
  padding: .5rem
}

.dlink {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .85rem;
  border-radius: 9px;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text2);
  transition: background .12s, color .12s;
}

.dlink:hover {
  background: var(--surface);
  color: var(--text)
}

.dlink-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--blue-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dlink-icon-wrap svg {
  width: 13px;
  height: 13px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.dlink-div {
  height: 1px;
  background: var(--border);
  margin: .3rem .5rem
}

/* ─── HEADER RIGHT BUTTONS ─── */
.hdr-right {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  flex-shrink: 0
}

.hdr-phone {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}

.hdr-phone:hover {
  background: var(--surface)
}

.hdr-phone svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round
}

.hdr-vsep {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 .2rem
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: none;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text2);
  transition: background .15s, color .15s;
}

.btn-icon:hover {
  background: var(--surface);
  color: var(--text)
}

.btn-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: 9px;
  font-size: .855rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--text)
}

.btn-ghost svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .52rem 1.15rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-size: .855rem;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  transition: background .15s, transform .12s, box-shadow .2s;
}

.btn-cta:hover {
  background: var(--blue-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 82, 224, .28)
}

.btn-cta:active {
  transform: translateY(0)
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: none;
  cursor: pointer;
  padding: 11px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), opacity .2s, width .2s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ─── MOBILE DRAWER ─── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 850;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  padding-bottom: 3rem;
}

.mobile-drawer.open {
  transform: translateX(0)
}

.mob-search {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border)
}

.mob-search-box {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .65rem 1rem;
  transition: border-color .15s;
}

.mob-search-box:focus-within {
  border-color: var(--blue)
}

.mob-search-box input {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  outline: none;
  flex: 1
}

.mob-search-box input::placeholder {
  color: var(--text3)
}

.mob-section {
  border-bottom: 1px solid var(--border)
}

.mob-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: .935rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.mob-acc-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text3);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform .22s;
  stroke-linecap: round;
  stroke-linejoin: round
}

.mob-acc-btn.open svg {
  transform: rotate(180deg)
}

.mob-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.4, 0, .2, 1)
}

.mob-acc-body.open {
  max-height: 600px
}

.mob-acc-inner {
  padding: .25rem 1.25rem .75rem
}

.mob-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text2);
  transition: background .12s, color .12s;
}

.mob-link:hover {
  background: var(--surface);
  color: var(--blue)
}

.mob-label {
  font-size: .875rem;
  font-weight: 500
}

.mob-sub {
  font-size: .75rem;
  color: var(--text3);
  margin-top: 1px
}

.mob-direct {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  text-decoration: none;
  font-size: .935rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}

.mob-direct:hover {
  color: var(--blue)
}

.mob-ctas {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.mob-cta-btn {
  display: block;
  text-align: center;
  padding: .82rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
}

.mob-cta-btn:active {
  transform: scale(.98)
}

.mob-cta-primary {
  background: var(--blue);
  color: #fff
}

.mob-cta-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border)
}

.mob-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
}

.mob-phone svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* ─── OVERLAY ─── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  z-index: 799;
  transition: opacity .2s, visibility .2s;
  backdrop-filter: blur(2px);
}

.overlay.show {
  opacity: 1;
  visibility: visible
}

/* ─── RESPONSIVE BREAKPOINTS ─── */
@media(max-width:1100px) {

  .hdr-phone,
  .hdr-vsep {
    display: none
  }

  .nav-link {
    padding: 0 .75rem
  }
}

@media(max-width:960px) {

  .primary-nav,
  .btn-ghost,
  .hdr-vsep,
  .btn-icon {
    display: none
  }

  .hamburger {
    display: flex
  }

  .mobile-drawer {
    display: block
  }

  .btn-cta {
    font-size: .82rem;
    padding: .48rem .9rem
  }

  .logo {
    width: 60%;
  }

  .top-bar {
    display: none;
  }
}

@media(max-width:600px) {

  .tb-left a:not(:first-child),
  .tb-sep,
  .tb-pill {
    display: none
  }

  .btn-cta {
    display: none
  }
}