
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

/* ===== HEADER ===== */
.a1x-header{
  position:sticky;
  top:0;
  z-index:999;
  background:#fff;
  transition:all .35s ease;
}

.a1x-header.scrolled{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 40px rgba(0,0,0,.12);
}

.a1x-container{
  max-width:1300px;
  margin:auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition:all .35s ease;
}

.a1x-header.scrolled .a1x-container{
  padding:10px 20px;
}

/* ===== LOGO ===== */
.a1x-logo a{
  text-decoration:none;
  color:#000;
  font-size:20px;
  font-weight:800;
  line-height:1.1;
}
.brand-lite{
  display:block;
  font-size:11px;
  letter-spacing:2px;
  font-weight:500;
}

/* ===== NAV ===== */
.a1x-nav ul{
  list-style:none;
  display:flex;
  gap:30px;
  align-items:center;
}

.a1x-nav a,
.a1x-services span{
  text-decoration:none;
  color:#111;
  font-weight:500;
  position:relative;
  cursor:pointer;
}

/* Animated underline */
.a1x-nav a::after,
.a1x-services span::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-7px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,#ff3b3b,#ff7a7a);
  transform:translateX(-50%);
  transition:.3s ease;
}
.a1x-nav a:hover::after,
.a1x-services span:hover::after{
  width:100%;
}

/* ===== CTA ===== */
.a1x-cta-desktop a,
.a1x-cta-mobile a{
  padding:10px 22px;
  border-radius:999px;
  background:#000;
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

/* ===== SERVICES MEGA MENU ===== */
.a1x-services{ position:relative; }

.a1x-services:hover .a1x-mega-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.a1x-mega-menu{
  position:absolute;
  top:42px;
  left:0;
  width:480px;
  background:#fff;
  padding:14px;
  border-radius:14px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
  box-shadow:0 25px 50px rgba(0,0,0,.14);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:.3s ease;
}

.mega-item{
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:10px;
  color:#111;
  text-decoration:none;
}
.mega-item span{ font-size:18px; }
.mega-item strong{ font-size:13px; font-weight:600; }
.mega-item small{ font-size:11px; opacity:.65; }
.mega-item:hover{ background:#f4f4f4; }

/* ===== MOBILE ===== */
.a1x-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
}

.a1x-cta-mobile{ display:none; }

@media(max-width:991px){

  .a1x-toggle{ display:block; }
  .a1x-cta-desktop{ display:none; }
  .a1x-cta-mobile{ display:block; margin-top:20px; }

  .a1x-nav{
    position:fixed;
    top:70px;
    left:-100%;
    width:100%;
    height:calc(100vh - 70px);
    background:#fff;
    overflow-y:auto;
    padding:30px 0;
    transition:.3s;
  }
  .a1x-nav.active{ left:0; }

  .a1x-nav ul{
    flex-direction:column;
    gap:18px;
    padding:0 20px;
  }

  .a1x-mega-menu{
    position:static;
    width:100%;
    grid-template-columns:1fr;
    box-shadow:none;
    opacity:1;
    transform:none;
    display:none;
    border-left:2px solid #ff3b3b;
    padding-left:12px;
    margin-top:6px;
  }

  .a1x-services.active .a1x-mega-menu{
    display:grid;
  }
}
