/* =========================================================
   HEADER LAYOUT
   ========================================================= */
.section--header{
  position: relative;
  z-index: 20; /* sits above hero stacking context */
  width: 100%;
  background: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Gradient accent line along the bottom of the header */
.section--header::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 5px;
  transform: translateX(-50%);
  background: linear-gradient(95deg, var(--vsk-dark) 0%, var(--vsk-dark) 35%, var(--vsk-light) 65%, var(--vsk-light) 100%);
  box-shadow: 0 0 12px rgba(0,159,219,0.35);
  pointer-events: none;
  z-index: 10;
}

.site-header{
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.6vw, 38px) 0;
}
.site-header::after{ content: none; }

.header__logo{
  padding: 0 clamp(56px, 8vw, 90px);
  box-sizing: border-box;
}

.Logo{
  width: min(92vw, 500px);
  max-width: none;
  height: auto;
  max-height: clamp(56px, 10vw, 120px);
  object-fit: contain;
}

/* =========================================================
   HAMBURGER TOGGLE BUTTON
   ========================================================= */
.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  border: 0;
  background: transparent;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--vsk-dark);
}
.nav-toggle:hover{ background: rgba(207,234,247,0.55); }
.nav-toggle:focus-visible{
  outline: 2px solid rgba(0,159,219,0.55);
  outline-offset: 3px;
}

.burger{
  width: 26px;
  height: 2px;
  background: var(--vsk-dark);
  display: block;
  position: relative;
  border-radius: 999px;
}
.burger::before,
.burger::after{
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--vsk-dark);
  border-radius: 999px;
}
.burger::before{ top: -7px; }
.burger::after{ top: 7px; }

.nav-toggle:hover .burger,
.nav-toggle:hover .burger::before,
.nav-toggle:hover .burger::after{
  background: #005f8f;
}

/* =========================================================
   SLIDE-OUT NAV PANEL
   ========================================================= */
#menu.site-nav{
  background: transparent;
  position: relative;
  z-index: 50;
}
#menu.site-nav::after{ display: none; }

/* Dark backdrop shown when menu is open */
#menu.site-nav::before{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 40;
}
#menu.is-open::before{
  opacity: 1;
  pointer-events: auto;
}

/* Pre-warm GPU layer so first open has no jank */
#menu.site-nav::before{
  content: "";
  will-change: opacity;
}

/* The slide-in panel itself */
#menu .menu-bar{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(380px, 86vw);
  background: rgba(207,234,247,0.98);
  border-right: 1px solid rgba(0,59,92,0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: translateX(-105%);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  overflow-y: auto;
  padding: 120px 14px 16px;
  will-change: transform;          /* promote to own GPU layer */
  contain: layout style;           /* isolate from page reflows */
  backface-visibility: hidden;     /* extra compositing hint     */
}
#menu.is-open .menu-bar{
  transform: translateX(0);
}

/* =========================================================
   NAV LIST & LINKS
   ========================================================= */
.menu__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.menu__item + .menu__item{ border-left: 0; }

.menu__link{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--vsk-dark);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,59,92,0.10);
  box-sizing: border-box;
}
.menu__link:hover{
  background: rgba(0,59,92,0.10);
  box-shadow: inset 0 -2px 0 var(--vsk-dark), 0 0 12px rgba(0,159,219,.30);
}

.menu__link--cta{
  background: var(--vsk-dark);
  color: #fff;
  border-color: var(--vsk-dark);
}
.menu__link--cta:hover{
  background: #005f8f;
  box-shadow: none;
}

/* =========================================================
   SUBMENUS
   ========================================================= */
.has-submenu{ position: relative; }

.has-submenu > .menu__link::after{
  content: "▸";
  font-size: 14px;
  margin-left: 10px;
  opacity: .8;
}

.submenu{
  list-style: none;
  margin: 0;
  padding: 8px 0 0 10px;
  display: none;
}
.submenu li{ list-style: none; }

.has-submenu.open > .submenu{
  display: grid;
  gap: 6px;
}

.submenu__link{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vsk-dark);
  text-decoration: none;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,59,92,0.10);
}
.submenu__link:hover{ background: rgba(0,159,219,0.12); }

/* Move toggle button into top-left corner while menu is open */
#menu.is-open .nav-toggle{
  position: fixed;
  left: 18px;
  top: 16px;
  transform: none;
  z-index: 10001;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* =========================================================
   STICKY NAV (appears on scroll)
   ========================================================= */
.sticky-nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  z-index: 10050;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  display: flex;
  align-items: center;
}
.sticky-nav.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-nav::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vsk-dark), var(--vsk-light));
  box-shadow: 0 0 12px rgba(0,159,219,.25);
}
.sticky-nav .nav-toggle{
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
}
