/* ==========================================================
   용인원삼.kr — 원삼 센트레빌 퍼스트원 전환형 랜딩페이지 V2
   Dark Editorial Advertising · Swiss Modernism 2.0
   컬러: 딥 블랙/차콜 + 화이트 + 스트롱 레드 (베이지·골드 제한적)
   토큰 정의: design-system/MASTER.md
   ========================================================== */
:root {
  --black: #0a0a0c;
  --charcoal: #141519;
  --charcoal-hi: #1c1e24;
  --white: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --ink-dim: rgba(255, 255, 255, 0.55);
  --red: #e4032e;
  --red-deep: #b00223;
  --beige: #e8dfc9;
  --gold: #b89a5e;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f5f2ea;
  --paper-ink: #23262b;
  --paper-ink-soft: #5a5e66;
  --paper-line: #d9d2c2;
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  color: var(--white);
  background: var(--black);
  line-height: 1.65;
  word-break: keep-all;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, a { touch-action: manipulation; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.m-only { display: none; }

/* 접근성 — 포커스 링 */
:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible, .header-tel:focus-visible, .mobile-cta a:focus-visible {
  outline: 2px solid var(--beige);
}

/* 스크롤 리빌 (JS 활성 시에만 숨김 — 무JS 폴백 안전) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 28px; height: 62px;
}
.brand {
  color: var(--white); font-weight: 900; font-size: 17px; letter-spacing: -0.02em;
  white-space: nowrap;
}
.gnb { display: flex; gap: 22px; margin-left: auto; }
.gnb a {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500;
  padding: 6px 2px;
}
.gnb a:hover { color: var(--white); }
.gnb-consult { color: var(--white) !important; font-weight: 700 !important; }
.header-tel {
  background: var(--red); color: var(--white); font-weight: 700; font-size: 14.5px;
  padding: 11px 16px; border-radius: 4px; white-space: nowrap;
}
.header-tel:hover { background: var(--red-deep); }
.nav-toggle { display: none; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 100px 20px 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero/wonsam-hero-night.webp") center 65% / cover no-repeat;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.86) 0%, rgba(8, 10, 14, 0.74) 45%, rgba(6, 8, 12, 0.92) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-badge {
  display: inline-block; background: var(--red); color: var(--white);
  font-weight: 700; font-size: clamp(13px, 1.6vw, 16px);
  padding: 8px 18px; border-radius: 3px; letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-number {
  color: var(--red); font-family: var(--serif); font-weight: 900;
  line-height: 0.95; margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.hero-number .num { font-size: clamp(80px, 16vw, 168px); letter-spacing: -0.01em; }
.hero-number .unit { font-size: clamp(30px, 5.4vw, 60px); margin-left: 6px; color: var(--white); }
.hero-h1 {
  color: var(--white); font-family: var(--serif);
  font-size: clamp(25px, 4.4vw, 46px); font-weight: 700; line-height: 1.35;
  margin-bottom: 16px;
}
.hero-h2 {
  color: var(--beige); font-size: clamp(16px, 2.4vw, 24px); font-weight: 700;
  line-height: 1.5; margin-bottom: 16px;
}
.hero-loc {
  color: var(--ink-soft); font-size: clamp(14px, 1.9vw, 18px);
  font-weight: 500; letter-spacing: 0.02em; line-height: 1.55; margin-bottom: 20px;
}
.hero-name {
  color: var(--white); font-size: clamp(19px, 3vw, 30px); font-weight: 900;
  margin-bottom: 26px;
}
.hero-name span { font-weight: 500; font-size: 0.72em; color: var(--ink-soft); }
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 4px;
  transition: background-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border: 1.5px solid rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.btn-tel { background: var(--white); color: var(--black); }
.btn-tel:hover { opacity: 0.9; }
.btn-big { font-size: 19px; padding: 18px 40px; }
.hero-note { color: rgba(255, 255, 255, 0.5); font-size: 12.5px; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 96px 0; background: var(--black); }
.section-eyebrow {
  color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  color: var(--white);
  font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; line-height: 1.4;
  margin-bottom: 18px;
}
.section-title.serif { font-family: var(--serif); font-weight: 700; }
.section-lead {
  font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft);
  margin-bottom: 36px;
}
.sub-title { font-size: clamp(18px, 2.4vw, 23px); font-weight: 700; margin: 44px 0 18px; }
.red-text { color: var(--red); }

/* 레드 언더라인 스윕 — 핵심 강조어 전용 */
.u-sweep {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 100% 3px;
}
.js .u-sweep { background-size: 0 3px; transition: background-size 0.6s ease 0.2s; }
.js .reveal.on .u-sweep, .js .u-sweep.on { background-size: 100% 3px; }
@media (prefers-reduced-motion: reduce) {
  .js .u-sweep { background-size: 100% 3px; transition: none; }
}

.disclaimer {
  margin-top: 26px; padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04); border-left: 3px solid var(--line);
  color: var(--ink-dim); font-size: 12.5px; line-height: 1.7;
}
.hook-copy {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); font-weight: 700;
  line-height: 1.55; margin-bottom: 40px;
}

