/*
  header-footer.css — 공통 헤더·푸터. tokens.css 다음에 로드.
  헤더: 로고(좌) + 빈 중앙 + 문의하기 버튼(우)만. 내비게이션 메뉴 없음(사이트 규격).
*/
.skip-link{
  position: absolute; top: -120px; left: 12px; z-index: 100;
  background: var(--accent); color: var(--white); padding: 12px 18px; border-radius: var(--r);
  font-weight: 700; text-decoration: none; transition: top .18s ease-out;
}
.skip-link:focus{ top: 12px; }

/* ===== 헤더 ===== */
.site-header{ position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header::before{ content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.site-header__inner{ height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header.is-scrolled{ box-shadow: var(--sh-2); }

.site-logo{ flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }
.site-logo svg{ flex: none; }

.site-header__spacer{ flex: 1; }

.site-header__cta{ flex: none; min-height: 42px; padding: 0 20px; font-size: 14px; }
.site-header__cta-mobile{ flex: none; min-height: 38px; padding: 0 16px; font-size: 13.5px; display: none; }

@media (max-width: 480px){
  .site-header__cta{ display: none; }
  .site-header__cta-mobile{ display: inline-flex; }
}

/* ===== 푸터 (가로형 컴팩트, 사업자정보는 여기에만) ===== */
.site-footer{ background: var(--navy); color: #D6D3D1; position: relative; }
.site-footer::before{ content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); opacity: .7; }
.site-footer__inner{ padding-block: 14px; }
.site-footer__biz{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; }
.site-footer__biz span{ font-size: 12.5px; line-height: 1.6; color: #A8A29E; white-space: nowrap; padding-right: 16px; border-right: 1px solid #44403C; }
.site-footer__biz span:last-child{ padding-right: 0; border-right: 0; }
.site-footer__biz a{ color: #E7E5E4; text-decoration: none; }
.site-footer__biz a:hover{ text-decoration: underline; }
.site-footer__bottom{ border-top: 1px solid #292524; }
.site-footer__bottom p{ margin: 0; padding-block: 10px; font-size: 12px; color: #78716C; }

@media (max-width: 767.98px){
  .site-footer__inner{ padding-block: 10px; }
  .site-footer__biz{ gap: 3px 10px; margin: 0; }
  .site-footer__biz span{ font-size: 10.5px; line-height: 1.5; white-space: normal; padding-right: 10px; }
  .site-footer__bottom p{ padding-block: 6px; font-size: 10.5px; }
}

/* ===== 모바일 하단 고정 CTA ===== */
body{ padding-bottom: 72px; }
@media (min-width: 768px){ body{ padding-bottom: 0; } }
.mobile-cta-bar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 8px;
  height: 60px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line-2); box-shadow: var(--sh-3);
  transition: transform .25s ease;
}
.mobile-cta-bar.is-hidden{ transform: translateY(100%); }
.mobile-cta-bar__btn{ flex: 1; gap: 6px; padding: 0 10px; font-size: 14px; min-height: 44px; }
@media (min-width: 768px){ .mobile-cta-bar{ display: none; } }

@media (prefers-reduced-motion: reduce){
  .skip-link{ transition: none !important; }
  .mobile-cta-bar{ transition: none; }
}
