/* ====================================================
   민고부동산 v4 - Main CSS
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
  --navy:       #0d1b2e;
  --navy-2:     #132033;
  --navy-3:     #1a2f4a;
  --blue:       #1a56db;
  --blue-2:     #1d4ed8;
  --blue-light: #3b82f6;
  --cyan:       #06b6d4;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-300:   #cbd5e1;
  --gray-400:   #94a3b8;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;
  --red:        #ef4444;
  --orange:     #f97316;
  --green:      #22c55e;
  --font:       'Noto Sans KR', sans-serif;
  --mono:       'IBM Plex Mono', monospace;
  --shadow:     0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.2);
  --r:          6px;
  --r-lg:       10px;
  --t:          .2s ease;
  --h-header:   62px;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--font);background:var(--gray-50);color:var(--gray-800);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}
button{font-family:var(--font);cursor:pointer;border:none;background:none}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
#header {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: var(--h-header);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 8px;
  height: 100%;
}

/* 로고 */
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 8px; }
.logo-icon-wrap { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 17px; font-weight: 900; color: var(--white); letter-spacing: -.5px; line-height: 1.2; }
.logo-sub  { font-size: 9px; color: var(--cyan); letter-spacing: .8px; font-weight: 500; line-height: 1; }

/* 네비 */
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item {
  font-size: 13px; font-weight: 500; color: var(--gray-300);
  padding: 7px 11px; border-radius: var(--r);
  transition: var(--t); white-space: nowrap; display: block;
}
.nav-item:hover, .nav-item.active { color: var(--white); background: rgba(255,255,255,.09); }
.nav-urgent { color: #fca5a5 !important; }
.nav-urgent:hover { background: rgba(239,68,68,.15) !important; }
.nav-cta {
  background: var(--blue) !important; color: var(--white) !important;
  font-weight: 700 !important; margin-left: 4px;
}
.nav-cta:hover { background: var(--blue-2) !important; }

/* 드롭다운 */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { font-size: 13px; font-weight: 500; color: var(--gray-300); padding: 7px 11px; border-radius: var(--r); transition: var(--t); white-space: nowrap; }
.nav-dropdown-btn:hover { color: var(--white); background: rgba(255,255,255,.09); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 6px;
  min-width: 140px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: var(--t); z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; font-size: 13px; font-weight: 500; color: var(--gray-300);
  padding: 8px 12px; border-radius: var(--r); transition: var(--t);
}
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* 전화 */
.header-phone {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; color: var(--cyan);
  padding: 6px 12px; border-radius: var(--r);
  border: 1px solid rgba(6,182,212,.25);
  transition: var(--t); white-space: nowrap; flex-shrink: 0;
  margin-left: auto;
}
.header-phone:hover { background: rgba(6,182,212,.1); }

/* 햄버거 */
.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.ham-line { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: var(--t); }
.menu-btn.open .ham-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.open .ham-line:nth-child(2) { opacity: 0; }
.menu-btn.open .ham-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed; inset: var(--h-header) 0 0 0;
  background: var(--navy); z-index: 199;
  overflow-y: auto; transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { padding: 20px 20px 40px; }
.mobile-menu-group { margin-bottom: 24px; }
.mobile-menu-label {
  font-size: 10px; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 0 12px; margin-bottom: 6px;
}
.mobile-menu-item {
  display: block; font-size: 15px; font-weight: 500; color: var(--gray-300);
  padding: 12px 14px; border-radius: var(--r); transition: var(--t);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-menu-item:hover { color: var(--white); background: rgba(255,255,255,.06); }
.mobile-menu-item.urgent { color: #fca5a5; }
.mobile-menu-item.cta { background: var(--blue); color: var(--white) !important; font-weight: 700; margin-top: 8px; text-align: center; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: 0;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('/static/images/hero_banner.png') center/cover no-repeat;
  opacity: .35;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,46,.95) 40%, rgba(13,27,46,.6) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px 50px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(26,86,219,.25); border: 1px solid rgba(59,130,246,.35);
  color: var(--cyan); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .8px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  color: var(--white); line-height: 1.2;
  margin-bottom: 14px; letter-spacing: -1px;
}
.hero-title span { color: var(--cyan); }
.hero-desc { font-size: 15px; color: var(--gray-300); margin-bottom: 32px; max-width: 520px; line-height: 1.7; }

/* Stats */
.stats-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.stat-item {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 12px 18px; text-align: center; min-width: 90px;
}
.stat-num { font-size: 22px; font-weight: 900; color: var(--white); font-family: var(--mono); display: block; line-height: 1; }
.stat-label { font-size: 10px; color: var(--gray-400); margin-top: 4px; }

/* Search */
.search-wrap {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 18px 20px; max-width: 660px;
}
.search-label { font-size: 11px; color: var(--cyan); font-weight: 700; letter-spacing: .8px; margin-bottom: 10px; }
.search-row { display: flex; gap: 8px; }
.search-input {
  flex: 1; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-size: 14px; font-family: var(--font);
  padding: 10px 14px; border-radius: var(--r); outline: none; transition: var(--t);
}
.search-input::placeholder { color: var(--gray-400); }
.search-input:focus { border-color: var(--blue-light); background: rgba(255,255,255,.13); }
.search-btn {
  background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700;
  padding: 10px 20px; border-radius: var(--r); transition: var(--t);
}
.search-btn:hover { background: var(--blue-2); }
.search-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.search-tag {
  font-size: 11px; color: var(--gray-300); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09); padding: 3px 10px;
  border-radius: 20px; cursor: pointer; transition: var(--t);
}
.search-tag:hover { color: var(--white); background: rgba(26,86,219,.4); }
.search-results {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); margin-top: 8px; overflow: hidden; display: none;
}
.search-results.visible { display: block; }
.search-result-item {
  padding: 10px 14px; border-bottom: 1px solid var(--gray-100);
  cursor: pointer; transition: var(--t); display: flex; align-items: center; gap: 10px;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--gray-50); }
