/* 메자닌 서울 — 예약 플랫폼형 디자인
   흰 바탕, 블랙 글씨, 그레이 면과 선. 포인트는 딥그린 한 가지를 주요 버튼과 선택 상태에만 씁니다.
   카드와 사진은 둥근 모서리, 글꼴은 Pretendard 하나. */
:root {
  --bg: #ffffff;
  --gray-50: #f6f7f6;
  --gray-100: #eff1f0;
  --gray-200: #e3e6e4;
  --gray-300: #cfd4d1;
  --ink: #111513;
  --ink-2: #39403c;
  --sub: #646b67;
  --line: #e3e6e4;
  --line-2: #eef0ef;
  --green: #0d5c42;
  --green-deep: #08442f;
  --green-tint: #e7f0eb;
  --green-line: #b9d3c7;
  --amber: #8a5a00;
  --amber-tint: #fbf1dc;
  --bad: #b3261e;
  --bad-tint: #fbeceb;
  --r: 18px;
  --r-sm: 12px;
  --r-xs: 8px;
  --w: 1240px;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -28px rgba(17, 21, 19, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--green-tint); }

.wrap { width: min(100% - 64px, var(--w)); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-xs); }
.skip:focus { left: 8px; }
.muted { color: var(--sub); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.en { font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--sub); }

/* 버튼과 링크 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-deep); }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #000; }
.btn-line { border-color: var(--gray-300); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-soft { background: var(--green-tint); color: var(--green); }
.btn-soft:hover { background: #d8e8e0; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--gray-100); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .5; cursor: default; }
.arr { width: 18px; height: 10px; flex: none; transition: transform .2s var(--ease); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--green); white-space: nowrap; }
.arrow-link:hover .arr { transform: translateX(3px); }
.arrow-link:hover { color: var(--green-deep); }
.text-link, .more { color: var(--green); font-weight: 600; border-bottom: 1px solid currentColor; }

/* 상단 */
.notice { background: var(--green); color: #fff; text-align: center; font-size: .9rem; padding: 9px 16px; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { display: inline-flex; color: var(--ink); }
.wm { width: 150px; height: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; margin-left: 40px; }
.nav-main { display: flex; gap: 6px; }
.nav-main a { padding: 9px 14px; border-radius: 10px; font-size: .96rem; font-weight: 500; color: var(--ink-2); }
.nav-main a:hover { background: var(--gray-50); color: var(--ink); }
.nav-main a[aria-current] { color: var(--green); font-weight: 700; background: var(--green-tint); }
.nav-side { display: flex; align-items: center; gap: 8px; }
.nav-my { padding: 9px 12px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.nav-my:hover, .nav-my[aria-current] { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; font-size: .95rem; }
.nav-cta:hover { background: var(--green-deep); }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .9rem; font-weight: 600; }
.menu-ico { width: 18px; height: 9px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.menu-btn[aria-expanded='true'] .menu-ico { height: 2px; border-bottom: 0; }

/* 섹션 공통 */
.sec { padding: 88px 0; }
.sec-tight { padding: 48px 0; }
.sec-tone { background: var(--gray-50); }
.sec + .sec:not(.sec-tone) { padding-top: 0; }
.sec-tone + .sec:not(.sec-tone) { padding-top: 88px; }
.sec-head { margin-bottom: 28px; max-width: 46em; }
.sec-head h2, .fig-head h2, .two h2, .about h2, .my-sec > h3 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -.04em; line-height: 1.3; }
.sec-head p { margin-top: 8px; color: var(--sub); }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.hint { color: var(--sub); font-size: .88rem; margin-top: 10px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.tag { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .94); }
.gal-note { margin-top: 12px; font-size: .84rem; color: var(--sub); }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.chip-open { background: var(--green-tint); color: var(--green); }
.chip-soon { background: var(--gray-100); color: var(--sub); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--green-tint); color: var(--green); font-size: .85rem; font-weight: 700; }

