:root {
  --paper: #f4f2ed;
  --card: #fffdf9;
  --ink: #1b2130;
  --mute: #5b6170;
  --line: #d8d3c8;
  --tag1: #cf5126;
  --tag2: #2c7563;
  --tag3: #9a7212;
  --ok: #2c7563;
  --hd: 64px;
  --mono: "DM Mono", ui-monospace, monospace;
  --head: "Sunflower", "Nanum Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.7 "Nanum Gothic", sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.3; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 헤더: 지점 탭 */
.hd { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.hd__in { max-width: 1180px; margin: 0 auto; height: var(--hd); padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.hd__logo { font: 700 22px/1 var(--head); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.hd__mark { width: 22px; height: 14px; border: 2.5px solid var(--ink); border-radius: 2px 2px 8px 8px; position: relative; }
.hd__mark::before { content: ""; position: absolute; left: 50%; top: -9px; width: 8px; height: 8px; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; transform: translateX(-50%); }
.hd__tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.hd__tabs a { text-decoration: none; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--mute); }
.hd__tabs a[aria-current="true"] { background: var(--ink); color: #fff; }
.hd__select { display: none; }
.hd__tel { margin-left: auto; font: 500 15px/1 var(--mono); text-decoration: none; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 6px; white-space: nowrap; }
.hd__tel span { font-family: "Nanum Gothic", sans-serif; font-weight: 800; margin-right: 4px; }

main, .ft__in { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; border-top: 1px solid var(--line); }
.sec-h { font-size: 32px; margin-bottom: 28px; }
.sec-h__k { display: block; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--mute); margin-bottom: 12px; font-family: "Nanum Gothic", sans-serif; font-weight: 700; }

/* 첫 화면: 지점 타일 */
.pick { border-top: 0; padding: 48px 0 56px; }
.pick__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.pick h1 { font-size: 52px; letter-spacing: -.01em; }
.pick__brand { display: block; font: 700 15px/1.4 "Nanum Gothic", sans-serif; color: var(--mute); margin-bottom: 14px; }
.pick__sub { margin: 0; color: var(--mute); max-width: 30em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 6px;
  padding: 44px 26px 24px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--c); border-radius: 4px 4px 0 0; }
.tile::after { content: ""; position: absolute; left: 50%; top: 22px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); }
.tile.is-on { border-color: var(--c); box-shadow: 0 0 0 1.5px var(--c); }
.tile__no { margin: 0; font: 500 14px/1 var(--mono); color: var(--c); }
.tile__name { font-size: 44px; margin: 6px 0 4px; }
.tile__area { margin: 0; color: var(--mute); font-size: 15px; }
.tile__today { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font: 500 15px/1.5 var(--mono); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.badge { font: 800 12px/1 "Nanum Gothic", sans-serif; padding: 6px 8px; border-radius: 4px; background: #e9e5dc; color: var(--mute); }
.badge--on { background: var(--ok); color: #fff; }
.badge--off { background: #e3dfd6; color: #59565a; }
.tile__note { margin: 8px 0 20px; font-size: 14px; font-weight: 700; }
.tile__act { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile__act .btn--ink { grid-column: 1 / -1; }
.pick__foot { margin: 20px 0 0; font-size: 14px; color: var(--mute); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 15px; text-align: center;
}
.btn--ink { background: var(--ink); color: #fff; font-family: var(--mono); font-weight: 500; }
.btn--line { border-color: var(--line); color: var(--mute); }
.btn:hover { border-color: var(--c, var(--ink)); }

/* 선택 지점 상세 */
.branch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; padding: 28px 0; }
.branch + .branch { border-top: 1px dashed var(--line); }
.js-pick .branch + .branch { border-top: 0; }
.branch__map { border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; background: #ebe7de; }
.branch__map svg { display: block; width: 100%; height: auto; }
.m-bg { fill: #ebe7de; }
.m-road { stroke: #fffdf9; stroke-width: 16; fill: none; }
.m-road--s { stroke-width: 9; }
.m-blk { fill: #dcd6ca; }
.m-stn { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.m-path { stroke: var(--c); stroke-width: 4; stroke-dasharray: 8 6; fill: none; }
.m-pin { fill: var(--c); stroke: #fff; stroke-width: 3; }
.m-t { font: 700 14px "Nanum Gothic", sans-serif; fill: var(--ink); }
.m-t--b { fill: var(--c); font-size: 15px; }
.branch__name { font-size: 34px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; border-left: 6px solid var(--c); padding-left: 14px; margin-bottom: 20px; }
.branch__name span { font: 500 20px/1 var(--mono); color: var(--mute); }
.kv { display: grid; grid-template-columns: 6.5em 1fr; margin: 0; }
.kv dt, .kv dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { font-weight: 800; font-size: 14px; color: var(--mute); }
.copy { margin-left: 6px; font: 700 12px/1 "Nanum Gothic", sans-serif; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); cursor: pointer; color: var(--ink); }
.branch__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* 공통 소개 */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__img, .price__img, .how__img { margin: 0; border-radius: 6px; overflow: hidden; }
.about__txt p { margin: 0 0 14px; max-width: 34em; }

/* 가격 */
.price__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 4px; }
.price__note { margin: 0 0 28px; font-size: 14px; color: var(--mute); }
.price__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border: 1.5px solid var(--ink); }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.tbl thead th { font-size: 13px; color: var(--mute); border-bottom: 1.5px solid var(--ink); }
.tbl tbody th { font-weight: 700; }
.tbl td { font-family: var(--mono); white-space: nowrap; }
.tbl td:last-child { font-family: "Nanum Gothic", sans-serif; color: var(--mute); }

/* 맡기고 찾는 법 */
.how { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 48px; }
.how .sec-h { grid-column: 1 / -1; }
.how__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.how__list li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.how__list li::before { content: "0" counter(s); grid-row: span 2; font: 500 20px/1.3 var(--mono); color: var(--tag1); }
.how__list b { font-size: 17px; }
.how__list span { color: var(--mute); font-size: 15px; }
.how__img { align-self: start; }

/* 지점 소식 */
.news__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.news__upd { margin: 0 0 28px; font: 500 13px/1 var(--mono); color: var(--mute); }
.news__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.news__list li { display: grid; grid-template-columns: 84px 64px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news__list li.is-mine { background: var(--card); }
.news__list p { margin: 0; }
.news__list time { font: 500 14px/1 var(--mono); color: var(--mute); }
.tag { justify-self: start; font: 800 13px/1 "Nanum Gothic", sans-serif; color: var(--c); }
.tag::before { content: "【"; } .tag::after { content: "】"; }
.tag--all { --c: var(--ink); }

/* 연락처 */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); }
.contact__row { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.contact__row:first-child { border-left: 0; }
.contact__row b { font: 700 20px/1.3 var(--head); color: var(--c); }
.contact__row a { font: 500 24px/1.3 var(--mono); text-decoration: none; }
.contact__row span { font-size: 14px; color: var(--mute); }
.contact__etc { margin: 20px 0 0; font-size: 15px; }

.ft { background: var(--ink); color: #c9ccd3; padding: 40px 0 48px; font-size: 13px; }
.ft p { margin: 0 0 4px; }
.ft__name { font: 700 20px/1 var(--head); color: #fff; margin-bottom: 14px !important; }
.ft__c { margin-top: 14px !important; }

/* 퀵메뉴: PC 오른쪽 세로 */
.quick { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; background: var(--ink); border-radius: 8px; overflow: hidden; }
.quick a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; width: 72px; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid #343b4b; text-align: center; line-height: 1.3; }
.quick a:last-child { border-bottom: 0; }
.quick small { font-size: 11px; font-weight: 400; opacity: .75; }
.quick__tel { background: var(--tag1); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 1379px) { main, .ft__in, .hd__in { padding-right: 104px; } }
@media (max-width: 1023px) {
  main, .ft__in, .hd__in { padding-right: 20px; padding-left: 20px; }
  .hd__in { gap: 12px; }
  .hd__tabs { display: none; }
  .hd__select { display: block; margin-left: auto; }
  .hd__select select { font: 700 15px "Nanum Gothic", sans-serif; padding: 8px 32px 8px 12px; min-height: 40px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); color: var(--ink); }
  .hd__tel { display: none; }
  .quick { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .quick a { flex: 1; width: auto; min-height: 58px; border-bottom: 0; border-left: 1px solid #343b4b; font-size: 14px; }
  .quick a:first-child { border-left: 0; }
  .quick__top { display: none !important; }
  .quick__tel { flex: 1.3 !important; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .pick__head { grid-template-columns: 1fr; gap: 14px; }
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .branch, .about, .price__grid, .how { grid-template-columns: 1fr; gap: 24px; }
  .how__img { margin-top: 24px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__row { border-left: 0; border-top: 1px solid var(--line); }
  .contact__row:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .pick { padding: 28px 0 40px; }
  .pick h1 { font-size: 34px; }
  .pick__brand { font-size: 14px; margin-bottom: 8px; }
  .pick__sub { font-size: 15px; }
  .sec-h { font-size: 26px; margin-bottom: 20px; }
  .tile { padding: 30px 18px 18px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .tile::after { top: 14px; width: 10px; height: 10px; margin-left: -5px; }
  .tile::before { height: 8px; }
  .tile__no { grid-column: 2; grid-row: 1; align-self: center; }
  .tile__name { grid-column: 1; grid-row: 1; font-size: 30px; margin: 0; }
  .tile__area, .tile__today, .tile__note, .tile__act { grid-column: 1 / -1; }
  .tile__today { margin-top: 10px; padding-top: 10px; font-size: 14px; }
  .tile__note { margin: 6px 0 14px; }
  .tile__act { grid-template-columns: 1fr 1fr; }
  .btn { min-height: 44px; font-size: 14px; padding: 0 10px; }
  .branch__name { font-size: 28px; }
  .kv { grid-template-columns: 5.2em 1fr; font-size: 15px; }
  .tbl th, .tbl td { padding: 11px 10px; font-size: 14px; }
  .tbl td { white-space: normal; }
  .news__list li { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .news__list p { grid-column: 1 / -1; }
  .contact__row a { font-size: 22px; }
}
.contact__img { margin: 0 0 20px; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 5; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (max-width: 600px) { .contact__img { aspect-ratio: 4 / 3; } }
.branch[hidden] { display: none; }
.nw { font-style: normal; white-space: nowrap; }