/* ---------- 핵심 숫자 ---------- */
.keynums { background: var(--black); }
.keynum-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.keynum-card {
  background: var(--charcoal-hi); border: 1px solid var(--line); border-radius: 8px;
  padding: 30px 18px; text-align: center;
}
.keynum-card strong {
  display: block; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900; color: var(--white); margin-bottom: 10px;
}
.keynum-card:first-child strong { color: var(--red); }
.keynum-card span { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* ---------- 전환 브리지 ---------- */
.bridge {
  background: var(--red); color: var(--white);
  padding: clamp(84px, 15vh, 160px) 24px; text-align: center;
}
.bridge p {
  font-family: var(--serif); font-size: clamp(21px, 3.4vw, 34px);
  font-weight: 700; line-height: 1.6; max-width: 900px; margin: 0 auto;
}
.bridge.dark { background: var(--charcoal); }

/* ---------- VS 비교 ---------- */
.versus { background: var(--charcoal); text-align: center; }
.versus .section-title { margin-bottom: 44px; }
.versus-wrap {
  display: flex; align-items: stretch; justify-content: center; gap: 24px;
  margin-bottom: 40px;
}
.versus-side {
  flex: 1; max-width: 380px; background: var(--charcoal-hi);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 44px 24px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.versus-num { font-family: var(--serif); font-weight: 900; line-height: 1; font-size: clamp(44px, 6.5vw, 72px); font-variant-numeric: tabular-nums; }
.versus-num span { font-size: 0.42em; margin-left: 4px; }
.versus-num.red { color: var(--red); }
.versus-num.navy { color: var(--white); }
.versus-label { font-weight: 700; font-size: 18px; margin-top: 8px; }
.versus-sub { color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }
.versus-center {
  align-self: center; font-family: var(--serif); font-weight: 900;
  font-size: clamp(26px, 4vw, 44px); color: var(--ink-dim);
}
.versus-big {
  font-family: var(--serif); font-size: clamp(19px, 2.8vw, 27px); font-weight: 700;
  line-height: 1.6; margin-bottom: 18px;
}
.versus-add { color: var(--ink-soft); font-size: clamp(15px, 1.9vw, 18px); line-height: 1.7; }

/* ---------- 입지 ---------- */
.location { background: var(--black); }
.loc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px;
  align-items: start;
}
/* 실물 자료 프레임 — 페이퍼 톤 */
.loc-figure {
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 8px;
  overflow: hidden;
}
.loc-figure.wide { grid-column: 1 / -1; }
.loc-figure img { width: 100%; }
.loc-figure figcaption {
  padding: 12px 16px; font-size: 13px; color: var(--paper-ink-soft);
  border-top: 1px solid var(--paper-line); background: var(--paper);
}
.loc-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.loc-copy-card {
  background: var(--charcoal-hi); color: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 8px; padding: 32px 28px;
}
.loc-copy-card h3 {
  font-family: var(--serif); font-size: clamp(17px, 2.2vw, 21px); font-weight: 700;
  line-height: 1.55; margin-bottom: 14px;
}
.loc-copy-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.loc-traffic { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.traffic-list { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.traffic-list li {
  background: var(--charcoal-hi); border: 1px solid var(--line); border-radius: 6px;
  padding: 14px 18px; font-size: 15px; color: var(--ink-soft);
}
.traffic-list strong { color: var(--white); }

/* ---------- 공급 부족 ---------- */
.demand { background: var(--charcoal); }
.demand-highlight {
  background: var(--charcoal-hi); border: 1px solid var(--line);
  border-radius: 10px; padding: 40px 28px;
  text-align: center; margin-bottom: 14px;
}
.demand-strong {
  font-family: var(--serif); font-size: clamp(22px, 3.2vw, 32px); font-weight: 900;
  line-height: 1.5; margin-bottom: 12px;
}
.demand-add { color: var(--ink-soft); font-size: clamp(14.5px, 1.9vw, 17px); }
.rent-cards {
  display: flex; align-items: stretch; justify-content: center; gap: 14px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.rent-card {
  flex: 1; min-width: 150px; max-width: 260px;
  background: var(--charcoal-hi); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 18px; text-align: center;
}
.rent-card.accent { border-color: var(--red); }
.rent-date { display: block; color: var(--ink-dim); font-size: 13px; margin-bottom: 6px; }
.rent-card strong {
  display: block; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px);
  font-weight: 900; color: var(--white); margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.rent-card.accent strong { color: var(--red); }
.rent-note { color: var(--ink-dim); font-size: 12.5px; line-height: 1.5; }
.rent-arrow { align-self: center; font-size: 24px; color: var(--ink-dim); }
.demand-facts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.demand-facts li {
  padding: 13px 18px; background: var(--charcoal-hi); border-left: 3px solid var(--red);
  font-size: 14.5px; color: var(--ink-soft); border-radius: 0 6px 6px 0;
}
.demand-conclusion {
  font-family: var(--serif); text-align: center;
  font-size: clamp(19px, 2.8vw, 27px); font-weight: 700; line-height: 1.6;
}
.demand-conclusion strong { color: var(--red); font-weight: 900; }

/* ---------- 사업개요 ---------- */
.overview { background: var(--black); }
.overview-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.overview-figure {
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 8px;
  overflow: hidden;
}
.overview-figure figcaption { padding: 12px 16px; font-size: 12.5px; color: var(--paper-ink-soft); border-top: 1px solid var(--paper-line); }
.overview-table-wrap { overflow-x: auto; }
.overview-table {
  width: 100%; border-collapse: collapse; background: var(--charcoal-hi);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  font-size: 14.5px;
}
.overview-table th, .overview-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left;
  vertical-align: top;
}
.overview-table td { color: var(--ink-soft); }
.overview-table th {
  width: 118px; background: rgba(255, 255, 255, 0.06); color: var(--white);
  font-weight: 700; white-space: nowrap;
}
.overview-table tr:last-child th, .overview-table tr:last-child td { border-bottom: none; }

/* ---------- 타입 ---------- */
.types { background: var(--charcoal); }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card {
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 8px;
  overflow: hidden; cursor: zoom-in; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.type-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.type-card img { width: 100%; background: var(--white); }
.type-card figcaption { padding: 16px 18px; display: flex; flex-direction: column; gap: 5px; }
.type-name { font-weight: 900; font-size: 17px; color: var(--paper-ink); }
.type-name em { font-style: normal; font-weight: 500; color: var(--paper-ink-soft); font-size: 0.85em; margin-left: 4px; }
.type-area { font-size: 13.5px; color: var(--paper-ink-soft); }
.type-fit { font-size: 13px; color: var(--red-deep); font-weight: 700; }
.type-zoom-hint { font-size: 12px; color: var(--paper-ink-soft); }
.plan-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.plan-figure {
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 8px;
  overflow: hidden; cursor: zoom-in; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.plan-figure:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.plan-figure figcaption { padding: 12px 16px; font-size: 13px; color: var(--paper-ink-soft); }

/* ---------- 기업숙소 ---------- */
.corp { background: var(--black); }
.corp .section-eyebrow { color: var(--gold); }
.corp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 10px; }
.corp-card {
  background: var(--charcoal-hi); border: 1px solid var(--line);
  border-radius: 8px; padding: 26px 24px;
}
.corp-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--beige); }
.corp-card p { color: var(--ink-soft); font-size: 14.5px; }
.table-scroll { overflow-x: auto; }
.ref-table {
  width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px;
  background: var(--charcoal-hi);
}
.ref-table th, .ref-table td {
  padding: 12px 14px; border: 1px solid var(--line); text-align: left;
  color: var(--ink-soft);
}
.ref-table th { background: rgba(255, 255, 255, 0.08); color: var(--white); font-weight: 700; }

/* ---------- 임대가·수익 ---------- */
.yield { background: var(--charcoal); }
.rent-range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.range-card {
  background: var(--charcoal-hi); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 22px; text-align: center;
}
.range-card h3 { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 10px; }
.range-card strong {
  display: block; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 900; color: var(--white); margin-bottom: 8px;
}
.range-card p { font-size: 13px; color: var(--ink-dim); }
.yield-point {
  text-align: center; font-size: clamp(16px, 2.1vw, 19px); line-height: 1.7;
  margin-bottom: 8px; color: var(--ink-soft);
}
.yield-point strong { color: var(--white); }
.yield-assume {
  text-align: center; font-size: 14px; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 6px; padding: 12px 16px; margin-bottom: 20px;
}
.yield-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yield-card {
  background: var(--charcoal-hi); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
}
.yield-card h4 { font-size: 16.5px; }
.yield-card ul { display: flex; flex-direction: column; gap: 5px; }
.yield-card li { font-size: 14px; color: var(--ink-soft); }
.yield-card strong {
  margin-top: auto; font-family: var(--serif); font-size: 20px; font-weight: 900;
  color: var(--red);
}

/* ---------- 희소성 요약 ---------- */
.scarcity { background: var(--black); text-align: center; }
.scarcity-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 40px 0; text-align: left;
}
.scarcity-card {
  background: var(--charcoal-hi); border: 1px solid var(--line); border-radius: 8px;
  padding: 28px 22px;
}
.scarcity-no { color: var(--red); font-family: var(--serif); font-weight: 900; font-size: 22px; }
.scarcity-card h3 { font-size: 16.5px; margin: 10px 0 8px; line-height: 1.45; }
.scarcity-card p { font-size: 13.5px; color: var(--ink-soft); }
.final-copy {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); font-weight: 700;
  line-height: 1.6;
}