/* ── 홈: 첫 화면과 공간 찾기 ── */
.hx { padding: 48px 0 0; }
.hx-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: stretch; }
.hx-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hx-text .badge { align-self: flex-start; }
.hx h1 { margin-top: 16px; font-weight: 800; font-size: clamp(2rem, 3.7vw, 2.85rem); line-height: 1.25; letter-spacing: -.045em; }
.hx-lead { margin-top: 16px; font-size: 1.06rem; color: var(--ink-2); max-width: 32em; }
.search { margin-top: 30px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.search-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.search label { display: block; min-width: 0; }
.search label span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.search select, .search input { min-height: 48px; padding: 0 12px; background: var(--gray-50); }
.search-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.search-foot p { font-size: .84rem; color: var(--sub); }
.search-out { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.search-out h2 { font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
.so-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.so-row:last-child { border-bottom: 0; }
.so-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.so-st { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.so-free { background: var(--green-tint); color: var(--green); }
.so-hold { background: var(--amber-tint); color: var(--amber); }
.so-booked { background: var(--gray-100); color: var(--ink-2); }
.so-msg { width: 100%; font-size: .84rem; color: var(--sub); }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 12px; min-height: 520px; }
.mosaic-item { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--gray-100); }
.mosaic-item:first-child { grid-row: span 2; }
.mosaic.is-two { grid-template-rows: 1fr; }
.mosaic.is-two .mosaic-item:first-child { grid-row: auto; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic-item:hover img { transform: scale(1.03); }
.mosaic-label { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); padding: 6px 11px; border-radius: 9px; font-size: .84rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gray-200); font-size: .9rem; font-weight: 500; color: var(--ink-2); background: #fff; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.hx-chips { padding-top: 32px; }

/* 공간 카드 */
.vcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vc { display: flex; flex-direction: column; border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; background: #fff; }
.vc-fig { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.vc-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vc:hover .vc-fig img { transform: scale(1.03); }
.vc-badge { position: absolute; left: 12px; top: 12px; background: #fff; padding: 5px 9px; border-radius: var(--r-xs); font-size: .75rem; font-weight: 700; }
.vc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.vc h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; }
.vc h3 a:hover { color: var(--green); }
.vc-addr { font-size: .82rem; color: var(--sub); margin-top: 2px; }
.vc-line { font-size: .9rem; color: var(--ink-2); }
.vc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-chips span { background: var(--gray-50); border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 7px; font-size: .8rem; }
.vc-btns { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 6px; }
.vc-btns .btn { padding: 0 8px; }
.vc-sub { font-size: .82rem; text-align: center; }
.vc-sub a { color: var(--sub); border-bottom: 1px solid var(--gray-300); }
.vc-sub a:hover { color: var(--green); border-color: currentColor; }
.vc.is-soon { border-style: dashed; border-color: var(--gray-300); background: var(--gray-50); }
.vc-blank { display: grid; place-items: center; text-align: center; height: 100%; color: var(--sub); font-weight: 700; padding: 20px; }
.vc-blank svg { width: 40px; height: 40px; margin: 0 auto 8px; }
.vc.is-dim { opacity: .55; }
.vfilter-note { margin: -8px 0 20px; font-size: .92rem; color: var(--ink-2); }
.vfilter-note b { color: var(--green); }

/* 비교표·표 공통 */
.table-box { border: 1px solid var(--gray-200); border-radius: var(--r); overflow-x: auto; background: #fff; }
.table-scroll { overflow-x: auto; }
.matrix, .compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.compare caption, .matrix caption { caption-side: top; text-align: left; color: var(--sub); font-size: .86rem; padding: 0 0 10px; }
.compare th, .compare td, .matrix th, .matrix td { padding: 15px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.compare thead th, .matrix thead th { background: var(--gray-50); border-top: 0; font-weight: 800; }
.compare thead th a:hover { color: var(--green); }
.compare tbody th, .matrix tbody th { color: var(--sub); font-weight: 500; white-space: nowrap; width: 9em; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.nodot { display: inline-block; width: 12px; height: 2px; background: var(--gray-300); vertical-align: middle; }

/* 행사별 추천 */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.type-card { display: block; }
.type-fig { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--gray-100); }
.type-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.type-card:hover .type-fig img { transform: scale(1.03); }
.type-card h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 800; }
.type-card p { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .88rem; font-weight: 700; color: var(--green); }
.type-card:hover p .arr { transform: translateX(3px); }

/* 사례 카드 */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; }
.case-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--gray-100); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case-media img { transform: scale(1.03); }
.case-media.is-empty { display: grid; place-items: center; color: var(--sub); font-weight: 700; }
.case-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--green); }
.case-meta span { color: var(--sub); font-weight: 500; }
.case-title { font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; margin-top: 4px; line-height: 1.4; }
.case-title a:hover { color: var(--green); }
.case-sum { margin-top: 8px; color: var(--ink-2); font-size: .92rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hcases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hcase { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; background: #fff; }
.hcase-fig { position: relative; display: block; background: var(--gray-100); min-height: 240px; }
.hcase-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcase-fig.is-empty { display: grid; place-items: center; color: var(--sub); font-weight: 700; }
.hcase-body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.hcase-meta { font-size: .82rem; font-weight: 700; color: var(--green); }
.hcase h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em; }
.hcase h3 a:hover { color: var(--green); }
.hcase-date { font-size: .86rem; color: var(--sub); }
.hcase-sum { margin-top: 6px; font-size: .92rem; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* 두 갈래 안내 카드 */
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ccard { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r); background: var(--gray-50); border: 1px solid var(--line-2); }
.ccard.is-green { background: var(--green-tint); border-color: var(--green-line); }
.ccard h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; }
.ccard p { color: var(--ink-2); font-size: .96rem; }
.ccard-fig { display: block; aspect-ratio: 16 / 7; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.ccard-fig img { width: 100%; height: 100%; object-fit: cover; }
.ccard .btn { align-self: flex-start; margin-top: 4px; }

/* 진행 순서 */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; border: 1px solid var(--gray-200); border-radius: var(--r); padding: 22px; background: #fff; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 14px; }
.steps h3 { font-weight: 800; font-size: 1.04rem; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: .9rem; line-height: 1.7; }

/* 문의 유도 */
.cta { padding: 0 0 96px; }
.sec-tone + .cta, .phead + .cta { padding-top: 88px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--green); color: #fff; border-radius: 24px; padding: 52px 56px; }
.cta h2 { font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.04em; line-height: 1.32; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .8); max-width: 34em; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 하단 */
.foot { background: var(--gray-50); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .9rem; color: var(--ink-2); }
.foot-in { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.wm-foot { width: 160px; color: var(--ink); }
.foot-line { margin-top: 18px; color: var(--sub); line-height: 1.8; }
.foot-col h2 { font-size: .9rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.foot-col li { margin: 6px 0; }
.foot-col a { color: var(--ink-2); }
.foot-col a:hover { color: var(--green); }
.foot-col small { color: var(--sub); }
.foot-legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--sub); font-size: .8rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-legal p[lang='en'] { letter-spacing: .06em; }

/* 모바일 하단 문의 바 */
.mbar { display: none; }

/* 페이지 머리 */
.phead { padding: 56px 0 40px; background: var(--gray-50); border-bottom: 1px solid var(--line); }
.phead .en { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--green-tint); color: var(--green); font-size: .74rem; letter-spacing: .08em; }
.phead h1 { font-weight: 800; font-size: clamp(2rem, 3.8vw, 2.9rem); letter-spacing: -.045em; line-height: 1.22; margin-top: 14px; }
.phead p:not(.en) { margin-top: 12px; color: var(--ink-2); max-width: 42em; }
.phead .links { margin-top: 22px; }
.phead + .sec, .phead + .sec-tight { padding-top: 44px; }

/* 공간 목록 페이지(이전 카드) */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vcard { border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; }
.vcard-fig { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.vcard-fig img { width: 100%; height: 100%; object-fit: cover; }
.vcard-fig .sd { height: 88%; }
.vcard-body { padding: 22px; }
.vcard h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em; margin-top: 6px; }
.vcard-where { color: var(--sub); font-size: .9rem; margin-top: 2px; }
.vcard-sum { margin-top: 10px; color: var(--ink-2); }
.vcard-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vcard-sub { margin-top: 12px; }
.mini { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.mini dt { font-size: .76rem; color: var(--sub); }
.mini dd { font-size: .96rem; font-weight: 700; }

/* 공간 상세 */
.vhead { padding: 36px 0 28px; }
.crumb { font-size: .86rem; color: var(--sub); margin-bottom: 18px; }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--green); }
.vhead-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 8px; }
.vhead h1 { font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: -.045em; line-height: 1.18; }
.vhead-line { font-size: clamp(1.04rem, 1.5vw, 1.2rem); margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.vphotos .gal-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--gray-100); overflow: hidden; }
.vfig { position: relative; display: block; aspect-ratio: 2.2 / 1; max-height: 68vh; overflow: hidden; border-radius: var(--r); }
.vfig img { width: 100%; height: 100%; object-fit: cover; }
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gal .gal-item { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.03); }
.gal-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 21, 19, .55); color: #fff; font-size: .92rem; font-weight: 700; }
.vspec { padding-top: 28px; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spec div { padding: 18px 20px; border-radius: var(--r-sm); background: var(--gray-50); border: 1px solid var(--line-2); }
.spec dt { font-size: .8rem; color: var(--sub); font-weight: 600; }
.spec dd { font-weight: 800; font-size: clamp(1.1rem, 1.7vw, 1.35rem); margin-top: 4px; letter-spacing: -.03em; }
.vhead-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.about-text > p { margin-top: 16px; font-size: 1.02rem; color: var(--ink-2); line-height: 1.9; }
.about h3, .dvs h3 { font-size: .86rem; font-weight: 700; color: var(--sub); margin-top: 30px; }
.ticks { margin-top: 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding: 12px 16px 12px 42px; border-radius: var(--r-sm); background: var(--gray-50); }
.ticks li::before { content: ''; position: absolute; left: 17px; top: 1.15em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { border: 1px solid var(--gray-200); padding: 5px 12px; border-radius: 999px; font-size: .86rem; color: var(--ink-2); background: #fff; }
.yt, .dv { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--ink); overflow: hidden; border-radius: var(--r-sm); }
.yt img, .dv img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .2s; }
.yt:hover img, .dv:hover img { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.play::after { content: ''; position: absolute; left: 24px; top: 19px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cap { font-size: .84rem; color: var(--sub); margin-top: 8px; }
.dvs { margin-top: 24px; }
.dvs h3 { margin: 0 0 10px; }
.dv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dv { aspect-ratio: 16 / 10; }
.dv .play { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
.dv .play::after { left: 16px; top: 13px; border-width: 8px 0 8px 12px; }

.plan { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.plan-fig { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r); padding: 20px 22px; }
.plan-fig .sd-cap { border-top: 1px solid var(--line-2); padding-top: 12px; }
.plan-fig-solo { max-width: 760px; margin-inline: auto; }
.floors { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 440px; }
.floors th, .floors td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.floors thead th { background: var(--gray-50); border-bottom: 0; font-size: .8rem; color: var(--sub); font-weight: 600; }
.floors thead th:first-child { border-radius: 10px 0 0 10px; }
.floors thead th:last-child { border-radius: 0 10px 10px 0; }
.floors tbody th { font-weight: 800; white-space: nowrap; }
.floors td:nth-child(1), .floors td:nth-child(2) { white-space: nowrap; }
.floors tbody th small { display: block; font-weight: 400; color: var(--sub); }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.two > * { min-width: 0; }
.rows { margin-top: 18px; border-top: 1px solid var(--line); }
.rows div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--sub); font-size: .9rem; }
.rows dd a { color: var(--green); font-weight: 600; border-bottom: 1px solid currentColor; }
.rows-sm { font-size: .93rem; }
.rows-sm div { grid-template-columns: 6.5em minmax(0, 1fr); padding: 10px 0; }

/* 건물 구성 그림 */
.fig-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.fig-head p { margin-top: 12px; color: var(--sub); }
.fig-box { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; }
.tabs { display: flex; gap: 6px; padding: 8px; background: var(--gray-50); border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: 0; border-radius: 10px; padding: 11px 10px; font-size: .94rem; font-weight: 600; color: var(--sub); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: #fff; color: var(--green); font-weight: 800; box-shadow: 0 1px 3px rgba(17, 21, 19, .12); }
.pane { padding: 20px 24px 22px; }
.pane-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.sd-cap { font-size: .93rem; min-height: 1.7em; color: var(--ink-2); }
.sd-cap b { margin-right: 8px; font-weight: 800; color: var(--ink); }

/* 단면도 */
.sd { width: 100%; height: 320px; }
.sd-ground { stroke: var(--ink); stroke-width: 1.2; }
.sd-earth { fill: var(--gray-100); }
.sd-floor rect { fill: #fff; stroke: var(--ink); stroke-width: 1.2; transition: fill .15s; }
.sd-floor.is-below rect { fill: var(--gray-100); }
.sd-floor.is-roof rect { fill: none; stroke-dasharray: 4 4; }
.sd-floor.is-ghost rect { fill: none; stroke: var(--gray-300); stroke-dasharray: 3 5; }
.sd:has(.is-ghost) .sd-floor:not(.is-ghost) rect { fill: var(--green-tint); stroke: var(--green); stroke-width: 2; }
.sd-floor[tabindex] { cursor: pointer; outline: none; }
.sd-floor[tabindex]:hover rect, .sd-floor[tabindex]:focus rect, .sd-floor.is-on rect { fill: var(--green-tint); stroke: var(--green); stroke-width: 2; }
.sd-f { font-size: 16px; font-weight: 700; fill: var(--ink); }
.sd-a { font-size: 15px; fill: var(--sub); font-variant-numeric: tabular-nums; }
.is-ghost .sd-f { fill: #a6aca8; font-weight: 400; }
.is-roof .sd-f, .is-roof .sd-a { font-size: 13px; }
.sd-bname { font-size: 19px; font-weight: 800; fill: var(--ink); }
.sd-btotal { font-size: 14px; fill: var(--sub); }
.sd-link { fill: var(--green); }
.sd-linklabel { font-size: 14px; font-weight: 700; fill: var(--green); }
.sd-note { font-size: 14px; fill: var(--sub); }
.sd-dim { stroke: var(--green); stroke-width: 1.2; }
.sd-dimlabel { font-size: 15px; font-weight: 700; fill: var(--green); }
.sd-soon { fill: none; stroke: #a6aca8; stroke-width: 1.2; stroke-dasharray: 5 5; }
.sd-soonlabel { font-size: 18px; font-weight: 700; fill: var(--sub); }

/* 예약 현황 달력 */
.cal { margin-top: 18px; border: 1px solid var(--gray-200); border-radius: var(--r); padding: 20px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font-weight: 800; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; font-size: 1rem; }
.cal-nav button:hover:not([disabled]) { border-color: var(--ink); }
.cal-nav button[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .76rem; color: var(--sub); padding: 4px 0; font-weight: 600; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-size: .9rem; border-radius: 9px; font-variant-numeric: tabular-nums; }
.cal-day.is-past { color: #c3c8c5; }
.cal-day.is-booked { background: var(--ink); color: #fff; }
.cal-day.is-hold { background: var(--amber-tint); color: var(--amber); box-shadow: inset 0 0 0 1px #e8c98a; }
.cal-day.is-closed { background: var(--gray-100); color: #a6aca8; text-decoration: line-through; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--green); font-weight: 800; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .82rem; color: var(--sub); }
.cal-legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.cal-legend .lg-booked { background: var(--ink); }
.cal-legend .lg-hold { background: var(--amber-tint); box-shadow: inset 0 0 0 1px #e8c98a; }
.cal-legend .lg-closed { background: var(--gray-100); }
.cal-loading { color: var(--sub); font-size: .92rem; }

/* 사례 목록 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filters button { background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; padding: 8px 16px; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.cdetail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 44px; padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.cdetail.no-fig { grid-template-columns: 1fr; }
.cdetail.no-fig .cdetail-body { max-width: 760px; }
.cdetail h2 { font-weight: 800; font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.04em; line-height: 1.3; margin: 6px 0 12px; }
.cdetail-body > p { color: var(--ink-2); }
.cdetail .case-meta { margin-top: 0; }
.cdetail .rows { margin-top: 20px; }
.cgal .gal-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--gray-100); overflow: hidden; }
.cg-main { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); }
.cg-main img { width: 100%; height: 100%; object-fit: cover; }
.cg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.cg-row .gal-item { aspect-ratio: 4 / 3; border-radius: var(--r-xs); }

/* 양식 */
.form-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 48px; align-items: start; }
.form fieldset { border: 1px solid var(--gray-200); border-radius: var(--r); padding: 26px 26px 8px; margin: 0 0 20px; min-width: 0; background: #fff; }
.form legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; padding: 0; margin-bottom: 20px; }
.form legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: .82rem; font-weight: 800; }
.field { margin-bottom: 18px; min-width: 0; }
.field > label, .label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.field > label em, .label em { font-style: normal; color: var(--green); font-size: .76rem; margin-left: 4px; }
.field > label small, .label small { color: var(--sub); font-weight: 400; margin-left: 4px; }
input[type='text'], input[type='tel'], input[type='email'], input[type='number'], input[type='date'], input[type='time'], input[type='month'], input[type='url'], input[type='password'], input[type='search'], select, textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23646b67' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { resize: vertical; line-height: 1.7; }
input:hover, select:hover, textarea:hover { border-color: var(--gray-300); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.is-invalid { border-color: var(--bad) !important; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 22px; }
.pick-item { position: relative; display: block; cursor: pointer; }
.pick-item input { position: absolute; opacity: 0; inset: 0; }
.pick-item span { display: block; padding: 14px 16px; border: 1px solid var(--gray-200); border-radius: var(--r-sm); height: 100%; background: #fff; transition: border-color .15s; }
.pick-item b { display: block; font-weight: 800; font-size: 1rem; }
.pick-item small { color: var(--sub); font-size: .82rem; }
.pick-item:hover span { border-color: var(--gray-300); }
.pick-item input:checked + span { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.pick-item input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; display: inline-flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.checks .check { border: 1px solid var(--gray-200); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: .9rem; background: #fff; }
.checks .check:has(input:checked) { border-color: var(--green); background: var(--green-tint); color: var(--green); font-weight: 600; }
.check input { width: 17px; height: 17px; margin: 4px 0 0; accent-color: var(--green); flex: none; }
.agree { margin-top: 8px; }
.agree small { display: block; color: var(--sub); font-size: .82rem; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--bad-tint); color: var(--bad); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.avail { margin: 2px 0 8px; padding: 12px 16px; border-radius: 10px; background: var(--gray-50); font-size: .9rem; color: var(--ink-2); }
.avail.is-free { background: var(--green-tint); color: var(--green); }
.avail.is-hold { background: var(--amber-tint); color: var(--amber); }
.avail.is-booked { background: var(--bad-tint); color: var(--bad); }
.form-side { position: sticky; top: 96px; border: 1px solid var(--gray-200); border-radius: var(--r); padding: 22px; background: var(--gray-50); }
.form-side h2 { font-weight: 800; font-size: 1.05rem; }
.mini-steps { counter-reset: ms; margin-top: 12px; }
.mini-steps li { counter-increment: ms; position: relative; padding: 10px 0 10px 32px; font-size: .9rem; color: var(--ink-2); }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .74rem; font-weight: 800; }
.side-ch { margin-top: 14px; font-size: .88rem; color: var(--sub); }
.side-ch a { color: var(--green); font-weight: 600; border-bottom: 1px solid currentColor; }
.done { border: 1px solid var(--gray-200); border-radius: var(--r); padding: 40px; background: #fff; }
.done h2 { font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; }
.done > p { margin-top: 10px; color: var(--ink-2); }
.done-code { display: flex; align-items: baseline; gap: 16px; margin-top: 24px !important; padding: 18px 22px; border-radius: var(--r-sm); background: var(--green-tint); }
.done-code span { color: var(--green); font-size: .86rem; font-weight: 700; }
.done-code strong { font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); }

/* 내 문의 */
.lookup { max-width: 760px; }
.my-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.my-head h2 { font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; }
.my-head p { color: var(--sub); font-size: .9rem; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); margin: 28px 0 8px; }
.track li { position: relative; padding-top: 22px; font-size: .84rem; color: var(--sub); text-align: center; }
.track li::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--gray-200); }
.track li::after { content: ''; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--gray-300); }
.track li.is-done::before, .track li.is-now::before { background: var(--green); }
.track li.is-done::after { background: var(--green); border-color: var(--green); }
.track li.is-now::after { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.track li.is-now { color: var(--ink); font-weight: 700; }
.my-alert { background: var(--amber-tint); color: var(--amber); border-radius: 10px; padding: 13px 16px; margin-top: 18px; font-weight: 600; }
.my-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; margin-top: 36px; align-items: start; }
.my-sec { margin-bottom: 40px; }
.my-sec > h3 { font-size: 1.15rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.quote { border: 1px solid var(--gray-200); border-radius: var(--r); margin-top: 16px; background: #fff; overflow: hidden; }
.quote-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--gray-50); }
.quote-head strong { font-weight: 800; font-size: 1.06rem; }
.quote-head span { color: var(--sub); font-size: .86rem; }
.quote table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.quote th, .quote td { padding: 11px 20px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.quote thead th { font-size: .78rem; color: var(--sub); font-weight: 600; }
.quote td.num, .quote th.num { text-align: right; }
.quote td small { display: block; color: var(--sub); }
.quote-sum { padding: 14px 20px; }
.quote-sum div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--sub); }
.quote-sum .total { color: var(--ink); font-weight: 800; font-size: 1.3rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.quote-note { padding: 0 20px 16px; color: var(--sub); font-size: .9rem; white-space: pre-line; }
.quote-act { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; background: var(--gray-50); }
.st { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--gray-100); color: var(--sub); vertical-align: middle; }
.st-sent { background: var(--amber-tint); color: var(--amber); }
.st-accepted { background: var(--green-tint); color: var(--green); }
.st-declined, .st-expired { background: var(--bad-tint); color: var(--bad); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; max-height: 480px; overflow-y: auto; }
.msg { max-width: 86%; padding: 11px 15px; background: var(--gray-50); border: 1px solid var(--line-2); border-radius: 14px; white-space: pre-line; font-size: .93rem; }
.msg small { display: block; font-size: .74rem; color: var(--sub); margin-top: 4px; }
.msg-customer { align-self: flex-end; background: var(--green); color: #fff; border-color: var(--green); }
.msg-customer small { color: rgba(255, 255, 255, .75); }
.msg-admin { align-self: flex-start; }
.msg-system { align-self: center; background: none; border: 0; color: var(--sub); font-size: .84rem; text-align: center; }
.chat-empty { color: var(--sub); font-size: .92rem; padding: 16px 0; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; }
.chat-form textarea { min-height: 50px; }

/* 자주 묻는 질문 */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 1.02rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; background: var(--ink); }
.faq summary::before { content: ''; position: absolute; right: 28px; top: calc(50% - 6px); width: 2px; height: 14px; background: var(--ink); transition: transform .2s; }
.faq details[open] summary::before { transform: scaleY(0); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); line-height: 1.85; }

/* 사진·영상 크게 보기 */
.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(10, 12, 11, .94); }
.lb-in { position: fixed; inset: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 60px 72px 20px; }
.lb img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 8px; }
.lb-cap { color: rgba(255, 255, 255, .85); font-size: .88rem; padding: 14px 0; min-height: 2.8em; text-align: center; }
.lb button { position: fixed; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; width: 46px; height: 46px; font-size: 1.1rem; }
.lb button:hover { border-color: #fff; }
.lb-close { top: 16px; right: 18px; }
.lb-prev { left: 16px; top: 50%; margin-top: -23px; }
.lb-next { right: 16px; top: 50%; margin-top: -23px; }
.vd .lb-in { grid-template-rows: 1fr auto; }
.vd-frame { width: min(100%, 1100px); height: min(calc(100vh - 140px), 620px); background: #000; border-radius: 10px; overflow: hidden; }
.vd-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 층별 안내 */
.fg-sum { max-width: 46em; color: var(--ink-2); margin: -12px 0 24px; }
.fg-box { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; }
.fg-tabs { overflow-x: auto; scrollbar-width: none; }
.fg-tabs button { flex: 1 0 auto; min-width: 100px; white-space: nowrap; }
.fg-tabs b { font-weight: 800; margin-left: 2px; }
.fg-pane { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; padding: 28px; }
.fg-main { display: block; padding: 0; border: 0; background: var(--gray-100); aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-sm); }
.fg-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fg-main:hover img { transform: scale(1.02); }
.fg-side { min-width: 0; display: flex; flex-direction: column; }
.fg-side .en { color: var(--green); }
.fg-side h3 { font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.04em; line-height: 1.3; margin-top: 4px; }
.fg-side h3 small { display: block; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--sub); margin-top: 4px; }
.fg-hl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; }
.fg-hl span { font-size: .86rem; padding: 5px 11px; border-radius: 999px; background: var(--gray-50); border: 1px solid var(--line-2); }
.fg-hl .fg-k { border: 0; background: none; padding: 0 4px 0 0; color: var(--green); font-weight: 700; font-size: .84rem; }
.fg-plan { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; padding: 14px 14px 10px; }
.fg-plan .gal-item { display: block; width: 100%; padding: 0; border: 0; background: none; }
.fg-plan img { max-height: 240px; width: auto; margin-inline: auto; }
.fg-plan figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; margin-top: 10px; font-size: .78rem; color: var(--sub); }
.fg-plan figcaption i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; border: 1px solid rgba(0, 0, 0, .08); vertical-align: -1px; }
.fg-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 16px; }
.fg-details .gal-item { display: block; width: 100%; padding: 0; border: 0; background: var(--gray-100); aspect-ratio: 669 / 355; overflow: hidden; border-radius: 10px; }
.fg-details img { width: 100%; height: 100%; object-fit: cover; }
.fg-details figcaption { font-size: .8rem; color: var(--sub); margin-top: 6px; }

