/* rsv 공통 — NeCALL 단말 화면과 같은 크기감: 본문 18px 이상, 누르는 곳 52px 이상, 테두리 박스 */
@font-face { font-family: Pretendard; src: url(/fonts/PretendardVariable.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #efece8; --panel: #fff; --line: #dcd6cf; --line-2: #ece7e1; --text: #1f1d1b; --muted: #6f6a64;
  --ember: #d6401f; --ember-2: #b8331a; --ember-3: #fdece6; --char: #262321; --char-2: #3a3633;
  --ok: #1f8a5b; --ok-3: #e3f4ec; --warn: #c7740f; --warn-3: #fbf0de; --blue: #1b4f9e; --blue-3: #e8eef8; --portal: #03a94e;
  --r: 16px; --font: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 4px solid #f39a1e; outline-offset: 2px; }
.tnum { font-variant-numeric: tabular-nums; }
svg.i { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 19px; transition: transform .08s, filter .15s; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; }
.btn.ember { background: var(--ember); color: #fff; } .btn.ember:hover:not(:disabled) { filter: brightness(1.06); }
.btn.char { background: var(--char); color: #fff; }
.btn.ok { background: var(--ok); color: #fff; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.light { background: #fff; border: 2px solid var(--line); color: var(--text); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.big { min-height: 72px; font-size: 23px; border-radius: 16px; }
.btn.sm { min-height: 44px; font-size: 16px; padding: 0 14px; border-radius: 11px; }
.btn.block { width: 100%; }
.box { background: #fff; border: 2px solid var(--line); border-radius: var(--r); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.p-ok { background: var(--ok-3); color: var(--ok); } .p-warn { background: var(--warn-3); color: var(--warn); } .p-em { background: var(--ember-3); color: var(--ember-2); }
.p-bl { background: var(--blue-3); color: var(--blue); } .p-gr { background: #eceae7; color: #666; } .p-pt { background: #e2f6ea; color: #027a38; }

/* 입력 */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field > span { font-size: 17px; font-weight: 800; }
.field > span small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.inp { width: 100%; min-height: 60px; border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 0 18px; font-size: 20px; }
textarea.inp { padding: 14px 18px; min-height: 96px; resize: vertical; font-size: 18px; }
select.inp { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 48px; }
.inp:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px var(--ember-3); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 600; color: #444; cursor: pointer; }
.check input { width: 26px; height: 26px; accent-color: var(--ember); flex: none; margin: 0; }
.check a { text-decoration: underline; }

/* 칩 · 스텝퍼 · 달력 */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 54px; padding: 0 18px; border-radius: 13px; background: #fff; border: 2px solid var(--line); display: inline-flex; align-items: center; font-size: 19px; font-weight: 800; }
.chip.on { background: var(--char); border-color: var(--char); color: #fff; }
.chip:disabled { color: #bdb6ae; text-decoration: line-through; background: #f6f3ef; }
.stepper { display: flex; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 16px; height: 80px; overflow: hidden; }
.stepper button { width: 84px; height: 100%; background: #f5f2ee; font-size: 36px; font-weight: 700; }
.stepper button:active { background: #ebe6e0; }
.stepper b { flex: 1; text-align: center; font-size: 36px; font-weight: 900; }
.stepper b small { font-size: 19px; font-weight: 700; margin-left: 2px; }
.cal { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px 10px 12px; }
.cal .h { display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 900; padding: 0 2px 8px; }
.cal .h button { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cal .h button:disabled { opacity: .25; }
.cal .g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal .g > span { font-size: 14px; color: var(--muted); font-weight: 700; padding: 2px 0; }
.cal .g > span:first-child { color: var(--ember-2); }
.cal .d { height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.cal .d:disabled { color: #c9c2ba; font-weight: 600; }
.cal .d.x { text-decoration: line-through; }
.cal .d.few { box-shadow: inset 0 0 0 2px var(--warn); }
.cal .d.on { background: var(--ember); color: #fff; box-shadow: none; }
.cal .d.today { text-decoration: underline; text-underline-offset: 4px; }
.cal .lg { display: flex; gap: 14px; justify-content: center; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.cal .lg i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; }

/* 상단 · 공통 레이아웃 (손님) */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.top { position: sticky; top: 0; z-index: 30; background: rgba(239,236,232,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.logo { font-size: 25px; font-weight: 900; letter-spacing: -.8px; white-space: nowrap; }
.logo em { color: var(--ember); font-style: normal; }
.top nav { display: none; gap: 26px; font-size: 18px; font-weight: 700; color: #444; margin-left: 18px; }
.top nav a:hover { color: var(--ember); }
.top .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.top .r .btn { min-height: 48px; font-size: 17px; padding: 0 16px; }
.top .r .dsk { display: none; }
.bk { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.ttl { font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 5px; }
.seg a, .seg button { min-height: 52px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: var(--muted); padding: 0 14px; }
.seg .on { background: var(--char); color: #fff; }

.hero { height: 280px; border-radius: 24px; overflow: hidden; position: relative; margin: 6px 0 14px; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.78)); }
.hero .t { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; }
.hero small { font-size: 16px; font-weight: 700; opacity: .9; }
.hero h1 { margin: 2px 0 0; font-size: 32px; line-height: 1.2; font-weight: 900; letter-spacing: -1px; }
.hero p { display: none; }
.hero .a { display: none; }
.bigact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.bigact a { min-height: 156px; border-radius: 20px; position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.bigact a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bigact a:hover img { transform: scale(1.04); }
.bigact a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 15%, rgba(0,0,0,.8)); }
.bigact a > * { position: relative; z-index: 1; }
.bigact a b { font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.bigact a small { font-size: 15px; opacity: .92; font-weight: 600; }
.bigact a .ic { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 13px; background: var(--ember); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.bigact a.off { pointer-events: none; filter: grayscale(1); opacity: .6; }
.infogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.infogrid a { background: #fff; border: 2px solid var(--line); border-radius: 14px; min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 800; }
.infogrid svg { font-size: 27px; color: var(--ember); }
.notices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.notice { background: var(--char); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 700; }
.notice > span { background: var(--ember); border-radius: 8px; padding: 2px 8px; font-size: 13px; flex: none; margin-top: 2px; }
.notice.sub { background: #fff; color: var(--text); border: 2px solid var(--line); }
.notice.sub > span { background: #eceae7; color: #555; }
.notice small { display: block; font-weight: 500; opacity: .8; font-size: 15px; margin-top: 2px; }

.sec { margin: 34px 0 0; }
.sec > h2 { font-size: 26px; font-weight: 900; letter-spacing: -.6px; margin: 0 0 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sec > h2 small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcard { background: #fff; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; }
.mcard img, .mcard .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e9e4de; }
.mcard p { margin: 0; padding: 10px 12px 12px; }
.mcard b { display: block; font-size: 18px; font-weight: 900; line-height: 1.3; }
.mcard small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.mcard .pr { font-size: 19px; font-weight: 900; color: var(--ember-2); margin-top: 4px; display: block; }
.mcard.sold .pr { color: #999; }
.spaces { display: grid; grid-template-columns: 1fr; gap: 10px; }
.scard { display: flex; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px; align-items: center; }
.scard img { width: 110px; height: 88px; border-radius: 11px; object-fit: cover; flex: none; }
.scard b { font-size: 19px; font-weight: 900; display: block; }
.scard small { font-size: 15px; color: var(--muted); font-weight: 600; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.loc { display: grid; gap: 12px; }
.loc .kv { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.kv > div { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
.kv > div:last-child { border: 0; }
.kv > div > span { color: var(--muted); font-weight: 700; width: 84px; flex: none; }
.kv > div > b { font-weight: 800; flex: 1; min-width: 0; }
.loc img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; }
.foot { margin-top: 48px; padding: 28px 0 60px; border-top: 2px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.8; }
.foot b { color: var(--text); }

/* 단계 화면 (예약·포장) */
.flow { max-width: 560px; margin: 0 auto; padding: 0 18px 150px; }
.steps { display: flex; gap: 6px; margin: 4px 0 14px; }
.steps i { flex: 1; height: 8px; border-radius: 4px; background: #d9d3cc; }
.steps i.on { background: var(--ember); }
.lbl { font-size: 19px; font-weight: 900; margin: 20px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lbl small { font-size: 14px; color: var(--muted); font-weight: 600; text-align: right; }
.sumline { padding: 14px 18px; font-size: 18px; font-weight: 800; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sumline i { color: #c9c2ba; font-style: normal; }
.room { display: flex; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px; align-items: center; width: 100%; text-align: left; margin-bottom: 10px; }
.room img { width: 104px; height: 84px; border-radius: 11px; object-fit: cover; flex: none; }
.room b { font-size: 20px; font-weight: 900; display: block; }
.room small { font-size: 15px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 4px; }
.room.on { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-3); }
.room:disabled { opacity: .5; }
.room .r { margin-left: auto; font-size: 30px; color: var(--ember); padding-right: 6px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 28%); }
.dock > div { max-width: 560px; margin: 0 auto; display: flex; gap: 10px; }
.dock .btn { flex: 1; }
.cart { display: flex; justify-content: space-between; align-items: center; background: var(--char); color: #fff; border-radius: 18px; padding: 0 10px 0 20px; min-height: 80px; flex: 1; }
.cart small { display: block; font-size: 14px; opacity: .75; font-weight: 600; }
.cart b { font-size: 27px; font-weight: 900; }
.cart .btn { min-height: 60px; font-size: 21px; flex: none; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -18px 12px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; position: sticky; top: 68px; z-index: 5; background: var(--bg); padding-top: 6px; }
.cats::-webkit-scrollbar { display: none; }
.cats button { min-height: 50px; padding: 0 18px; border-radius: 12px; background: #fff; border: 2px solid var(--line); font-size: 18px; font-weight: 800; flex: none; }
.cats button.on { background: var(--ember); border-color: var(--ember); color: #fff; }
.menu { display: flex; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px; margin-bottom: 10px; align-items: center; }
.menu img, .menu .noimg { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; background: #e9e4de; }
.menu .t { flex: 1; min-width: 0; }
.menu .t b { font-size: 20px; font-weight: 900; display: block; line-height: 1.3; }
.menu .t small { color: var(--muted); font-size: 14px; font-weight: 600; display: block; }
.menu .t .pr { font-size: 21px; font-weight: 900; margin-top: 4px; display: block; }
.menu .q { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.menu .q button { width: 52px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-size: 24px; font-weight: 800; }
.menu .q button.p { background: var(--ember); border-color: var(--ember); color: #fff; }
.menu .q b { font-size: 21px; font-weight: 900; min-width: 2ch; text-align: center; }
.menu.sold { opacity: .5; }
.menu.in { border-color: var(--ember); }
.done { text-align: center; padding-top: 10px; }
.done .ok { width: 100px; height: 100px; border-radius: 50%; color: #fff; font-size: 56px; display: flex; align-items: center; justify-content: center; margin: 14px auto 14px; background: var(--ok); }
.done .ok.wait { background: var(--warn); } .done .ok.no { background: #8a837b; }
.done h1 { font-size: 29px; font-weight: 900; margin: 0; letter-spacing: -.6px; }
.done > p { color: var(--muted); font-size: 17px; margin: 8px 0 18px; }
.done .kv { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.done .kv > div > b { text-align: right; }
.items { text-align: left; margin-top: 12px; }
.items > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 17px; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; font-size: 18px; font-weight: 600; }
.err { background: var(--ember-3); color: var(--ember-2); border-radius: 14px; padding: 14px 16px; font-weight: 800; font-size: 17px; margin: 12px 0; }
.toast { position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%); background: rgba(20,18,16,.9); color: #fff; padding: 16px 26px; border-radius: 14px; font-size: 18px; font-weight: 700; z-index: 100; max-width: calc(100% - 32px); text-align: center; animation: tst 2.8s forwards; }
@keyframes tst { 0% { opacity: 0; transform: translate(-50%, 10px); } 8% { opacity: 1; transform: translate(-50%, 0); } 85% { opacity: 1; } 100% { opacity: 0; } }
.spin { width: 36px; height: 36px; border: 4px solid var(--line); border-top-color: var(--ember); border-radius: 50%; animation: sp 0.8s linear infinite; margin: 60px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; z-index: 60; }
.sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 24px 24px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); }
.sheet h3 { margin: 0 0 14px; font-size: 24px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; }
.policy { font-size: 15px; color: #444; line-height: 1.7; }

@media (min-width: 720px) {
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .spaces { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .overlay { align-items: center; }
  .sheet { border-radius: 24px; }
}
@media (min-width: 1024px) {
  .top .wrap { height: 80px; }
  .top nav { display: flex; }
  .top .r .dsk { display: inline-flex; }
  .cats { top: 80px; }
  .home .hero { height: 480px; margin-top: 10px; }
  .home .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.1) 75%); }
  .home .hero .t { top: 0; bottom: auto; padding: 80px 56px; max-width: 680px; }
  .home .hero h1 { font-size: 54px; margin: 10px 0 16px; letter-spacing: -1.8px; }
  .home .hero small { font-size: 19px; color: #ffb59f; }
  .home .hero p { display: block; font-size: 19px; opacity: .9; margin: 0 0 28px; }
  .home .hero .a { display: flex; gap: 12px; }
  .home .hero .a .btn { min-height: 66px; font-size: 21px; padding: 0 30px; }
  .home .bigact { grid-template-columns: repeat(2, 1fr); }
  .home .bigact a { min-height: 200px; }
  .home .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .home .infogrid { margin: 0; }
  .mgrid { grid-template-columns: repeat(5, 1fr); }
  .spaces { grid-template-columns: repeat(4, 1fr); }
  .spaces .scard { flex-direction: column; align-items: stretch; }
  .spaces .scard img { width: 100%; height: 170px; }
  .loc { grid-template-columns: 1fr 1fr; align-items: start; }
  .flow { max-width: 620px; }
  .dock > div { max-width: 620px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
