/* Rebooboo — 따뜻한 크림·테라코타, 모바일 우선 */
:root {
  --bg: #f6f0e6;
  --bg-deep: #efe4d4;
  --paper: #fffaf3;
  --paper-2: #fbf4ea;
  --ink: #2b2118;
  --ink-soft: #54473a;
  --muted: #74655a;
  --line: #e6d8c6;
  --line-strong: #d6c1a5;
  --accent: #c24e1e;
  --accent-deep: #9a3914;
  --accent-soft: #f7e3d6;
  --trust: #2d6a57;
  --trust-soft: #e5f0eb;
  --warn: #965410;
  --warn-soft: #f8ead4;
  --wait: #625a50;
  --wait-soft: #eee8df;
  --focus: #1f5fbf;
  --shadow-sm: 0 1px 2px rgba(43, 33, 24, 0.05);
  --shadow: 0 1px 2px rgba(43, 33, 24, 0.04), 0 8px 24px rgba(43, 33, 24, 0.06);
  --shadow-lg: 0 2px 4px rgba(43, 33, 24, 0.05), 0 18px 40px rgba(43, 33, 24, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1120px;
  --header-h: 64px;
  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  min-height: 100vh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.035em; color: var(--ink); }
p { margin: 0 0 1em; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

.wrap { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 240, 230, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: var(--header-h);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  text-decoration: none; color: var(--ink); font-weight: 800;
  font-size: 1.28rem; letter-spacing: -0.045em;
}
.logo:hover { color: var(--ink); }
.logo svg { width: 32px; height: 32px; flex: 0 0 32px; }
.logo .boo { color: var(--accent); }
.logo small {
  font-size: 0.74rem; font-weight: 600; color: var(--muted);
  letter-spacing: -0.01em; padding-left: 10px; border-left: 1px solid var(--line-strong);
}
.nav { display: flex; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink-soft); text-decoration: none;
  padding: 0 12px; border-radius: 999px; font-size: 0.94rem; font-weight: 650;
}
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: 52px 0 28px; position: relative; overflow: hidden; }
.hero.home { padding: 64px 0 40px; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -140px; z-index: -1;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg-deep), transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; font-size: 0.84rem; font-weight: 700; color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 5.2vw, 3.2rem);
  line-height: 1.22; letter-spacing: -0.05em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede {
  margin: 0; max-width: 40rem;
  font-size: clamp(1.02rem, 2.2vw, 1.14rem); color: var(--ink-soft);
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 999px; padding: 3px 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.6;
  white-space: nowrap; border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.85; }