/* ---------- 상담 ---------- */
.consult { background: var(--charcoal); color: var(--white); text-align: center; }
.consult-main {
  font-family: var(--serif); font-size: clamp(24px, 3.8vw, 38px); font-weight: 700;
  line-height: 1.5; margin-bottom: 16px;
}
.consult-sub { color: var(--ink-soft); font-size: clamp(15px, 2vw, 18px); margin-bottom: 26px; }
.consult-list {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 30px;
}
.consult-list li {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 20px; font-size: 14.5px; color: var(--ink-soft);
}
.consult-tel-wrap { margin-bottom: 48px; }
.form-wrap {
  max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 12px;
  padding: 34px 28px 26px; color: var(--paper-ink); text-align: left;
}
.form-wrap .sub-title { margin: 0 0 8px; color: var(--paper-ink); }
.form-note { font-size: 13.5px; color: var(--paper-ink-soft); margin-bottom: 18px; text-align: center; }
.form-note strong { color: var(--paper-ink); font-size: 14.5px; }
.form-wrap iframe { border: none; width: 100%; }
.form-fallback { font-size: 13px; color: var(--paper-ink-soft); text-align: center; margin-top: 12px; }
.form-fallback a { color: var(--red-deep); font-weight: 700; text-decoration: underline; }

