:root{--hd-bg:#C8161D;--hd-ink:#fff;--hd-line:rgba(255,255,255,.18)}

.site_header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9000;
  width: 100%;
  background: var(--hd-bg);
  border-bottom: 1px solid var(--hd-line)
}

.site_header_inner {
  width: min(172rem, calc(100% - 8rem));
  height: 8.5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.site_header_logo,
.site_header_logo img {
  display: block;
  width: 12rem
}

.site_header_nav {
    display: flex;
    align-items: center;
    gap: 10rem;
    color: var(--hd-ink);
    font-size: 1.8rem;
    font-weight: 500;
}

.site_header_nav a {
  position: relative;
  padding-block: 1rem;
  color: inherit;
  cursor: pointer;
}

.site_header_nav a::after {
  content: "";
  position: absolute;
  inset: auto 50% 0;
  width: 0;
  height: .2rem;
  background: var(--hd-ink);
  transition: 180ms ease
}

.site_header_nav a.remote_on::after {
  inset-inline: 0;
  width: 100%
}

.site_header_tel {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--hd-ink);
    font-size: 2.8rem;
    font-family: var(--font-deco);
    letter-spacing: -0.2rem;
}

.site_header_tel img {
  display: block;
  width: 2.6rem
}

.site_header_toggle {
  display: none;
  width: 2.8rem;
  padding: 0;
  border: 0;
  background: transparent
}

.site_header_toggle span {
  display: block;
  width: 100%;
  height: .2rem;
  margin: .6rem 0;
  background: var(--hd-ink);
  transition: 180ms ease
}

@media(max-width:599px) {
  .site_header_inner {
    width: calc(100% - 10.25vw);
    height: 15vw
  }

.site_header_logo, .site_header_logo img {
    width: 18vw;
}

.site_header_tel {
    margin-left: auto;
    margin-right: 4.6vw;
    gap: 1vw;
    font-size: 4.8vw;
}

  .site_header_tel img {
    width: 4.6vw
  }

  .site_header_toggle {
    display: block;
    width: 7.2vw
  }

  .site_header_toggle span {
    height: .52vw;
    margin: 1.5vw 0
  }

.site_header_nav {
    position: absolute;
    inset: 14.5vw 0 auto;
    display: flex;
    gap: 2.5vw;
    flex-direction: column;
    padding: 1vw 0 5vw 0;
    background: var(--hd-bg);
    box-shadow: 0 3.6vw 6.1vw rgba(38, 48, 24, .1);
    font-size: 3.8vw;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2.5vw);
    transition: 180ms ease;
    align-items: center;
}
.site_header_nav a::after {
    height: 0.4rem;
    bottom: -1vw;
}

  .site_header_nav.is_open {
    opacity: 1;
    visibility: visible;
    transform: none
  }

.site_header_nav a {
    width: fit-content !important;
    padding: 0;
    text-align: center;
}
}

.site_header_quick_nav {
  position: absolute;
  right: 2.8rem;
  top: 32rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.site_header_quick_nav a,
.site_header_quick_nav img {
  display: block;
  width: 11.4rem
}

@media(max-width:599px) {
  .site_header_quick_nav {
    display: none
  }
}
/* ── 98도씨식 헤더 (11-19): 좌3·우3 메뉴 + 가운데 내려온 로고 탭 + 오른쪽 끝 검정 문의 칸 · 스크롤 내리면 숨김 ── */
:root{--hd-tab:#fff;--hd-tab-line:#8E0B11;--hd-pill:#FFF7EA;--hd-call:#1F4A37;--hd-call-ink:#fff;--hd-dash:rgba(255,255,255,.28);--hd-shadow:0 .4rem 1.6rem rgba(60,0,0,.22);--hd-hide:-17rem}
.site_header{background:transparent;border-bottom:0;pointer-events:none}
.site_header_inner,.site_header_quick_nav{pointer-events:auto}
.site_header_inner{position:relative;width:100%;background:var(--hd-bg);border-bottom:0;box-shadow:var(--hd-shadow);
  transition:transform .35s cubic-bezier(.22,.61,.36,1)}
.site_header.is-hide .site_header_inner{transform:translateY(var(--hd-hide))}
@media(min-width:600px){
  .site_header_inner{justify-content:center}
  .site_header_nav{display:grid;grid-template-columns:repeat(3,auto) 28rem repeat(3,auto);column-gap:7rem;font-size:1.7rem}
  .site_header_nav a:nth-child(n+4){grid-column-end:span 1}
  .site_header_nav a:nth-child(4){grid-column-start:5}
  .site_header_logo{position:absolute;left:50%;top:0;width:24rem;height:13.6rem;margin-left:-12rem;background:var(--hd-tab);
    border-bottom:.6rem solid var(--hd-tab-line);display:flex;align-items:center;justify-content:center;
    box-shadow:0 1rem 2.4rem rgba(60,0,0,.25)}
  .site_header_logo img{width:16.4rem;margin-top:.6rem}
  .site_header_tel{position:absolute;right:0;top:0;height:100%;padding:0 4.4rem;background:var(--hd-call);color:var(--hd-call-ink);gap:1.4rem;
    font-family:"RiaSans",Pretendard,sans-serif;font-size:2.6rem;letter-spacing:-.02em}
  .site_header_tel img{display:none}
  .site_header_tel::before{content:"창업문의";padding:.8rem 1.8rem;border-radius:99rem;background:var(--hd-call-ink);color:var(--hd-call);
    font:700 1.6rem/1 Pretendard,sans-serif;letter-spacing:-.02em}
}
@media(max-width:599px){
  :root{--hd-hide:-24vw}
  .site_header_inner{width:100%;padding:0 5.1vw;box-sizing:border-box}
  .site_header_logo{align-self:flex-start;width:24vw;height:19vw;background:var(--hd-tab);border-bottom:.9vw solid var(--hd-tab-line);
    display:flex;align-items:center;justify-content:center;box-shadow:0 1.5vw 3vw rgba(60,0,0,.25)}
  .site_header_logo img{width:18vw}
}
/* 오른쪽 문의 칸: 기본 짙은 초록+흰 번호(11-19 확정). 이전 시안은 ?hdc=white|gold */
html[data-hdc="white"]{--hd-call:#fff;--hd-call-ink:#C8161D}
html[data-hdc="gold"]{--hd-call:#F5A400;--hd-call-ink:#7A0A0F}
