@charset "utf-8";
/* =============================================================
   common.css — 폰트 / 리셋 / 헤더 / 푸터 공통 스타일
   원본: app/globals.css, site-header.tsx, site-footer.tsx
   ============================================================= */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

@font-face {
  font-family: Paperlogy;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  color: #17171b;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.font-paperlogy {
  font-family: Paperlogy, "Pretendard Variable", Pretendard, system-ui, sans-serif;
  font-weight: 700;
}

/* =============================================================
   헤더
   ============================================================= */
.mf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #dfdfdf;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mf-header__inner {
  margin: 0 auto;
  display: flex;
  height: 70px;
  max-width: 1186px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.mf-header__logo { display: block; height: 36px; width: 114px; flex-shrink: 0; }
.mf-header__logo img { height: 36px; width: 114px; object-fit: contain; object-position: left; }

.mf-nav { display: none; align-items: center; gap: 32px; }
.mf-nav__link {
  font-weight: 500;
  color: #676767;
  font-size: 16px;
  line-height: normal;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
}
.mf-nav__link:hover { color: #17171b; }

.mf-nav__intro { position: relative; }
.mf-nav__introbtn { display: inline-flex; align-items: center; gap: 8px; }
.mf-caret { flex-shrink: 0; transition: transform 0.2s; }
.mf-nav__intro:hover .mf-nav__introbtn .mf-caret,
.mf-nav__intro:focus-within .mf-nav__introbtn .mf-caret { transform: rotate(180deg); }

.mf-nav__dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  padding-top: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.mf-nav__intro:hover .mf-nav__dropdown,
.mf-nav__intro:focus-within .mf-nav__dropdown { opacity: 1; pointer-events: auto; }
.mf-nav__dropdown-inner {
  min-width: 160px;
  border-radius: 12px;
  border: 1px solid #eeeeee;
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.mf-nav__dropitem {
  display: block;
  padding: 10px 16px;
  font-weight: 500;
  color: #676767;
  font-size: 16px;
  text-decoration: none;
}
.mf-nav__dropitem:hover { background: #f8f8f8; color: #17171b; }

.mf-header__burger { display: inline-flex; color: #17171b; background: none; border: 0; padding: 0; }

/* 모바일 메뉴 */
.mf-mobile { border-top: 1px solid #eeeeee; background: #fff; padding: 16px 24px; }
.mf-mobile__inner { margin: 0 auto; max-width: 1186px; display: flex; flex-direction: column; gap: 12px; }
.mf-mobile__introbtn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-weight: 500; color: #676767; font-size: 18px;
  background: none; border: 0;
}
.mf-mobile__introbtn:hover { color: #17171b; }
.mf-mobile__introbtn[aria-expanded="true"] .mf-caret { transform: rotate(180deg); }
.mf-mobile__intro { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; }
.mf-mobile__sublink { padding: 8px 0; font-weight: 500; color: #676767; font-size: 16px; text-decoration: none; }
.mf-mobile__sublink:hover { color: #17171b; }
.mf-mobile__link { padding: 8px 0; font-weight: 500; color: #676767; font-size: 18px; text-decoration: none; }
.mf-mobile__link:hover { color: #17171b; }

@media (min-width: 1024px) {
  .mf-header__inner { height: 75px; }
  .mf-nav { display: flex; }
  .mf-nav__link { font-size: 20px; }
  .mf-header__burger { display: none; }
  .mf-mobile { display: none; }
}

/* =============================================================
   푸터
   ============================================================= */
.mf-footer {
  position: relative;
  background: #eef3f9;
  color: #676767;
  padding: 28px 16px;
}
.mf-footer__inner { margin: 0 auto; max-width: 1270px; display: flex; flex-direction: column; gap: 28px; }
.mf-footer__top { display: grid; grid-template-columns: 1fr; gap: 24px; }

.mf-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.mf-footer__logo { height: 36px; width: 116px; object-fit: contain; }
.mf-footer__info { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.3; }
.mf-footer__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.mf-footer__contact-item { display: inline-flex; align-items: center; gap: 4px; }
.mf-footer__contact-item img { width: 12px; height: 12px; object-fit: contain; display: inline-block; }

.mf-footer__links { display: grid; grid-template-columns: 1fr; gap: 24px; }
.mf-footer__col { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mf-footer__heading { margin-bottom: 4px; font-size: 16px; line-height: 20px; font-weight: 700; color: #676767; }
.mf-footer__link {
  font-size: 16px; line-height: 20px; font-weight: 500; color: #929292;
  text-decoration: none; text-underline-offset: 2px;
}
.mf-footer__link:hover { color: #676767; text-decoration: underline; }

.mf-footer__col--kakao { align-items: center; }
.mf-footer__kakao {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; max-width: 100%;
  white-space: nowrap; border-radius: 18px; border: 1px solid #929292; background: transparent;
  padding: 0 14px; font-size: 13px; font-weight: 700; color: #676767; text-decoration: none;
}
.mf-footer__kakao img { width: 18px; height: 18px; object-fit: contain; }

.mf-footer__divider { margin: 0; border: 0; border-top: 0.3px solid #676767; }
.mf-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mf-footer__statement { margin: 0; text-align: center; font-size: 12px; line-height: 1.3; color: #676767; }

@media (min-width: 671px) {
  .mf-footer { padding: 69px 32px 55px; }
  .mf-footer__top {
    grid-template-columns: minmax(352px, 0.98fr) minmax(0, 1.02fr);
    align-items: start;
    gap: 64px;
  }
  .mf-footer__brand { align-items: flex-start; text-align: left; }
  .mf-footer__info { font-size: 14px; }
  .mf-footer__contact { justify-content: flex-start; }
  .mf-footer__links {
    grid-template-columns: max-content max-content 1fr;
    column-gap: 50px;
    row-gap: 20px;
  }
  .mf-footer__col { align-items: flex-start; text-align: left; }
  .mf-footer__col--kakao { margin-left: 44px; align-items: flex-start; }
  .mf-footer__kakao { border-radius: 20px; padding: 0 20px; font-size: 16px; }
  .mf-footer__bottom { flex-direction: row; justify-content: space-between; gap: 16px; }
  .mf-footer__statement { text-align: left; font-size: 14px; }
}