/* ---------- 푸터 ---------- */
.site-footer {
  background: #060709; color: var(--ink-dim);
  padding: 44px 0 120px; font-size: 12.5px;
  border-top: 1px solid var(--line);
}
.footer-brand { color: rgba(255, 255, 255, 0.85); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.footer-notice { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; line-height: 1.7; }
.footer-copy a { text-decoration: underline; }

/* ---------- 모바일 하단 CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: none; grid-template-columns: 1.2fr 1fr;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.45);
}
.mobile-cta a {
  min-height: 58px;
  padding: 12px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-weight: 900; font-size: 16px; line-height: 1.2;
}
.mobile-cta-tel { background: var(--red); color: var(--white); }
.mobile-cta-tel span { display: block; font-size: 13px; font-weight: 500; }
.mobile-cta-form { background: var(--white); color: var(--black); }

/* ---------- 라이트박스 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 6, 9, 0.96);
  display: flex; flex-direction: column;
}
.lightbox[hidden] { display: none; }
.lightbox-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; color: var(--white); gap: 10px;
}
.lightbox-title { font-weight: 700; font-size: 15px; }
.lightbox-tools { display: flex; gap: 8px; }
.lightbox-tools button {
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent; color: var(--white); font-size: 18px; border-radius: 6px;
  cursor: pointer;
}
.lightbox-tools button:hover { border-color: var(--white); }
.lightbox-body {
  flex: 1; overflow: auto; touch-action: pan-x pan-y pinch-zoom;
  display: flex; align-items: flex-start; justify-content: center; padding: 10px 0 20px;
}
.lightbox-body img { max-width: none; background: var(--white); }
.lightbox-hint { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 12.5px; padding: 8px 0 14px; }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .keynum-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .scarcity-grid { grid-template-columns: repeat(2, 1fr); }
  .yield-grid, .rent-range-grid { grid-template-columns: 1fr; }
  .overview-grid, .loc-grid, .loc-copy-grid, .loc-traffic, .plan-extra, .corp-grid { grid-template-columns: 1fr; }
  .gnb { display: none; position: fixed; top: 62px; left: 0; right: 0;
    background: var(--black); flex-direction: column; gap: 0;
    padding: 10px 0; border-bottom: 1px solid var(--line); }
  .gnb.open { display: flex; }
  .gnb a { padding: 14px 24px; font-size: 16px; }
  .header-tel { margin-left: auto; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: transparent; border: none; cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }
}
@media (max-width: 640px) {
  .m-only { display: inline; }
  .section { padding: 68px 0; }
  .hero { padding-top: 84px; padding-bottom: 48px; }
  .hero-badge { margin-bottom: 16px; }
  .hero-h1 { margin-bottom: 12px; }
  .hero-h2 { margin-bottom: 12px; }
  .hero-loc { margin-bottom: 14px; }
  .hero-name { margin-bottom: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .btn { padding: 14px 22px; }
  .versus-wrap { flex-direction: column; align-items: center; }
  .versus-side { width: 100%; max-width: 420px; }
  .keynum-grid { gap: 10px; }
  .type-grid { grid-template-columns: 1fr; }
  .scarcity-grid { grid-template-columns: 1fr; }
  .rent-cards { flex-direction: column; align-items: stretch; }
  .rent-card { max-width: none; }
  .rent-arrow { transform: rotate(90deg); align-self: center; }
  .mobile-cta { display: grid; }
  .header-tel { display: none; }
  .site-footer { padding-bottom: 150px; }
}
