/* ========= LSM Modern Header ========= */
.lsm-container{
  width: min(1200px, 92%);
  margin: 0 auto;
}

.lsm-topbar{
  background: #0b1b3a;
  color: #fff;
  font-size: 12px;
}

.lsm-topbar .lsm-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.lsm-topbar-left{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.lsm-toplink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.lsm-toplink:hover{
  color: #fff;
}

.lsm-topbar-right{
  display: flex;
  align-items: center;
  gap: 10px;
}

.lsm-social{
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.lsm-social:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.lsm-topbtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #d10000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.lsm-topbtn:hover{
  background: #d10000;
  color: #fff;
}

/* ========= Navbar ========= */
.lsm-navbar{
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
  z-index: 100;
}

.lsm-navwrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.lsm-brand img{
  height: 44px;
  width: auto;
  display: block;
}

.lsm-menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.lsm-menu > li{
  position: relative;
}

.lsm-menu > li > a{
  text-decoration: none;
  color: #0b1b3a;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .7px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lsm-menu > li > a:hover{
  background: rgba(209,0,0,.08);
  color: #d10000;
}

.lsm-menu > li > a.is-active{
  background: #d10000;
  color: #fff;
}

/* ========= Burger ========= */
.lsm-burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
}

.lsm-burger span{
  display: block;
  width: 20px;
  height: 2px;
  background: #0b1b3a;
  margin: 4px auto;
  transition: transform .2s ease, opacity .2s ease;
}

.lsm-burger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.lsm-burger.is-open span:nth-child(2){ opacity: 0; }
.lsm-burger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* =========================
   LSM MEGA MENU
========================= */
.lsm-nav-mega{
  position: static !important;
}

.lsm-mega-menu{
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 24px 60px rgba(2,12,27,.14);
  padding: 24px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .25s ease;
}

.lsm-nav-mega::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.lsm-nav-mega:hover .lsm-mega-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lsm-mega-menu__grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.1fr;
  gap: 20px;
}

.lsm-mega-menu__col h4{
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #0b1b3a;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.lsm-mega-menu__col ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.lsm-mega-menu__col li{
  margin: 0;
}

.lsm-mega-menu__col a{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
  color: #0b1b3a;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

.lsm-mega-menu__col a:hover{
  background: rgba(209,0,0,.05);
  transform: translateX(2px);
  color: #d10000;
}

.lsm-mega-menu__col a span{
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11,27,58,.65);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.lsm-mega-menu__featured{
  display: flex;
}

.lsm-mega-menu__card{
  width: 100%;
  background: linear-gradient(180deg, #0b1b3a, #11264b);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.lsm-mega-menu__card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px 180px at 20% 20%, rgba(209,0,0,.24) 0%, rgba(209,0,0,0) 60%);
  pointer-events: none;
}

.lsm-mega-menu__kicker{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.88);
}

.lsm-mega-menu__card h3{
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 950;
  color: #fff;
}

.lsm-mega-menu__card p{
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

.lsm-mega-menu__card .lsm-btn{
  background: #ffffff;
  color: #d10000;
  font-weight: 900;
  border: 1px solid #fff;
}

.lsm-mega-menu__card .lsm-btn:hover{
  background: #d10000;
  color: #ffffff;
  border: 1px solid #d10000;
}

/* ========= Responsive ========= */
@media (max-width: 991px){
  .lsm-burger{
    display: inline-block;
  }

  .lsm-menu{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px 16px 16px;
    z-index: 50;
  }

  .lsm-menu.is-open{
    display: flex;
  }

  .lsm-menu > li > a{
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    border-radius: 12px;
  }

  .lsm-topbar-right .lsm-social{
    display: none;
  }

  .lsm-mega-menu{
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    padding: 16px;
    border-radius: 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
  }

  .lsm-nav-mega.is-open .lsm-mega-menu{
    display: block;
  }

  .lsm-mega-menu__grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lsm-mega-menu__featured{
    order: -1;
  }
}