/* hanuso — 공통 뼈대 (색·글꼴·상단·하단·버튼) */
:root {
  --ink: #23201c;
  --ink-soft: #5c554c;
  --paper: #f7f3ea;
  --paper-deep: #efe8da;
  --card: #fffdf7;
  --accent: #8c4a2f;
  --accent-soft: #b9704f;
  --line: #ddd3c2;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", "Noto Sans JP", "Noto Sans SC", serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
}

/* ── 상단 ── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 234, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .22em;
  text-transform: lowercase;
  line-height: 1.2;
}

.logo-text { display: block; font-size: 22px; }

.logo-img {
  display: block;
  width: 106px;
  height: auto;
}

.logo-branch {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .08em;
}
.logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  text-transform: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.main-nav .nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
}

.main-nav .nav-cta:hover {
  background: var(--accent);
  color: var(--paper);
}

.lang-switch select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-soft); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }
.btn-disabled { opacity: .55; cursor: not-allowed; }

/* ── 구역 ── */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-deep); }

.section-head { max-width: 720px; margin-bottom: 42px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.4;
}

.section-lead,
.page-lead { margin: 0; color: var(--ink-soft); font-size: 16px; }

.section-more { margin: 36px 0 0; }

.link-arrow {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--accent); }

.page-head {
  padding: 74px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-head .wrap { max-width: 820px; }

.page-title {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 500;
  line-height: 1.35;
}

/* ── 하단 ── */
.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: .22em;
  color: var(--ink);
}

.footer-label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-note { margin: 0 0 6px; opacity: .85; }
.footer-note a { text-decoration: none; margin-right: 12px; }
.footer-note a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.copyright { margin: 0; font-size: 12px; letter-spacing: .04em; opacity: .7; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 14px 0; }
  .main-nav { order: 3; width: 100%; margin-left: 0; gap: 16px; }
  .lang-switch { margin-left: auto; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── 오른쪽 아래 문의 버튼 (캐치테이블·왓츠앱·카톡·라인·위챗) ── */
.contact-dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-btn {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(35, 32, 28, .08);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  box-shadow: 0 4px 12px rgba(35, 32, 28, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.contact-btn:hover,
.contact-btn:focus-visible {
  transform: translateX(-3px);
  box-shadow: 0 5px 14px rgba(35, 32, 28, .26);
}

.contact-catchtable { background-image: url('../img/icons/catchtable.svg'); }
.contact-whatsapp { background-image: url('../img/icons/whatsapp.svg'); }
.contact-kakao { background-image: url('../img/icons/kakao.svg'); }
.contact-line { background-image: url('../img/icons/line.svg'); }
.contact-wechat { background-image: url('../img/icons/wechat.svg'); }

.contact-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.contact-btn:hover .contact-tip,
.contact-btn:focus-visible .contact-tip { opacity: 1; }

@media (max-width: 760px) {
  .contact-dock { right: 12px; bottom: 12px; gap: 7px; }
  .contact-btn { width: 42px; height: 42px; background-size: 27px 27px; }
  .contact-tip { display: none; }
}
