@charset "UTF-8";
/* ==========================================================================
   PC 스타일 가이드 기본 정렬
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  transform: translateY(0);
}
#header.hide-header {
  transform: translateY(-100%);
  box-shadow: none;
}
#header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
#header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
#header .header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
#header .menu-toggle-btn {
  display: none;
}
#header .menu-toggle-btn span {
  background-color: #222 !important;
}
#header .main-navigation ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#header .main-navigation ul a {
  font-size: var(--p-body, 18px);
  font-weight: 500;
  color: #222 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}
#header .main-navigation ul a:hover {
  color: #4cc5f8;
}
#header {
  /* 상담문의 버튼 */
}
#header .btn-consult {
  display: inline-block;
  padding: 12px 28px;
  color: #000;
  font-weight: 600;
  border: 2px solid #000;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

@media (max-width: 1023px) {
  #header .header-container {
    padding: 15px 20px;
  }
  #header .menu-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
  }
  #header .menu-toggle-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #header .menu-toggle-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #4cc5f8;
  }
  #header .menu-toggle-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  #header .menu-toggle-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #4cc5f8;
  }
  #header .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 120px 40px 40px;
    box-sizing: border-box;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
  }
  #header .main-navigation.is-active {
    right: 0;
  }
  #header .main-navigation ul {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  #header .main-navigation ul a {
    font-size: var(--p-title, 24px); /* 모바일은 메뉴가 큼직해야 예쁩니다 */
    font-weight: 600;
  }
  #header {
    /* 상담하기 버튼은 햄버거 옆에 아담하게 유지하거나 생략 */
  }
  #header .header-cta {
    z-index: 110;
  }
  #header .header-cta .btn-consult {
    padding: 8px 18px;
    font-size: var(--p-caption, 15px);
  }
}