/* 오시는 길 */
.addr { margin-top: 14px; font-size: 1.04rem; font-weight: 600; }
.stations { margin-top: 16px; display: grid; gap: 8px; }
.stations li { display: grid; grid-template-columns: 5em minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--gray-50); }
.st-min { display: flex; align-items: baseline; gap: 3px; color: var(--green); }
.st-min b { font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.03em; }
.st-min small { font-size: .82rem; font-weight: 700; }
.st-name { font-weight: 700; }
.st-name small { display: block; font-weight: 400; color: var(--sub); font-size: .84rem; }
.map-img { display: block; width: 100%; margin-top: 18px; padding: 0; border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; background: #fff; }
.map-img img { width: 100%; }

/* 공간소개서 */
.sub-link { color: var(--sub); font-size: .9rem; border-bottom: 1px solid var(--gray-300); }
.sub-link:hover { color: var(--green); border-color: currentColor; }
.deck-band-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.deck-band-txt h2 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -.04em; line-height: 1.3; margin-top: 8px; }
.deck-band-txt p { margin: 12px 0 24px; color: var(--ink-2); }
.deck-band-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.deck-mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
.deck-mini span { display: block; margin-top: 8px; font-size: .88rem; color: var(--sub); }
.bro { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 48px; align-items: start; }
.decks { display: grid; gap: 12px; }
.deck { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; padding: 14px; border: 1px solid var(--gray-200); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s; }
.deck:hover { border-color: var(--gray-300); }
.deck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.deck:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: var(--green-tint); }
.deck:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.deck-fig { position: relative; display: block; align-self: start; }
.deck-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.deck-check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--gray-300); background: #fff; }
.deck:has(input:checked) .deck-check { background: var(--green); border-color: var(--green); }
.deck:has(input:checked) .deck-check::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.deck-body { display: flex; flex-direction: column; min-width: 0; }
.deck-body .en { font-size: .7rem; }
.deck-body b { font-weight: 800; font-size: 1.12rem; margin-top: 4px; }
.deck-body small { color: var(--sub); font-size: .82rem; }
.deck-list { display: block; margin-top: 10px; border-top: 1px solid var(--line-2); }
.deck-list span { display: block; font-size: .85rem; color: var(--ink-2); padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.bro-miss { margin-top: 16px; font-size: .9rem; color: var(--sub); }
.bro-miss a { color: var(--green); font-weight: 600; border-bottom: 1px solid currentColor; }
.bro-prev { margin-top: 24px; }
.bro-form .form { border: 1px solid var(--gray-200); border-radius: var(--r); padding: 26px; background: #fff; }
.dl-list { display: grid; gap: 10px; margin-top: 20px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff; }
.dl:hover { border-color: var(--green); background: var(--green-tint); }
.dl b { display: block; font-weight: 700; }
.dl small { display: block; color: var(--sub); font-size: .84rem; }
.dl svg { width: 22px; height: 22px; flex: none; color: var(--green); }
.bro-next { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.bro-next p { color: var(--ink-2); font-size: .93rem; margin-bottom: 14px; }

/* 공간 파트너 */
.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.role { padding: 22px; border-radius: var(--r); border: 1px solid var(--gray-200); background: #fff; }
.role h3 { font-weight: 800; font-size: 1.02rem; }
.role p { margin-top: 6px; color: var(--ink-2); font-size: .9rem; line-height: 1.7; }
.models { margin-top: 18px; display: grid; gap: 10px; }
.model { padding: 16px 18px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--gray-200); }
.model h3 { font-weight: 800; font-size: 1.02rem; }
.model h3 small { font-weight: 600; font-size: .82rem; color: var(--green); margin-left: 6px; }
.model p { margin-top: 4px; color: var(--ink-2); font-size: .93rem; }
.host-venues { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hv { display: block; }
.hv-fig { display: block; aspect-ratio: 4 / 3; background: var(--gray-100); overflow: hidden; border-radius: var(--r); }
.hv-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hv-blank { display: grid; place-items: center; height: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--sub); border: 1px dashed var(--gray-300); border-radius: var(--r); }
.hv:hover img { transform: scale(1.03); }
.hv-name { display: block; font-weight: 800; font-size: 1.06rem; margin-top: 10px; }
.hv-name small { font-size: .8rem; font-weight: 500; color: var(--sub); }
.hv-meta { display: block; color: var(--sub); font-size: .86rem; }
.steps-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hc-list { margin-top: 0; }
#apply .form { border: 1px solid var(--gray-200); border-radius: var(--r); padding: 28px; background: #fff; }
#apply .form h2 { font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; }
#apply .form > .hint { margin: 6px 0 22px; }
.qa { margin-top: 10px; }
.qa dt { font-weight: 700; font-size: .93rem; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 12px; }
.qa dt:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.qa dd { margin: 6px 0 0; color: var(--sub); font-size: .9rem; }
.ticks-plain li { background: none; }

@media (max-width: 1100px) {
  .vcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { margin-left: 20px; }
  .nav-main a { padding: 9px 10px; }
}
@media (max-width: 1000px) {
  .wrap { width: min(100% - 40px, var(--w)); }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 22px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav-main { flex-direction: column; gap: 2px; }
  .nav-main a { padding: 13px 12px; font-size: 1.02rem; }
  .nav-side { justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 14px; }
  .wm { width: 128px; }
  .hx { padding-top: 32px; }
  .hx-in { grid-template-columns: 1fr; }
  .mosaic { min-height: 0; height: 420px; }
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding: 64px 0; }
  .sec-tone + .sec:not(.sec-tone) { padding-top: 64px; }
  .sec-tight { padding: 40px 0; }
  .fig-in, .about, .plan, .two, .form-wrap, .my-grid, .cdetail, .deck-band-in, .bro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vgrid, .hcases, .ccards { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .type-card { scroll-snap-align: start; }
  .cases { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-side { position: static; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vfig { aspect-ratio: 4 / 3; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .lb-in { padding: 60px 8px 12px; }
  .sd { height: auto; max-height: 300px; }
  .cta { padding-bottom: 64px; }
  .sec-tone + .cta, .phead + .cta { padding-top: 64px; }
  .cta-in { padding: 40px 32px; }
  .fg-pane { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .fg-main { aspect-ratio: 4 / 3; }
  .roles { grid-template-columns: 1fr 1fr; }
  .host-venues { grid-template-columns: 1fr 1fr; }
  .steps-6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.has-bar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .has-bar .mbar { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .mbar a { display: grid; place-items: center; height: 50px; border-radius: 12px; font-weight: 700; }
  .mbar-main { background: var(--green); color: #fff; }
  .mbar-sub { background: var(--gray-100); color: var(--ink); }
  .hcase { grid-template-columns: 1fr; }
  .hcase-fig { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, var(--w)); }
  .vcs { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .search { padding: 16px; }
  .search-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .search-foot .btn { width: 100%; }
  .mosaic { height: 320px; gap: 8px; }
  .grid2 { grid-template-columns: 1fr; }
  .form fieldset { padding: 20px 18px 4px; }
  .pane { padding: 14px 12px 18px; }
  .tabs button { font-size: .88rem; padding: 10px 4px; }
  .rows div { grid-template-columns: 6.5em minmax(0, 1fr); }
  .done { padding: 26px 20px; }
  .done-code { flex-direction: column; gap: 2px; }
  .track li { font-size: .72rem; }
  .btn-lg { min-height: 52px; padding: 0 22px; }
  .cta-in { padding: 32px 22px; border-radius: 20px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1 1 auto; }
  .ccard { padding: 24px 20px; }
  .phead { padding: 40px 0 30px; }
  .vhead { padding: 28px 0 22px; }
  .types { grid-template-columns: repeat(3, 80%); }
  .fg-pane { padding: 12px; }
  .deck { grid-template-columns: 1fr; gap: 12px; }
  .roles { grid-template-columns: 1fr; }
  .steps-6 { grid-template-columns: 1fr; }
  .deck-band-covers { gap: 10px; }
  .stations li { grid-template-columns: 4.4em minmax(0, 1fr); }
  .st-min b { font-size: 1.8rem; }
  .spec div { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .top, .foot, .cta, .phead, .lookup, .my-side, .quote-act, .my-head .btn, .track, .my-alert, .notice, .mbar { display: none !important; }
  body { font-size: 12pt; background: #fff; padding: 0 !important; }
  .my-grid { display: block; }
  .quote { break-inside: avoid; border-color: #999; }
  body.print-quote .my-sec:not(.is-print), body.print-quote .quote:not(.is-print) { display: none !important; }
}
