/* ============================================================
   OIA UNISSULA — PUBLIC NAVBAR
   ============================================================ */

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;

  width: 100%;

  overflow: visible;
}

.nav {
  position: relative;
  z-index: 10000;

  width: 100%;
  min-height: var(--nav-h);

  overflow: visible;

  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);

  background: color-mix(in srgb, var(--bg) 88%, transparent);

  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);

  transition: background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled .nav {
  background: color-mix(in srgb, var(--bg) 97%, transparent);

  box-shadow: 0 10px 35px rgba(20, 32, 26, 0.08);
}

[data-theme="dark"] .site-header.is-scrolled .nav {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   NAV INNER
   ============================================================ */

.nav-inner {
  position: relative;

  min-height: var(--nav-h);

  display: flex;
  align-items: center;

  gap: 20px;

  overflow: visible;
}

/* ============================================================
   INSTITUTIONAL BRAND
   ============================================================ */

.nav-brand {
  display: flex;
  align-items: center;

  gap: 14px;

  min-width: 0;

  flex-shrink: 0;

  color: var(--text);

  text-decoration: none;
}

/* ============================================================
   PRIMARY UNISSULA LOGO
   ============================================================ */

.nav-brand-primary {
  width: 128px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 128px;

  overflow: hidden;
}

.nav-brand-primary img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  object-position: left center;
}

/* ============================================================
   SUPPORTING INSTITUTIONAL LOGOS
   ============================================================ */

.nav-brand-support {
  display: flex;
  align-items: center;

  gap: 8px;

  height: 46px;

  padding-left: 12px;

  border-left: 1px solid color-mix(in srgb, var(--border) 90%, transparent);

  flex-shrink: 0;
}

/* ============================================================
   GENERIC SUPPORT LOGO
   ============================================================ */

.nav-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  overflow: hidden;
}

.nav-brand-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

/* ============================================================
   KAMPUS BIRRUL WALIDAIN
   ============================================================ */

.nav-brand-birrul {
  width: 68px;
  height: 38px;
}

/* ============================================================
   BUDAI
   ============================================================ */

.nav-brand-budai {
  width: 36px;
  height: 36px;
}

/* ============================================================
   AKREDITASI UNGGUL
   ============================================================ */

.nav-brand-unggul {
  width: 50px;
  height: 40px;
}

/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: clamp(11px, 1.15vw, 20px);

  margin-left: auto;

  min-width: 0;

  overflow: visible;
}

.nav-item,
.nav-dropdown {
  position: relative;

  overflow: visible;
}

/* ============================================================
   NAV LINKS
   ============================================================ */

.nav-links > .nav-item > a,
.nav-dropdown-toggle {
  position: relative;

  min-height: 44px;

  display: inline-flex;
  align-items: center;

  gap: 6px;

  padding: 0;

  border: 0;

  background: transparent;

  color: var(--text-soft);

  font-family: inherit;

  font-size: 13px;

  font-weight: 600;

  line-height: 1;

  text-decoration: none;

  white-space: nowrap;

  cursor: pointer;

  transition: color 0.2s ease;
}

/* ============================================================
   NAV ACTIVE UNDERLINE
   ============================================================ */

.nav-links > .nav-item > a::after,
.nav-dropdown-toggle::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 4px;
  left: 0;

  height: 2px;

  border-radius: 999px;

  background: var(--accent-deep);

  transform: scaleX(0);

  transform-origin: center;

  transition: transform 0.22s ease;
}

.nav-links > .nav-item > a:hover,
.nav-links > .nav-item > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--accent-deep);
}

.nav-links > .nav-item > a:hover::after,
.nav-links > .nav-item > a.active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

/* ============================================================
   DROPDOWN TOGGLE ICON
   ============================================================ */

.nav-dropdown-toggle > svg {
  width: 13px;
  height: 13px;

  flex-shrink: 0;

  fill: none;

  stroke: currentColor;

  transition: transform 0.2s ease;
}

.nav-dropdown-toggle > svg path,
.nav-dropdown-toggle > svg line,
.nav-dropdown-toggle > svg polyline,
.nav-dropdown-toggle > svg polygon,
.nav-dropdown-toggle > svg circle {
  stroke: currentColor;
}

