/* common.css header compatibility */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(229, 231, 235, 1); }
.header .nav, .header.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.header .menu { display: none; gap: 14px; }
.header .menu a { font-size: 14px; color: #6b7280; }
.header .menu a:hover { color: #111827; }
.header .nav-right { display: flex; gap: 10px; align-items: center; }

.artner-header.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transform-origin: center;
}

.main-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.main-header.open::before,
.main-header.open::after {
  opacity: 1;
  visibility: visible;
}

.artner-header__inner,
.ht-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 16% 1fr auto;
  align-items: center;
  gap: 20px;
}

.ht-inner__left {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.header-brand-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 130;
}

.ht-inner__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  justify-self: start;
}

.header-nav-row {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ht-inner__center {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-left: 0;
  justify-self: center;
}

.ht-inner__right {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  z-index: 2;
  justify-self: end;
  padding-right: 25px;
}

.artner-brand,
.logo {
  display: inline-flex;
  align-items: center;
}

.artner-brand img,
.logo img {
  width: 220px;
  height: auto;
  filter: invert(1);
}

.language {
  position: relative;
  display: block;
  margin-right: 18px;
}

.language > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 96px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(201, 164, 76, 0.88);
  border-radius: 999px;
  background: rgba(201, 164, 76, 0.96);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.language > #langNow {
  width: 5.313rem;
}

.language > span > b {
  font-weight: 700;
}

