/* 분양노트 테마 CSS - g56-own */
:root {
  --bg: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #c2410c;
  --accent-light: #fff7ed;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* Header */
#hd { background: rgba(255,255,255,.85); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
#hd_wrapper { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
#logo a { font-size: 22px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
#logo a span { font-size: 24px; }

#gnb { display: flex; align-items: center; gap: 4px; }
#gnb a { padding: 8px 14px; border-radius: 8px; font-weight: 500; color: #334155; }
#gnb a.active, #gnb a:hover { background: var(--accent-light); color: var(--accent); }
#gnb .btn-consult { background: var(--accent); color: #fff !important; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
#gnb .btn-consult:hover { background: #9a3412; }

/* Banner top */
.top-banner { background: linear-gradient(90deg, #c2410c, #ea580c); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }
.top-banner a { color: #fff; font-weight: 600; }

/* Container */
#container { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
#wrapper { background: transparent; }

/* Hero */
.hero { text-align: center; margin-bottom: 32px; }
.hero h1 { font-size: 32px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.5px; }
.hero p { color: var(--text-muted); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-card .label { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

/* Sections */
.section { margin-bottom: 48px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 22px; font-weight: 700; margin: 0; }
.section-header .more { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; border: 1px solid transparent; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: var(--border); }
.card .badge { display: inline-block; background: var(--accent-light); color: var(--accent); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.card .meta { color: var(--text-muted); font-size: 13px; }
.card .meta span { margin-right: 8px; }

/* Spotlight */
.spotlight { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; display: flex; align-items: center; justify-content: space-between; }
.spotlight .info h3 { margin: 0 0 4px; font-size: 20px; }
.spotlight .info p { margin: 0; color: var(--text-muted); }
.spotlight .btn { background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600; }

/* Regional bars (simple) */
.region-bar { display: flex; align-items: center; margin-bottom: 8px; }
.region-bar .name { width: 80px; font-size: 14px; }
.region-bar .bar { flex: 1; height: 10px; background: #e2e8f0; border-radius: 5px; overflow: hidden; }
.region-bar .fill { height: 100%; background: var(--accent); border-radius: 5px; }

/* Footer */
#ft { background: #1e293b; color: #cbd5e1; padding: 40px 20px 24px; margin-top: 40px; }
#ft_wr { max-width: 1200px; margin: 0 auto; }
#ft a { color: #94a3b8; }
#ft a:hover { color: #fff; }
.ft-info { font-size: 14px; line-height: 1.8; }

/* Responsive */
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  #hd_wrapper { flex-wrap: wrap; gap: 12px; }
  #gnb { flex-wrap: wrap; }
  .hero h1 { font-size: 24px; }
  .spotlight { flex-direction: column; text-align: center; gap: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  #container { padding: 16px 12px 40px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card .num { font-size: 22px; }
}
