/* ── 히어로 (A안: 밝은 사진 + 떠 있는 숫자 카드) ── */
.hero { position: relative; padding-bottom: 56px; background: var(--c-bg); }
.hero-media { position: absolute; inset: 0 0 56px; overflow: hidden; background: #DCE6F0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; animation: hero-zoom 1600ms var(--ease-out) both; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 72%);
}
.hero-copy { position: relative; z-index: 1; padding-top: var(--s-6); min-height: 360px; }
.hero-chips {
  position: relative; z-index: 2; display: flex; overflow-x: auto; padding: var(--s-3) 0 0;
  scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}
.hero-chips::-webkit-scrollbar { display: none; }
.hero-chips.is-dragging { cursor: grabbing; }
.hero-chips.is-dragging .chip { pointer-events: none; }
.chip-set { display: flex; gap: var(--s-2); padding-right: var(--s-2); flex: none; }
.chip { -webkit-user-drag: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 var(--s-3); border-radius: var(--radius);
  border: 1px solid var(--c-border); background: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; color: var(--c-text);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.chip[aria-pressed="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #2E9E5B; }
.hero-title {
  font-family: var(--f-serif); font-weight: 700; color: var(--c-text);
  font-size: clamp(26px, 7.4vw, 44px); line-height: 1.3; letter-spacing: -.01em; margin: var(--s-2) 0 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.8), 0 0 18px rgba(255,255,255,.9);
}
.hero-copy .eyebrow { margin: 0; }
.hero-sub { margin: var(--s-3) 0 0; font-size: 15px; font-weight: 600; color: #334155; text-shadow: 0 0 12px rgba(255,255,255,.95); }
.hero-copy > * { animation: rise var(--dur-slow) var(--ease-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: 90ms; }
.hero-copy > *:nth-child(3) { animation-delay: 180ms; }

.hero-stats-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--c-primary); color: #fff; border-top: 3px solid var(--c-gold-bright);
  box-shadow: var(--shadow-card); animation: rise var(--dur-slow) var(--ease-out) 240ms both;
}
.hero-stats .stat { padding: var(--s-4) 0 var(--s-3); text-align: center; position: relative; }
.hero-stats .stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.14); }
.hero-stats .stat b { display: block; font-family: var(--f-serif); font-size: 42px; line-height: 1.05; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; color: var(--c-gold-bright); font-variant-numeric: tabular-nums; }
.hero-stats .stat b.skeleton { width: 48px; height: 40px; margin: 0 auto; background-color: rgba(255,255,255,.12); background-image: none; }
.hero-stats .stat a > span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.hero-stats a { color: inherit; text-decoration: none; display: block; }
.hero-stats-caption { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: var(--s-2) var(--s-4); font-size: 12px; color: #C8D0DC; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stats-caption b { all: unset; color: var(--c-gold-bright); font-weight: 700; }
.hero-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); padding: var(--s-3); }
.hero-actions .btn--gold { background: transparent; color: var(--c-gold-bright); border-color: var(--c-gold-bright); }
.hero-actions .btn--light { background: #fff; color: var(--c-primary); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hero-zoom { from { transform: scale(1.06); } }

/* ── 오늘 확보한 매물 ───────────────────────────── */
.featured { padding-top: var(--s-5); }
.featured-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-1); }
.featured-head h2 { font-size: 15px; margin: 0; }
.featured-head span { font-size: 13px; color: var(--c-text-muted); }

