/* ===== GLOBAL NAVIGATION ===== */
:root {
  --orange: #e8620a;
  --orange-light: #ff7c2a;
  --header-h: 68px;
}

/* --- Sticky Header --- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(26,39,68,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--header-h);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  transition: padding 0.3s;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center; gap: 0;
}

/* --- Logo --- */
.nav-logo { margin-right: auto; text-decoration: none; }
.nav-logo-main { display: block; font-size: 1.15rem; font-weight: 900; color: #fff; line-height: 1.2; }
.nav-logo-sub  { display: block; font-size: 0.6rem; color: #7fa8d8; letter-spacing: 0.05em; }

/* --- Nav Links --- */
.global-nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 10px; height: 100%;
  color: #c8d8f0; font-size: 0.78rem; font-weight: 600;
  white-space: nowrap; border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff; border-bottom-color: var(--gold); }
.nav-link i.fa-chevron-down { font-size: 0.6rem; transition: transform 0.2s; }
.nav-item:hover .nav-link i.fa-chevron-down { transform: rotate(180deg); }

/* --- Dropdown --- */
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 200px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent; border-top: 0;
  border-bottom-color: #fff;
}
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; color: var(--navy); font-size: 0.85rem; font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: var(--ivory-dark); color: var(--orange); }
.dropdown-item i { width: 18px; color: var(--gold); font-size: 0.9rem; }

/* --- CTA Button --- */
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  margin-left: 16px; padding: 10px 20px;
  background: var(--orange); color: #fff;
  font-size: 0.82rem; font-weight: 900; white-space: nowrap;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(232,98,10,0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,98,10,0.5); }

/* --- Hamburger --- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; margin-left: 12px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Drawer --- */
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(20,30,60,0.98); z-index: 999;
  overflow-y: auto; padding: 16px 0 100px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; color: #fff; font-size: 1rem; font-weight: 700;
  min-height: 56px;
}
.mobile-nav-link i { font-size: 0.7rem; color: #7fa8d8; }
.mobile-submenu { background: rgba(255,255,255,0.04); display: none; }
.mobile-submenu.open { display: block; }
.mobile-submenu-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px 14px 40px; color: #c8d8f0; font-size: 0.92rem;
  min-height: 52px;
}
.mobile-submenu-link i { color: var(--gold); width: 16px; }
.mobile-cta {
  display: block; margin: 20px 24px; padding: 18px;
  background: var(--orange); color: #fff; font-size: 1rem; font-weight: 900;
  border-radius: 12px; text-align: center;
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--ivory-dark); padding: 12px 0;
  border-bottom: 1px solid #e8e4da;
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--navy-light); }
.breadcrumb-inner a:hover { color: var(--orange); }
.breadcrumb-sep { color: #aaa; }
.breadcrumb-current { color: var(--text-light); }

/* --- Page Hero (sub-pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 24px 56px; text-align: center; color: #fff;
}
.page-hero-tag { display: inline-block; background: var(--orange); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 16px; border-radius: 20px; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; line-height: 1.4; margin-bottom: 12px; }
.page-hero p { font-size: 0.95rem; color: #aac4e8; max-width: 560px; margin: 0 auto; line-height: 1.8; }

/* --- Section CTA Link --- */
.section-cta-wrap { text-align: center; margin-top: 40px; }
.section-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-size: 0.95rem; font-weight: 700; padding: 16px 32px;
  border-radius: 50px; transition: background 0.2s, transform 0.15s;
}
.section-cta-btn:hover { background: var(--orange); transform: translateY(-2px); }
.section-cta-btn.orange { background: var(--orange); }
.section-cta-btn.orange:hover { background: var(--orange-light); }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .global-nav { display: none; }
  .nav-cta.desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .nav-logo-main { font-size: 1rem; }
}
