/* 사이트 머리 — 새 디자인 페이지(yksite.py)와 아임웹 복제 페이지(유튜브·고객후기)가 같이 쓴다.
   아임웹 전역 스타일(a 색·밑줄, 글꼴)에 덮이지 않게 색·밑줄·글꼴은 여기서 고정한다. */
/* 머리는 PC·휴대폰 모두 화면 위에 붙어 따라온다(2026-11-04 사용자 요청). sticky 가 아니라 fixed + 빈 칸(.yk-header-space)
   — 아임웹 페이지 일부는 body 높이가 화면 높이로 묶여 있어 sticky 가 중간에 풀린다. 높이를 바꾸면 빈 칸·yk.css 의 여백도 같이. */
.yk-header { position: fixed; top: 0; left: 0; right: 0; z-index: 9000; background: #FFFFFF; border-bottom: 1px solid #ECEAE6; font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; line-height: 1.5; letter-spacing: -0.01em; word-break: keep-all; }
.yk-header *, .yk-header *::before { box-sizing: border-box; }
.yk-header-in { max-width: 1120px; height: 64px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.yk-header .yk-logo { font-size: 19px; font-weight: 800; color: #222222 !important; text-decoration: none !important; padding: 10px 0; }
.yk-header .yk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; font-size: 15px; }
.yk-header .yk-nav a { color: #666666 !important; text-decoration: none !important; padding: 10px 0; font-weight: 400; }
.yk-header .yk-nav a:hover { color: #222222 !important; }
.yk-header .yk-nav a[aria-current="page"], .yk-header .yk-nav .yk-nav-tel { color: #222222 !important; font-weight: 700; }
.yk-header .yk-menu-btn { display: none; }
.yk-header-space { display: block; height: 65px; }
@media (max-width: 900px) { .yk-header .yk-nav { gap: 0 14px; font-size: 14px; } }

/* 휴대폰: 메뉴는 햄버거 버튼으로 펼친다 */
@media (max-width: 640px) {
  .yk-header-space { display: block; height: 57px; }
  .yk-header-in { flex-wrap: nowrap; height: 56px; padding: 0 8px 0 20px; }
  .yk-header .yk-menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin: 0; padding: 0 11px; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .yk-header .yk-menu-btn span { display: block; height: 2px; border-radius: 1px; background: #222222; transition: transform .2s ease, opacity .2s ease; }
  .yk-header.is-open .yk-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .yk-header.is-open .yk-menu-btn span:nth-child(2) { opacity: 0; }
  .yk-header.is-open .yk-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .yk-header .yk-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 20px; background: #FFFFFF; border-bottom: 1px solid #ECEAE6; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
  .yk-header.is-open .yk-nav { display: flex; }
  .yk-header .yk-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #F1EFEB; }
  .yk-header .yk-nav .yk-nav-tel { margin-top: 16px; padding: 14px 0; border: 0; border-radius: 10px; background: #CFA175; color: #FFFFFF !important; text-align: center; }
}