.badge.confirmed { background: var(--trust-soft); color: var(--trust); }
.badge.first_come { background: var(--warn-soft); color: var(--warn); }
.badge.unconfirmed { background: var(--wait-soft); color: var(--wait); }
.badge.date, .badge.plain { background: var(--paper); color: var(--ink-soft); border-color: var(--line); }
.badge.date::before, .badge.plain::before { display: none; }
.state-word { display: block; margin-top: 4px; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* ---------- buttons / chips ---------- */
.btn, .chip, .filter-chip {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 0.94rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover, .chip:hover, .filter-chip:hover { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn:active, .chip:active, .filter-chip:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.dark:hover { background: #000; color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.btn.ghost:hover { background: var(--paper); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.filter-chip.on, .filter-chip[aria-pressed="true"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.filter-chip.on::before, .filter-chip[aria-pressed="true"]::before {
  content: ""; width: 10px; height: 6px; margin-right: 2px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(1px, -2px);
}
.quick-filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- sections ---------- */
.section { padding: 20px 0 44px; }
.section.tight { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.section h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.section .sub { margin: 0; color: var(--ink-soft); max-width: 44rem; }
.section-head + .grid, .section-head + .feature-grid { margin-top: 4px; }

/* ---------- cards ---------- */
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); color: inherit;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card:focus-within { border-color: var(--line-strong); }
.card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft), var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.card .region {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 750; color: var(--accent-deep); letter-spacing: 0;
}
.card .region::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.card h3 { margin: 0; font-size: 1.2rem; }
.card-link { color: var(--ink); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); z-index: 1; }
.card-link:hover { color: var(--ink); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.card .age-hit {
  font-size: 0.86rem; color: var(--trust); background: var(--trust-soft);
  border-radius: 10px; padding: 8px 10px; line-height: 1.5;
}
.amenity-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.more { font-weight: 700; color: var(--accent-deep); font-size: 0.9rem; }
.more::after { content: " →"; }
.cmp-toggle {
  position: relative; z-index: 2;
  min-height: 44px; min-width: 44px; padding: 0 12px; margin: -8px -8px -8px 0;
  font-size: 0.84rem; border-radius: 999px;
  background: var(--paper-2); border: 1px dashed var(--line-strong); color: var(--ink-soft);
  font-family: inherit; font-weight: 700; cursor: pointer;
}
.cmp-toggle:hover { border-style: solid; color: var(--ink); }
.cmp-toggle[aria-pressed="true"] { background: var(--accent); border: 1px solid var(--accent); color: #fff; }

.feature-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.feature .icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 800;
}
.feature h3 { margin: 0; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.feature .more { margin-top: auto; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.age-cards { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.age-card {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 84px; padding: 14px 16px; border-radius: 16px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.age-card strong { font-size: 1.08rem; }
.age-card span { font-size: 0.82rem; color: var(--ink-soft); }
.age-card:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- toolbar / filters ---------- */
.filter-bar {
  position: relative; z-index: 30;
  margin: 0 -16px; padding: 10px 16px;
  background: rgba(246, 240, 230, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.filter-bar.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 16px rgba(43,33,24,0.05); }
.toolbar { display: flex; gap: 8px; align-items: center; }
.search-wrap { position: relative; flex: 1 1 auto; min-width: 0; }
.search-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search, select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 1rem; /* iOS 확대 방지 16px */
}
.search { padding: 0 14px 0 42px; }
.search::placeholder { color: var(--muted); }
.search:focus, select:focus { border-color: var(--ink); }
.select-wrap { position: relative; flex: 0 0 auto; }
.select-wrap select { padding: 0 38px 0 14px; width: auto; font-weight: 600; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.filter-toggle { display: none; }
.filter-toggle .n {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.76rem;
}
.filter-toggle .n:empty { display: none; }
.filters { padding-top: 6px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.filter-label {
  width: 100%; margin: 6px 0 0;
  font-size: 0.82rem; font-weight: 750; color: var(--ink-soft);
}
.filter-note {
  width: 100%; margin: 2px 0 0; font-size: 0.84rem; line-height: 1.55; color: var(--ink-soft);
  background: var(--paper-2); border-left: 3px solid var(--trust); padding: 8px 12px; border-radius: 0 10px 10px 0;
}
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 14px; min-height: 44px; }
.count { color: var(--ink-soft); font-size: 0.94rem; font-weight: 600; margin: 0; }
.count strong { color: var(--ink); }

.empty {
  grid-column: 1 / -1;
  padding: 36px 20px; text-align: center;
  background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.empty .empty-mark {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 18px;
  display: grid; place-items: center; background: var(--bg-deep); color: var(--accent-deep); font-size: 1.5rem; font-weight: 800;
}
.empty h3 { margin: 0 0 6px; font-size: 1.12rem; }
.empty p { margin: 0 auto 14px; max-width: 30rem; color: var(--ink-soft); font-size: 0.94rem; }
.empty .quick-filters { justify-content: center; }

/* ---------- compare tray ---------- */
.compare-tray {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50;
  transform: translateX(-50%);
  width: min(100% - 24px, 640px);
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  border-radius: 18px; padding: 10px 10px 10px 16px;
  box-shadow: 0 16px 40px rgba(43, 33, 24, 0.28);
}
.compare-tray[hidden] { display: none; }
.compare-tray .tray-text { flex: 1 1 auto; min-width: 0; font-size: 0.9rem; line-height: 1.4; }
.compare-tray .tray-text strong { display: block; font-size: 0.96rem; }
.compare-tray .tray-text span { color: #d9cbb8; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-tray .btn { min-height: 44px; }
.compare-tray .btn.ghost { color: #e8dccb; }
.compare-tray .btn.ghost:hover { background: rgba(255,255,255,0.08); }
body.has-tray .site-footer { padding-bottom: 110px; }

.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 12px); z-index: 60;
  transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px;
  font-size: 0.92rem; font-weight: 600; transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- compare page ---------- */
.compare-picker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.compare-picker .select-wrap { flex: 1 1 260px; }
.compare-picker .select-wrap select { width: 100%; }
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; table-layout: fixed; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: 0.93rem; }
table.compare thead th { background: var(--paper-2); vertical-align: bottom; }
table.compare th[scope="row"] { width: 150px; font-weight: 750; color: var(--ink); background: var(--paper-2); position: sticky; left: 0; z-index: 1; }
table.compare thead th.corner { width: 150px; position: sticky; left: 0; z-index: 2; font-size: 0.8rem; color: var(--ink-soft); }
table.compare tr:last-child > * { border-bottom: 0; }
table.compare .cell-sum { display: block; margin-top: 6px; color: var(--ink-soft); line-height: 1.55; }
.col-head { display: flex; flex-direction: column; gap: 4px; }
.col-head a { font-size: 1.04rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.col-head a:hover { text-decoration: underline; }
.col-head .region { font-size: 0.8rem; color: var(--accent-deep); font-weight: 700; }
.col-head .btn { align-self: flex-start; min-height: 36px; padding: 0 10px; font-size: 0.82rem; margin-top: 4px; }
.compare-stack { display: none; }
.stack-group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.stack-group h3 { margin: 0 0 10px; font-size: 1.02rem; }
.stack-item { padding: 10px 0; border-top: 1px solid var(--line); }
.stack-item:first-of-type { border-top: 0; padding-top: 0; }
.stack-item .name { display: flex; justify-content: space-between; gap: 8px; font-weight: 750; font-size: 0.92rem; margin-bottom: 4px; }
.stack-item p { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.stack-names { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

/* ---------- detail pages ---------- */
.stay-hero { padding: 28px 0 14px; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 0 0 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; display: inline-block; padding: 4px 0; }
.crumbs a:hover { text-decoration: underline; }
.stay-hero .region { font-size: 0.88rem; font-weight: 750; color: var(--accent-deep); }
.stay-hero h1 { margin: 2px 0 8px; font-size: clamp(1.7rem, 4.4vw, 2.6rem); letter-spacing: -0.05em; }
.stay-hero .name-en { margin: -4px 0 8px; color: var(--muted); font-weight: 600; }
.addr { margin: 0; color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-soft); font-size: 0.95rem; }
.contact-list a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.summary-box {
  margin-top: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft);
}
.summary-box p { margin: 0 0 10px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
table.verify { width: 100%; border-collapse: collapse; }
table.verify th, table.verify td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: 0.95rem;
}
table.verify thead th {
  background: var(--paper-2); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-soft);
}
table.verify tr:last-child > * { border-bottom: 0; }
table.verify .item { font-weight: 750; white-space: nowrap; }
table.verify td.status { white-space: nowrap; }
table.verify td.detail { color: var(--ink-soft); }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose ul, .tips { padding-left: 1.2rem; margin: 0; }
.tips li, .prose li { margin: 0 0 10px; }
.tips li::marker { color: var(--accent); }
.source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.source-list li {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.source-list a { font-weight: 650; }
.source-list small { display: block; color: var(--muted); margin-top: 2px; }

.inquiry {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.inquiry h2 { margin: 0 0 6px; }
.inquiry .sub { margin-bottom: 14px; }
.inquiry-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .inquiry-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.inquiry textarea {
  width: 100%; min-height: 280px; resize: vertical;
  font: inherit; font-size: 0.95rem; line-height: 1.65; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px;
}
.inquiry textarea:focus { border-color: var(--ink); }
.inquiry .copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.copy-status { font-weight: 700; color: var(--trust); font-size: 0.92rem; min-height: 1.4em; }
.contact-card { background: var(--paper-2); border-radius: 14px; padding: 16px; }
.contact-card h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 10px; }
.contact-card li { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.contact-card li:last-child { border-bottom: 0; }
.contact-card li span { font-size: 0.8rem; color: var(--muted); font-weight: 650; }
.contact-card li a { font-weight: 750; font-size: 1.04rem; min-height: 32px; display: inline-flex; align-items: center; }
.contact-card .btn { width: 100%; }
.contact-card .hint { margin: 10px 0 0; font-size: 0.84rem; color: var(--ink-soft); }

.notice {
  background: var(--paper); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); padding: 16px 18px; color: var(--ink-soft); margin: 0;
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
}
.checklist .box {
  flex: 0 0 20px; height: 20px; margin-top: 3px;
  border: 2px solid var(--trust); border-radius: 6px;
}
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legend li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 40px; padding: 36px 0 44px;
  background: var(--bg-deep); border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-title { font-weight: 800; color: var(--ink); margin: 0 0 8px; font-size: 0.95rem; }
.site-footer p { margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.site-footer li a:hover { color: var(--accent-deep); text-decoration: underline; }
.disclosure { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-strong); font-size: 0.86rem; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .logo small { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 0px; }
  html { scroll-padding-top: 80px; }
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 4px; }
  .nav { overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 6px; gap: 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; padding: 0 14px; font-size: 0.94rem; background: var(--paper); border: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-color: var(--ink); }
  .hero, .hero.home { padding: 28px 0 18px; }
  .section { padding: 14px 0 34px; }
  .card { padding: 18px; }
  .filter-bar { position: sticky; top: 0; }
  .filter-toggle { display: inline-flex; flex: 0 0 auto; }
  .toolbar .select-wrap { display: none; }
  .filters { display: none; max-height: 62vh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 6px; }
  .filters.open { display: block; }
  .filters .select-wrap.mobile-only { display: block; margin-top: 10px; }
  .filters .select-wrap.mobile-only select { width: 100%; }
  .age-cards { grid-template-columns: 1fr; }
  .age-card { min-height: 64px; flex-direction: row; align-items: center; justify-content: space-between; }
  .compare-tray { padding: 8px 8px 8px 14px; gap: 6px; }
  .compare-tray .btn { padding: 0 12px; }

  /* 검증 표를 카드형으로 */
  table.verify thead { display: none; }
  table.verify, table.verify tbody, table.verify tr, table.verify td, table.verify th { display: block; width: 100%; }
  table.verify tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.verify tr:last-child { border-bottom: 0; }
  table.verify td, table.verify th { padding: 0; border: 0; }
  table.verify .item { font-size: 1rem; margin-bottom: 6px; white-space: normal; }
  table.verify td.status { margin-bottom: 6px; }
  table.verify td.summary { font-weight: 650; color: var(--ink); margin-bottom: 4px; }
  table.verify td.detail { font-size: 0.92rem; }

  .compare-table-wrap { display: none; }
  .compare-stack { display: block; }
}
@media (min-width: 721px) {
  .filters .select-wrap.mobile-only { display: none; }
}

@media print {
  .site-header, .site-footer, .filter-bar, .compare-tray, .toast, .inquiry .copy-row { display: none !important; }
  body { background: #fff; }
}


/* ---------- monetization: affiliate disclosure, booking, packing ---------- */
.affiliate-banner {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #fff6ea;
  border: 1px solid #e8c9a4;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.55;
}
.affiliate-banner .ad-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}
.affiliate-banner p { margin: 0; }
.affiliate-banner a { color: var(--accent-deep); font-weight: 700; }
.booking-box, .gear-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.booking-box h2, .gear-box h2 { margin-top: 0; }
.booking-box .actions, .gear-box .actions { margin-top: 10px; }
.gear-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gear-list li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.gear-list h3 { margin: 0 0 6px; font-size: 1.02rem; }
.gear-list p { margin: 0; color: var(--ink-soft); }
.gear-list .official-quote {
  margin: 8px 0 0;
  padding-left: 10px;
  border-left: 3px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.92rem;
}
.legal-meta { color: var(--ink-soft); font-size: 0.92rem; margin: 8px 0 0; }
.prose .cite { font-size: 0.92rem; color: var(--ink-soft); }

.region-hubs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 0; }
.region-hub-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 16px 14px;
  text-decoration: none; color: inherit; min-height: 44px;
}
.region-hub-card:hover { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.region-hub-card strong { font-size: 1.08rem; }
.region-hub-card span { color: var(--ink-soft); font-size: 0.9rem; }
.region-group { margin-top: 28px; }
.region-group:first-child { margin-top: 8px; }
.region-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.region-group-head h2 { margin: 0; font-size: 1.2rem; }
.region-group-head h2 a { color: inherit; text-decoration: none; }
.region-group-head h2 a:hover { color: var(--accent-deep); text-decoration: underline; }
.region-group-head p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.region-group-head p a { font-weight: 650; }
@media (max-width: 720px) {
  .region-hubs { grid-template-columns: 1fr 1fr; }
}
