/* 헤더가 fixed라 문서 흐름에서 빠지므로, 본문이 그만큼 밀리도록 body에
   상단 여백을 확보한다 (헤더 높이와 동일한 값으로 미디어쿼리에서도 갱신). */
body {
  padding-top: 120px;
}
@media (max-width: 900px) {
  body { padding-top: 68px; }
}

/* =====================================================================
   Site Header — 로고(좌) / GNB(중앙) / CTA 버튼(우)
   3컬럼 grid로 배치해 로고·버튼 너비가 달라도 GNB가 항상 정중앙에 오게 한다.
===================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 40px 60px;
  height: 120px;
}

.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  height: clamp(28px, 3.5vw, 37px);
  width: auto;
}

.site-nav {
  justify-self: center;
}
.site-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 50px);
  list-style: none;
}
.site-nav-link {
  color: #000;
  text-align: center;
  font-feature-settings: 'ss10' on;
  font-family: 'SUIT', sans-serif;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.0125rem;
  text-decoration: none;
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.site-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav-link:hover { color: var(--blue); }
.site-nav-link:hover::after { transform: scaleX(1); }
.site-nav-link.is-active { color: var(--blue); font-weight: 600; }
.site-nav-link.is-active::after { transform: scaleX(1); }

.site-cta-area {
  justify-self: end;
  display: flex;
  align-items: center;
}
.site-cta-area-mobile {
  display: none;
}
.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 66px;
  padding: 20px 40px;
  border-radius: 60px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-family: 'SUIT', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-cta:hover {
  background: #028a78;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 165, 144, 0.3);
}

/* ── Mobile hamburger (nav 영역 안에 두되, 데스크톱에서는 숨김) ── */
.site-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
}
.site-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-hamburger span::before,
.site-hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-hamburger span::before { top: -7px; }
.site-hamburger span::after { top: 7px; }
.site-hamburger.is-open span { background: transparent; }
.site-hamburger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.site-hamburger.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header-inner {
    grid-template-columns: auto auto;
    height: 68px;
    padding: 0 24px;
  }
  .site-nav {
    /* 데스크톱 중앙 배치를 대신해, 모바일에서는 풀스크린 드롭다운으로 이동 */
    justify-self: unset;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav-list {
    flex-direction: column;
    gap: 32px;
  }
  .site-nav-link {
    font-size: 22px;
  }
  .site-cta-area {
    display: none;
  }
  .site-hamburger {
    display: flex;
  }
}
