:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1c2430;
  --ink-muted: #5c6570;
  --line: #e4e0d8;
  --brand: #1f4e5f;
  --brand-deep: #163944;
  --cta: #c45c26;
  --cta-pressed: #a34b1e;
  --cta-text: #ffffff;
  --info: #efe8dc;
  --ok: #2f6b4f;
  --warn: #8a5a17;
  --danger: #9b2c2c;
  --focus: #1f4e5f;
  --radius-btn: 8px;
  --radius-card: 12px;
  --header-m: 56px;
  --sticky: 64px;
  --pad-x: 20px;
  --font: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --footer: #edeae3;
  --phone-foot: #f3d2c0;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--bg);
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { margin: 0 0 12px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 24px; line-height: 32px; }
h2 { font-size: 20px; line-height: 28px; font-weight: 650; }
h3 { font-size: 17px; line-height: 24px; font-weight: 650; }
p { margin: 0 0 12px; }
ul { margin: 0 0 16px; padding-left: 20px; }
.wrap { width: min(1080px, calc(100% - 40px)); max-width: 100%; margin: 0 auto; }
main { overflow-x: clip; }
.caption { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.tabular { font-variant-numeric: tabular-nums; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-m);
  gap: 16px;
}
.wordmark { text-decoration: none; color: var(--ink); }
.wordmark strong { display: block; font-size: 16px; line-height: 22px; }
.wordmark span { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); font-weight: 400; }
.nav {
  display: none;
  gap: 20px;
  align-items: center;
}
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 650; }
.header-cta { display: none; gap: 8px; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.drawer {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px;
}
.drawer.open { display: block; }
.drawer a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 650;
  line-height: 24px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-phone { background: var(--cta); color: var(--cta-text); border-color: var(--cta); width: 100%; }
.btn-phone:hover { background: var(--cta-pressed); color: var(--cta-text); }
.btn-visit { background: var(--surface); color: var(--brand); border-color: var(--brand); width: 100%; }
.btn-visit:hover { background: var(--info); color: var(--brand); }
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); width: 100%; }
.btn-brand:hover { background: var(--brand-deep); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; width: auto; }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.hero { padding: 28px 0 8px; }
.hero-grid { display: grid; gap: 24px; }
.label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--info);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.display { font-size: 28px; line-height: 36px; font-weight: 700; margin: 0 0 12px; }
.hero .lead { font-size: 16px; margin-bottom: 16px; }
.cta-stack { display: grid; gap: 8px; margin: 16px 0; }
.stat-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px;
  display: grid;
  gap: 16px;
}
.stat caption, .stat .k { font-size: 13px; color: var(--ink-muted); display: block; }
.stat .v { font-size: 22px; line-height: 28px; font-weight: 700; }
.stat .note { font-size: 13px; color: var(--warn); margin-top: 4px; }
.remain {
  background: var(--info);
  border-left: 3px solid var(--brand);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 20px;
  color: var(--ink);
  margin-top: 16px;
}
.alias-note {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-muted);
}
.alias-note strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 6px;
}

.section { padding: 64px 0; }
.section.tight { padding: 48px 0; }
.section-head { margin-bottom: 24px; }
.grid-2 { display: grid; gap: 12px; }
.grid-3 { display: grid; gap: 12px; }
.cards-6 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { border-color: var(--brand); }
.check { color: var(--ok); font-weight: 700; margin-right: 6px; }
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 6px;
  background: var(--info);
  color: var(--warn);
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 650;
}

.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}
.cta-band p { margin-bottom: 16px; }
.cta-band .btns { display: grid; gap: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.chip:hover { background: var(--info); }

.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); margin-bottom: 8px; padding: 0 16px; }
.accordion summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 650; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details p { padding-bottom: 16px; }
.faq-cta { display: grid; gap: 8px; margin: 0 0 16px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
label { display: block; font-size: 14px; font-weight: 650; margin: 0 0 6px; }
.field { margin-bottom: 16px; }
input, select, textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line);
  border-radius: var(--radius-btn); padding: 12px 14px;
  font: inherit; background: var(--surface); color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); border-width: 1.5px; outline: none; }
