:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --header-bg: rgba(255, 255, 255, 0.86);
  --seg-active: #FFFFFF;
  --pill-bg: rgba(255, 255, 255, 0.8);
  --mark: #FFF3B0;
  color-scheme: light;
  --bg-soft: #F9FAFB;
  --gray-100: #F2F4F6;
  --gray-200: #E5E8EB;
  --gray-400: #B0B8C1;
  --gray-500: #8B95A1;
  --gray-600: #6B7684;
  --gray-700: #4E5968;
  --gray-900: #191F28;
  --blue: #3182F6;
  --blue-dark: #1B64DA;
  --blue-soft: #E8F3FF;
  --radius: 24px;
  --max: 1040px;
  --gutter: 24px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--gray-900);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 88px 0; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Typography ---------- */
.label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--blue); }
.section-head { margin-bottom: 40px; }
.section-head h2 {
  margin: 0 0 14px;
  font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em;
}
.section-head p { margin: 0; font-size: 17px; color: var(--gray-600); line-height: 1.65; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--gray-100); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 10px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--gray-700);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--gray-100); color: var(--gray-900); }
.nav .hide-sm { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 {
  margin: 0 0 20px;
  font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -0.04em;
}
.hero h1 .accent { color: var(--blue); }
.hero-lead { margin: 0 auto 32px; max-width: 520px; font-size: 17px; color: var(--gray-600); line-height: 1.7; }
.actions { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 24px; border-radius: 16px;
  font-size: 17px; font-weight: 600;
  transition: background .15s, transform .1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }

.facts {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin-top: 56px;
}
.fact {
  padding: 26px 24px; border-radius: var(--radius);
  background: var(--bg-soft); text-align: left;
}
.fact strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px; }
.fact span { font-size: 15px; color: var(--gray-600); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface);
}
.bg-white .card, section:not(.bg-soft) .card { background: var(--bg-soft); }
.card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.4; }
.card p { margin: 0; font-size: 16px; color: var(--gray-600); line-height: 1.7; }
.num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px; margin-bottom: 20px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 15px; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--gray-200);
  font-size: 14px; font-weight: 500; color: var(--gray-700);
}
.bg-soft .chip { background: var(--bg-soft); }

/* ---------- Price ---------- */
.price-list { list-style: none; margin: 20px 0 0; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 16px;
}
.price-list li:last-child { border-bottom: 0; }
.price-list .k { color: var(--gray-700); }
.price-list .v { font-weight: 600; white-space: nowrap; }
.price-list .sub { display: block; margin-top: 2px; font-size: 14px; color: var(--blue); font-weight: 500; }
.price-list li:has(.sub) { align-items: center; }
.note { margin-top: 14px; font-size: 14px; color: var(--gray-500); line-height: 1.6; }

