:root {
  --bg: #f3f3ef;
  --surface: #ffffff;
  --surface-soft: #e9e9e3;
  --ink: #111312;
  --muted: #6d716e;
  --line: rgba(17, 19, 18, 0.12);
  --accent: #22382f;
  --accent-soft: #dce4df;
  --warm: #b88455;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 20px 70px rgba(24, 29, 26, 0.1);
  --page: min(1280px, calc(100% - 48px));
  --ease: cubic-bezier(.2, .75, .25, 1);
}
/* hidden 속성이 author CSS의 display 규칙에 덮이지 않도록 보장합니다.
   상세 페이지 로딩 화면이 계속 남던 원인을 해결합니다. */
[hidden] { display: none !important; }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }
::selection { background: #23372f; color: #fff; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 999;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.page-width { width: var(--page); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #606560;
}
.eyebrow.light { color: rgba(255,255,255,.68); }

.site-header {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
  padding: 18px 0;
  transition: padding .35s var(--ease), background-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled,
.detail-header {
  padding: 10px 0;
  background: rgba(247, 247, 243, .78);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgba(17,19,18,.08);
}
.nav-shell {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
  min-height: 58px;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff;
  background: rgba(12, 15, 13, .18);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled .nav-shell,
.detail-header .nav-shell {
  color: var(--ink);
  background: rgba(255,255,255,.7);
  border-color: rgba(17,19,18,.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 760;
  width: max-content;
}
.brand-short { display: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #172019;
  font-family: Georgia, serif;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.site-header.scrolled .brand-mark,
.detail-header .brand-mark { background: #1e3129; color: #fff; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { font-size: 13px; font-weight: 650; opacity: .82; transition: opacity .2s ease; }
.desktop-nav a:hover { opacity: 1; }
.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #18211c;
  font-size: 13px;
  font-weight: 750;
  transition: transform .25s var(--ease), background .25s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: #fff; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 7px; }
.nav-login { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: 12px; font-weight: 750; }
.site-header.scrolled .nav-login, .detail-header .nav-login { border-color: var(--line); background: rgba(255,255,255,.6); }
.site-header.scrolled .nav-cta,
.detail-header .nav-cta { background: #1d2f27; color: #fff; }

.hero-section {
  min-height: 860px;
  height: 100svh;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #29332d;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9,14,11,.7) 0%, rgba(10,16,12,.28) 52%, rgba(10,15,12,.14) 100%),
    linear-gradient(180deg, rgba(5,8,6,.25) 0%, transparent 44%, rgba(4,8,6,.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
}
.hero-content h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 650;
}
.hero-copy {
  margin: 30px 0 0;
  max-width: 650px;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: #fff; color: #172019; box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.button.glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(14px); }
.button.white { background: #fff; color: #162019; }
.button.dark { background: var(--accent); color: #fff; }
.button.outline { background: transparent; border: 1px solid var(--line); }
.button.full { width: 100%; }
.hero-meta {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  justify-content: flex-end;
  gap: 58px;
}
.hero-meta div { display: grid; gap: 4px; min-width: 96px; }
.hero-meta strong { font-size: 15px; letter-spacing: .04em; }
.hero-meta span { color: rgba(255,255,255,.52); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }

.intro-section {
  padding: 150px 0 130px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12vw;
  align-items: start;
}
.intro-heading h2,
.section-title-row h2,
.detail-section h2,
.related-section h2,
.contact-panel h2 {
  margin: 0;
  letter-spacing: -.055em;
}
.intro-heading h2 { font-size: clamp(44px, 5.2vw, 76px); line-height: 1.08; font-weight: 620; }
.intro-copy { padding-top: 34px; }
.intro-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.9; }

.listing-section { padding: 120px 0 150px; background: #e8e8e2; border-radius: 46px 46px 0 0; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-title-row h2 { font-size: clamp(42px, 5vw, 70px); line-height: 1.06; font-weight: 620; }
.section-title-row > p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-chip {
  border: 1px solid rgba(17,19,18,.1);
  background: rgba(255,255,255,.58);
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all .25s ease;
}
.filter-chip:hover { background: #fff; }
.filter-chip.active { background: #1d2e27; color: #fff; border-color: #1d2e27; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.listing-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17,19,18,.05);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.listing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.listing-card a { display: block; }
.card-image { position: relative; aspect-ratio: 1.22; overflow: hidden; background: #d7d9d4; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.listing-card:hover .card-image img { transform: scale(1.045); }
.card-badges { position: absolute; z-index: 2; top: 16px; left: 16px; display: flex; gap: 7px; }
.card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #1d241f;
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.card-arrow {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22,29,25,.82);
  color: #fff;
  backdrop-filter: blur(12px);
  transform: translateY(6px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s ease;
}
.listing-card:hover .card-arrow { transform: translateY(0); opacity: 1; }
.card-body { padding: 22px 22px 24px; }
.card-location { color: var(--muted); font-size: 12px; font-weight: 650; }
.card-body h3 { margin: 10px 0 16px; font-size: 23px; letter-spacing: -.04em; font-weight: 680; }
.card-price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.card-price-row strong { font-size: 18px; letter-spacing: -.025em; }
.card-price-row span { flex-basis: 100%; color: var(--muted); font-size: 12px; line-height: 1.55; }
.card-specs { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); display: flex; gap: 16px; color: #535854; font-size: 12px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 100px 20px; color: var(--muted); }

.feature-band { padding: 150px 0; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 18px; }
.feature-card { min-height: 540px; border-radius: var(--radius-lg); overflow: hidden; position: relative; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.feature-dark { background: #1c2e26; color: #fff; }
.feature-light { background: #dedfd8; }
.feature-number { font-size: 13px; opacity: .56; }
.feature-card h3 { margin: 0 0 22px; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
.feature-card p:last-child { margin: 0; max-width: 320px; line-height: 1.75; color: rgba(255,255,255,.65); font-size: 14px; }
.feature-light p:last-child { color: #5c625d; }
.feature-image { padding: 0; }
.feature-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,10,8,.74)); }
.feature-caption { position: absolute; z-index: 2; bottom: 30px; left: 30px; right: 30px; color: #fff; display: grid; gap: 9px; }
.feature-caption span { font-size: 11px; letter-spacing: .14em; opacity: .65; }
.feature-caption strong { font-size: 20px; }


.office-location-section { padding: 30px 0 130px; scroll-margin-top: 110px; }
.office-location-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; }
.office-location-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
.office-address-card { padding: 28px 30px; border-left: 1px solid var(--line); }
.office-address-card span { color: #718078; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.office-address-card strong { display: block; margin-top: 12px; font-size: 20px; letter-spacing: -.035em; }
.office-address-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.office-map-shell { margin-top: 42px; }
.office-map { height: 500px; }
.detail-page .naver-map { height: 500px; }
.office-map-marker { display: flex; align-items: center; gap: 10px; min-width: max-content; transform: translate(-18px, -18px); }
.office-map-marker i { width: 38px; height: 38px; border: 11px solid #fff; border-radius: 50% 50% 50% 7px; background: #1d4937; transform: rotate(-45deg); box-shadow: 0 12px 28px rgba(20,48,37,.3); }
.office-map-marker strong { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.96); color: #183429; font-size: 11px; box-shadow: 0 10px 28px rgba(20,34,27,.15); }

.contact-section { padding: 0 0 28px; }
.contact-panel {
  min-height: 430px;
  border-radius: 40px;
  padding: 64px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(180,202,188,.28), transparent 36%),
    linear-gradient(135deg, #15251e 0%, #294137 100%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 54px;
}
.contact-panel h2 { font-size: clamp(42px, 5vw, 70px); line-height: 1.06; font-weight: 610; }
.contact-panel > div:first-child > p:last-child { margin: 24px 0 0; color: rgba(255,255,255,.63); }
.contact-actions { min-width: 270px; display: grid; gap: 14px; text-align: center; }
.contact-actions span { color: rgba(255,255,255,.5); font-size: 12px; }

.site-footer { padding: 96px 0 28px; background: #e8e8e2; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 80px; padding-bottom: 70px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid strong { display: block; margin-bottom: 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #777b77; font-size: 11px; letter-spacing: .05em; }
.compact-footer { padding-top: 28px; }

/* Detail page */
.detail-page { background: #f5f5f1; }
.detail-page main { padding-top: 116px; }
.detail-loading { min-height: 75vh; display: flex; gap: 9px; align-items: center; justify-content: center; }
.detail-loading span { width: 8px; height: 8px; border-radius: 50%; background: #354c41; animation: pulse 1s infinite ease-in-out; }
.detail-loading span:nth-child(2) { animation-delay: .15s; }
.detail-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-7px); } }
.back-link { display: inline-flex; gap: 9px; align-items: center; margin: 20px 0 46px; color: var(--muted); font-size: 13px; font-weight: 700; }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.detail-badges { display: flex; gap: 8px; margin-bottom: 17px; }
.detail-badges span { padding: 8px 11px; background: #e1e6e2; border-radius: 999px; font-size: 11px; font-weight: 800; }
.detail-heading h1 { margin: 0; font-size: clamp(46px, 6vw, 84px); line-height: 1; letter-spacing: -.065em; font-weight: 620; }
.detail-heading p { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.detail-price { text-align: right; padding-bottom: 8px; }
.detail-price span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.detail-price strong { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.04em; }
.gallery-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; grid-template-rows: repeat(2, 260px); gap: 10px; border-radius: 30px; overflow: hidden; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; background: #d9ddd8; cursor: zoom-in; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible { z-index: 3; outline: 3px solid #fff; outline-offset: -5px; }
.gallery-count { position: absolute; z-index: 2; right: 16px; bottom: 16px; min-height: 34px; padding: 0 13px; display: flex; align-items: center; border-radius: 999px; background: rgba(0,0,0,.56); color: #fff; font-size: 11px; backdrop-filter: blur(10px); }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: minmax(52px, 1fr) minmax(0, 1200px) minmax(52px, 1fr); align-items: center; padding: 70px 24px 30px; background: rgba(8,12,10,.94); backdrop-filter: blur(12px); }
.photo-lightbox figure { grid-column: 2; width: 100%; height: 100%; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.photo-lightbox figure img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.42); }
.photo-lightbox figcaption { min-height: 20px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.lightbox-close, .lightbox-nav { border: 0; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; }
.lightbox-nav { width: 48px; height: 64px; border-radius: 14px; font-size: 42px; line-height: 1; }
.lightbox-prev { justify-self: end; margin-right: 18px; }
.lightbox-next { justify-self: start; margin-left: 18px; }
body.lightbox-open { overflow: hidden; }
.detail-body { padding: 80px 0 140px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: start; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 88px; }
.spec-item { min-height: 116px; padding: 20px; border-radius: 18px; background: #e9eae5; display: flex; flex-direction: column; justify-content: space-between; }
.spec-item span { color: var(--muted); font-size: 11px; }
.spec-item strong { font-size: 19px; letter-spacing: -.03em; }
.detail-section { padding: 72px 0; border-top: 1px solid var(--line); }
.detail-section h2 { font-size: clamp(35px, 4vw, 54px); line-height: 1.08; font-weight: 610; }
.detail-description { margin: 30px 0 0; max-width: 770px; color: #555b56; font-size: 17px; line-height: 2; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.feature-tags span { padding: 14px 18px; border-radius: 999px; background: #e4e7e2; font-size: 13px; font-weight: 700; }
.location-title-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.location-title-row > span { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.map-shell { margin-top: 32px; overflow: hidden; border: 1px solid rgba(17,19,18,.08); border-radius: 26px; background: #e4e7e2; box-shadow: 0 18px 55px rgba(28,36,31,.08); }
.map-topbar { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(17,19,18,.08); }
.map-provider { display: inline-flex; align-items: center; gap: 8px; color: #304238; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.map-provider::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2f6d51; box-shadow: 0 0 0 5px rgba(47,109,81,.10); }
.map-topbar a { color: #3f4943; font-size: 11px; font-weight: 750; }
.naver-map { position: relative; width: 100%; height: 440px; overflow: hidden; background: #dde3df; }
.map-fallback-frame { width: 100%; height: 100%; border: 0; filter: grayscale(.18) saturate(.72) contrast(.95); }
.fallback-property-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(25,46,37,.92); color: #fff; box-shadow: 0 14px 35px rgba(24,42,33,.24); backdrop-filter: blur(14px); pointer-events: none; }
.fallback-property-label strong { white-space: nowrap; font-size: 11px; }
.fallback-property-dot { width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #8ab49d; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.map-status { margin: 0; padding: 12px 18px; border-top: 1px solid rgba(17,19,18,.07); background: #f7f7f3; color: #777d78; font-size: 10px; line-height: 1.6; }
.map-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.lifestyle-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lifestyle-card { min-height: 128px; padding: 18px; display: flex; justify-content: space-between; gap: 18px; border-radius: 18px; background: #e7e9e4; }
.lifestyle-index { color: #718078; font-family: Georgia, serif; font-size: 13px; }
.lifestyle-card div { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.lifestyle-card small { color: #788079; font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.lifestyle-card strong { margin-top: 22px; font-size: 14px; }
.lifestyle-card p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }

.naver-property-marker { position: relative; width: 190px; height: 72px; pointer-events: none; transform: scale(.8); transform-origin: left top; }
.naver-property-pin { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50% 50% 50% 8px; background: #183429; transform: rotate(-45deg); box-shadow: 0 12px 26px rgba(20,48,37,.30); }
.naver-property-pin i { position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.naver-property-pulse { position: absolute; left: 7px; top: 7px; width: 34px; height: 34px; border-radius: 50%; background: rgba(34,82,62,.25); animation: mapPulse 2s infinite ease-out; }
.naver-property-marker strong { position: absolute; left: 54px; top: 9px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.78); border-radius: 999px; background: rgba(255,255,255,.94); color: #183429; font-family: Pretendard, sans-serif; font-size: 11px; white-space: nowrap; box-shadow: 0 10px 25px rgba(20,34,27,.12); }
@keyframes mapPulse { 0% { transform: scale(.75); opacity: .85; } 70%,100% { transform: scale(1.8); opacity: 0; } }
.naver-poi-marker { display: flex; align-items: center; gap: 7px; min-width: max-content; pointer-events: none; }
.naver-poi-marker span { width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #738e7e; box-shadow: 0 4px 12px rgba(17,37,29,.2); }
.naver-poi-marker strong { padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: #425149; font-family: Pretendard, sans-serif; font-size: 9px; box-shadow: 0 6px 18px rgba(24,38,31,.10); }
.naver-poi-park span { background: #71976e; }
.naver-poi-school span { background: #b98955; }
.naver-poi-lifestyle span { background: #668ba0; }
.naver-info-card { min-width: 220px; padding: 16px 17px; border: 1px solid rgba(17,19,18,.08); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 18px 45px rgba(26,36,30,.16); font-family: Pretendard, sans-serif; }
.naver-info-card span { display: block; color: #718078; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.naver-info-card strong { display: block; margin-top: 8px; color: #17221c; font-size: 14px; }
.naver-info-card p { margin: 7px 0 0; color: #6f7671; font-size: 10px; }
.naver-info-card.compact { min-width: 170px; padding: 13px 15px; }
.contact-card { position: sticky; top: 110px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 18px 60px rgba(27,33,29,.08); }
.agent-profile { display: flex; align-items: center; gap: 13px; margin: 22px 0; }
.agent-avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #20372d; color: #fff; font-family: Georgia, serif; font-size: 20px; }
.agent-profile strong, .agent-profile span { display: block; }
.agent-profile strong { font-size: 15px; }
.agent-profile span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.agent-copy { color: var(--muted); font-size: 13px; line-height: 1.75; }
.contact-card .button { margin-top: 10px; }
.office-text-link { display: inline-block; margin: 18px 0 0; color: #526059; font-size: 11px; }
.contact-meta { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.contact-meta div { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.contact-meta span { color: var(--muted); }
.demo-notice { margin: 22px 0 0; padding: 13px; border-radius: 12px; background: #f1f1ed; color: #777b77; font-size: 10px; line-height: 1.55; }
.related-section { padding: 120px 0 150px; background: #e8e8e2; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.text-link { margin-bottom: 10px; font-size: 13px; font-weight: 750; }
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { margin: 0 0 20px; font-size: clamp(46px, 7vw, 86px); letter-spacing: -.06em; }
.not-found p { color: var(--muted); }
.not-found .button { margin-top: 22px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 14px 18px; border-radius: 999px; background: #15241e; color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: all .3s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.listing-card.reveal { transition-delay: var(--delay, 0ms); }

@media (max-width: 1080px) {
  :root { --page: min(100% - 36px, 940px); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-band { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; min-height: 400px; }
  .detail-body { grid-template-columns: 1fr; gap: 30px; }
  .contact-card { position: relative; top: 0; max-width: 620px; }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 28px); --radius-lg: 26px; }
  .site-header { padding-top: 10px; }
  .nav-shell { width: calc(100% - 20px); grid-template-columns: 1fr auto; min-height: 52px; padding: 6px 7px 6px 11px; }
  .desktop-nav { display: none; }
  .brand { font-size: 14px; }
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .brand-mark { width: 29px; height: 29px; }
  .nav-cta { min-height: 39px; padding: 0 15px; }
  .nav-actions { gap: 5px; }
  .nav-login { min-height: 39px; padding: 0 12px; font-size: 11px; }
  .hero-section { min-height: 720px; height: 100svh; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6,10,8,.28), rgba(6,10,8,.7)); }
  .hero-content { justify-content: flex-end; padding-bottom: 138px; }
  .hero-content h1 { font-size: clamp(48px, 14vw, 70px); }
  .hero-copy { margin-top: 22px; font-size: 15px; line-height: 1.7; }
  .desktop-only { display: none; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 50px; padding: 0 19px; }
  .hero-meta { bottom: 25px; justify-content: flex-start; gap: 25px; overflow: hidden; }
  .hero-meta div { min-width: auto; }
  .hero-meta strong { font-size: 13px; }
  .hero-meta span { font-size: 8px; }
  .intro-section { padding: 100px 0 90px; grid-template-columns: 1fr; gap: 26px; }
  .intro-heading h2 { font-size: 44px; }
  .intro-copy { padding-top: 0; }
  .intro-copy p { font-size: 15px; }
  .listing-section { padding: 90px 0 100px; border-radius: 28px 28px 0 0; }
  .section-title-row { align-items: flex-start; margin-bottom: 30px; }
  .section-title-row > p { display: none; }
  .section-title-row h2 { font-size: 42px; }
  .filter-bar { margin-bottom: 24px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .listing-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-image { aspect-ratio: 1.28; }
  .card-arrow { opacity: 1; transform: none; }
  .feature-band { padding: 100px 0; grid-template-columns: 1fr; }
  .feature-card, .feature-card:last-child { min-height: 440px; grid-column: auto; }
  .contact-panel { min-height: 520px; padding: 34px 26px; border-radius: 28px; flex-direction: column; align-items: stretch; justify-content: space-between; }
  .contact-panel h2 { font-size: 42px; }
  .contact-actions { min-width: 0; }
  .site-footer { padding-top: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-bottom: 48px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .detail-page main { padding-top: 94px; }
  .back-link { margin: 18px 0 32px; }
  .detail-heading { display: block; margin-bottom: 26px; }
  .detail-heading h1 { font-size: 48px; }
  .detail-price { text-align: left; margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 150px; border-radius: 20px; }
  .gallery-item:first-child { grid-column: 1 / 3; grid-row: auto; }
  .gallery-item:nth-child(2) { grid-column: auto; }
  .gallery-item:nth-child(4) { display: none; }
  .photo-lightbox { grid-template-columns: 1fr; padding: 62px 10px 24px; }
  .photo-lightbox figure { grid-column: 1; }
  .photo-lightbox figure img { max-height: calc(100vh - 120px); border-radius: 4px; }
  .lightbox-close { top: 10px; right: 10px; }
  .lightbox-nav { position: absolute; z-index: 2; top: 50%; width: 42px; height: 56px; margin: 0; transform: translateY(-50%); background: rgba(0,0,0,.42); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .detail-body { padding: 50px 0 90px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 54px; }
  .detail-section { padding: 54px 0; }
  .detail-description { font-size: 15px; line-height: 1.9; }
  .location-title-row { align-items: flex-start; flex-direction: column; }
  .office-location-section { padding: 10px 0 90px; }
  .office-location-heading { grid-template-columns: 1fr; gap: 28px; }
  .office-location-heading h2 { font-size: 44px; }
  .office-address-card { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .office-map-shell { margin-top: 28px; }
  .office-map { height: 380px; }
  .detail-page .naver-map { height: 380px; }
  .naver-map { height: 350px; }
  .map-topbar { min-height: 52px; padding: 0 14px; }
  .map-topbar a { font-size: 10px; }
  .lifestyle-grid { grid-template-columns: 1fr; }
  .lifestyle-card { min-height: 104px; }
  .contact-card { padding: 24px; }
  .related-section { padding: 90px 0 100px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Admin */
.admin-page { min-height: 100vh; background: #eef0eb; }
.admin-header-label { justify-self: center; font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.admin-main { padding: 150px 0 100px; }
.admin-login { width: min(460px, 100%); margin: 8vh auto 0; padding: 44px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.admin-login h1, .admin-title-row h1 { margin: 0; font-size: 48px; letter-spacing: -.055em; }
.admin-login > p:not(.eyebrow), .admin-title-row p { color: var(--muted); }
.admin-login-form { display: grid; gap: 18px; margin-top: 32px; }
.admin-login-form label, .admin-form-grid label { display: grid; gap: 8px; color: #59605b; font-size: 12px; font-weight: 700; }
.admin-login-form input, .admin-form-grid input, .admin-form-grid select, .admin-form-grid textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #f8f8f5; color: var(--ink); outline: 0; }
.admin-login-form input:focus, .admin-form-grid input:focus, .admin-form-grid select:focus, .admin-form-grid textarea:focus { border-color: #385b4c; box-shadow: 0 0 0 3px rgba(56,91,76,.09); }
.admin-form-error { margin: 0; color: #a13c35; font-size: 12px; }
.admin-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.admin-title-actions, .admin-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: start; gap: 24px; }
.admin-list { display: grid; gap: 12px; }
.admin-listing-card { display: grid; grid-template-columns: 112px 1fr auto auto; align-items: center; gap: 18px; padding: 12px; border-radius: 18px; background: #fff; }
.admin-listing-card img { width: 112px; height: 84px; border-radius: 12px; object-fit: cover; }
.admin-listing-card span { color: var(--muted); font-size: 10px; }
.admin-listing-card strong { display: block; margin-top: 6px; font-size: 15px; }
.admin-listing-card p { margin: 7px 0 0; font-size: 12px; }
.admin-card-actions { display: flex; gap: 6px; }
.admin-card-actions button, .admin-close { border: 0; cursor: pointer; background: transparent; }
.admin-card-actions button { padding: 9px 10px; border-radius: 9px; background: #edf0ec; font-size: 11px; font-weight: 750; }
.admin-card-actions .danger { color: #a13c35; background: #f7eae8; }
.admin-editor { position: sticky; top: 100px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 16px 50px rgba(26,35,30,.08); }
.admin-editor-head { display: flex; justify-content: space-between; margin-bottom: 24px; }
.admin-editor-head span { color: #718078; font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.admin-editor-head h2 { margin: 7px 0 0; font-size: 28px; }
.admin-close { font-size: 28px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.admin-form-grid .wide { grid-column: 1 / -1; }
.admin-login-form small, .admin-form-grid small { font-weight: 500; }
.admin-form-grid textarea { resize: vertical; }
.admin-filter-options { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #f8f8f5; }
.admin-filter-options legend { padding: 0 6px; color: #59605b; font-size: 12px; font-weight: 800; }
.admin-filter-options label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; cursor: pointer; }
.admin-filter-options input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: #20372d; }
.admin-filter-options small { flex-basis: 100%; color: #718078; }
.admin-form-grid input[readonly] { background: #eef1ed; color: #385047; }
.admin-file-input { padding: 12px !important; cursor: pointer; }
.admin-address-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.admin-address-row button { padding: 0 17px; border: 0; border-radius: 12px; background: #20372d; color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.admin-address-row input[readonly] { cursor: pointer; }
.postcode-modal[hidden] { display: none; }
.postcode-modal { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(13,22,18,.72); backdrop-filter: blur(8px); }
.postcode-panel { width: min(520px, 100%); overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 26px 80px rgba(0,0,0,.28); }
.postcode-header { min-height: 58px; padding: 0 14px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.postcode-header strong { font-size: 14px; }
.postcode-header button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf0ec; color: var(--ink); font-size: 25px; cursor: pointer; }
.postcode-container { width: 100%; height: min(560px, calc(100vh - 130px)); }
body.postcode-open { overflow: hidden; }
.admin-gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.admin-gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #e7e9e4; cursor: grab; transition: border-color .2s ease, opacity .2s ease; }
.admin-gallery-item:hover { border-color: #7b9387; }
.admin-gallery-item.is-dragging { opacity: .45; }
.admin-gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.admin-gallery-item.is-cropped img { object-fit: cover; }
.gallery-order { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.9); color: #20372d !important; font-size: 9px !important; font-weight: 850; }
.gallery-actions { position: absolute; inset: auto 5px 5px 5px; display: flex; justify-content: flex-end; gap: 3px; }
.admin-gallery-item .gallery-actions button { position: static; width: auto; height: 23px; padding: 0 6px; border: 0; border-radius: 7px; background: rgba(20,25,22,.84); color: #fff; font-size: 8px; font-weight: 750; cursor: pointer; }
.admin-gallery-item .gallery-actions .remove { width: 23px; padding: 0; background: rgba(142,43,36,.9); font-size: 14px; }
.admin-gallery-item:first-child::after { content: '대표'; position: absolute; left: 6px; bottom: 6px; padding: 4px 7px; border-radius: 999px; background: #20372d; color: #fff; font-size: 8px; font-weight: 800; }
.admin-gallery-item:first-child .gallery-actions { left: 47px; }
.upload-progress { position: relative; height: 34px; overflow: hidden; border-radius: 10px; background: #e8ebe6; }
.upload-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: #315946; transition: width .15s linear; }
.upload-progress strong { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; color: #fff; font-size: 10px; }
.admin-status { padding: 7px 9px; border-radius: 999px; background: #edf0ec; color: #536158 !important; font-size: 9px !important; font-weight: 800; white-space: nowrap; }
.admin-status.status-draft { background: #f5eedc; color: #8b6721 !important; }
.admin-status.status-sold { background: #e8ebef; color: #526272 !important; }
.admin-status.status-hidden { background: #f2e7e6; color: #8c514c !important; }
.admin-status.status-deleted { background: #ece9e7; color: #6e625c !important; }
.admin-editor-actions { margin-top: 24px; }
.admin-empty { padding: 70px 30px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; }
.admin-empty p { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .admin-header-label { display: none; }
  .admin-main { padding-top: 110px; }
  .admin-title-row { align-items: flex-start; flex-direction: column; }
  .admin-workspace { grid-template-columns: 1fr; }
  .admin-editor { position: static; grid-row: 1; }
}
@media (max-width: 560px) {
  .admin-login { padding: 30px 22px; }
  .admin-login h1, .admin-title-row h1 { font-size: 40px; }
  .admin-listing-card { grid-template-columns: 76px 1fr; }
  .admin-listing-card img { width: 76px; height: 70px; }
  .admin-card-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .wide { grid-column: auto; }
}

/* Listing search and filters */
.listing-tools { margin: 0 0 12px; padding: 18px; display: grid; grid-template-columns: minmax(220px, 1.7fr) repeat(5, minmax(116px, 1fr)) auto; align-items: end; gap: 10px; border: 1px solid rgba(25,38,31,.08); border-radius: 18px; background: rgba(255,255,255,.72); }
.listing-tools label { display: grid; gap: 7px; color: #717a74; font-size: 9px; font-weight: 800; letter-spacing: .03em; }
.listing-tools input, .listing-tools select { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid #d9ddd8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; outline: 0; }
.listing-tools input:focus, .listing-tools select:focus { border-color: #385b4c; box-shadow: 0 0 0 3px rgba(56,91,76,.08); }
.listing-reset { height: 42px; padding: 0 13px; border: 0; border-radius: 10px; background: #20372d; color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.listing-result-count { min-height: 18px; margin: 0 0 18px; color: #6f7771; font-size: 11px; text-align: right; }
.no-results strong { display: block; color: var(--ink); font-size: 18px; }
.no-results p { margin: 10px 0 0; }
.listing-card.is-sold .card-image img { filter: saturate(.45) brightness(.82); }
.listing-card.is-sold .card-arrow { background: #636d68; }
.nearby-empty { grid-column: 1 / -1; padding: 30px; border-radius: 18px; background: #e7e9e4; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 1180px) {
  .listing-tools { grid-template-columns: repeat(3, 1fr); }
  .listing-search { grid-column: span 2; }
}
@media (max-width: 760px) {
  .listing-tools { grid-template-columns: 1fr 1fr; padding: 14px; }
  .listing-search { grid-column: 1 / -1; }
  .listing-reset { grid-column: 1 / -1; }
  .listing-result-count { text-align: left; }
}
@media (max-width: 560px) {
  .admin-listing-card { grid-template-columns: 76px 1fr auto; gap: 10px; }
  .admin-status { grid-column: 3; grid-row: 1; align-self: start; }
  .admin-card-actions { grid-column: 1 / -1; }
  .admin-gallery-preview { grid-template-columns: repeat(3, 1fr); }
}
