:root{
  --header-bg:rgba(255,255,255,.96);
  --header-navy:#12204d;
  --header-navy-2:#1a2f73;
  --header-text:#12204d;
  --header-line:#e8ecf5;
  --header-soft:#f4f7ff;
  --header-shadow:0 10px 35px rgba(17, 32, 77, .08);
  --header-shadow-strong:0 12px 40px rgba(17, 32, 77, .14);
  --header-radius:18px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:9999;
  background:var(--header-bg);
  backdrop-filter:blur(12px) saturate(160%);
  border-bottom:1px solid rgba(232,236,245,.9);
  box-shadow:0 1px 0 rgba(255,255,255,.8), var(--header-shadow);
}

.site-header .container{
  width:min(1240px, calc(100% - 40px));
  margin:0 auto;
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:104px;
}

.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  text-decoration:none;
}

.brand img{
  height:86px;
  width:auto;
  display:block;
  object-fit:contain;
  transition:transform .2s ease;
}

.brand:hover img{
  transform:translateY(-1px);
}

.site-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
}

.site-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  color:var(--header-text);
  text-decoration:none;
  font-weight:800;
  font-size:15px;
  letter-spacing:-.01em;
  white-space:nowrap;
  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.site-nav a:hover{
  background:var(--header-soft);
  color:var(--header-navy-2);
  transform:translateY(-1px);
}