.policy {
  margin-top: 16px; padding: 32px 28px; border-radius: var(--radius);
  background: var(--blue-soft);
}
.policy h3 { margin: 0 0 18px; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.policy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.policy li { position: relative; padding-left: 30px; font-size: 16px; color: var(--gray-700); line-height: 1.6; }
.policy li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ---------- Prose / example ---------- */
.prose { max-width: 760px; margin: -8px 0 40px; }
.prose p { margin: 0 0 16px; font-size: 17px; color: var(--gray-700); line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }
.example { margin-top: 16px; background: var(--surface) !important; }
.example > p { margin: 0; }
.calc { list-style: none; margin: 20px 0; padding: 20px; border-radius: 16px; background: var(--bg-soft); display: grid; gap: 14px; }
.calc li { display: grid; gap: 2px; font-size: 15px; }
.calc .k { color: var(--gray-500); font-size: 14px; }
.calc .v { color: var(--gray-700); }
.calc strong { color: var(--blue); font-weight: 700; }
.more { margin-top: 32px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%238B95A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 4px 24px; }
.faq .answer p { margin: 0; font-size: 16px; color: var(--gray-600); line-height: 1.75; }

/* ---------- Location ---------- */
.info { list-style: none; margin: 0; padding: 0; }
.info li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--gray-100); }
.info li:first-child { padding-top: 0; }
.info li:last-child { border-bottom: 0; }
.info dt, .info .k { font-size: 14px; color: var(--gray-500); }
.info .v { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.map-embed {
  position: relative; overflow: hidden;
  height: 280px; margin-bottom: 28px; border-radius: 16px;
  background: var(--gray-100);
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map-embed iframe { filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.9); }
.map-tag {
  position: absolute; left: 12px; top: 12px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--gray-900); color: var(--bg);
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  pointer-events: none;
}
.map-buttons { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
.map-btn {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--gray-200);
  font-size: 16px; font-weight: 600; color: var(--gray-900);
  transition: background .15s, border-color .15s;
}
.map-btn:hover { background: var(--gray-100); border-color: var(--gray-200); }
.map-btn::after {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 5l5 5-5 5' fill='none' stroke='%23B0B8C1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.map-note { margin: 10px 0 0; font-size: 14px; color: var(--gray-500); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 56px; background: var(--bg-soft); border-top: 1px solid var(--gray-100); }
.footer-logo { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.footer-info { margin: 0; font-size: 14px; color: var(--gray-600); line-height: 1.9; }
.footer-info address { font-style: normal; }
.notice-legal { margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.copyright { margin-top: 8px; font-size: 13px; color: var(--gray-500); }

/* ---------- Reveal (JS가 있을 때만) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   TABLET (≥ 768px)
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 64px; }
  section { padding: 120px 0; }
  .nav { gap: 8px; }
  .nav .hide-sm { display: inline-block; }
  .section-head { margin-bottom: 56px; }
  .section-head h2 { font-size: 40px; }
  .section-head p { font-size: 19px; }

  .hero { padding: 120px 0 80px; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 20px; max-width: 600px; }
  .actions { flex-direction: row; justify-content: center; max-width: none; }
  .btn { min-width: 160px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 40px 36px; }
  .policy { padding: 40px 36px; }
  .info li { grid-template-columns: 120px 1fr; align-items: baseline; }
  .calc li { grid-template-columns: 100px 1fr; align-items: baseline; }
  .map-buttons { grid-template-columns: repeat(3, 1fr); }
  .map-embed { height: 400px; margin-bottom: 36px; }
  .faq summary h3 { font-size: 19px; }
}

/* =========================================================
   DESKTOP (≥ 1080px)
   ========================================================= */
@media (min-width: 1080px) {
  .hero h1 { font-size: 64px; }
  .section-head h2 { font-size: 44px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 다크 모드 (기본값) ---------- */
:root[data-theme="dark"] {
  --bg: #17171C;
  --bg-soft: #1F1F25;
  --surface: #26262D;
  --gray-100: #2E2E36;
  --gray-200: #3B3B45;
  --gray-300: #4D4D58;
  --gray-400: #6E6E7A;
  --gray-500: #90909C;
  --gray-600: #ABABB5;
  --gray-700: #C7C7CF;
  --gray-900: #F2F2F5;
  --blue: #4593FC;
  --blue-dark: #3182F6;
  --blue-soft: rgba(69, 147, 252, 0.16);
  --red: #FF6B76;
  --red-soft: rgba(240, 68, 82, 0.18);
  --header-bg: rgba(23, 23, 28, 0.86);
  --seg-active: #3B3B45;
  --pill-bg: rgba(255, 255, 255, 0.06);
  --mark: rgba(255, 214, 0, 0.32);
  color-scheme: dark;
}

/* 테마 전환 버튼 */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; margin-left: 4px; border-radius: 10px;
  border: 0; background: transparent; color: var(--gray-700); cursor: pointer;
  transition: background .15s;
}
.theme-toggle:hover { background: var(--gray-100); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 언어 메뉴 ---------- */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  height: 38px; padding: 0 8px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--gray-700);
  transition: background .15s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--gray-100); }
.lang summary svg { width: 18px; height: 18px; }
.lang summary span { display: none; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--gray-200); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.lang ul a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--gray-700);
}
.lang ul a:hover { background: var(--gray-100); color: var(--gray-900); }
.lang ul a[aria-current] { color: var(--blue); font-weight: 700; }
@media (min-width: 768px) {
  .lang summary span { display: inline; }
}

/* 휴대폰: 헤더 메뉴가 한 줄에 들어가도록 간격 줄이기 (영어 등 긴 언어 대비) */
@media (max-width: 767px) {
  .logo { font-size: 18px; }
  .nav { gap: 0; }
  .nav > a { padding: 8px 6px; font-size: 14px; }
  .lang summary { padding: 0 6px; }
  .theme-toggle { width: 34px; margin-left: 0; }
}
@media (max-width: 767px) {
  /* 오시는 길은 페이지 아래 버튼·지도로 충분해서 휴대폰 헤더에서는 숨김 */
  .nav > a[href="#location"] { display: none; }
}

/* =========================================================
   타이포그래픽 요소 (모든 언어 공통, 마크업 변경 없이 CSS로만)
   ========================================================= */
/* 히어로 뒤에 아주 큰 SIGNET 외곽선 글자 */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero::before {
  content: "SIGNET";
  content: "SIGNET" / "";
  position: absolute; left: 50%; top: 50%; z-index: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 36vw, 440px); font-weight: 900;
  letter-spacing: -0.06em; line-height: 1; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-200);
  opacity: 0.55;
  pointer-events: none; user-select: none;
}

/* 핵심 숫자를 크게 (24시간 · 투명 정찰제 · 룸 46개) */
.fact strong {
  font-size: 32px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.15;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--gray-900) 30%, var(--gray-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 푸터 아래쪽에 잘려 보이는 큰 워드마크 */
.site-footer { position: relative; overflow: hidden; }
.site-footer::after {
  content: "SIGNET";
  content: "SIGNET" / "";
  display: block; margin: 40px 0 -0.22em; text-align: center;
  font-size: clamp(80px, 24vw, 300px); font-weight: 900;
  letter-spacing: -0.06em; line-height: 0.9; white-space: nowrap;
  background: linear-gradient(180deg, var(--gray-200), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
}

@media (min-width: 768px) {
  .fact strong { font-size: 40px; }
  .hero::before { -webkit-text-stroke-width: 2px; }
}

/* 워드마크가 푸터 맨 아래에 붙도록 */
.site-footer { padding-bottom: 0; }
