/* Modern Header with Topbar + Sticky Navigation */

:root {
  --hm-bg: #ffffff;
  --hm-topbar-bg: #0f172a;
  --hm-topbar-text: #cbd5e1;
  --hm-accent: #0ea5e9;
  --hm-border: #e5e7eb;
  --hm-text: #0f172a;
}

/* Topbar */
.topbar {
  background: var(--hm-topbar-bg);
  color: var(--hm-topbar-text);
  font-size: 14px;
  line-height: 1;
}

.topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
}

.topbar .contact-list,
.topbar .social-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar .contact-list li a {
  color: var(--hm-topbar-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}

.topbar .contact-list li a:hover {
  color: #ffffff;
}

.topbar .contact-list i {
  color: var(--hm-accent);
}

.topbar .social-list li a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-topbar-text);
  border-radius: 50%;
  background: transparent;
  transition: all .2s ease;
}

.topbar .social-list li a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* Main header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hm-bg);
  border-bottom: 1px solid var(--hm-border);
}

.site-header.is-sticky {
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header .brand img {
  height: 44px;
  width: auto;
}

/* Nav */
.site-header .main-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .main-menu a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--hm-text);
  text-decoration: none;
  border-radius: 999px;
  transition: all .2s ease;
  font-weight: 500;
}

.site-header .main-menu a:hover,
.site-header .main-menu a.active {
  background: #eef2ff;
  color: #1e3a8a;
}

/* Right side: CTA */
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .btn-cta {
  background: var(--hm-accent);
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease;
}

.site-header .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, .35);
}

/* Mobile */
.header-toggle {
  display: none;
}

@media (max-width: 992px) {
  .topbar .topbar-inner {
    flex-direction: column;
    gap: 6px;
  }

  .topbar .contact-list {
    gap: 12px;
    font-size: 13px;
  }

  .site-header .nav-inner {
    padding: 10px 0;
  }

  .header-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--hm-border);
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--hm-text);
  }

  .site-header .main-menu,
  .site-header .header-actions {
    display: none;
  }

  .site-header.open .main-menu,
  .site-header.open .header-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--hm-border);
  }

  .site-header .main-menu a {
    width: 100%;
  }
}

/* Utility */
.container-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.border-none {
  border: none !important;
}