

/* ============================================================
   RESET & TOKENS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 15px;
  color: #767676;
  background: #FFFFFF;
  
}

:root {
  --orange:       #F59A57;
  --orange-h:     #DF8C4F;
  --charcoal:     #242424;
  --dark-gray:    #333333;
  --mid-gray:     #767676;
  --blue-gray:    #E0EAF0;
  --near-black:   #0F0F0F;
  --white:        #FFFFFF;
  --off-white:    #FAF8F6;
  --header-h:     80px;
  --topbar-h:     40px;
  --font-head:    'Urbanist', 'Arial Black', Arial, sans-serif;
  --font-body:    'Work Sans', Arial, sans-serif;
  --r-btn:        35px;
  --r-card:       8px;
  --shadow-menu:  0 20px 60px rgba(0,0,0,0.12);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   UTILITY BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 11px 24px; border-radius: var(--r-btn); border: none;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--orange-h); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--dark-gray);
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  padding: 9px 18px; border-radius: var(--r-btn);
  border: 1.5px solid #e0e0e0; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--near-black);
  height: var(--topbar-h);
  display: flex; align-items: center;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.top-bar__inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.top-bar__left {
  display: flex; align-items: center; gap: 24px;
}
.top-bar__link {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.55);
  font-family: var(--font-head); font-weight: 500;
  transition: color .2s;
}
.top-bar__link svg { flex-shrink: 0; }
.top-bar__link:hover { color: var(--orange); }
.top-bar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.1); }
.top-bar__right {
  display: flex; align-items: center; gap: 16px;
}
.top-bar__promo {
  font-size: 12px; color: rgba(255,255,255,.4);
  font-family: var(--font-head);
}
.top-bar__promo span { color: var(--orange); font-weight: 600; }
.top-bar__cta {
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  letter-spacing: .5px; padding: 6px 16px;
  border-radius: var(--r-btn); border: none; cursor: pointer;
  transition: background .2s;
}
.top-bar__cta:hover { background: var(--orange-h); }
a.top-bar__cta { text-decoration: none; display: inline-block; }

/* ============================================================
   MAIN HEADER
   ============================================================ */
.site-header {
  background: #fff;
  height: var(--header-h);
  min-height: var(--header-h);
  position: sticky;
  top: var(--topbar-h);
  z-index: 1000;
  overflow: visible;
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 4px 20px rgba(0,0,0,.04);
}
.header__inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

/* ---- LOGO ---- */
.header__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.logo-mark svg { width: 44px; height: 44px; }
.logo-text { line-height: 1.1; }
.logo-text .l1 {
  display: block; font-family: var(--font-head);
  font-weight: 900; font-size: 16px;
  color: var(--orange); letter-spacing: 1.5px;
}
.logo-text .l2 {
  display: block; font-family: var(--font-head);
  font-weight: 800; font-size: 12px;
  color: var(--charcoal); letter-spacing: .5px;
}

/* ---- NAV ---- */
.header__nav { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--dark-gray); padding: 10px 13px;
  border-radius: 8px; white-space: nowrap; cursor: pointer;
  transition: color .2s, background .2s;
  border: none; background: transparent;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active,
.nav-item:hover > .nav-link { color: var(--orange); background: rgba(245,154,87,.07); }
.nav-link .chevron {
  width: 14px; height: 14px; flex-shrink: 0; opacity: .5;
  transition: transform .25s, opacity .2s;
}
.nav-item:hover > .nav-link .chevron { transform: rotate(180deg); opacity: 1; }

/* ---- RIGHT ACTIONS ---- */
.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid #e8e8e8; background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--dark-gray);
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(245,154,87,.05); }
.icon-btn svg { width: 18px; height: 18px; }

/* ============================================================
   MEGA MENU â€” SHARED
   ============================================================ */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%; transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-menu);
  border: 1px solid rgba(0,0,0,.07);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1003;
  pointer-events: none;
}
.nav-item:hover .mega-menu,
.mega-menu:hover {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
/* Bridge gap so mouse doesn't lose hover */
.nav-item::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 14px;
}

/* ============================================================
   MEGA MENU â€” BY INDUSTRY (4-col icon grid)
   ============================================================ */
