@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+KR:wght@100..900&display=swap');

/* ========== CSS 변수 ========== */
:root {
  --white: #ffffff;
  --line: #e5e5e5;
  --text: #181f28;
  --blue: #66a7d5;
  --bluelight10: rgba(102, 167, 213, 0.1);
  --bluelight20: rgba(102, 167, 213, 0.2);
  --mint: #56b9b9;
  --mintlight10: rgba(86, 185, 185, 0.1);
  --mintlight20: rgba(86, 185, 185, 0.2);
  --bluegreen: #73bd9f;
  --yellgreen: #a1ca86;
  --yellgreen10: rgba(161, 202, 134, 0.1);
  --elem-orange: #FF8D28;
  --mid-indigo: #6155F5;
  --inner: 1320px;
  --radius-lg: 16px;
  --radius-sm: 8px;
}


* {
  font-family: "Inter", "Noto Sans KR", sans-serif;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.main_wrap {
  width: 100%;
  background: var(--white);
}

/* inner wrapper */
.mn_inner {
  width: 100%;
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   NEW HEADER
   ============================================================ */
.mn_header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.mn_header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* 로고 */
.mn_header__logo {
  height: 24px;
}
.mn_header__logo svg {
  width: auto;
  height: 100%;
  fill: var(--text);
}

/* 네비게이션 */
.mn_header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  margin-left: 32px;
}
.mn_header__nav-item {
  position: relative;
}
.mn_header__nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  height: 72px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.mn_header__nav-item > a svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (min-width: 1080px) {
  .mn_header__nav-item:hover > a {
    color: var(--mint);
  }
  .mn_header__nav-item:hover > a svg {
    transform: rotate(180deg);
  }
}

/* 드롭다운 */
.mn_header__dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  min-width: 160px;
  padding: 16px;
  z-index: 100;
}

@media (hover: hover) and (min-width: 1080px) {
  .mn_header__nav-item:hover .mn_header__dropdown {
    display: block;
  }
}

.mn_header__dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  color: var(--text);
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.mn_header__dropdown a:hover {
  background: var(--bg-mint);
  color: var(--mint);
}

/* 우측 영역 */
.mn_header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.mn_header__tel {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.mn_header__tel svg {
  width: 14px;
  height: 20px;
  color: var(--mint);
}
.mn_header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 999px;
  transition:
    background 0.2s,
    transform 0.15s;
}

@media (hover: hover) and (min-width: 1080px) {
  .mn_header__cta:hover {
    background: var(--blue);
    transform: translateY(-1px);
  }
}

.mn_header__cta svg {
  width: 20px;
  height: 20px;
}


