/* =====================================================================
   NAVIGATION — Header, mobile menu, hamburger
   ===================================================================== */

/* Hamburger button */
.ham-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  transition: background 0.2s;
  color: #1C1814;
  flex-shrink: 0;
}

.ham-btn:hover {
  background: rgba(28, 24, 20, 0.07);
}

.ham-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s, width 0.3s;
}

.ham-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ham-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

@media (min-width: 1024px) {
  .ham-btn {
    display: none !important;
  }
}

/* Mobile navigation overlay */
.mob-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mob-scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 58, 0.52);
  opacity: 0;
  transition: opacity 0.35s;
  backdrop-filter: blur(2px);
}

.mob-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: #F7F5F0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.2, 0.6, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mob-nav.is-open {
  pointer-events: auto;
}

.mob-nav.is-open .mob-scrim {
  opacity: 1;
}

.mob-nav.is-open .mob-panel {
  transform: translateX(0);
}

/* Mobile panel header */
.mob-ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(232, 160, 32, 0.20);
}

.mob-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1C1814;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.mob-close-btn:hover {
  background: rgba(28, 24, 20, 0.07);
}

/* Mobile links */
.mob-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 0;
}

.mob-link {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1C1814;
  text-decoration: none;
  gap: 10px;
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', sans-serif;
}

.mob-link:hover {
  background: rgba(45, 75, 142, 0.07);
  color: #2D4B8E;
}

.mob-link.mob-cur {
  color: #2D4B8E;
  background: rgba(45, 75, 142, 0.06);
}

.mob-arr {
  margin-left: auto;
  opacity: 0.35;
  font-size: 13px;
}

.mob-sep {
  height: 1px;
  background: rgba(232, 160, 32, 0.18);
  margin: 8px 20px;
}

.mob-sec-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(28, 24, 20, 0.40);
  padding: 10px 20px 4px;
}

/* Mobile footer CTA */
.mob-foot {
  padding: 18px 20px;
  border-top: 1px solid rgba(232, 160, 32, 0.18);
}

.mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  background: #1A2F5E;
  color: #F7F5F0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.mob-cta:hover {
  background: #2D4B8E;
}
