/* ========================================================= */
/* FIX LOGO UKURAN PROPOSIONAL & NAVIGASI FULL LEBAR LAYAR   */
/* ========================================================= */

header {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e1e4e8;
  z-index: 1000;
}

header .w.nav,
header .nav,
.nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 24px !important;
}

/* KUNCI UKURAN LOGO AGAR PAS & TIDAK RAKSASA */
.logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: #0b2a4a;
}

.sp-logo-img {
  height: 36px !important; /* Ukuran dikunci di 36px */
  max-height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text b {
  font-size: 16px;
  line-height: 1.2;
  color: #0b2a4a;
  letter-spacing: 0.5px;
}

.logo-text small {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Tombol Burger Menu */
.burger,
#bg {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
  color: #0b2a4a;
}

/* Tampilan Desktop (> 860px) */
@media (min-width: 861px) {
  nav {
    display: block !important;
    margin-left: auto !important;
  }

  nav ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 22px !important;
    align-items: center !important;
  }

  nav ul li a {
    text-decoration: none;
    color: #0b2a4a;
    font-weight: 600;
    font-size: 14px;
  }

  nav ul li a.btn {
    background: #1d70b8;
    color: #ffffff !important;
    border-radius: 6px;
  }
}

/* Tampilan HP (<= 860px) */
@media (max-width: 860px) {
  header .w.nav, header .nav, .nav {
    padding: 10px 16px !important;
  }

  .burger, #bg {
    display: block !important;
    margin-left: auto !important;
  }

  nav ul {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 2px solid #e1e4e8;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1001;
  }

  nav ul.on {
    display: flex !important;
  }

  .sp-logo-img {
    height: 28px !important; /* Ukuran di HP lebih kecil dikit */
    max-height: 28px !important;
  }

  .logo-text b {
    font-size: 14px;
  }
}

/* Sembunyikan Tombol WA Lama */
.wa {
  display: none !important;
}