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

#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 100%;
}

/* Inner row */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  gap: 24px;
}

/* ---- Logo ---- */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* ---- Desktop nav ---- */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav ul li a {
  display: block;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s;
}

.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #C01E6D;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.header-nav ul li a:hover {
  color: #C01E6D;
}

.header-nav ul li a:hover::after,
.header-nav ul li a.active::after {
  transform: scaleX(1);
}

.header-nav ul li a.active {
  color: #C01E6D;
}

/* ---- CTA button ---- */
.header-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 10px 20px;
  background: #1a73e8;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-cta:hover {
  background: #1558b0;
}

/* ---- Hamburger ---- */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.header-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.header-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.header-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile nav ---- */
.header-mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-mobile-nav.is-open {
  display: block;
}

.header-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.header-mobile-nav ul li a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.header-mobile-nav ul li a:hover,
.header-mobile-nav ul li a.active {
  background: #f0f6ff;
  color: #1a73e8;
}

.header-mobile-nav ul li .header-cta {
  margin: 12px 24px;
  display: block;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

  /* Hide desktop nav + CTA */
  .header-nav,
  .header-inner>.header-cta {
    display: none;
  }

  /* Show hamburger */
  .header-hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
    height: 60px;
  }

  .header-logo img {
    height: 36px;
  }
}