@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css");

/* Pages set overflow-x:hidden on <body> to stop horizontal bleed from
   full-bleed sections. That breaks .site-header's position:sticky below --
   it makes <body> (an unconstrained-height element that never actually
   scrolls itself) the sticky containing scrollport instead of the real
   viewport, so the header just scrolls away with the page. Clipping at
   <html> instead achieves the same no-horizontal-scroll result without
   creating that false scroll context -- each page's own body rule should
   not also set overflow-x. */
html{overflow-x:hidden}

.dj-header-root{
  /* This wrapper exists only to scope the custom properties below (green
     scale, orange, ink, muted, line, etc) -- it has no visual styling of
     its own. Left as a normal block box, it auto-sizes to exactly its
     child .site-header's height (77px), which breaks .site-header's
     position:sticky: a sticky element can only stick within its
     containing block's box, and a containing block the same height as
     the sticky element itself gives it zero room to actually stick
     before that box has already scrolled past. display:contents removes
     this element's own box (custom property inheritance is unaffected,
     it follows the DOM regardless of box generation), so .site-header's
     containing block becomes body instead, which spans the whole page. */
  display:contents;
  --green-950:#073d2c;
  --green-900:#0F5132;
  --green-800:#14623f;
  --green-700:#147741;
  --green-600:#1A9B57;
  --green-500:#20A95D;
  --green-100:#E9F6ED;
  --green-50:#F6FBF7;
  --orange:#F28B1A;
  --orange-50:#FFF5E9;
  --ink:#18221c;
  --muted:#66716a;
  --line:#E1E9E4;
  --white:#fff;
  --shadow:0 20px 50px rgba(15,81,50,.12);
  --shadow-soft:0 8px 24px rgba(15,81,50,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
}
a{text-decoration:none;color:inherit}
button{font:inherit}
a:focus-visible,button:focus-visible{
  outline:3px solid rgba(32,169,93,.25);
  outline-offset:3px;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(225,233,228,.95);
  box-shadow:0 6px 24px rgba(15,81,50,.04);
}
.navbar{
  max-width:1460px;
  height:76px;
  margin:auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.brand{
  display:flex;
  align-items:center;
  min-width:150px;
  min-height:48px;
}
.ats-logo{
  display:none;
  width:auto;
  height:auto;
  max-width:190px;
  max-height:48px;
  object-fit:contain;
  object-position:left center;
}
.ats-logo.loaded{
  display:block;
}

.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
  flex:1;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:2px;
}
.nav-item{
  position:relative;
}
.nav-item.has-dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:18px;
  display:none;
}
.nav-item.has-dropdown:hover::after,
.nav-item.has-dropdown.is-open::after{
  display:block;
}
.nav-trigger,.nav-link{
  height:42px;
  padding:0 14px;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:12px;
  color:#344139;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
  white-space:nowrap;
}
.nav-trigger:hover,.nav-link:hover,.nav-item.is-open>.nav-trigger{
  background:var(--orange-50);
  color:var(--green-900);
}
.chev{
  font-size:11px;
  color:#7d8881;
  transition:transform .18s ease;
}
.nav-item.is-open .chev{transform:rotate(180deg)}

.cta-group{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:6px;
}
.login-btn,.consult-btn{
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.login-btn{
  color:var(--green-900);
  border:1px solid #D7E5DB;
  background:#fff;
}
.login-btn:hover{background:#F7FBF8;border-color:#BFD3C5}
.consult-btn{
  color:#fff;
  background:linear-gradient(135deg,var(--green-900),var(--green-600));
  box-shadow:0 9px 20px rgba(15,81,50,.2);
}
.consult-btn:hover{transform:translateY(-1px)}

/* DESKTOP DROPDOWNS */
.dropdown{
  position:absolute;
  top:100%;
  left:50%;
  padding-top:14px;
  transform:translate(-50%,10px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.18s ease;
  z-index:1100;
}
.nav-item.is-open>.dropdown,
.nav-item:hover>.dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}
.dropdown-card{
  background:#fff;
  border:1px solid #E6EEE9;
  box-shadow:var(--shadow);
  border-radius:18px;
  overflow:hidden;
}
.dropdown-card::before{
  content:"";
  display:block;
  height:3px;
  background:linear-gradient(90deg,var(--green-900),var(--green-500),var(--orange));
}
.simple-menu{
  width:320px;
  padding:10px;
}
.simple-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding:10px 12px;
  border-radius:12px;
  color:#46534b;
  font-size:14px;
  font-weight:700;
}
.simple-item:hover{
  background:var(--orange-50);
  color:var(--green-900);
}
.icon-chip{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:var(--green-100);
  color:var(--green-800);
  font-size:14px;
}
.simple-item:hover .icon-chip{
  background:#fff;
  color:var(--orange);
  box-shadow:0 5px 15px rgba(0,0,0,.06);
}

/* Mega industries */
.mega-menu{
  width:min(980px,calc(100vw - 48px));
}
.mega-head{
  padding:20px 24px 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  background:linear-gradient(180deg,#FBFDFC,#F7FBF8);
  border-bottom:1px solid var(--line);
}
.mega-head-copy h3{
  margin:0;
  font-size:18px;
  color:var(--green-950);
}
.mega-head-copy p{
  margin:6px 0 0;
  max-width:520px;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
}
.mega-badge{
  padding:7px 10px;
  border-radius:999px;
  background:var(--orange-50);
  color:#B7660E;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.mega-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  padding:22px 24px 18px;
}
.mega-section{
  min-width:0;
}
.mega-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  font-size:14px;
  font-weight:800;
  color:#233027;
}
.mega-section-title .mini-icon{
  width:30px;height:30px;border-radius:9px;
  display:grid;place-items:center;
  background:var(--green-100);color:var(--green-800);
}
.mega-link{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:8px 10px;
  margin:2px 0;
  border-radius:10px;
  color:#566159;
  font-size:13.5px;
  transition:.15s ease;
}
.mega-link i{
  width:18px;
  text-align:center;
  color:#7A887F;
  font-size:13px;
}
.mega-link:hover{
  background:var(--orange-50);
  color:var(--green-900);
}
.mega-link:hover i{color:var(--orange)}
.mega-footer{
  min-height:68px;
  display:flex;
  align-items:center;
  padding:12px 24px;
  border-top:1px solid var(--line);
  background:linear-gradient(90deg,#FBFDFC 0%,#F5FAF7 100%);
}
.industry-punchline{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
}
.punch-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--green-100);
  color:var(--green-800);
}
.industry-punchline strong{
  display:block;
  color:var(--green-950);
  font-size:13px;
  line-height:1.3;
}
.industry-punchline span:not(.punch-icon){
  display:block;
  margin-top:3px;
  color:#7A857E;
  font-size:11.5px;
  line-height:1.35;
}

