/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(30, 86, 208, 0.08);
  animation: slideDown .5s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}


.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0B1F5C;
  letter-spacing: -.3px;
}

.logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1E56D0;
}

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: #3A4A6B;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

nav a:hover {
  color: #1E56D0;
  background: rgba(30, 86, 208, 0.07);
}

/* ── CTA button ── */
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1440A0 0%, #3B72F5 100%);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(30, 86, 208, .45);
  transition: transform .2s, box-shadow .2s, filter .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px rgba(30, 86, 208, .55);
  filter: brightness(1.07);
}

.btn-header:active {
  transform: translateY(0) scale(.98);
}

/* ── Hamburger ── */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0B1F5C;
  border-radius: 2px;
  transition: all .3s ease;
}

.header__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile menu ── */
.header__mobile {
  display: none;
  flex-direction: column;
  gap: .75rem;
  background: #fff;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(30, 86, 208, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.header__mobile.open {
  max-height: 480px;
  display: flex;
}

.header__mobile a {
  font-size: 15px;
  font-weight: 500;
  color: #3A4A6B;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(30, 86, 208, 0.07);
  text-decoration: none;
}

.header__mobile a:last-child {
  border-bottom: none;
}

.header__mobile .btn-header {
  margin-top: .5rem;
  justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 960px) {

  nav,
  .header-inner>.btn-header {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }
}