:root {
  --navy: #082e67;
  --deep: #041c43;
  --em: #009b83;
  --em2: #087166;
  --mint: #62dbc2;
  --pale: #eaf8f4;
  --cream: #fbfaf7;
  --ink: #1c2d44;
  --body: #536276;
  --muted: #7b8997;
  --line: #dfe7ed;
  --soft: #f5f8f9;
  --white: #fff;
  --shadow: 0 22px 55px rgba(16, 43, 74, 0.09);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  line-height: 1.65;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin: auto; }
.skip {
  position: fixed;
  top: -70px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

.top { height: 34px; background: var(--deep); color: #cbd6e2; font-size: 12px; }
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top .right { display: flex; align-items: center; gap: 22px; }
.top .right a { min-height: 34px; display: inline-flex; align-items: center; }
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e4eaf0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}
.head { height: 78px; display: flex; align-items: center; gap: 24px; }
.logo { width: 180px; display: flex; align-items: center; }
.logo img { height: 50px; object-fit: contain; }
.nav { height: 100%; display: flex; align-items: center; gap: 27px; margin-left: auto; }
.nav > a, .nav-item > a { color: #34465b; font-size: 15px; font-weight: 760; }
.nav > a:hover,
.nav-item > a:hover { color: var(--em2); }
.nav-item { position: relative; height: 78px; display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; gap: 7px; }
.nav-item > a::after { content: none; }
.service-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: 270px;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 20px 45px rgba(7, 39, 76, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: 180ms;
}
.nav-item:hover .service-dropdown,
.nav-item:focus-within .service-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.service-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  color: #34465b;
  font-size: 14px;
  font-weight: 730;
}
.service-dropdown a + a { border-top: 1px solid #edf1f4; }
.service-dropdown a::after { content: none; }
.service-dropdown a:hover,
.service-dropdown a.current { background: var(--pale); color: var(--em2); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.tel { color: var(--navy); font-size: 14px; font-weight: 850; }
.header-btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}
#menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #f3f6f8; }
#menu i { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--navy); transition: 200ms; }
#menu.open i:first-child { transform: translateY(6px) rotate(45deg); }
#menu.open i:nth-child(2) { opacity: 0; }
#menu.open i:last-child { transform: translateY(-6px) rotate(-45deg); }
.mnav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--white);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}
.mnav.open { display: block; }
.mnav .wrap { display: grid; padding: 8px 0 22px; }
.mnav a, .m-service-toggle {
  padding: 13px;
  border: 0;
  border-bottom: 1px solid #edf1f4;
  background: var(--white);
  font-weight: 750;
  text-align: left;
}
.m-service-toggle { display: flex; justify-content: space-between; }
.m-service-toggle::after { content: "＋"; }
.m-service-toggle[aria-expanded="true"]::after { content: "−"; }
.m-submenu { display: none; padding: 4px 12px 12px; background: #f8fafb; }
.m-submenu.open { display: grid; }
.m-submenu a { background: #f8fafb; font-size: 14px; }
.m-submenu a.current { background: var(--pale); color: var(--em2); }
.breadcrumb { padding: 20px 0; color: #7c8997; font-size: 13px; }
.breadcrumb b { color: var(--em2); }

/* 푸터 스타일은 site-footer.css 로 분리되어 있다.
   푸터를 자체 스타일링하지 않는 페이지는 두 파일을 함께 불러온다. */

@media (max-width: 1050px) {
  .nav, .tel { display: none; }
  #menu { display: block; }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .top { display: none; }
  .head { height: 68px; }
  .logo { width: 145px; }
  .logo img { height: 42px; }
  .head-actions .header-btn { display: none; }
}