/* mobile toggle */
.menu-toggle{
  display:none;
  width:44px;height:44px;
  border:1px solid #DCE7E0;
  border-radius:12px;
  background:#fff;
  color:var(--green-900);
  cursor:pointer;
  place-items:center;
  font-size:18px;
}

/* MOBILE DRAWER */
.drawer-overlay{
  position:fixed;
  inset:76px 0 0;
  background:rgba(9,29,19,.42);
  opacity:0;
  visibility:hidden;
  transition:.2s ease;
  z-index:980;
}
.drawer-overlay.show{opacity:1;visibility:visible}
.mobile-drawer{
  position:fixed;
  top:76px;
  right:0;
  bottom:0;
  width:min(420px,100%);
  background:#fff;
  z-index:990;
  transform:translateX(100%);
  transition:transform .24s ease;
  overflow-y:auto;
  box-shadow:-20px 0 40px rgba(15,81,50,.12);
}
.mobile-drawer.open{transform:translateX(0)}
.drawer-inner{
  padding:16px 18px 26px;
}
.drawer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:4px 0 14px;
  border-bottom:1px solid var(--line);
}
.drawer-top strong{
  font-size:13px;
  color:#6a756e;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.drawer-close{
  width:36px;height:36px;border:0;border-radius:10px;
  background:var(--green-50);color:var(--green-900);cursor:pointer
}
.m-link{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 4px;
  border-bottom:1px solid #EEF2EF;
  color:#223027;
  font-size:15px;
  font-weight:800;
}
.m-group{border-bottom:1px solid #EEF2EF}
.m-group-toggle{
  width:100%;
  min-height:52px;
  padding:0 4px;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#223027;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}
.m-caret{transition:transform .18s ease;color:#7B867F}
.m-group.open .m-caret{transform:rotate(180deg)}
.m-group-content{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .24s ease;
}
.m-group.open .m-group-content{grid-template-rows:1fr}
.m-group-inner{overflow:hidden}
.m-group-box{
  margin:0 0 12px;
  padding:8px;
  border-radius:14px;
  background:#FAFCFB;
  border:1px solid #EDF2EF;
}
.m-cat{
  padding:10px 10px 6px;
  font-size:10px;
  font-weight:900;
  color:#93A099;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.m-sub-item{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border-radius:10px;
  color:#4C5951;
  font-size:13.5px;
}
.m-sub-item i{width:18px;color:var(--green-700);text-align:center}
.m-sub-item:hover{background:var(--orange-50);color:var(--green-900)}
.m-cta-row{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:10px;
  padding-top:18px;
}
.m-login,.m-consult{
  min-height:46px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
}
.m-login{border:1px solid #D7E5DB;color:var(--green-900)}
.m-consult{background:var(--green-900);color:#fff}

/* responsive */
@media (max-width:1180px){
  .navbar{padding:0 20px}
  .nav-trigger,.nav-link{padding:0 10px;font-size:13.5px}
  .cta-group{gap:8px}
  .login-btn,.consult-btn{padding:0 14px}
  .mega-menu{width:min(850px,calc(100vw - 36px))}
}
@media (max-width:980px){
  .desktop-nav{display:none}
  .menu-toggle{display:grid}
}
@media (max-width:640px){
  .navbar{height:68px;padding:0 14px}
  .brand{min-width:120px;min-height:42px}
  .ats-logo{max-width:155px;max-height:42px}
  .drawer-overlay{inset:68px 0 0}
  .mobile-drawer{top:68px}
  .drawer-inner{padding:14px 14px 24px}
  .m-cta-row{grid-template-columns:1fr}
  .page-body{padding:50px 18px 90px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}