.mega-industry {
  width: 900px;
  padding: 0;
  overflow: hidden;
}
.mega-industry__head {
  padding: 20px 28px 14px;
  border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; justify-content: space-between;
}
.mega-industry__head h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--charcoal); letter-spacing: .5px;
  text-transform: uppercase;
}
.mega-industry__head a {
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  color: var(--orange); display: flex; align-items: center; gap: 4px;
}
.mega-industry__head a svg { width: 12px; height: 12px; }

.mega-industry__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 8px 0 12px;
}
.mega-cat-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px; cursor: pointer;
  transition: background .15s;
  border-radius: 0;
  text-decoration: none;
}
.mega-cat-item:hover { background: rgba(245,154,87,.07); }
.mega-cat-item:hover .mci-name { color: var(--orange); }
.mega-cat-item:hover .mci-icon { background: rgba(245,154,87,.15); }
.mega-cat-item:hover .mci-icon svg { color: var(--orange); }

.mci-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue-gray); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.mci-icon svg { width: 18px; height: 18px; color: #6a8090; transition: color .15s; }
.mci-name {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--dark-gray); line-height: 1.3;
  transition: color .15s;
}

.mega-industry__footer {
  background: var(--off-white); border-top: 1px solid #f0f0f0;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
}
.mega-promo {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: #fff; border: 1.5px solid rgba(245,154,87,.25);
  border-radius: 10px; flex: 1;
  text-decoration: none;
  transition: border-color .2s;
}
.mega-promo:hover { border-color: var(--orange); }
.mega-promo-icon {
  width: 32px; height: 32px; background: rgba(245,154,87,.12);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.mega-promo-icon svg { width: 16px; height: 16px; color: var(--orange); }
.mega-promo-text strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 12px; color: var(--charcoal);
}
.mega-promo-text span { font-size: 11px; color: var(--mid-gray); }

/* ============================================================
   MEGA MENU â€” BY MATERIAL (2-col card layout)
   ============================================================ */
.mega-material {
  width: 600px;
  padding: 0;
  overflow: hidden;
}
.mega-material__head {
  padding: 18px 24px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.mega-material__head h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  color: var(--charcoal); letter-spacing: .5px; text-transform: uppercase;
}
.mega-material__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: #f0f0f0;
  margin: 0;
}
.mat-item {
  background: #fff; padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.mat-item:hover { background: rgba(245,154,87,.05); }
.mat-item:hover .mat-name { color: var(--orange); }
.mat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--blue-gray); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.mat-icon svg { width: 20px; height: 20px; color: #6a8090; }
.mat-item:hover .mat-icon { background: rgba(245,154,87,.12); }
.mat-item:hover .mat-icon svg { color: var(--orange); }
.mat-name {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--charcoal); margin-bottom: 3px;
  transition: color .15s;
}
.mat-desc { font-size: 12px; color: var(--mid-gray); line-height: 1.4; }

/* ============================================================
   MEGA MENU â€” BY STYLE (2-col list)
   ============================================================ */
.mega-style {
  width: 520px;
  padding: 0; overflow: hidden;
}
.mega-style__head {
  padding: 18px 24px 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; justify-content: space-between;
}
.mega-style__head h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  color: var(--charcoal); letter-spacing: .5px; text-transform: uppercase;
}
.mega-style__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 12px;
  gap: 2px;
}
.style-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 9px;
  cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.style-item:hover { background: rgba(245,154,87,.08); }
.style-item:hover .si-name { color: var(--orange); }
.si-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-gray); flex-shrink: 0;
  transition: background .15s;
}
.style-item:hover .si-dot { background: var(--orange); }
.si-name {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--dark-gray); transition: color .15s;
}
.mega-style__banner {
  margin: 0 12px 12px;
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a1a 100%);
  border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.mega-style__banner-text strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 14px; color: #fff;
}
.mega-style__banner-text span { font-size: 12px; color: rgba(255,255,255,.5); }
.mega-style__banner-btn {
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  padding: 8px 16px; border-radius: 100px; border: none;
  cursor: pointer; white-space: nowrap;
}

