[hidden] { 
  display: none !important; 
}

/* =========================
   BRAND
========================= */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.second-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.brand-mark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14,42,71,.08);

  transform: translateY(0);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.site-header.header-scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(14,42,71,.10);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s ease;
}

.nav-link:hover {
  color: var(--primary-dark);
  background: rgba(79,179,255,.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================
   HERO BUTTONS
========================= */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-primary {
  background: #1E5AA6;
  color: white;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 25px rgba(30,90,166,.35);
  transition: all .25s ease;
}

.btn-primary:hover {
  background: #0E2A47;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30,90,166,.45);
}

.btn-outline {
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid #1E5AA6;
  color: #1E5AA6;
  font-weight: 700;
  background: white;
  transition: all .25s ease;
}

.btn-outline:hover {
  background: #1E5AA6;
  color: white;
}

/* =========================
   MOBILE MENU
========================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: black;
  transition: all .25s ease;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg);
  border-top: 1px solid rgba(14,42,71,.08);
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 860px) {
  .nav { 
    display: none; 
  }

  .burger { 
    display: flex; 
  }

  .brand-text {
    font-size: 22px;
  }

  .brand-logo {
    height: 44px;
  }

  .second-logo {
    height: 34px;
  }

  .header-inner {
    height: 64px;
  }
}

@media (min-width: 861px) {
  .mobile-nav { 
    display: none !important; 
  }
}