.site-nav a.active{
  background:linear-gradient(180deg, #f6f8ff 0%, #edf2ff 100%);
  color:var(--header-navy-2);
  box-shadow:inset 0 0 0 1px rgba(83,110,255,.08);
}

.site-nav a.active::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:8px;
  height:3px;
  border-radius:99px;
  background:linear-gradient(90deg, #4664e9 0%, #6e84f7 100%);
}

.nav-toggle{
  display:none;
  width:50px;
  height:50px;
  border:1px solid var(--header-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 16px rgba(17,32,77,.06);
  cursor:pointer;
  padding:0;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nav-toggle:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(17,32,77,.10);
  border-color:#dbe3f3;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px auto;
  background:var(--header-navy);
  border-radius:99px;
  transition:all .2s ease;
}

body{
  margin-top:0 !important;
}

@media (max-width: 1180px){
  .site-header .container{
    width:min(1240px, calc(100% - 28px));
  }

  .brand img{
    height:78px;
  }

  .site-nav a{
    padding:0 14px;
    font-size:14px;
  }
}

@media (max-width: 980px){
  .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-wrap:wrap;
  }

  .brand img{
    height:72px;
  }

  .nav-toggle{
    display:block;
  }

  .site-nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px 0 10px;
  }

  .site-nav.open{
    display:flex;
  }

  .site-nav a{
    justify-content:flex-start;
    min-height:52px;
    padding:0 16px;
    background:#fff;
    border:1px solid var(--header-line);
    border-radius:14px;
    box-shadow:0 4px 14px rgba(17,32,77,.04);
  }

  .site-nav a.active::after{
    display:none;
  }

  .site-nav a.active{
    background:linear-gradient(180deg, #f6f8ff 0%, #edf2ff 100%);
    border-color:#dbe3ff;
  }
}

/* MOBILE MENU FIX ONLY - DOES NOT TOUCH DESKTOP */
@media (max-width: 980px){
  .site-header{
    position:sticky;
    top:0;
    z-index:9999;
  }

  .nav-wrap{
    min-height:84px !important;
    padding:12px 0 !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    position:relative;
  }

  .brand{
    display:flex !important;
    align-items:center !important;
    max-width:calc(100% - 72px);
    overflow:hidden;
  }

  .brand img{
    height:58px !important;
    max-width:100%;
    width:auto;
    object-fit:contain;
    display:block;
  }

  .nav-toggle{
    display:flex !important;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:5px !important;
    margin-left:auto !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:0 !important;
  }

  .nav-toggle span{
    display:block !important;
    width:28px !important;
    height:3px !important;
    margin:0 !important;
    background:#111 !important;
    border-radius:999px !important;
  }

  .site-nav{
    display:none !important;
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:0 !important;
    margin:8px 0 0 0 !important;
    background:#fff !important;
    border:1px solid #e5e7eb !important;
    border-radius:16px !important;
    box-shadow:0 16px 40px rgba(0,0,0,.14) !important;
    overflow:hidden !important;
    z-index:10000 !important;
  }

  .site-nav.open{
    display:flex !important;
  }

  .site-nav a{
    display:flex !important;
    align-items:center !important;
    min-height:64px !important;
    padding:0 22px !important;
    border:0 !important;
    border-top:1px solid #edf0f5 !important;
    border-radius:0 !important;
    background:#fff !important;
    box-shadow:none !important;
    font-size:17px !important;
    font-weight:800 !important;
    color:#12204d !important;
    justify-content:flex-start !important;
  }

  .site-nav a:first-child{
    border-top:0 !important;
  }

  .site-nav a:hover,
  .site-nav a.active{
    background:#fff !important;
    color:#3554d1 !important;
  }

  .site-nav a.active::after{
    display:none !important;
  }
}

/* SHARED FOOTER */
.site-footer{
  background:#101a44;
  color:#fff;
  padding:56px 0 36px;
  margin-top:0;
}
.site-footer .footer-inner{
  width:min(1200px, calc(100% - 40px));
  margin:0 auto;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
  align-items:start;
}
.site-footer .footer-brand{
  font-size:30px;
  font-weight:800;
  line-height:1.1;
  color:#fff;
}
.site-footer .footer-right{
  display:grid;
  gap:12px;
  justify-content:start;
}
.site-footer .footer-right p{
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:rgba(255,255,255,.95);
}
@media (max-width: 768px){
  .site-footer{
    padding:42px 0 24px;
  }
  .site-footer .footer-inner{
    grid-template-columns:1fr;
    gap:22px;
  }
  .site-footer .footer-brand{
    font-size:24px;
  }
}

/* PREMIUM SHARED FOOTER */
.site-footer-premium{
  background:#f7f7f7;
  color:#6a6a6a;
  border-top:1px solid #ececec;
  margin-top:0;
}
.site-footer-premium-inner{
  width:min(1280px, calc(100% - 48px));
  margin:0 auto;
  padding:68px 0 54px;
  display:grid;
  grid-template-columns:1.2fr .9fr 1fr;
  gap:80px;
  align-items:start;
}
.site-footer-col h3{
  margin:0 0 26px;
  color:#1b1f2a;
  font-size:18px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.01em;
}
.site-footer-logo{
  width:360px;
  max-width:100%;
  height:auto;
  display:block;
  margin-bottom:22px;
}
.site-footer-about{
  margin:0 0 24px;
  max-width:420px;
  color:#707070;
  font-size:18px;
  line-height:1.6;
}
.site-footer-social{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.site-footer-social a{
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:#fdeee7;
  color:#f47b42;
  font-weight:800;
  font-size:24px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-footer-social a:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(0,0,0,.08);
  background:#fbe4d9;
}
.site-footer-links,
.site-footer-contact{
  list-style:none;
  margin:0;
  padding:0;
}
.site-footer-links li,
.site-footer-contact li{
  margin:0 0 18px;
}
.site-footer-links a{
  text-decoration:none;
  color:#767676;
  font-size:22px;
  line-height:1.35;
  transition:color .2s ease;
}
.site-footer-links a:hover{
  color:#2b3f93;
}
.site-footer-contact li{
  display:flex;
  align-items:flex-start;
  gap:16px;
  color:#767676;
  font-size:20px;
  line-height:1.45;
}
.site-footer-contact .icon{
  color:#f47b42;
  font-size:24px;
  line-height:1;
  min-width:24px;
  margin-top:2px;
}
.site-footer-premium-bottom{
  border-top:1px solid #e8e8e8;
  text-align:center;
  padding:24px 20px 30px;
  color:#7a7a7a;
  font-size:19px;
}
.site-footer-premium-bottom strong{
  color:#595959;
}
@media (max-width: 1100px){
  .site-footer-premium-inner{
    grid-template-columns:1fr 1fr;
    gap:50px;
  }
  .site-footer-brand-col{
    grid-column:1 / -1;
  }
}
@media (max-width: 768px){
  .site-footer-premium-inner{
    width:min(1280px, calc(100% - 24px));
    grid-template-columns:1fr;
    gap:34px;
    padding:44px 0 34px;
  }
  .site-footer-logo{
    width:280px;
    margin-bottom:18px;
  }
  .site-footer-about{
    font-size:16px;
    max-width:100%;
  }
  .site-footer-links a{
    font-size:18px;
  }
  .site-footer-contact li{
    font-size:17px;
  }
  .site-footer-premium-bottom{
    font-size:16px;
    padding:20px 16px 24px;
  }
}

/* ULTRA PREMIUM FOOTER OVERRIDE */
.site-footer-premium{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
  color:#666;
  border-top:1px solid #ececec;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.site-footer-premium-inner{
  width:min(1280px, calc(100% - 48px));
  margin:0 auto;
  padding:48px 0 34px;
  display:grid;
  grid-template-columns:1.15fr .9fr 1fr;
  gap:56px;
  align-items:start;
}
.site-footer-col h3{
  margin:0 0 18px;
  color:#161b27;
  font-size:17px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.site-footer-logo{
  width:290px;
  max-width:100%;
  height:auto;
  display:block;
  margin-bottom:14px;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.04));
}
.site-footer-about{
  margin:0 0 18px;
  max-width:410px;
  color:#717171;
  font-size:16px;
  line-height:1.55;
}
.site-footer-social{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.site-footer-social a{
  width:46px;
  height:46px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:#fdeee6;
  color:#f47b42;
  font-weight:900;
  font-size:22px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow:0 8px 18px rgba(244,123,66,.10);
}
.site-footer-social a:hover{
  transform:translateY(-2px);
  background:#f47b42;
  color:#fff;
  box-shadow:0 14px 24px rgba(244,123,66,.22);
}
.site-footer-links,
.site-footer-contact{
  list-style:none;
  margin:0;
  padding:0;
}
.site-footer-links li,
.site-footer-contact li{
  margin:0 0 12px;
}
.site-footer-links a{
  text-decoration:none;
  color:#727272;
  font-size:19px;
  line-height:1.35;
  transition:color .2s ease, transform .2s ease;
  display:inline-block;
}
.site-footer-links a:hover{
  color:#243f97;
  transform:translateX(3px);
}
.site-footer-contact li{
  display:flex;
  align-items:flex-start;
  gap:14px;
  color:#767676;
  font-size:17px;
  line-height:1.45;
}
.site-footer-contact .icon{
  color:#f47b42;
  font-size:20px;
  line-height:1;
  min-width:20px;
  margin-top:2px;
}
.site-footer-contact a{
  color:#727272;
  text-decoration:none;
  transition:color .2s ease;
  word-break:break-word;
}
.site-footer-contact a:hover{
  color:#243f97;
}
.site-footer-premium-bottom{
  border-top:1px solid #e8e8e8;
  text-align:center;
  padding:18px 20px 22px;
  color:#7a7a7a;
  font-size:17px;
  background:rgba(255,255,255,.35);
}
.site-footer-premium-bottom strong{
  color:#525252;
}
@media (max-width: 1100px){
  .site-footer-premium-inner{
    grid-template-columns:1fr 1fr;
    gap:40px;
  }
  .site-footer-brand-col{
    grid-column:1 / -1;
  }
}
@media (max-width: 768px){
  .site-footer-premium-inner{
    width:min(1280px, calc(100% - 24px));
    grid-template-columns:1fr;
    gap:28px;
    padding:34px 0 24px;
  }
  .site-footer-logo{
    width:240px;
    margin-bottom:12px;
  }
  .site-footer-about{
    font-size:15px;
    max-width:100%;
  }
  .site-footer-links a{
    font-size:17px;
  }
  .site-footer-contact li{
    font-size:16px;
  }
  .site-footer-premium-bottom{
    font-size:15px;
    padding:16px 14px 20px;
  }
}


/* ===== unified mobile header lock v15 ===== */
@media (max-width: 860px) {
  .site-header {
    position: relative;
    z-index: 9999;
    background: #fff;
  }

  .site-header .header-inner,
  .site-header .container,
  .site-header .nav-wrap,
  .site-header .header-wrap {
    position: relative;
    min-height: 108px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 22px !important;
    box-sizing: border-box !important;
  }

  .site-header .logo,
  .site-header .site-logo,
  .site-header .brand,
  .site-header .logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: calc(100% - 90px) !important;
  }

  .site-header .logo img,
  .site-header .site-logo img,
  .site-header .brand img,
  .site-header .logo-wrap img {
    display: block !important;
    width: auto !important;
    max-width: 240px !important;
    max-height: 72px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  #mobile-menu-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 22px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    z-index: 10001 !important;
  }

  .site-header .nav-center {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: #fff !important;
    z-index: 10000 !important;
  }

  .site-header .nav-center:not(.mobile-open) {
    display: none !important;
  }

  .site-header .nav-center.mobile-open {
    display: block !important;
  }
}