/* 모바일 헤더 레이아웃 */
@media (max-width: 1024px) {
  .mo_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  /* 로고 */
  .mo_header__logo {
    height: 20px;
    display: flex;
    align-items: center;
  }

  .mo_header__logo svg,
  .mo_header__logo img {
    height: 100%;
    width: auto;
  }

  /* 우측 영역 */
  .mo_header__right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* 전화 버튼 */
  .mo_header__tel {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  .mo_header__tel svg {
    width: 12px;
    height: 18px;
  }

  .scroll_none .mo_header .mo_header__tel {
    opacity: 0;
  }

  /* 햄버거 버튼 */
  .mo_header__menu-btn {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .mo_header__menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* 열렸을 때 X 애니메이션 */
  .mo_header__menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mo_header__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mo_header__menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


  /* ── 드로어 오버레이 ── */
  .mo_nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 998;
  }

  .mo_nav__overlay.is-open {
    display: block;
  }

  /* ── 드로어 패널 ── */
  .mo_nav__drawer {
    position: fixed;
    top: 56px;
    right: -100%;
    width: min(320px, 88vw);
    height: calc(100dvh - 56px);
    background: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.5s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mo_nav__drawer.is-open {
    right: 0;
  }

  /* 드로어 본문 */
  .mo_nav__body {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
  }

  /* 1depth 항목 */
  .mo_nav__item {
    border-bottom: 1px solid var(--line);
  }

  .mo_nav__item:last-child {
    border-bottom: none;
  }

  /* 1depth 링크 (드롭다운 없는 경우) */
  .mo_nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    letter-spacing: -0.02em;
  }

  .mo_nav__link svg.arrow {
    width: 14px;
    height: 14px;
    color: #aaa;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .mo_nav__link.is-open svg.arrow {
    transform: rotate(180deg);
  }

  .mo_nav__link--direct {
    color: var(--mint);
  }

  /* 2depth 서브메뉴 */
  .mo_nav__sub {
    height: 0;
    overflow: hidden;
    background: #f9fafb;
    transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mo_nav__sub.is-open {
    height: auto;
    /* JS에서 scrollHeight로 제어 */
  }

  .mo_nav__sub a {
    display: block;
    padding: 12px 20px 12px 32px;
    font-size: 14px;
    font-weight: 400;
    color: #444;
    border-top: 1px solid var(--line);
    transition: color 0.15s;
  }

  .mo_nav__sub a:first-child {
    border-top: none;
  }

  .mo_nav__sub a:active {
    color: var(--mint);
  }

  /* 드로어 하단 CTA */
  .mo_nav__foot {
    padding: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .mo_nav__foot-tel {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
  }

  .mo_nav__foot-tel svg {
    width: 14px;
    height: 20px;
  }

  .mo_nav__foot-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--mint);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 999px;
    text-align: center;
  }

  .mo_nav__foot-cta svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

  .mo_header {
    display: none;
  }

  .mo_nav__overlay {
    display: none;
  }

  .mo_nav__drawer {
    display: none;
  }

/* ============================================================
   NEW FOOTER
   ============================================================ */
.mn_footer {
  width: 100%;
  background: var(--yellgreen10);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}

/* 상단 영역 */
.mn_footer__top {
  display: flex;
  gap: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

/* 로고 & 연락처 */
.mn_footer__logo-area {
  flex-shrink: 0;
  max-width: 320px;
}

.mn_footer__logo {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mn_footer__logo img {
  width: auto;
  height: 100%;
}

.mn_footer__tagline {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.mn_footer__tel {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mn_footer__tel svg {
  width: 20px;
  height: 20px;
}

.mn_footer__hours {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
}

/* 컬럼 */
.mn_footer__cols {
  flex: 1;
  display: flex;
  gap: 40px;
}

.mn_footer__col {
  flex: 1;
  min-width: 0;
}

.mn_footer__col:first-child {
  flex: 2;
}

.mn_footer__col h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.mn_footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mn_footer__col li a {
  font-size: 13px;
  color: #666;
  transition: color 0.15s;
}

@media (hover: hover) and (min-width: 1080px) {
  .mn_footer__col li a:hover {
    color: var(--mint);
  }
}

/* 정보 텍스트 */
.mn_footer__col .info-text {
  font-size: 12.5px;
  color: #666;
  line-height: 1.8;
}

/* SNS */
.mn_footer__sns {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.mn_footer__sns-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--white);
}

.mn_footer__sns-btn:hover {
  border-color: var(--yellgreen);
  background: var(--yellgreen10);
}

.mn_footer__sns-btn svg {
  width: 16px;
  height: 16px;
  color: #666;
}

/* 우측 퀵 메뉴 (전화/상담) */
.mn_footer__quick {
  position: fixed;
  right: 24px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.mn_footer__quick-btn {
  width: 80px;
  height: 80px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (min-width: 1080px) {
  .mn_footer__quick-btn:hover {
    transform: scale(1.08);
  }
}

.mn_footer__quick-btn--tel {
  background: var(--blue);
}

.mn_footer__quick-btn--tel .dskt_qbtn {
  display: inline;
}

.mn_footer__quick-btn--tel .mo_qbtn {
  display: none;
}

.mn_footer__quick-btn--consult {
  background: var(--mint);
}

.mn_footer__quick-btn svg {
  width: 18px;
  height: 18px;
}

.mn_footer__quick-btn span {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

.mn_footer__quick-btn--tel span {
  color: var(--white);
}

.mn_footer__quick-btn--consult span {
  color: var(--white);
}

/* 하단 카피라이트 */
.mn_footer__bottom {
  padding: 24px 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* ========== 미디어쿼리 (NEW HEADER/FOOTER) ========== */
@media (max-width: 1319px) {
  .mn_inner {
    max-width: 100%;
    padding: 0 24px;
  }

  /* ── 헤더 ── */
  .mn_header__inner {
    height: 64px;
  }

  .mn_header__nav-item > a {
    padding: 0 16px;
    font-size: 15px;
    height: 64px;
  }

  .mn_header__tel {
    font-size: 18px;
  }

  .mn_header__cta {
    font-size: 15px;
    padding: 8px 18px;
  }

  /* ── 푸터 ── */
  .mn_footer__inner {
    padding: 0 24px;
  }

  .mn_footer__top {
    flex-wrap: wrap;
    gap: 32px;
  }

  .mn_footer__cols {
    flex-wrap: wrap;
    gap: 24px 40px;
  }
}

@media (max-width: 1024px) {
  
  /* ── PC 헤더 숨김 · 모바일 헤더 표시 ── */
  .mn_header {
    display: none;
  }
  
  .mo_header {
    display: flex;
  }

  .mo_nav__drawer {
    display: flex;
  }
}

@media (max-width: 767px) {
  .mn_inner {
    padding: 0 16px;
  }

  /* ── 푸터 ── */
  .mn_footer {
    padding: 40px 0 80px 0;
  }

  .mn_footer__inner {
    padding: 0 16px;
  }

  .mn_footer__top {
    flex-direction: column;
    gap: 24px;
  }

  .mn_footer__logo-area {
    width: 100%;
  }

  .mn_footer__logo img {
    height: 24px;
    width: auto;
  }

  .mn_footer__tagline {
    font-size: 13px;
  }

  .mn_footer__tel {
    font-size: 22px;
  }

  .mn_footer__hours {
    font-size: 12px;
  }

  .mn_footer__cols {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .mn_footer__col h4 {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .mn_footer__col .info-text {
    font-size: 12px;
    line-height: 1.7;
  }

  .mn_footer__col ul li a {
    font-size: 13px;
  }

  .mn_footer__bottom {
    font-size: 11px;
    padding: 16px 0;
  }

  /* 퀵버튼 — 모바일에서 하단 고정 바 형태로 변경 */
  .mn_footer__quick {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0;
    z-index: 900;
    border-top: 1px solid var(--line);
  }

  .mn_footer__quick-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 0 !important;
    height: 56px;
    font-size: 15px;
    font-weight: 700;
  }

  .mn_footer__quick-btn--tel {
    background: var(--blue);
    color: #fff;
    flex-direction: row;
  }

  .mn_footer__quick-btn--tel .dskt_qbtn {
    display: none;
  }

  .mn_footer__quick-btn--tel .mo_qbtn {
    display: inline;
  }

  .mn_footer__quick-btn--consult {
    background: var(--mint);
    color: #fff;
    flex-direction: row;
  }

  .mn_footer__quick-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  ._wsaicon {
    width: 160px !important;
    height: auto !important;
    bottom: 64px !important;
    right: 8px !important;
    background-color: rgba(255, 255, 255, 0.7);
    transition: bottom 0.4s ease;
  }
  ._wsaicon img {
    width: 100% !important;
    height: 100% !important;
  }

  .mo_nav__drawer.is-open ~ div ._wsaicon {
    bottom: 84px !important;
  }
}