/**
 * haeso shell — header / footer / mobile CTA / quick menu
 * Loaded after layout.css
 */

/* PC 풀블리드 헤더 보강 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  transform: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(226, 230, 236, 0.7);
  box-shadow: none;
  z-index: 100;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#header .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.scrolled #header {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(226, 230, 236, 0.7);
  box-shadow: none;
}

#header .gnb .login,
#header .gnb .join,
#header .gnb .hd-util {
  background-color: transparent !important;
}

#header .gnb .login a,
#header .gnb .join a {
  color: var(--haeso-text);
}

#header .gnb > li > a:hover {
  color: var(--haeso-primary);
}

#header .gnb .snb li a:hover {
  color: var(--haeso-white);
  background-color: var(--haeso-primary);
}

#header .gnb > li.hd-util--consult > a {
  color: var(--haeso-accent);
}

#header .gnb > li.hd-util--consult > a:hover {
  color: var(--haeso-accent-dark);
}

@media screen and (max-width: 960px) {
  #open-button {
    position: fixed !important;
    top: 0 !important;
    right: 8px !important;
    left: auto !important;
    z-index: 120 !important;
    width: 48px;
    height: 80px;
    display: block !important;
  }

  #open-button .navicon-line {
    background: #222 !important;
  }
}

@media screen and (min-width: 961px) {
  /* 헤더 메뉴 — 소폭 확대 */
  #header .gnb > li {
    width: 108px;
  }
  #header .gnb > li > a {
    font-size: 16px;
  }
  #header .gnb .snb li {
    font-size: 15px;
  }
  #header .gnb > li.hd-util > a {
    font-size: 15px;
  }
  #header .gnb > li.hd-util--consult > a {
    font-size: 15px;
  }
  #header .gnb > li.hd-util--consult > a .fa-phone {
    font-size: 16px;
  }
  #header .gnb > li.hd-util--login > a {
    font-size: 19px;
  }

  /* 메인 섹션 제목·본문 — 소폭 확대 */
  .tl_company_box_wrap h2,
  .tl_main_gallery_wrap h2,
  .tl_business_now_box_warp h2,
  .tl_product_box_wrap h2 {
    font-size: 34px;
  }
  .tl_company_box_wrap h2 span,
  .tl_main_gallery_wrap h2 span,
  .tl_business_now_box_warp span,
  .tl_product_box_wrap span {
    font-size: 17px;
  }
  .tl_company_box_wrap ul li dl dt {
    font-size: 21px;
  }
  .tl_company_box_wrap ul li dl .lead,
  .tl_main_gallery_wrap dd,
  .lead {
    font-size: 17px;
  }
  .tl_main_gallery_wrap dt {
    font-size: 19px;
  }
}


#footer .footer_in a {
  color: rgba(255, 255, 255, 0.85);
}

#footer .footer_in a:hover {
  color: var(--haeso-white);
}

#footer .copyright {
  color: rgba(255, 255, 255, 0.55);
}

#footer a.ft-phone {
  color: var(--haeso-accent) !important;
  font-weight: 700;
  text-decoration: none;
}

#footer a.ft-home {
  color: var(--haeso-white) !important;
}

/* Mobile fixed CTA bar */
.mobile-fixed-footer {
  display: none;
}

@media screen and (max-width: 1024px) {
  .mobile-fixed-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--haeso-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .mobile-fixed-footer a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px;
    min-height: 44px;
  }

  .mobile-fixed-footer .call-button {
    background: var(--haeso-accent);
    color: var(--haeso-white);
  }

  .mobile-fixed-footer .naver-button {
    background: var(--haeso-success);
    color: var(--haeso-white);
  }

  .mobile-fixed-footer .naver-button .naver-text {
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 2px;
  }

  .mobile-fixed-footer i {
    font-size: 24px;
    margin-bottom: 2px;
  }

  .mobile-fixed-footer span {
    font-size: 12px;
  }

  #footer {
    display: none;
  }

  body {
    padding-bottom: 60px;
  }
}

/* Right quick menu */
.right_quick .quick_info li a.qk-naver {
  background-color: var(--haeso-success) !important;
  color: var(--haeso-white) !important;
  font-weight: 700;
}

.right_quick .quick_info li a.qk-dark {
  background-color: #343434 !important;
  color: var(--haeso-white) !important;
}

/* Sub visual accent */
.sub_visual .title_warp h3 {
  letter-spacing: -0.02em;
}

.category-wrap a:hover,
.sub_title h1 {
  color: var(--haeso-primary);
}