.language-caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.language:hover > span,
.language:focus-within > span {
  color: #111111;
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.language:hover .language-caret,
.language:focus-within .language-caret {
  transform: rotate(225deg) translateY(1px);
}

.select-lang {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 120px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid rgba(201, 164, 76, 0.28);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.language:hover .select-lang,
.language:focus-within .select-lang {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-lang li a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(246, 241, 234, 0.92);
  font-size: 14px;
  line-height: 1.45;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.select-lang li a:hover {
  background: rgba(201, 164, 76, 0.14);
  color: #ffffff;
}

.main-header.open .language {
  visibility: hidden;
  opacity: 0;
  display: none;
}

.hd_call {
  display: none;
  align-items: center;
  margin-right: 3rem;
  color: #fff;
}

.hd_call i {
  display: block;
  width: 1.25rem;
  height: 1.313rem;
  margin-right: 0.5rem;
  background: url("../img/hd_call.png") 50% 50% / 100% no-repeat;
}

.hd_call .txt01 {
  margin-right: 0.9rem;
  font-size: 1rem;
}

.hd_call .txt02 {
  font-family: "ArtnerPrimary", sans-serif;
  font-size: 1.25rem;
}

.main-header.open .hd_call {
  display: flex;
}

.ht-inner__center .links {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-inner__center .links li {
  position: relative;
  text-align: center;
  list-style: none;
  padding: 0;
}

.ht-inner__center .links li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.ht-inner__center .links li a {
  display: block;
  color: #fff;
  font-size: 1.063rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0;
}

.ht-inner__center .gnb_subList_wrap {
  overflow: hidden;
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  width: 8.813rem;
  height: 0;
  padding-top: 1.063rem;
  transform: translateX(-50%);
  transform-origin: top center;
  transition: height 0.5s ease;
  pointer-events: none;
}

.ht-inner__center .gnb_subList_wrap .gnb_subList {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.813rem;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.6);
}

.ht-inner__center .gnb_subList_wrap.open {
  height: calc(2.875rem + (1.375rem * 8));
  pointer-events: auto;
}

.ht-inner__center .gnb_subList_wrap.subList02.open {
  height: calc(5.875rem + (1.375rem * 2));
  pointer-events: auto;
}

.ht-inner__center .gnb_subList_wrap.subList03.open {
  height: calc(4.875rem + (1.375rem * 3));
  pointer-events: auto;
}

.ht-inner__center .gnb_subList_wrap .gnb_subLink {
  color: #000;
  font-size: 1.063rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.hamberger,
.artner-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
  transition-duration: 0.7s;
}

.hd_menu {
  display: block;
  cursor: pointer;
  z-index: 1;
}

.hd_menu span {
  display: block;
  width: 2.9rem;
  height: 3px;
  margin: 0;
  border-radius: 0;
  background: #fff;
  transition: margin 0.25s 0.25s, transform 0.25s, background 0.25s;
  background-size: cover;
}

.hd_menu span:first-child {
  margin-bottom: 0.6rem;
}

.hd_menu span:nth-child(3) {
  margin-top: 0.6rem;
}

.main-header.open .hd_menu span {
  background: #fff;
  transition: margin 0.25s, transform 0.25s 0.25s;
}

.main-header.open .hd_menu span:first-child {
  margin-top: 0;
  margin-bottom: 0;
  transform: rotate(45deg);
}

.main-header.open .hd_menu span:nth-child(2) {
  margin-top: -3px;
  transform: rotate(135deg);
}

.main-header.open .hd_menu span:nth-child(3) {
  display: none;
  margin-top: 6px;
  opacity: 0;
  transform: rotate(135deg);
}

.gnb-container {
  position: fixed;
  top: -100vh;
  right: 0;
  width: 100%;
  height: 100vh;
  padding: 10.5rem 0 0 31rem;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.98) 0%, rgba(8, 8, 8, 0.98) 100%);
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-500px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), top 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.gnb-container.open,
.main-header.open .gnb-container {
  top: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gnb-wrapper,
.gnb-inner,
.pc_cont_1024 { width: 100%; max-width: 1080px; }

.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 42px;
  margin-right: 18px;
  padding: 0 18px;
  border: 1px solid rgba(201, 164, 76, 0.88);
  border-radius: 999px;
  background: rgba(201, 164, 76, 0.96);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-login-btn:hover {
  color: #111111;
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.header-login-btn--sub {
  background: transparent;
  color: #f6f1ea;
  border-color: rgba(255, 255, 255, 0.2);
}

.header-login-btn--sub:hover {
  color: #ffffff;
}

.header-login-btn--icon {
  min-width: 42px;
  width: 42px;
  padding: 0;
  border-radius: 50%;
}

.header-login-btn--icon i {
  font-size: 16px;
}

.nav.width80.gnb-inner .depth1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav.width80.gnb-inner .depth1 > li {
  width: 100%;
}

.nav.width80.gnb-inner .depth1 > li > a {
  display: block;
  padding: 0 0 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}

.nav.width80.gnb-inner .depth2 {
  display: block !important;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 1;
  visibility: visible;
  max-height: none;
  overflow: visible;
  transform: none;
  pointer-events: auto;
}

.nav.width80.gnb-inner .depth2 li + li {
  margin-top: 10px;
}

.nav.width80.gnb-inner .depth2 a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}

.nav.width80.gnb-inner .depth2 a:hover {
  color: #fff;
}

.float-cta {
  position: fixed;
  right: max(16px, calc((100vw - 1400px) / 8 + 16px));
  bottom: 16px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-cta__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.float-cta__icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: background-color 0.25s ease;
}

.float-cta__icon::before,
.float-cta__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.float-cta__icon::before {
  transform: translateY(-6px);
}

.float-cta__icon::after {
  transform: translateY(6px);
}

.float-cta:not(.is-collapsed) .float-cta__icon {
  background: transparent;
}

.float-cta:not(.is-collapsed) .float-cta__icon::before {
  transform: rotate(45deg);
}

.float-cta:not(.is-collapsed) .float-cta__icon::after {
  transform: rotate(-45deg);
}

.float-cta__list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.float-cta.is-collapsed .float-cta__list {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.float-cta__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.float-cta__list img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.float-cta__list i {
  font-size: 22px;
  color: #fff;
}

body.is-menu-open,
body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 1440px) {
  .gnb-container {
    padding: 10rem 4rem 1rem 3rem;
  }
}

@media (max-width: 1170px) {
  .header .nav,
  .header.nav {
    min-height: 56px;
  }

  .artner-header__inner,
  .ht-inner {
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
  }

  .header-brand-row {
    min-height: 72px;
  }

  .header-nav-row {
    display: none;
    
  }

  .ht-inner__center {
    width: 100%;
  }

  .ht-inner__center .links {
    display: none;
  }

  .hd_call {
    display: none !important;
  }

  .main-header.open .language {
    display: none;
  }

  .gnb-container {
    width: 100%;
    max-height: unset;
    padding: 10rem 2rem 1rem;
    overflow-y: auto;
  }

  .header-login-btn {
    min-width: 96px;
    min-height: 38px;
    margin-right: 12px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .nav.width80.gnb-inner .depth1 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .float-cta {
    right: 12px;
    bottom: 12px;
  }

  .float-cta__toggle,
  .float-cta__list a {
    width: 46px;
    height: 46px;
  }

  .float-cta__icon {
    width: 20px;
  }
}

@media (max-width: 560px) {
  .artner-brand img,
  .logo img {
    width: 118px;
  }


  .language {
    display: none;
  }

  .main-header .hoverDownIcon_b,
  .main-header .hoverDownIcon_w {
    width: 0.5rem;
  }

  .hd_menu span {
    height: 1px;
  }
}