.result-badge { font-size: 10px; font-weight: 700; color: var(--white); background: var(--blue); padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.result-text { font-size: 13px; color: var(--gray-700); }
.result-price { font-size: 13px; font-weight: 700; color: var(--navy); margin-left: auto; white-space: nowrap; font-family: var(--mono); }

/* 카테고리 바로가기 */
.hero-categories {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hcat-btn {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  padding: 5px 13px; border-radius: 20px; transition: var(--t); white-space: nowrap;
}
.hcat-btn:hover { color: var(--white); background: rgba(26,86,219,.45); border-color: rgba(59,130,246,.45); }
.hcat-all  { color: var(--cyan) !important; background: rgba(6,182,212,.1) !important; border-color: rgba(6,182,212,.28) !important; font-weight: 700 !important; }
.hcat-urgent { color: #fca5a5 !important; background: rgba(239,68,68,.1) !important; border-color: rgba(239,68,68,.28) !important; font-weight: 700 !important; }

/* ══════════════════════════════
   지역 지도 섹션
══════════════════════════════ */
.map-section { background: var(--white); }
.map-section-inner { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
.map-aerial-banner {
  width: 100%; height: 220px; object-fit: cover; object-position: center 60%;
  border-radius: var(--r-lg); margin-bottom: 32px;
  filter: brightness(.85) saturate(.9);
}
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-title {
  font-size: 20px; font-weight: 800; color: var(--gray-900);
  padding-left: 14px; position: relative;
}
.section-title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; background: var(--blue); border-radius: 2px;
}
.section-more { font-size: 13px; color: var(--blue); font-weight: 600; }
.section-more:hover { color: var(--navy); }

.region-map-wrap { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 20px; align-items: start; }
.region-panel {}
.region-panel-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.region-city-badge { font-size: 13px; font-weight: 800; padding: 4px 14px; border-radius: 20px; }
.region-city-badge.cheonan { background: #dbeafe; color: #1e40af; }
.region-city-badge.asan    { background: #d1fae5; color: #065f46; }
.region-panel-sub { font-size: 12px; color: var(--gray-400); }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.region-cell {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; border: 1px solid; transition: var(--t);
}
.region-cell-name { flex: 1; }
.region-cell-arrow { font-size: 11px; opacity: .4; transition: var(--t); }
.region-cell:hover .region-cell-arrow { opacity: 1; transform: translateX(3px); }
.cheonan-cell { color: #1e40af; background: #f0f7ff; border-color: #bfdbfe; }
.cheonan-cell:hover { background: #dbeafe; border-color: #3b82f6; }
.asan-cell { color: #065f46; background: #f0fdf4; border-color: #a7f3d0; }
.asan-cell:hover { background: #d1fae5; border-color: #10b981; }
.region-svg-map { display: flex; justify-content: center; }
.map-region { transition: opacity .15s; cursor: pointer; }
.map-region:hover { opacity: .8; }

/* ══════════════════════════════
   매물 카드
══════════════════════════════ */
.section { max-width: 1280px; margin: 0 auto; padding: 44px 24px; }
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }

.prop-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 20px;
  transition: var(--t); display: flex; flex-direction: column;
  position: relative; overflow: hidden; cursor: pointer;
}
.prop-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--blue); opacity: 0; transition: var(--t);
}
.prop-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.prop-card:hover::after { opacity: 1; }

.prop-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .3px; padding: 2px 7px; border-radius: 3px; }
.tag-sale      { background: #1e3a5f; color: #93c5fd; }
.tag-rent      { background: #0e3d2a; color: #6ee7b7; }
.tag-factory   { background: #374151; color: #d1d5db; }
.tag-warehouse { background: #292524; color: #d6d3d1; }
.tag-s         { background: #1e40af; color: #fff; }
.tag-a         { background: #1d4ed8; color: #fff; }
.tag-hot       { background: #dc2626; color: #fff; }
.tag-urgent    { background: #ea580c; color: #fff; }
.tag-new       { background: #16a34a; color: #fff; }
.tag-factory.hoist { background: #4c1d95; color: #ddd6fe; }

.prop-mgcode {
  font-size: 10px; font-family: var(--mono); color: #3b82f6;
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.18);
  padding: 2px 7px; border-radius: 3px; display: inline-block;
  margin-bottom: 7px; letter-spacing: .5px;
}
.prop-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; line-height: 1.4; }
.prop-address {
  font-size: 11px; color: var(--gray-500); display: flex; align-items: center; gap: 3px;
  margin-bottom: 12px;
}
.prop-price { font-size: 19px; font-weight: 900; color: var(--navy); font-family: var(--mono); margin-bottom: 3px; }
.prop-price-sub { font-size: 11px; color: var(--gray-400); margin-bottom: 12px; }

.prop-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.spec-item { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 4px; padding: 6px 10px; }
.spec-key { font-size: 10px; color: var(--gray-400); font-weight: 600; display: block; margin-bottom: 1px; }
.spec-val { font-size: 12px; color: var(--gray-700); font-weight: 700; }

.prop-intro { font-size: 12px; color: var(--gray-500); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.prop-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--gray-100); }
.prop-date { font-size: 11px; color: var(--gray-400); }
.prop-link { font-size: 12px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 3px; }
.prop-link:hover { color: var(--navy); }

/* ══════════════════════════════
   이미지 배너 섹션들
══════════════════════════════ */
/* 창고/공장 이미지 배너 (서비스 소개) */
.img-feature-section {
  position: relative; overflow: hidden; height: 360px;
  display: flex; align-items: center;
}
.img-feature-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.img-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,46,.92) 50%, rgba(13,27,46,.5) 100%);
}
.img-feature-content {
  position: relative; z-index: 1;
  max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 24px;
}
.img-feature-content h2 { font-size: 26px; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.img-feature-content p  { font-size: 14px; color: var(--gray-300); line-height: 1.8; max-width: 460px; margin-bottom: 24px; }
.feature-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.feature-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 14px 18px;
}
.feature-card-icon { font-size: 20px; margin-bottom: 6px; }
.feature-card-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.feature-card-desc  { font-size: 11px; color: var(--gray-400); }

/* 상담 CTA (consult_bg 배경) */
.cta-section {
  position: relative; overflow: hidden;
  text-align: center; padding: 60px 20px;
}
.cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .25;
}
.cta-overlay { position: absolute; inset: 0; background: #1a3a8a; mix-blend-mode: multiply; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: 26px; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.cta-sub   { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.cta-btns  { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-cta-main { background: var(--white); color: var(--blue-2); font-size: 18px; font-weight: 900; padding: 14px 36px; border-radius: var(--r); display: inline-flex; align-items: center; gap: 8px; transition: var(--t); }
.btn-cta-main:hover { background: var(--gray-100); }
.btn-cta-sub  { background: rgba(255,255,255,.15); color: var(--white); font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.3); transition: var(--t); }
.btn-cta-sub:hover { background: rgba(255,255,255,.22); }
.cta-note { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 16px; }

/* ══════════════════════════════
   목록 페이지
══════════════════════════════ */
.list-header { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 24px; }
.list-header-inner { max-width: 1280px; margin: 0 auto; }
.list-title { font-size: 22px; font-weight: 900; color: var(--gray-900); }
.list-count { font-size: 14px; color: var(--gray-500); margin-top: 4px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-400); margin-bottom: 10px; }
.breadcrumb a { color: var(--gray-400); } .breadcrumb a:hover { color: var(--gray-800); }
.breadcrumb span { color: var(--gray-300); }

/* 창고 이미지 배너 (임대 목록 상단) */
.list-img-banner {
  width: 100%; height: 160px; object-fit: cover;
  object-position: center 40%;
  filter: brightness(.75) saturate(.8);
}

.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--gray-100);
  padding: 10px 24px; position: sticky; top: var(--h-header); z-index: 90;
}
.filter-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 12px; color: var(--gray-500); font-weight: 600; }
.filter-btn {
  font-size: 12px; font-weight: 500; color: var(--gray-600);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  padding: 5px 13px; border-radius: 20px; transition: var(--t);
}
.filter-btn:hover, .filter-btn.active { color: var(--white); background: var(--blue-2); border-color: var(--blue-2); }
#list-search {
  font-size: 13px; padding: 6px 12px; border: 1px solid var(--gray-200);
  border-radius: 20px; outline: none; width: 180px; transition: var(--t);
  font-family: var(--font);
}
#list-search:focus { border-color: var(--blue); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-400); }
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-text { font-size: 16px; color: var(--gray-600); font-weight: 600; margin-bottom: 6px; }

/* ══════════════════════════════
   상세 페이지
══════════════════════════════ */
.detail-hero { background: var(--navy); padding: 32px 24px; border-bottom: 2px solid var(--blue); }
.detail-hero-inner { max-width: 1280px; margin: 0 auto; }
.detail-title { font-size: clamp(20px,3vw,30px); font-weight: 900; color: var(--white); line-height: 1.3; margin-bottom: 10px; }
.detail-address { font-size: 13px; color: var(--cyan); display: flex; align-items: center; gap: 6px; }
.detail-body { max-width: 1280px; margin: 0 auto; padding: 36px 24px; }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.detail-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 22px; margin-bottom: 18px; }
.detail-section-title { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100); display: flex; align-items: center; gap: 7px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--gray-100); }
.info-table tr:last-child { border-bottom: none; }
.info-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--gray-500); padding: 8px 0; width: 120px; vertical-align: top; }
.info-table td { font-size: 13px; color: var(--gray-800); padding: 8px 0; font-weight: 500; }
.detail-desc { font-size: 14px; color: var(--gray-700); line-height: 1.8; }
.detail-desc p { margin-bottom: 10px; }
.caution-box { background: #fef3c7; border: 1px solid #fbbf24; border-radius: var(--r); padding: 14px 16px; font-size: 13px; color: #92400e; line-height: 1.7; }
.caution-box strong { display: block; margin-bottom: 4px; }
.industry-tag { background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--gray-700); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; display: inline-block; margin: 4px; }
.contact-card { background: var(--navy); border-radius: var(--r-lg); padding: 24px; color: var(--white); position: sticky; top: 80px; }
.contact-card-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.contact-card-sub { font-size: 12px; color: var(--gray-400); margin-bottom: 18px; }
.contact-phone { font-size: 22px; font-weight: 900; color: var(--cyan); font-family: var(--mono); margin-bottom: 4px; }
.contact-tel { font-size: 14px; color: var(--gray-400); margin-bottom: 18px; }
.prop-summary-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px; margin-bottom: 18px; }
.summary-price { font-size: 20px; font-weight: 900; color: var(--white); font-family: var(--mono); margin-bottom: 4px; }
.summary-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-400); padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.summary-row:last-child { border-bottom: none; }
.summary-val { color: var(--gray-200); font-weight: 600; }
.btn-primary { display: block; width: 100%; background: var(--blue); color: var(--white); text-align: center; font-size: 15px; font-weight: 700; padding: 13px; border-radius: var(--r); transition: var(--t); margin-bottom: 8px; }
.btn-primary:hover { background: var(--blue-light); }
.btn-secondary { display: block; width: 100%; background: transparent; color: var(--gray-300); text-align: center; font-size: 14px; font-weight: 600; padding: 11px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.15); transition: var(--t); }
.btn-secondary:hover { background: rgba(255,255,255,.08); color: var(--white); }

