@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* 우측 하단 고정 플로팅 (대표 이메일 주소 / 프로젝트 문의하기) — Figma 1942:3526
   PC(1024px 이상) 전용. 메인·문의하기 페이지 제외는 FloatingContact.tsx 에서 처리 */
.floating-contact {
  position: fixed;
  right: 150px;
  bottom: 91.5px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 300px;
  height: 240px;
  padding: 20px 30px;
  box-sizing: border-box;
  background: #000;
  box-shadow: 0 2px 6px 4px rgba(0, 0, 0, 0.08);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
}
.floating-contact__logo {
  display: block;
  width: 56px;
  height: auto;
}
.floating-contact__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.floating-contact__item {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 30px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.floating-contact__item:hover,
.floating-contact__item:focus-visible {
  color: #ffff12;
}

/* 대표 이메일 주소 팝업 레이어 — Figma 1948:4 */
.floating-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-popup__layer {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 40px 36px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 2px 16px 8px rgba(0, 0, 0, 0.08);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  color: #000;
}
.floating-popup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.floating-popup__logo {
  display: block;
  width: 56px;
  height: auto;
}
.floating-popup__close {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.floating-popup__close img {
  display: block;
  width: 100%;
  height: 100%;
}
.floating-popup__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.03em;
}
.floating-popup__row {
  display: flex;
  align-items: center;
  gap: 26px;
}
.floating-popup__email {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.floating-popup__copy {
  display: grid;
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 2px 10px;
  border: 1px solid #000;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #000;
  white-space: nowrap;
  cursor: pointer;
}
.floating-popup__copy > span {
  grid-area: 1 / 1;
}
.floating-popup__copy > .is-hidden {
  visibility: hidden;
}

/* 모바일(1024px 미만)에서는 플로팅·팝업 모두 숨김 */
@media screen and (max-width: 1023px) {
  .floating-contact,
  .floating-popup {
    display: none;
  }
}

/* 전체 메뉴가 열려 있으면 숨김 (채용 페이지 메뉴는 z-index 가 낮아 메뉴 하단 이메일을 가림) */
body:has(.navigation.actived, .cp-navigation.actived) .floating-contact {
  display: none;
}