input.err, select.err, textarea.err { border-color: var(--danger); background: #fdf6f6; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label.opt {
  position: relative;
  min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-btn);
  display: flex; align-items: center; justify-content: center;
  font-weight: 650; font-size: 14px; margin: 0; cursor: pointer; background: var(--surface);
}
.seg input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.seg input:checked + span,
.seg label.opt:has(input:checked) { background: var(--info); border-color: var(--brand); color: var(--brand); }
.checkrow { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; }
.checkrow input { width: 24px; height: 24px; min-height: 24px; margin-top: 2px; flex-shrink: 0; }
.err-msg { color: var(--danger); font-size: 13px; min-height: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: var(--bg); font-weight: 650; white-space: nowrap; }
td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  width: auto;
  height: auto;
  display: table-cell;
  border-radius: 0;
  background: transparent;
  color: inherit;
  place-items: unset;
}
.price-cards { display: grid; gap: 12px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}
.price-card h2 { margin-bottom: 4px; }
.price-dl { margin: 16px 0 20px; }
.price-dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.price-dl div:last-child { border-bottom: 0; }
.price-dl dt { color: var(--ink-muted); font-size: 14px; flex-shrink: 0; }
.price-dl dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.price-table { display: none; }
.warn-box { background: var(--info); color: var(--warn); padding: 12px 16px; border-radius: var(--radius-card); margin-bottom: 16px; font-size: 14px; }

.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.dl div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); min-height: 52px; align-items: center; }
.dl div:last-child { border-bottom: 0; }
.dl dt { color: var(--ink-muted); font-size: 14px; margin: 0; }
.dl dd { margin: 0; }

.link-list a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); margin-bottom: 8px; text-decoration: none; color: var(--ink); }
.link-list a:first-child { border-left: 3px solid var(--brand); }

.prose { max-width: 720px; }
.prose h2 { margin-top: 32px; }
.prose li { margin-bottom: 6px; }

.ph {
  background: var(--info);
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: var(--ink-muted);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.site-footer {
  background: var(--ink);
  color: var(--footer);
  padding: 40px 0 calc(32px + var(--sticky) + env(safe-area-inset-bottom, 0px));
  margin-top: 24px;
}
.site-footer a { color: var(--footer); }
.site-footer .phone { font-size: 20px; font-weight: 700; color: var(--phone-foot); text-decoration: none; display: inline-block; margin: 8px 0 16px; }
.foot-grid { display: grid; gap: 24px; }
.lh-box { font-size: 13px; line-height: 20px; opacity: 0.9; }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; margin-top: 16px; }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(var(--sticky) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; height: var(--sticky); min-height: var(--sticky); border-radius: 0; }
.sticky-cta.kb-open { display: none; }

.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(28, 36, 48, 0.45);
  display: none;
  align-items: flex-end;
}
.sheet.open { display: flex; }
.sheet-card {
  background: var(--surface);
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
}
.toast {
  position: fixed; top: 72px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 8px; font-size: 14px; z-index: 70; display: none;
  max-width: calc(100% - 40px);
}

.map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--info);
  overflow: hidden;
}
.map-shell { margin: 16px 0 24px; }
.map-actions { margin: 12px 0 0; }
.map-actions .btn { width: auto; }
.map-pending { display: grid; place-items: center; }
.map-placeholder { text-align: center; padding: 24px 16px; color: var(--ink); }
.map-placeholder p { margin: 8px 0 0; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .seg { grid-template-columns: repeat(4, 1fr); }
  .cta-band .btns { grid-template-columns: 1fr 1fr; max-width: 480px; margin: 0 auto; }
  .faq-cta { grid-template-columns: 1fr 1fr; max-width: 400px; }
  .hero { text-align: left; }
  .price-cards { display: none; }
  .price-table { display: block; }
}
@media (min-width: 1024px) {
  .site-footer { padding-bottom: 32px; }
  .sticky-cta { display: none; }
  .menu-btn { display: none; }
  .nav, .header-cta { display: flex; }
  .display { font-size: 40px; line-height: 48px; }
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 24px; line-height: 32px; }
  .hero { padding: 48px 0 24px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .cards-6 { grid-template-columns: repeat(6, 1fr); }
  .cta-stack { grid-template-columns: 1fr 1fr; max-width: 480px; }
  .section { padding: 96px 0; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr; }
  .header-inner { min-height: 64px; }
}
@media (min-width: 1440px) {
  .wrap { width: min(1160px, calc(100% - 80px)); }
}