/* ══════════════════════════════
   상담문의 페이지
══════════════════════════════ */
.contact-wrap { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.contact-hero-box { background: var(--navy); border-radius: var(--r-lg); padding: 40px; margin-bottom: 28px; text-align: center; }
.contact-main-phone { font-size: 36px; font-weight: 900; color: var(--cyan); font-family: var(--mono); margin-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.contact-info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 18px; }
.contact-info-title { font-size: 12px; font-weight: 700; color: var(--gray-500); margin-bottom: 6px; }
.contact-info-val { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.inquiry-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 28px; }
.form-title { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 22px; }
.form-row { margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 5px; }
.form-input,.form-select,.form-textarea { width: 100%; padding: 10px 13px; border: 1px solid var(--gray-200); border-radius: var(--r); font-size: 14px; font-family: var(--font); color: var(--gray-800); background: var(--white); outline: none; transition: var(--t); }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.08); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-notice { font-size: 12px; color: var(--gray-400); margin-top: 14px; line-height: 1.7; }

/* ══════════════════════════════
   Footer
══════════════════════════════ */
#footer { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.05); padding: 44px 24px 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-logo-name { font-size: 16px; font-weight: 900; color: var(--white); margin-bottom: 4px; }
.footer-logo-tag  { font-size: 11px; color: var(--cyan); margin-bottom: 12px; }
.footer-brand-desc { font-size: 12px; color: var(--gray-600); line-height: 1.8; max-width: 300px; }
.footer-nav-wrap { display: flex; gap: 44px; }
.footer-nav-col {}
.footer-nav-title { font-size: 11px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-nav-col a { display: block; font-size: 13px; color: var(--gray-600); margin-bottom: 8px; transition: var(--t); white-space: nowrap; }
.footer-nav-col a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.footer-legal  { font-size: 11px; color: var(--gray-600); line-height: 1.9; }
.footer-legal strong { color: var(--gray-500); }
.footer-notice { font-size: 11px; color: var(--gray-700); text-align: right; line-height: 1.9; max-width: 440px; }

/* ══════════════════════════════
   Back to top + Pagination
══════════════════════════════ */
.back-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow); font-size: 17px;
  opacity: 0; pointer-events: none; transition: var(--t); z-index: 80;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--navy); }