/* ============================================================
   HAMBURGER / MOBILE NAV
   ============================================================ */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 8px;
  border: none; background: transparent; border-radius: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.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-nav {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 9000;
  pointer-events: none;
}
.mobile-nav.open { display: block; pointer-events: all; }

.mobile-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .3s;
}
.mobile-nav.open .mobile-overlay { opacity: 1; }

.mobile-drawer {
  position: absolute; top: 0; left: 0;
  width: min(340px, 90vw); height: 100vh;
  background: #fff; overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 32px rgba(0,0,0,.15);
}
.mobile-nav.open .mobile-drawer { transform: translateX(0); }

.mobile-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
.mobile-drawer__close {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1.5px solid #eee; background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--dark-gray);
}
.mobile-drawer__close svg { width: 18px; height: 18px; }

.mobile-cta-strip {
  background: var(--orange); padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-cta-strip span {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff;
}
.mobile-cta-strip a {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  background: #fff; color: var(--orange);
  padding: 6px 14px; border-radius: 100px;
}

.mobile-nav-body { flex: 1; padding: 8px 0; }

.mob-nav-item { }
.mob-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--dark-gray); cursor: pointer;
  border-bottom: 1px solid #f8f8f8;
  background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left;
  transition: color .2s, background .2s;
}
.mob-nav-link:hover { color: var(--orange); background: rgba(245,154,87,.04); }
.mob-nav-link.has-sub { }
.mob-chevron {
  width: 18px; height: 18px; color: #ccc;
  transition: transform .25s, color .2s;
  flex-shrink: 0;
}
.mob-nav-link.sub-open .mob-chevron { transform: rotate(180deg); color: var(--orange); }
.mob-nav-link.sub-open { color: var(--orange); }

.mob-submenu {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  display: none;
}
.mob-submenu.open { display: block; }
.mob-sub-section { padding: 10px 0; }
.mob-sub-title {
  font-family: var(--font-head); font-weight: 700; font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); padding: 8px 20px 4px;
}
.mob-sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 28px;
  font-family: var(--font-head); font-weight: 500; font-size: 13px;
  color: var(--mid-gray);
  transition: color .2s; text-decoration: none;
}
.mob-sub-link::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: #ddd; flex-shrink: 0; transition: background .2s;
}
.mob-sub-link:hover { color: var(--orange); }
.mob-sub-link:hover::before { background: var(--orange); }

.mobile-drawer__foot {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.mob-contact-row {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px;
}
.mob-contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--mid-gray);
  text-decoration: none;
}
.mob-contact-link svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.mob-socials { display: flex; gap: 8px; }
.mob-soc {
  width: 34px; height: 34px; border-radius: 8px;
  background: #f5f5f5; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 14px;
  transition: background .2s, color .2s;
}
.mob-soc:hover { background: var(--orange); color: #fff; }

/* ============================================================
   SEARCH BAR (slide-down)
   ============================================================ */
.search-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--topbar-h) + var(--header-h));
  z-index: 1002;
  background: #fff;
  border-bottom: 1px solid #eee;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}
.search-bar.open {
  transform: translateY(0); opacity: 1; pointer-events: all;
}
.search-bar__inner {
  max-width: 700px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
}
.search-bar__input {
  flex: 1; border: 1.5px solid #e0e0e0; border-radius: 35px;
  padding: 11px 20px; font-family: var(--font-body); font-size: 14px;
  outline: none; color: var(--charcoal); background: #fafafa;
  transition: border-color .2s;
}
.search-bar__input:focus { border-color: var(--orange); background: #fff; }
.search-bar__input::placeholder { color: #bbb; }
.search-bar__close {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1.5px solid #eee; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid-gray);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-link { font-size: 12.5px; padding: 9px 10px; }
}

@media (max-width: 960px) {
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .top-bar__left { display: none; }
  .mega-industry { width: min(92vw, 800px); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; --topbar-h: 0px; }
  .top-bar { display: none; }
  .logo-text .l1 { font-size: 14px; }
  .logo-text .l2 { font-size: 11px; }
  .logo-mark svg { width: 36px; height: 36px; }
  .header__inner { padding: 0 16px; }
  .header__actions .btn-primary { font-size: 13px; padding: 10px 20px; }
}


