/* =====================================================================
   styles.css — 단일 페이지 스타일. 프레임워크 없음.
   팔레트: 화이트 마블 · 블랙 세리프 (로고 "LUMIÈRE — HAUS OF BEAUTY" 기준)
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f8;      /* 아주 연한 마블 그레이 */
  --surface: #ffffff;
  --ink: #111111;
  --ink-soft: #6b6b70;
  --line: #e4e4e7;
  --line-strong: #111111;
  --marble: #d9d9de;      /* 마블 베인 */
  --avail: #111111;       /* 모집 중: 블랙 아웃라인 + 화이트 */
  --avail-soft: #ffffff;
  --occ: #ededef;
  --occ-ink: #8a8a90;
  --radius: 6px;          /* 각진 럭셔리 느낌 */
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.07);
  /* 영문 글리프는 앞의 폰트가, 한글은 Noto 계열이 맡습니다. 모두 SIL OFL — 상업적 이용 가능 */
  --font-display: "Cormorant Garamond", "Cormorant", "Nanum Myeongjo", "Noto Serif KR", "Apple SD Gothic Neo", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", sans-serif;
  --nav-h: 68px;
  --bar-h: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-transform: uppercase; letter-spacing: 3px; }
h3 { font-size: 1.5rem; letter-spacing: 0.3px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.muted { color: var(--ink-soft); }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 1px; background: var(--ink); margin: 18px 0 0; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* 로고 스타일 라인: ——— TEXT ——— */
.rule-text { display: flex; align-items: center; gap: 16px; text-transform: uppercase; letter-spacing: 4px; font-size: 0.72rem; font-weight: 500; color: var(--ink); }
.rule-text::before, .rule-text::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: 0.8; }
@media (max-width: 600px) {
  .rule-text { letter-spacing: 2.5px; font-size: 0.66rem; }
  .rule-text::after { display: none; }
  .rule-text::before { flex-basis: 24px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 26px; border-radius: 2px; border: 1px solid var(--ink);
  font-weight: 500; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; font-family: var(--font-body); line-height: 1.2;
  transition: background .18s ease, color .18s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 12px 30px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-outline, .btn-light, .btn-ghost { background: #fff; color: var(--ink); }
.btn-outline:hover, .btn-light:hover, .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-kakao { background: #FEE500; color: #191919; border-color: #FEE500; }
.btn-kakao:hover { background: #f5dc00; }
.btn svg { width: 16px; height: 16px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; line-height: 1; white-space: nowrap; }
.brand .wordmark { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; letter-spacing: 5px; text-transform: uppercase; }
.brand .tagline { font-family: var(--font-body); font-size: 0.55rem; letter-spacing: 3.5px; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; padding-left: 2px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.72rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-height: 44px; min-width: 44px; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 2px;
  padding: 6px 14px; font-weight: 500; font-size: 0.72rem; letter-spacing: 1.5px; cursor: pointer; font-family: inherit;
}
.lang-toggle:hover { background: var(--ink); color: #fff; }
.nav-form-btn { min-height: 38px; padding: 6px 16px; font-size: 0.72rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
    box-shadow: 0 20px 40px rgba(17,17,17,0.08);
  }
  .nav-open .site-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 15px calc((100vw - min(1120px, 92vw)) / 2); font-size: 0.82rem; }
  .nav-form-btn { display: none; }
  .brand .wordmark { font-size: 1.3rem; letter-spacing: 4px; }
  .brand .tagline { font-size: 0.5rem; letter-spacing: 3px; }
}

/* ---------- Hero (화이트 마블) ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 88px; color: var(--ink); overflow: hidden;
  background: #f4f4f5 url("../images/marble.svg") center / cover no-repeat;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* 사진 위에 화이트 베일 — 검정 글자가 읽히도록 */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 45%, rgba(255,255,255,0.55) 100%);
}
.hero-bg:not(:has(img))::after { background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0)); }
.hero .wrap { position: relative; z-index: 1; max-width: 800px; margin-left: max(4vw, calc((100vw - 1120px) / 2)); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 2px;
  background: var(--ink); color: #fff; font-weight: 500; font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 26px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
.badge.none { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.badge.none::before { animation: none; background: var(--ink); }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
.eyebrow { margin-bottom: 18px; }
.hero h1 { color: var(--ink); margin-bottom: 18px; }
.hero .subtitle { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-style: italic; font-weight: 400; color: #3a3a3f; margin-bottom: 18px; }
.hero .lead { font-size: 1.02rem; color: var(--ink-soft); max-width: 600px; margin-bottom: 30px; }

/* ---------- Lounge ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--occ); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 1px; background: var(--ink); margin-top: 0.8em;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floor plan ---------- */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 48px; align-items: start; }
.plan-svg { width: 100%; height: auto; display: block; }
.plan-svg .room { cursor: pointer; }
.plan-svg .room rect { fill: var(--occ); stroke: #d4d4d8; stroke-width: 1.5; transition: fill .15s ease, stroke .15s ease; }
.plan-svg .room text { fill: var(--occ-ink); font-family: var(--font-body); pointer-events: none; }
.plan-svg .room .room-num { font-weight: 600; font-size: 14px; letter-spacing: 1px; fill: var(--ink); }
.plan-svg .room .room-label { font-size: 12px; }
.plan-svg .room.available rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.plan-svg .room.available .room-label { fill: var(--ink); font-weight: 600; letter-spacing: 2px; font-size: 11px; }
.plan-svg .room:not(.has-target) { cursor: default; }
.plan-svg .room.has-target:hover rect { stroke: var(--ink); fill: #fafafa; }
.plan-svg .room:focus { outline: none; }
/* 키보드 포커스: 모집 중(이미 검정 테두리)인 방도 구분되도록 굵은 점선 테두리 */
.plan-svg .room:focus-visible rect { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 6 4; fill: #fafafa; }
.plan-svg .lounge rect { fill: #fff; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 0; }
.plan-svg .lounge text { fill: var(--ink); font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.plan-svg .hall rect { fill: #f7f7f8; stroke: #d4d4d8; stroke-width: 1; stroke-dasharray: 4 4; }
.plan-svg .hall text { fill: #a0a0a6; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; }
.plan-svg .area rect { fill: #fbfbfc; stroke: #c9c9cf; stroke-width: 1.2; stroke-dasharray: 5 4; }
.plan-svg .area-restroom rect { fill: #f1f1f3; stroke-dasharray: 0; }
/* 복도 위의 작은 표시 (음료·스낵 테이블) */
.plan-svg .hall-item rect { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.plan-svg .hall-item text { fill: var(--ink); font-family: var(--font-body); pointer-events: none; }
.plan-svg .hall-item .hall-title { font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
.plan-svg .hall-item .hall-sub { font-size: 7.5px; fill: var(--ink-soft); letter-spacing: 0.3px; }
.plan-svg.compact .hall-item .hall-title { font-size: 8.5px; letter-spacing: 0; }
.plan-svg.compact .hall-item .hall-sub { font-size: 6.5px; letter-spacing: 0; }
.plan-svg .area.narrow .area-title { font-size: 11px; }
.plan-svg .area.narrow .area-sub { font-size: 8px; letter-spacing: 1px; }
.plan-svg .area text { fill: var(--ink-soft); font-family: var(--font-body); font-size: 12px; font-weight: 500; pointer-events: none; }
.plan-svg .area .area-sub { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; fill: #a0a0a6; font-weight: 400; }
.plan-svg.compact .room .room-num { font-size: 13px; }
.plan-svg.compact .room .room-label { font-size: 11px; }
.plan-svg.compact .lounge text { font-size: 15px; letter-spacing: 2px; }
.plan-svg.compact .area text { font-size: 11px; }
.plan-svg.compact .area.narrow .area-title { font-size: 10px; }
.plan-svg.compact .area.narrow .area-sub { font-size: 7.5px; letter-spacing: 0.5px; }
.plan-svg.compact .hall text { display: none; }
.plan-svg .entrance text { fill: var(--ink-soft); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; }
.plan-svg .entrance path { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.plan-legend { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.plan-legend li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.swatch { width: 26px; height: 18px; border-radius: 2px; border: 1.5px solid; flex: none; }
.swatch.available { background: #fff; border-color: var(--ink); }
.swatch.occupied { background: var(--occ); border-color: #d4d4d8; }
.plan-side .stat { font-family: var(--font-display); font-size: 4rem; font-weight: 400; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.plan-side .stat-label { color: var(--ink-soft); margin-bottom: 26px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; }
@media (max-width: 800px) {
  .plan-wrap { grid-template-columns: 1fr; gap: 24px; }
  .plan-side { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; }
  .plan-side .stat { grid-row: 1 / span 2; font-size: 3rem; margin: 0; }
  .plan-side .stat-label { margin: 0; }
  .plan-legend { margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .plan-side .btn { grid-column: 1 / -1; margin-top: 12px; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 26px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .card-photo { aspect-ratio: 4/3; background: var(--occ); position: relative; }
.card .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-head h3 { margin: 0; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 2px; font-size: 0.62rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.pill.avail { background: var(--ink); color: #fff; }
.pill.occ { background: var(--occ); color: var(--occ-ink); }
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 0.9rem; }
.spec-list li { display: flex; flex-direction: column; padding: 9px 10px; background: var(--bg-alt); border-radius: 2px; }
.spec-list .k { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-soft); }
.spec-list .v { font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount { font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; }
.price .per { color: var(--ink-soft); font-size: 0.85rem; letter-spacing: 0.5px; }
.price .alt { width: 100%; color: var(--ink-soft); font-size: 0.85rem; }
.uses { font-size: 0.88rem; color: var(--ink-soft); }
.uses summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; font-size: 0.78rem; letter-spacing: 1.2px; text-transform: uppercase; }
.uses ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 4px; }
.card .btn { margin-top: auto; }
.empty-note { padding: 28px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }

/* ---------- Rent table ---------- */
.rent-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { margin-bottom: 16px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2.5px; font-family: var(--font-body); font-weight: 600; }
table.terms { width: 100%; border-collapse: collapse; }
table.terms th, table.terms td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { font-weight: 400; color: var(--ink-soft); width: 45%; }
table.terms td { font-weight: 600; }
table.terms tr:last-child th, table.terms tr:last-child td { border-bottom: 0; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 8px 14px; border-radius: 2px; background: #fff; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; }
.tag-list li.yes { border-color: var(--ink); }
.tag-list li.yes::before { content: "✓ "; font-weight: 700; }
.panel + .panel { margin-top: 24px; }
@media (max-width: 800px) { .rent-grid { grid-template-columns: 1fr; } .panel { padding: 20px; } }

/* ---------- Tenants ---------- */
.tenant-card .card-body { gap: 8px; }
.tenant-card .suite-no { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--ink-soft); font-weight: 600; }
.tenant-card h3 { margin: 0; font-size: 1.6rem; }
.tenant-card .cat { color: var(--ink-soft); }
.tenant-card .link { margin-top: 8px; font-weight: 600; font-size: 0.75rem; letter-spacing: 1.8px; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border-bottom: 1px solid var(--ink); align-self: flex-start; }
.tenant-card .link:hover { color: var(--ink-soft); border-color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--occ); aspect-ratio: 4/3; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
  background: linear-gradient(0deg, rgba(17,17,17,0.55), transparent);
}
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq-list summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.3rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-body); font-size: 1.3rem; font-weight: 300; flex: none; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.address-block { font-style: normal; font-size: 1.05rem; line-height: 1.7; }
.address-block strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; margin-bottom: 4px; letter-spacing: 1px; }
.areas { list-style: none; padding: 0; margin: 16px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 6px 12px; border-radius: 2px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 0.72rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--occ); }
.map-box img { width: 100%; height: 100%; object-fit: cover; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-box .map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.35); }
/* map.jpg 가 없으면(img 가 제거되면) 마블 배경 위에 버튼만 */
.map-box:not(:has(img, iframe)) { background: #f4f4f5 url("../images/marble.svg") center / cover no-repeat; }
.map-box:not(:has(img, iframe)) .map-overlay { background: transparent; }
@media (max-width: 800px) { .location-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Contact (마블 배경 + 블랙 카드) ---------- */
.contact { background: #f4f4f5 url("../images/marble.svg") center / cover no-repeat; color: var(--ink); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li::before {
  counter-increment: step; content: "0" counter(step); flex: none; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.4; min-width: 30px; border-bottom: 1px solid var(--ink);
}
.contact-info { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; display: grid; gap: 20px; }
.contact-info .k { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.contact-info a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.contact-info a:hover { text-decoration-color: #fff; }
.contact-info address { font-style: normal; }
.insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 500; min-height: 44px; text-decoration: none !important; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--ink-soft); padding: 32px 0; font-size: 0.8rem; border-top: 1px solid var(--ink); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--ink); text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.72rem; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; display: inline; }
.site-footer .brand-foot { color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 4px; text-transform: uppercase; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  :root { --bar-h: 78px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 8px 10px; letter-spacing: 1.2px; font-size: 0.72rem; white-space: nowrap; }
  /* 모바일 히어로: 데스크톱처럼 사진을 글 뒤 배경으로 깔고 흰 베일로 은은하게.
     세로로 긴 화면이라 사진의 가운데(로고 사인 + 체어)가 보이도록 위치를 잡습니다 */
  .hero { min-height: auto; padding: calc(var(--nav-h) + 40px) 0 80px; }
  .hero .wrap { margin-left: auto; }
  .hero-bg img { object-position: 56% 50%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.88) 50%, rgba(255,255,255,0.74) 100%); }
  .hero-bg:not(:has(img))::after { background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0)); }
  .hero:not(:has(.hero-bg img)) { padding-bottom: 60px; }
  .hero .form-note { margin-bottom: 0; }
  .cta-row .btn-lg { flex: 1 1 100%; }
  .section { padding: 52px 0; }
  .card .card-body { padding: 18px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

noscript .empty-note { margin: 0; }

/* ---------- 한국어 타이포 보정 ----------
   영문용 넓은 자간·대문자 스타일은 한글에서 어색하므로 lang=ko 일 때 줄입니다. */
html[lang="ko"] {
  /* 한글 페이지에서는 숫자·영문도 Pretendard 로 통일 (Pretendard 의 라틴은 Inter 기반이라 느낌이 같습니다) */
  --font-body: "Pretendard", "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", sans-serif;
  --font-display: "Nanum Myeongjo", "Cormorant Garamond", "Noto Serif KR", "Apple SD Gothic Neo", Georgia, serif;
}
html[lang="ko"] body { line-height: 1.8; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ko"] h1 { letter-spacing: -0.02em; font-weight: 700; line-height: 1.35; font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
html[lang="ko"] h2 { letter-spacing: 0.02em; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; }
html[lang="ko"] h3, html[lang="ko"] .card-head h3 { letter-spacing: 0; font-weight: 700; }
html[lang="ko"] .hero .subtitle { font-style: normal; font-weight: 400; letter-spacing: -0.01em; line-height: 1.5; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
html[lang="ko"] .hero .lead, html[lang="ko"] .muted, html[lang="ko"] .section-head p { font-weight: 400; }
html[lang="ko"] .plan-side .stat, html[lang="ko"] .price .amount, html[lang="ko"] .steps li::before { font-family: "Cormorant Garamond", "Nanum Myeongjo", Georgia, serif; }
html[lang="ko"] .address-block strong, html[lang="ko"] .site-footer .brand-foot, html[lang="ko"] .brand .wordmark, html[lang="ko"] .plan-svg .lounge text { font-family: "Cormorant Garamond", Georgia, serif; }
html[lang="ko"] .tenant-card h3 { font-family: "Cormorant Garamond", "Nanum Myeongjo", Georgia, serif; }
html[lang="ko"] .btn, html[lang="ko"] .lang-toggle, html[lang="ko"] .badge, html[lang="ko"] .pill,
html[lang="ko"] .site-nav a, html[lang="ko"] .rule-text, html[lang="ko"] .areas li,
html[lang="ko"] .tenant-card .link, html[lang="ko"] .uses summary, html[lang="ko"] .site-footer a,
html[lang="ko"] .contact-info .k, html[lang="ko"] .spec-list .k, html[lang="ko"] .plan-side .stat-label,
html[lang="ko"] .insta, html[lang="ko"] .gallery-grid figcaption, html[lang="ko"] .tenant-card .suite-no { letter-spacing: 0.3px; }
html[lang="ko"] .btn { font-size: 0.85rem; font-weight: 600; }
html[lang="ko"] .site-nav a { font-size: 0.82rem; }
html[lang="ko"] .badge { font-size: 0.78rem; }
html[lang="ko"] .faq-list summary { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
html[lang="ko"] .panel h3 { letter-spacing: 0.5px; }
html[lang="ko"] .address-block strong, html[lang="ko"] .site-footer .brand-foot { letter-spacing: 1px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge::before { animation: none; }
  .btn, .gallery-grid img, .site-nav, .card { transition: none; }
}