.nav-dropdown.open .nav-dropdown-toggle > svg {
  transform: rotate(180deg);
}

/* ============================================================
   DESKTOP DROPDOWN
   ============================================================ */

.nav-dropdown-menu {
  position: absolute;

  top: calc(100% + 10px);

  left: 50%;

  z-index: 11000;

  width: 320px;

  padding: 8px;

  border: 1px solid var(--border);

  border-radius: 16px;

  background: color-mix(in srgb, var(--surface) 97%, transparent);

  box-shadow: 0 24px 60px rgba(20, 32, 26, 0.16);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transform: translateX(-50%) translateY(-8px) scale(0.98);

  transform-origin: top center;

  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

[data-theme="dark"] .nav-dropdown-menu {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.nav-dropdown-menu-wide {
  width: 340px;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateX(-50%) translateY(0) scale(1);
}

/* ============================================================
   DROPDOWN ARROW
   ============================================================ */

.nav-dropdown-menu::before {
  content: "";

  position: absolute;

  top: -6px;

  left: 50%;

  width: 12px;
  height: 12px;

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);

  background: var(--surface);

  pointer-events: none;

  transform: translateX(-50%) rotate(45deg);
}

/* ============================================================
   DROPDOWN ITEM
   ============================================================ */

.nav-dropdown-menu > a {
  position: relative;

  z-index: 1;

  min-height: 64px;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 11px 12px;

  border-radius: 11px;

  color: var(--text);

  text-decoration: none;

  pointer-events: auto;

  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu > a::after {
  display: none;
}

.nav-dropdown-menu > a:hover,
.nav-dropdown-menu > a.active {
  background: var(--bg-alt);

  color: var(--accent-deep);

  transform: translateX(2px);
}

/* ============================================================
   DROPDOWN ICON
   ============================================================ */

.nav-dropdown-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);

  border-radius: 10px;

  background: var(--surface);

  color: var(--accent-deep);
}

.nav-dropdown-icon svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;
}

.nav-dropdown-icon svg path,
.nav-dropdown-icon svg line,
.nav-dropdown-icon svg polyline,
.nav-dropdown-icon svg polygon,
.nav-dropdown-icon svg circle {
  stroke: currentColor;
}

/* ============================================================
   DROPDOWN CONTENT
   ============================================================ */

.nav-dropdown-content {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 3px;
}

.nav-dropdown-content strong {
  color: inherit;

  font-size: 13.5px;

  font-weight: 700;

  line-height: 1.35;
}

.nav-dropdown-content small {
  color: var(--text-soft);

  font-size: 11.5px;

  font-weight: 400;

  line-height: 1.45;
}

/* ============================================================
   NAV ACTIONS
   ============================================================ */

.nav-actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 9px;

  flex-shrink: 0;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switch {
  position: relative;
}

.lang-btn {
  min-width: 64px;

  min-height: 42px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  padding: 8px 13px;

  border: 1px solid var(--border);

  border-radius: 999px;

  background: var(--surface);

  color: var(--text);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.4px;

  cursor: pointer;

  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease,
    transform 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--accent-deep);

  background: var(--sage-50);

  color: var(--accent-deep);
}

[data-theme="dark"] .lang-btn:hover {
  background: var(--bg-alt);
}

.lang-btn:active {
  transform: scale(0.97);
}

.lang-btn svg {
  width: 13px;
  height: 13px;

  fill: none;

  stroke: currentColor;

  transition: transform 0.2s ease;
}

.lang-btn svg path,
.lang-btn svg line,
.lang-btn svg polyline {
  stroke: currentColor;
}

.lang-switch.open .lang-btn svg {
  transform: rotate(180deg);
}

/* ============================================================
   LANGUAGE MENU
   ============================================================ */