/* ── 매물 목록 ─────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--c-border); margin-bottom: var(--s-2); }
.tab {
  flex: 1; min-height: 48px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: 15px; font-weight: 600; color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tab[aria-selected="true"] { color: var(--c-text); border-bottom-color: var(--c-gold); font-weight: 700; }
.tab .n { color: var(--c-gold); margin-left: 4px; }
.panel { animation: fade var(--dur-fast) var(--ease-out); }
@keyframes fade { from { opacity: 0; } }

.rows { list-style: none; margin: 0; padding: 0; }
.row { padding: var(--s-3) 0; border-bottom: 1px solid var(--c-border); animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.row-main { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.row-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 6px; border: 1px solid var(--c-gold); color: var(--c-gold); border-radius: var(--radius); }
.row-value { font-weight: 800; color: var(--c-gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-sub { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: 2px; font-size: 12.5px; color: var(--c-text-muted); }
.row-sub .supply { white-space: nowrap; }
.list-foot { margin-top: var(--s-5); padding: var(--s-4); background: var(--c-gold-soft); display: flex; flex-direction: column; gap: var(--s-3); }
.list-foot p { margin: 0; font-size: 14px; color: #4B3A18; }
.empty { padding: var(--s-6) 0; text-align: center; color: var(--c-text-muted); }
.notice { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); background: var(--c-bg-alt); border-left: 3px solid var(--c-gold); font-size: 14px; }

/* ── 단지 현황판 ───────────────────────────────── */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.cx { background: #fff; border: 1px solid var(--c-border); padding: var(--s-3); display: flex; flex-direction: column; gap: 4px; min-height: 128px; }
.cx-name { font-weight: 800; font-size: 16px; }
.cx-meta { font-size: 13px; color: var(--c-text-muted); }
.cx-actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: var(--s-2); }
.cx-actions .btn { min-height: 44px; font-size: 13px; padding: 0 var(--s-2); }
.cx--live { border-color: var(--c-primary); }
.cx--muted { background: var(--c-bg-alt); }
.badge { align-self: flex-start; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: var(--radius); }
.badge--live { background: var(--c-primary); color: var(--c-gold-bright); }
.badge--soon { background: var(--c-gold-soft); color: var(--c-gold); }
.badge--plan { background: #EEF0F3; color: var(--c-text-muted); }
.board-later { grid-column: 1 / -1; padding: var(--s-3); border: 1px dashed var(--c-border); text-align: center; font-size: 14px; color: var(--c-text-muted); background: #fff; }
.board-sub { margin: var(--s-6) 0 var(--s-3); font-size: 16px; }

/* ── 상가 소개 / 사무소 ─────────────────────────── */
.teaser { display: grid; gap: var(--s-4); align-items: center; }
.teaser-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.teaser:hover .teaser-img img { transform: scale(1.03); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 var(--s-4); font-size: 15px; }
.facts dt { color: var(--c-text-muted); }
.facts dd { margin: 0; font-weight: 600; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin: var(--s-5) 0; }
.trust div { background: #fff; border: 1px solid var(--c-border); padding: var(--s-3); text-align: center; }
.trust b { display: block; font-family: var(--f-serif); font-size: 17px; color: var(--c-text); }
.trust span { font-size: 12px; color: var(--c-text-muted); }

@media (min-width: 768px) {
  .hero { padding-bottom: 64px; }
  .hero-media { inset: 0 0 64px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 68%); }
  .hero-copy { padding-top: var(--s-9); min-height: 460px; }
  .hero-stats { max-width: 640px; }
  .board { grid-template-columns: repeat(3, 1fr); }
  .teaser { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
}
@media (min-width: 1024px) {
  .board { grid-template-columns: repeat(4, 1fr); }
  .rows { columns: 2; column-gap: var(--s-7); }
  .row { break-inside: avoid; }
}

/* ── 숫자 룰렛 ─────────────────────────────────── */
.hero-stats .stat b { height: 1em; line-height: 1em; display: flex; justify-content: center; overflow: hidden; }
.reel { display: inline-block; height: 1em; overflow: hidden; }
.reel-strip { display: block; }
.reel-strip span { display: block; height: 1em; line-height: 1em; text-align: center; }

/* 누르기 전: 금빛이 카드를 훑고 숫자가 은은하게 빛남 */
.hero-stats { position: relative; overflow: hidden; }
.hero-stats.is-idle::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(201,168,106,.0) 20%, rgba(201,168,106,.28) 50%, rgba(201,168,106,0) 80%, transparent 100%);
  animation: shine 3.6s var(--ease-out) 1.8s infinite;
}
.hero-stats.is-idle .stat a { animation: glow 2.6s ease-in-out 1.8s infinite; }
.hero-stats.is-idle .stat a > span::after { content: ' ›'; display: inline-block; animation: nudge 1.6s ease-in-out 1.8s infinite; }
.hero-stats .stat a:hover, .hero-stats .stat a:focus-visible { filter: drop-shadow(0 0 10px rgba(201,168,106,.55)); }
@keyframes shine { 0% { left: -40%; } 55%, 100% { left: 120%; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(201,168,106,0)); } 50% { filter: drop-shadow(0 0 9px rgba(201,168,106,.6)); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

/* ── 오늘 확보한 매물 롤링 ─────────────────────── */
.ticker { height: 144px; overflow: hidden; position: relative; }
.ticker-list { list-style: none; margin: 0; padding: 0; will-change: transform; }
.ticker-row { height: 72px; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-border); box-sizing: border-box; }
.ticker-row .row-sub { align-items: baseline; }
.ellipsis { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1024px) { .ticker { max-width: 640px; } }

@media (prefers-reduced-motion: reduce) {
  .hero-stats.is-idle::after { display: none; }
  .ticker { height: auto; }
}

/* ── 히어로 워드마크 ───────────────────────────── */
.hero-copy { text-align: center; padding-top: var(--s-5); }
.hero-media::after {
  background: linear-gradient(180deg, rgba(251,248,242,.97) 0%, rgba(251,248,242,.92) 34%, rgba(251,248,242,.55) 56%, rgba(251,248,242,0) 76%) !important;
}
.lockup { display: flex; flex-direction: column; align-items: center; }
.lockup > * { animation: rise var(--dur-slow) var(--ease-out) both; }
.lockup > :nth-child(2) { animation-delay: 80ms; }
.lockup > :nth-child(3) { animation-delay: 160ms; }
.lockup > :nth-child(4) { animation-delay: 260ms; }
.lockup-emblem { width: 52px; height: 52px; margin-bottom: var(--s-2); filter: drop-shadow(0 2px 6px rgba(138,106,46,.25)); }
.lockup-latin { margin: 0; font-family: var(--f-latin); font-size: 12px; font-weight: 600; letter-spacing: .42em; color: var(--c-gold); padding-left: .42em; }
.lockup-name { margin: 6px 0 0; font-family: var(--f-serif); font-weight: 700; color: var(--c-text); font-size: clamp(34px, 10vw, 54px); line-height: 1.15; letter-spacing: .02em; text-shadow: 0 0 22px rgba(251,248,242,.95); }
.lockup-city { display: block; font-size: .36em; letter-spacing: .5em; padding-left: .5em; color: var(--c-gold); margin-bottom: 6px; }
.lockup-sub { display: flex; align-items: center; gap: 12px; margin: var(--s-3) 0 0; }
.lockup-sub .rule { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--c-gold-mid)); }
.lockup-sub .rule:last-child { transform: scaleX(-1); }
.lockup-complex { font-family: var(--f-serif); font-size: 19px; font-weight: 700; color: var(--c-gold); letter-spacing: .08em; }
.lockup-note { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #4B5563; }

/* ── 단지 칩: 골드 ─────────────────────────────── */
.chip { border-color: var(--c-gold-mid); color: var(--c-gold); background: rgba(255,255,255,.92); }
.chip:hover { background: var(--c-gold-soft); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, #C9A86A, #8A6A2E); border-color: #8A6A2E; color: #fff; }
.chip[aria-pressed="true"] .dot { background: #fff; }

/* ── 카드 톤 ───────────────────────────────────── */
.cx, .store-card, .trust div { box-shadow: 0 1px 0 rgba(138,106,46,.06), 0 8px 24px rgba(27,36,51,.04); }
.list-foot { background: linear-gradient(135deg, #F6EEDD, #F3EDE2); border: 1px solid var(--c-border); }
@media (min-width: 768px) { .hero-copy { padding-top: var(--s-7); } }
.hero-media::after {
  background: linear-gradient(180deg, rgba(251,248,242,.98) 0%, rgba(251,248,242,.94) 42%, rgba(251,248,242,.6) 66%, rgba(251,248,242,0) 86%) !important;
}
.lockup-complex { padding: 4px 16px; background: rgba(251,248,242,.92); border: 1px solid rgba(184,146,74,.45); border-radius: 999px; animation: rise var(--dur-mid) var(--ease-out) both; }
.lockup-sub .rule { width: 40px; height: 1.5px; background: linear-gradient(90deg, rgba(184,146,74,0) 0%, #B8924A 35%, #B8924A 100%); box-shadow: 0 0 6px rgba(251,248,242,.9); }

/* 로고 엠블럼 제거 후: 글자 위로, 이름 더 굵게, 단지명 크게 */
.hero-copy { padding-top: var(--s-2); }
.lockup-name { -webkit-text-stroke: .9px currentColor; paint-order: stroke fill; }
.lockup-city { -webkit-text-stroke: 0; }
.lockup-complex { font-size: 24px; padding: 6px 20px; }
.lockup-sub { margin-top: var(--s-4); }
@media (min-width: 768px) { .hero-copy { padding-top: var(--s-5); } }

/* ── 히어로 재구성: 로고를 사진 가운데에, 글자 뒤만 은은하게 밝힘 ── */
.hero-copy {
  /* 화면 높이(svh)에 맞추면 카톡 등 앱 안 브라우저에서 스크롤 때 위·아래 바가 숨었다 나오며 높이가 계속 바뀜 → 고정 높이 */
  min-height: 400px;
  padding: var(--s-6) var(--gutter) calc(var(--s-6) + 8px);
  display: flex; align-items: center; justify-content: center;
}
.hero-media img { object-position: center 40%; }
.hero-media::after {
  background:
    radial-gradient(ellipse 78% 46% at 50% 44%, rgba(251,248,242,.94) 0%, rgba(251,248,242,.82) 42%, rgba(251,248,242,.35) 70%, rgba(251,248,242,0) 100%),
    linear-gradient(180deg, rgba(251,248,242,.55) 0%, rgba(251,248,242,0) 22%) !important;
}
.lockup { gap: 0; }
.lockup-latin { font-size: 11px; letter-spacing: .48em; padding-left: .48em; }
.lockup-name { margin-top: 10px; font-size: clamp(36px, 10.5vw, 56px); line-height: 1.12; letter-spacing: .04em; }
.lockup-city { font-size: 14px; letter-spacing: .55em; padding-left: .55em; margin-bottom: 8px; -webkit-text-stroke: 0; }
.lockup-sub { margin-top: var(--s-4); gap: 14px; }
.lockup-sub .rule { width: 36px; }
.lockup-complex { font-size: 21px; padding: 7px 22px; letter-spacing: .1em; box-shadow: 0 4px 14px rgba(138,106,46,.12); }
@media (min-width: 768px) {
  .hero-copy { min-height: 460px; padding-top: var(--s-7); }
  .hero-media::after {
    background:
      radial-gradient(ellipse 52% 55% at 50% 45%, rgba(251,248,242,.94) 0%, rgba(251,248,242,.78) 45%, rgba(251,248,242,0) 80%),
      linear-gradient(180deg, rgba(251,248,242,.5) 0%, rgba(251,248,242,0) 25%) !important;
  }
  .hero-stats { margin: 0 auto; }
}

/* ── PC: 좌우 여백 줄이기 (넓은 화면을 더 채움) ─────────── */
@media (min-width: 1024px) {
  :root { --container: 1320px; --gutter: 48px; }
  .hero-stats-wrap .hero-stats, .call-wrap .call-cta, .featured .ticker, .featured .featured-head {
    max-width: 1000px; margin-left: auto; margin-right: auto;
  }
  .hero-stats .stat { padding: var(--s-5) 0 var(--s-4); }
  .hero-stats .stat b { font-size: 52px; }
  .hero-copy { min-height: 520px; }
  .lockup-name { font-size: 64px; }
  .lockup-latin { font-size: 13px; }
  .lockup-city { font-size: 16px; }
  .lockup-complex { font-size: 24px; }
  .call-cta { justify-content: center; padding: 20px 32px; }
  .call-text { flex-direction: row; align-items: center; gap: var(--s-5); }
  .call-number { font-size: 44px; margin: 0; }
  .ticker-row { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-6); align-content: center; }
}
@media (min-width: 1440px) {
  :root { --container: 1400px; }
  .hero-stats-wrap .hero-stats, .call-wrap .call-cta, .featured .ticker, .featured .featured-head { max-width: 1080px; }
}

/* ── 더보기: 아래로 펼쳐지기 ─────────────────────── */
.fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease-out); }
.fold.is-open { grid-template-rows: 1fr; }
.fold-inner { overflow: hidden; min-height: 0; }
.fold.is-open .row { animation: unfold 460ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes unfold { from { opacity: 0; transform: translateY(-10px); } }
.more-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 52px; margin-top: var(--s-4); padding: 0 var(--s-4);
  background: #fff; border: 1px solid var(--c-gold-mid); border-radius: 6px;
  font-size: 15px; font-weight: 700; color: var(--c-text);
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.more-btn:hover { background: var(--c-gold-soft); }
.more-chev {
  width: 10px; height: 10px; border-right: 2px solid var(--c-gold); border-bottom: 2px solid var(--c-gold);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-mid) var(--ease-out);
}
.more-btn[aria-expanded="true"] .more-chev { transform: translateY(2px) rotate(-135deg); }
.more-btn[aria-expanded="false"] .more-chev { animation: chev-bob 1.8s ease-in-out infinite; }
@keyframes chev-bob { 50% { transform: translateY(1px) rotate(45deg); } }
.ticker { transition: height 520ms var(--ease-out); }
.ticker.is-expanded .ticker-row { animation: unfold 420ms var(--ease-out) both; }
.more-btn--ticker { margin-top: var(--s-3); }
@media (min-width: 1024px) { .featured .more-btn--ticker { max-width: 1000px; margin-left: auto; margin-right: auto; } }

/* ── 전매·전세·월세 탭: 확실하게 구분 ────────────────── */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-bottom: 0; margin-bottom: var(--s-4); }
.tab {
  position: relative; min-height: 64px; border: 1px solid var(--c-border); border-radius: 6px; margin: 0;
  background: #fff; color: var(--c-text-muted); font-size: 17px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.tab:hover { border-color: var(--c-gold-mid); color: var(--c-text); }
.tab .n { margin: 0; font-size: 13px; font-weight: 700; color: var(--c-gold); }
.tab .n::after { content: '건'; }
.tab[aria-selected="true"] {
  background: #1B2433; border-color: #1B2433; color: #fff; transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(27,36,51,.22);
}
.tab[aria-selected="true"] .n { color: var(--c-gold-bright); }
.tab[aria-selected="true"]::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #E3C98F, #B8924A); border-radius: 6px 6px 0 0; }
.tab[aria-selected="true"]::after {
  content: ''; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: #1B2433;
  transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 1024px) { .tab { min-height: 72px; font-size: 19px; } }

/* 신축 단지 사진: 하늘 쪽에 글자, 아래로 단지가 선명하게 */
.hero-media img { object-position: center 78%; filter: saturate(1.08) contrast(1.04); }
.hero-media::after {
  background:
    radial-gradient(ellipse 74% 40% at 50% 42%, rgba(251,248,242,.88) 0%, rgba(251,248,242,.66) 45%, rgba(251,248,242,.18) 75%, rgba(251,248,242,0) 100%),
    linear-gradient(180deg, rgba(251,248,242,.35) 0%, rgba(251,248,242,0) 18%) !important;
}
@media (min-width: 768px) {
  .hero-media img { object-position: center 70%; }
  .hero-media::after {
    background:
      radial-gradient(ellipse 46% 50% at 50% 42%, rgba(251,248,242,.88) 0%, rgba(251,248,242,.62) 48%, rgba(251,248,242,0) 82%),
      linear-gradient(180deg, rgba(251,248,242,.3) 0%, rgba(251,248,242,0) 20%) !important;
  }
}

/* 브레인시티 크게 + 로고를 구름 한가운데에 */
.lockup-city { font-size: clamp(20px, 5.6vw, 28px); letter-spacing: .32em; padding-left: .32em; margin-bottom: 4px; font-weight: 700; }
.hero-media img { object-position: center 58%; }
@media (min-width: 768px) {
  .hero-media img { object-position: center 46%; }
  .lockup-city { font-size: 28px; }
}
@media (max-width: 767px) {
  .hero-copy { align-items: flex-start; padding-top: var(--s-3); }
}

/* 단지명: 조금 아래로, 더 크고 또렷하게 (남색 배지 + 밝은 골드 글씨) */
.lockup-sub { margin-top: var(--s-7); gap: 14px; }
.lockup-complex {
  font-size: clamp(26px, 7.4vw, 34px); font-weight: 700; letter-spacing: .08em;
  padding: 8px 28px; color: #F0D9A0; background: rgba(27,36,51,.92);
  border: 1.5px solid #C9A86A; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(27,36,51,.35), inset 0 1px 0 rgba(255,255,255,.12);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.lockup-sub .rule { width: 44px; height: 2px; background: linear-gradient(90deg, rgba(201,168,106,0), #E3C98F); box-shadow: none; }
.lockup-sub .rule:last-child { transform: scaleX(-1); }
@media (min-width: 768px) { .lockup-complex { font-size: 34px; } .lockup-sub { margin-top: var(--s-8); } }
@media (max-width: 767px) { .hero-copy { padding-top: var(--s-5); } }

/* '한빛 부동산'을 브레인시티와 단지명 배지의 정확히 가운데로 (두 요소 위치는 그대로) */
.lockup-city { margin-bottom: 26px; }
.lockup-sub { margin-top: 26px; }
@media (min-width: 768px) {
  .lockup-city { margin-bottom: 34px; }
  .lockup-sub { margin-top: 34px; }
}

/* 입주예정 단지 칩: 입주중과 구분되게 연한 골드 */
.chip--soon { background: rgba(246,241,231,.94); border-style: dashed; }

/* ── 작은 휴대폰(320~400px) 반응형 보정 ───────────────── */
.lockup { max-width: 100%; }
.lockup-complex { white-space: nowrap; max-width: 100%; }
@media (max-width: 400px) {
  .lockup-complex { font-size: clamp(20px, 7vw, 28px); padding: 7px 20px; }
  .lockup-name { font-size: clamp(32px, 10.5vw, 44px); }
  .lockup-city { font-size: clamp(17px, 5.4vw, 22px); letter-spacing: .26em; padding-left: .26em; }
  .lockup-latin { font-size: 10px; letter-spacing: .32em; padding-left: .32em; }
  .hero-stats .stat b { font-size: 36px; }
}
@media (max-width: 380px) {
  .lockup-sub .rule { display: none; }
  .tab { font-size: 15px; min-height: 58px; }
}
.hero-actions .btn { white-space: nowrap; }
@media (max-width: 400px) { .hero-actions .btn { font-size: 14px; padding: 0 8px; } }

/* ── 작은 글씨 키우기: 읽는 글 13px, 배지 12px 이상 ── */
.row-sub { font-size: 13px; }
.tag, .badge { font-size: 12px; }
.hero-stats-caption { font-size: 13px; }
.call-24 { font-size: 12px; }
@media (max-width: 400px) {
  .call-24 { font-size: 11px; }
  .lockup-latin { font-size: 11px; }
}

/* ── 입주예정 배지: 글자를 한 단계 진하게 (명암 기준 충족) ── */
.badge--soon { color: #76571F; }

/* 배경 사진: 가운데를 향해 천천히 줌인했다가 부드럽게 돌아옴 */
.hero-media img { animation: hero-zoom 1600ms var(--ease-out) both, hero-push 24s ease-in-out 1.6s infinite alternate; }
@keyframes hero-push { from { scale: 1; } to { scale: 1.18; } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }

/* ── 매물 누르면 상세 (인터넷 광고 명시사항) ───────────── */
[data-listing] { cursor: pointer; position: relative; transition: background-color var(--dur-fast) var(--ease-out); }
.row[data-listing] { padding-right: 2px; }
.row[data-listing]:hover, .ticker-row[data-listing]:hover { background: var(--c-gold-soft); }
[data-listing]:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.row-more { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--c-gold); text-align: right; }

.sheet-head h2 .tag { margin-right: 6px; vertical-align: 3px; }
.ld-deals { list-style: none; margin: 0 0 var(--s-4); padding: var(--s-4); background: var(--c-primary); color: #fff; border-radius: 6px; display: grid; gap: var(--s-3); }
.ld-deals li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px var(--s-3); }
.ld-kind { font-size: 13px; font-weight: 700; color: #E3C98F; }
.ld-deals b { font-size: 22px; font-weight: 800; color: var(--c-gold-bright); text-align: right; font-variant-numeric: tabular-nums; }
.ld-deals small { grid-column: 1 / -1; text-align: right; font-size: 12.5px; color: #C8CFDA; }
.ld-table { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 1px solid var(--c-border); }
.ld-table dt, .ld-table dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: 14px; }
.ld-table dt { color: var(--c-text-muted); padding-right: var(--s-4); white-space: nowrap; }
.ld-table dd { font-weight: 600; text-align: right; word-break: keep-all; }
.ld-table dd.is-missing { color: var(--c-text-muted); font-weight: 500; }
.ld-note { margin: var(--s-3) 0; font-size: 13px; color: var(--c-text-muted); }
.ld-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-2); }
.ld-actions .btn { white-space: nowrap; padding-inline: 8px; }
.ld-office { display: grid; grid-template-columns: max-content 1fr; gap: 2px var(--s-3); margin: var(--s-4) 0 var(--s-2); padding: var(--s-3); background: var(--c-bg-alt); border-radius: 4px; font-size: 12.5px; }
.ld-office dt { color: var(--c-text-muted); }
.ld-office dd { margin: 0; }

/* 상세 창: 단지 정보 + 한빛 부동산의 약속 */
.ld-h { margin: var(--s-5) 0 var(--s-3); font-family: var(--f-serif); font-size: 18px; }
/* 단지 배치도: 해당 동에 금빛 파동 + 동 이름표 */
.ld-h small { margin-left: 6px; font-family: var(--f-sans, inherit); font-size: 13px; font-weight: 700; color: var(--c-gold); }
.ld-plan-map { position: relative; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; background: #fff; }
.ld-plan-map img { display: block; width: 100%; height: auto; }
.ld-plan-spot { position: absolute; width: 0; height: 0; }
.ld-plan-spot i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid #E11D48; background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 0 0 2000px rgba(15, 23, 42, .42); }
.ld-plan-spot i::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #E11D48; animation: plan-pulse 1.6s ease-out infinite; }
.ld-plan-spot b { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px;
  background: #E11D48; color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.ld-plan-spot b::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #E11D48; }
@keyframes plan-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ld-plan-spot i::after { animation: none; } }
.ld-plan-note { margin: 6px 0 0; font-size: 12px; color: var(--c-text-muted); }
.ld-hl-grid { display: grid; gap: var(--s-2); }
@media (min-width: 560px) { .ld-hl-grid { grid-template-columns: 1fr 1fr; } }
.ld-hl-card { padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid var(--c-border); border-radius: 6px; }
.ld-hl-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--c-text); margin-bottom: 6px; }
.ld-hl-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c-gold-soft); color: var(--c-gold); }
.ld-hl-icon svg { width: 16px; height: 16px; }
.ld-hl-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.ld-hl-card li { position: relative; padding-left: 12px; font-size: 13.5px; line-height: 1.5; color: #3A4556; }
.ld-hl-card li::before { content: ''; position: absolute; left: 2px; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: var(--c-gold-mid); }

.ld-pledge { margin: var(--s-5) 0 var(--s-4); padding: var(--s-5) var(--s-4); border-radius: 6px; text-align: center;
  background: linear-gradient(160deg, #1B2433 0%, #26324A 100%); color: #E6EAF0; border: 1px solid rgba(201,168,106,.35); }
.ld-pledge-lead { margin: 0 0 var(--s-3); font-family: var(--f-serif); font-size: 17px; font-weight: 700; line-height: 1.55; color: #F0D9A0; }
.ld-pledge-body { margin: 0 0 var(--s-4); font-size: 14px; line-height: 1.7; color: #C8CFDA; }
.ld-checks { list-style: none; margin: 0 auto; padding: var(--s-3) 0 0; border-top: 1px solid rgba(201,168,106,.25); display: grid; gap: 7px; text-align: left; max-width: 300px; }
.ld-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #F3EDE2; }
.ld-checks li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #C9A86A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2433' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* 단지별 페이지 '단지 안내' (moa.html 등) */
.complex-facts { margin: 0 0 var(--s-5); padding-left: 1.2em; color: var(--c-text-muted); line-height: 1.8; }
.complex-intro a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 광고 연결 안내글 (build_pages.py): 표·자주 묻는 질문 */
.intro-body { max-width: 820px; }
.intro-h3 { font-family: var(--f-serif); font-size: 19px; font-weight: 700; margin: var(--s-6) 0 var(--s-3); color: var(--c-text); }
.intro-count { margin: 0 0 var(--s-2); font-size: 16px; font-weight: 700; color: var(--c-gold); line-height: 1.7; }
.intro-note { margin: 0 0 var(--s-4); font-size: 14px; color: var(--c-text-muted); }
.info-table-wrap { overflow-x: auto; margin: 0 0 var(--s-4); }
.info-table { width: 100%; border-collapse: collapse; background: var(--c-surface); font-size: 15px; line-height: 1.6; }
.info-table th, .info-table td { padding: 10px 12px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.info-table thead th { background: var(--c-gold-soft); font-size: 14px; color: var(--c-gold); }
.info-table tbody th { width: 34%; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.faq details { border-bottom: 1px solid var(--c-border); background: var(--c-surface); }
.faq summary { cursor: pointer; padding: 14px 12px; font-weight: 700; min-height: 44px; }
.faq details p { margin: 0; padding: 0 12px 14px; color: var(--c-text-muted); line-height: 1.7; }
.intro-contact { margin-top: var(--s-5); }
.intro-links { font-size: 14px; color: var(--c-text-muted); }
@media (max-width: 480px) { .info-table tbody th { white-space: normal; width: 30%; } }