/* ══════════════════════════════
   Responsive
══════════════════════════════ */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .contact-card  { position: static; }
  .region-map-wrap { grid-template-columns: 1fr; }
  .region-svg-map  { display: none; }
}
@media (max-width: 768px) {
  .main-nav  { display: none; }
  .menu-btn  { display: flex; }
  .header-phone { font-size: 0; gap: 0; padding: 8px; border: none; }
  .header-phone svg { width: 18px; height: 18px; }
  .hero-inner { padding: 40px 16px 36px; }
  .stats-bar { gap: 7px; }
  .stat-item { min-width: 75px; padding: 10px 12px; }
  .stat-num  { font-size: 18px; }
  .prop-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav-wrap { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .footer-notice { text-align: left; }
  .search-row { flex-direction: column; }
  .img-feature-section { height: auto; padding: 40px 0; }
  .region-grid { grid-template-columns: repeat(3, 1fr); }
  .map-aerial-banner { height: 150px; }
}
@media (max-width: 480px) {
  .section { padding: 28px 14px; }
  .list-header { padding: 16px 14px; }
  .filter-bar  { padding: 8px 14px; }
  .map-section-inner { padding: 28px 14px; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .hero-categories .hcat-btn { font-size: 11px; padding: 4px 10px; }
}

/* ── 가격 메리트 배지 ── */
.prop-merit {
  font-size: 11px; font-weight: 700;
  color: #b45309; background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 9px; border-radius: 4px;
  margin-bottom: 7px; display: inline-block;
}

/* ── 지도 SVG: 항상 표시 (1024px 이하 숨김 해제) ── */
@media (max-width: 1024px) {
  .region-svg-map { display: flex !important; }
  .region-map-wrap { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  .region-map-wrap { display: flex !important; flex-direction: column !important; }
}

/* ── 헤더 외부링크 버튼 (스마트플레이스·블로그) ── */
.header-ext-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--gray-400);
  padding: 6px 9px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.1);
  transition: var(--t); white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.header-ext-btn:hover { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.header-ext-btn svg { flex-shrink: 0; }
.ext-label { font-size: 11px; }

@media (max-width: 900px) {
  .ext-label { display: none; }
  .header-ext-btn { padding: 6px 8px; }
}
@media (max-width: 768px) {
  .header-ext-btn { display: none; } /* 모바일은 사이드메뉴에서만 */
}

/* ══════════════════════════════════════════════
   급매 블러 게이트
══════════════════════════════════════════════ */
.urgent-gate {
  position: relative;
}

/* 블러 콘텐츠 */
.urgent-blurred {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  transition: filter .3s ease;
}


/* 오버레이 전체 */
.urgent-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  background: rgba(13,27,46,.15);
  backdrop-filter: blur(2px);
  border-radius: var(--r-lg);
}
.urgent-overlay.hidden { display: none; }

/* 팝업 카드 */
.urgent-popup {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  text-align: center;
  position: relative;
}

.urgent-popup-badge {
  display: inline-block;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: .3px;
}

.urgent-popup-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.urgent-popup-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.urgent-popup-merit {
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 6px 14px;
  border-radius: var(--r);
  margin-bottom: 20px;
  display: inline-block;
}

.urgent-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.urgent-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  padding: 14px;
  border-radius: var(--r);
  transition: var(--t);
  text-decoration: none;
}
.urgent-btn-call:hover { background: var(--navy); }

.urgent-btn-form {
  display: block;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: var(--r);
  transition: var(--t);
  text-decoration: none;
}
.urgent-btn-form:hover { background: var(--gray-200); }

.urgent-popup-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 0;
  line-height: 1.6;
}



/* 모바일 */
@media (max-width: 480px) {
  .urgent-popup { padding: 22px 18px; }
  .urgent-popup-title { font-size: 16px; }
  .urgent-btn-call { font-size: 15px; }
}