.lang-menu {
  position: absolute;

  top: calc(100% + 10px);

  right: 0;

  z-index: 12000;

  min-width: 210px;

  max-width: calc(100vw - 32px);

  padding: 7px;

  border: 1px solid var(--border);

  border-radius: 14px;

  background: var(--surface);

  box-shadow: 0 20px 50px rgba(20, 32, 26, 0.14);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transform: translateY(-8px) scale(0.98);

  transform-origin: top right;

  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

[data-theme="dark"] .lang-menu {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lang-switch.open .lang-menu {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.lang-menu button {
  width: 100%;

  min-height: 42px;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 9px 11px;

  border: 0;

  border-radius: 9px;

  background: transparent;

  color: var(--text);

  font-size: 13.5px;

  text-align: left;

  cursor: pointer;

  transition: background 0.18s ease, color 0.18s ease;
}

.lang-menu button:hover {
  background: var(--bg-alt);
}

.lang-menu button.active {
  background: var(--sage-50);

  color: var(--accent-deep);

  font-weight: 700;
}

[data-theme="dark"] .lang-menu button.active {
  background: var(--bg-alt);
}

.lang-code {
  width: 29px;

  flex-shrink: 0;

  color: var(--text-soft);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.5px;
}

/* ============================================================
   THEME TOGGLE + HAMBURGER
   ============================================================ */

.theme-toggle,
.nav-hamburger {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 0;

  border: 1px solid var(--border);

  border-radius: 50%;

  background: var(--surface);

  color: var(--text);

  cursor: pointer;

  box-shadow: 0 4px 14px rgba(20, 52, 33, 0.05);

  transition: border-color 0.2s ease, color 0.2s ease,
    background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* ============================================================
   THEME ICON
   ============================================================ */

.theme-toggle .theme-icon {
  width: 18px;
  height: 18px;

  display: none;

  flex: 0 0 18px;

  fill: none;

  stroke: currentColor;

  pointer-events: none;
}

.theme-toggle .theme-icon path,
.theme-toggle .theme-icon circle,
.theme-toggle .theme-icon line,
.theme-toggle .theme-icon polyline,
.theme-toggle .theme-icon polygon {
  stroke: currentColor;
}

/* ============================================================
   LIGHT THEME
   ============================================================ */

html[data-theme="light"] .theme-toggle {
  border-color: #d4e0d7;

  background: #ffffff;

  color: #173f2a;

  box-shadow: 0 4px 14px rgba(20, 52, 33, 0.06);
}

html[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: block;
}

html[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: none;
}

/* ============================================================
   DARK THEME
   ============================================================ */

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.12);

  background: rgba(255, 255, 255, 0.045);

  color: #f2f7f3;

  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none;
}

/* ============================================================
   THEME BUTTON HOVER
   ============================================================ */

.theme-toggle:hover,
.nav-hamburger:hover {
  border-color: var(--accent-deep);

  background: var(--sage-50);

  color: var(--accent-deep);

  box-shadow: 0 8px 20px rgba(23, 63, 42, 0.1);

  transform: translateY(-1px);
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .nav-hamburger:hover {
  border-color: rgba(255, 255, 255, 0.28);

  background: rgba(255, 255, 255, 0.09);

  color: #ffffff;

  box-shadow: none;
}

.theme-toggle:active,
.nav-hamburger:active {
  transform: scale(0.95);
}

.theme-toggle:focus-visible,
.nav-hamburger:focus-visible {
  outline: none;

  border-color: var(--accent-deep);

  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-deep) 14%, transparent);
}

/* ============================================================
   HAMBURGER
   ============================================================ */

.nav-hamburger {
  display: none;

  flex-direction: column;

  gap: 4px;
}

.nav-hamburger span {
  width: 17px;

  height: 1.7px;

  display: block;

  border-radius: 999px;

  background: currentColor;

  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-hamburger.is-active span:nth-child(1) {
  transform: translateY(5.7px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
  transform: translateY(-5.7px) rotate(-45deg);
}

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

.nav-mobile {
  position: absolute;

  top: 100%;

  right: 0;
  left: 0;

  z-index: 10500;

  display: block;

  max-height: 0;

  overflow: hidden;

  border-bottom: 1px solid transparent;

  background: color-mix(in srgb, var(--bg) 98%, transparent);

  box-shadow: 0 24px 40px rgba(20, 32, 26, 0.08);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transform: translateY(-8px);

  transition: max-height 0.3s ease, opacity 0.22s ease, visibility 0.22s ease,
    transform 0.22s ease, border-color 0.22s ease;
}

[data-theme="dark"] .nav-mobile {
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
}

.nav-mobile.open {
  max-height: calc(100dvh - var(--nav-h));

  border-bottom-color: var(--border);

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateY(0);
}

.nav-mobile-inner {
  max-height: calc(100dvh - var(--nav-h));

  overflow-y: auto;

  overscroll-behavior: contain;

  padding-top: 12px;

  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.nav-mobile-links {
  display: grid;
}

/* ============================================================
   MOBILE LINKS
   ============================================================ */

.nav-mobile-links > a {
  min-height: 52px;

  display: flex;

  align-items: center;

  border-bottom: 1px solid var(--border);

  color: var(--text);

  font-size: 15px;

  font-weight: 600;

  text-decoration: none;
}

.nav-mobile-links > a:hover,
.nav-mobile-links > a.active {
  color: var(--accent-deep);
}

/* ============================================================
   MOBILE ACCORDION
   ============================================================ */

.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-toggle {
  width: 100%;

  min-height: 54px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  padding: 0;

  border: 0;

  background: transparent;

  color: var(--text);

  font-family: inherit;

  font-size: 15px;

  font-weight: 600;

  text-align: left;

  cursor: pointer;
}

.mobile-nav-toggle svg {
  width: 16px;
  height: 16px;

  flex-shrink: 0;

  fill: none;

  stroke: currentColor;

  transition: transform 0.22s ease;
}

.mobile-nav-toggle svg path,
.mobile-nav-toggle svg line,
.mobile-nav-toggle svg polyline {
  stroke: currentColor;
}

.mobile-nav-group.open .mobile-nav-toggle {
  color: var(--accent-deep);
}

.mobile-nav-group.open .mobile-nav-toggle svg {
  transform: rotate(180deg);
}

/* ============================================================
   MOBILE SUBMENU
   ============================================================ */

.mobile-nav-submenu {
  display: grid;

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
}

.mobile-nav-group.open .mobile-nav-submenu {
  max-height: 520px;

  padding-bottom: 12px;

  opacity: 1;
}

.mobile-nav-submenu a {
  min-height: 44px;

  display: flex;

  align-items: center;

  padding: 8px 12px 8px 18px;

  border-left: 2px solid var(--border);

  color: var(--text-soft);

  font-size: 13.5px;

  font-weight: 500;

  text-decoration: none;

  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.mobile-nav-submenu a:hover,
.mobile-nav-submenu a.active {
  border-left-color: var(--accent-deep);

  background: var(--bg-alt);

  color: var(--accent-deep);
}

/* ============================================================
   MOBILE LANGUAGE
   ============================================================ */

.nav-mobile-language {
  padding-top: 20px;
}

.nav-mobile-label {
  margin: 0 0 10px;

  color: var(--text-soft);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}

.nav-mobile-language-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 8px;
}

.nav-mobile-language-grid button {
  min-height: 42px;

  border: 1px solid var(--border);

  border-radius: 10px;

  background: var(--surface);

  color: var(--text);

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;
}

.nav-mobile-language-grid button.active {
  border-color: var(--accent-deep);

  background: var(--accent-deep);

  color: #ffffff;
}

/* ============================================================
   BODY WHEN MOBILE MENU OPEN
   ============================================================ */

body.mobile-menu-open {
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP
   ============================================================ */

@media (max-width: 1280px) {
  .nav-inner {
    gap: 15px;
  }

  .nav-brand {
    gap: 10px;
  }

  .nav-brand-primary {
    width: 115px;
    height: 42px;

    flex-basis: 115px;
  }

  .nav-brand-support {
    gap: 6px;

    height: 42px;

    padding-left: 9px;
  }

  .nav-brand-birrul {
    width: 58px;
    height: 34px;
  }

  .nav-brand-budai {
    width: 32px;
    height: 32px;
  }

  .nav-brand-unggul {
    width: 44px;
    height: 36px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links > .nav-item > a,
  .nav-dropdown-toggle {
    font-size: 12px;
  }

  .nav-actions {
    gap: 7px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET / SMALL DESKTOP
   ============================================================ */

@media (max-width: 1180px) {
  .nav-inner {
    gap: 11px;
  }

  .nav-brand-primary {
    width: 105px;
    height: 40px;

    flex-basis: 105px;
  }

  .nav-brand-support {
    gap: 5px;

    height: 40px;

    padding-left: 7px;
  }

  .nav-brand-birrul {
    width: 53px;
    height: 32px;
  }

  .nav-brand-budai {
    width: 29px;
    height: 29px;
  }

  .nav-brand-unggul {
    width: 40px;
    height: 33px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links > .nav-item > a,
  .nav-dropdown-toggle {
    font-size: 11.5px;
  }

  .lang-switch {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV
   ============================================================ */

@media (max-width: 1000px) {
  :root {
    --nav-h: 74px;
  }

  .nav-inner {
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: inline-flex;
  }

  .lang-switch {
    display: none;
  }

  .nav-actions {
    margin-left: auto;

    gap: 7px;
  }

  /* ----------------------------------------------------------
     BRAND MOBILE
     ---------------------------------------------------------- */

  .nav-brand {
    gap: 8px;

    max-width: calc(100% - 95px);
  }

  .nav-brand-primary {
    width: 105px;
    height: 38px;

    flex: 0 0 105px;
  }

  .nav-brand-support {
    gap: 5px;

    height: 38px;

    padding-left: 7px;
  }

  .nav-brand-birrul {
    width: 48px;
    height: 30px;
  }

  .nav-brand-budai {
    width: 27px;
    height: 27px;
  }

  .nav-brand-unggul {
    width: 36px;
    height: 30px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 700px) {
  .nav-brand {
    max-width: calc(100% - 90px);
  }

  .nav-brand-primary {
    width: 92px;
    height: 36px;

    flex-basis: 92px;
  }

  .nav-brand-support {
    gap: 4px;

    height: 36px;

    padding-left: 6px;
  }

  .nav-brand-birrul {
    width: 43px;
    height: 28px;
  }

  .nav-brand-budai {
    width: 25px;
    height: 25px;
  }

  .nav-brand-unggul {
    width: 33px;
    height: 28px;
  }

  .theme-toggle,
  .nav-hamburger {
    width: 42px;
    height: 42px;

    flex-basis: 42px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE
   ============================================================ */

@media (max-width: 520px) {
  :root {
    --nav-h: 68px;
  }

  .nav-inner {
    gap: 7px;
  }

  .nav-brand {
    gap: 5px;

    max-width: calc(100% - 88px);
  }

  .nav-brand-primary {
    width: 82px;
    height: 32px;

    flex-basis: 82px;
  }

  .nav-brand-support {
    gap: 3px;

    height: 32px;

    padding-left: 5px;
  }

  .nav-brand-birrul {
    width: 38px;
    height: 25px;
  }

  .nav-brand-budai {
    width: 23px;
    height: 23px;
  }

  .nav-brand-unggul {
    width: 29px;
    height: 25px;
  }

  .theme-toggle,
  .nav-hamburger {
    width: 40px;
    height: 40px;

    flex-basis: 40px;
  }

  .theme-toggle .theme-icon {
    width: 17px;
    height: 17px;

    flex-basis: 17px;
  }
}

/* ============================================================
   RESPONSIVE — VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 390px) {
  .nav-inner {
    gap: 5px;
  }

  .nav-brand {
    gap: 4px;

    max-width: calc(100% - 84px);
  }

  .nav-brand-primary {
    width: 74px;
    height: 30px;

    flex-basis: 74px;
  }

  .nav-brand-support {
    gap: 2px;

    height: 30px;

    padding-left: 4px;
  }

  .nav-brand-birrul {
    width: 34px;
    height: 23px;
  }

  .nav-brand-budai {
    width: 21px;
    height: 21px;
  }

  .nav-brand-unggul {
    width: 27px;
    height: 23px;
  }

  .theme-toggle,
  .nav-hamburger {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-links > .nav-item > a,
  .nav-dropdown-toggle,
  .nav-dropdown-toggle > svg,
  .nav-dropdown-menu,
  .nav-dropdown-menu > a,
  .lang-btn,
  .lang-btn svg,
  .lang-menu,
  .lang-menu button,
  .theme-toggle,
  .nav-hamburger,
  .nav-hamburger span,
  .nav-mobile,
  .mobile-nav-toggle svg,
  .mobile-nav-submenu,
  .mobile-nav-submenu a {
    transition: none;
  }
}
