:root {
  --bg: #F9F8F6;
  --surface: #FFFFFF;
  --navy: #0E1E35;
  --navy2: #162b4a;
  --navy3: #1e3a60;
  --gold: #d3a032;
  --gold2: #fec446;
  --gold-bg: #FBF5E6;
  --ink: #111111;
  --ink2: #3A3A3A;
  --ink3: #777777;
  --ink4: #AAAAAA;
  --line: rgba(0, 0, 0, 0.07);
  --line2: rgba(0, 0, 0, 0.13);
  --green: #165C3A;
  --green-bg: #EBF5EE;
  --: #A02020;
  --red-bg: #FBF0F0;
  --r: 8px;
  --r-lg: 14px;
  --r-xl: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: 'Pretendard', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit
}

button {
  font-family: inherit;
  cursor: pointer
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ── 스크롤 페이드인 효과 ── */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(14, 30, 53, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px)
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  transition: color .15s
}

.nav-back:hover {
  color: #fff
}

.nav-back i {
  font-size: 16px
}

.nav-center {
  display: flex;
  gap: 28px
}

.nav-center a {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  transition: color .2s
}

.nav-center a:hover {
  color: #fff
}

.nav-cta {
  height: 36px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
  text-align: center;
  align-content: center;
}

.nav-cta:hover {
  background: var(--gold2)
}

/* SUB NAV */
.sub-nav {
  position: sticky;
  top: 64px;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  padding: 0 clamp(20px, 5vw, 60px);
  overflow-x: auto
}

.sub-nav::-webkit-scrollbar {
  display: none
}

.sub-btn {
  height: 48px;
  padding: 0 4px;
  margin-right: 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  color: var(--ink3);
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0
}

.sub-btn:hover {
  color: var(--ink2)
}

.sub-btn.on {
  color: var(--navy);
  font-weight: 700;
  border-bottom-color: var(--gold)
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px)
}

/* ── 히어로 (메인사진 + 타이틀) ── */
.d-hero-img {
  width: 100%;
  height: 360px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.d-hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%
}

.d-hero-img-placeholder i {
  font-size: 48px;
  color: rgba(255, 255, 255, .15)
}

.d-hero-img-placeholder span {
  font-size: 12px;
  color: rgba(255, 255, 255, .25);
  letter-spacing: 1px
}

.d-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 30, 53, .2) 0%, rgba(14, 30, 53, .7) 100%)
}

.d-hero-img-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px
}

/* .d-hero-img-info-left{ } */
.d-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(26, 122, 74, .9);
  border: 1px solid rgba(74, 222, 128, .3);
  font-size: 11px;
  font-weight: 700;
  color: #4ADE80;
  margin-bottom: 10px;
  backdrop-filter: blur(8px)
}

.d-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80
}

.d-name {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3)
}

.d-addr {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  gap: 4px
}

.d-addr i {
  font-size: 14px
}

.d-hero-img-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.d-hero-img-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px)
}

/* 가격박스 + 갤러리 2컬럼 */
.d-hero-body {
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
  border-bottom: none
}

.d-hero-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.d-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--ink3);
  border: 1px solid var(--line)
}

/* 가격카드: sticky 고정 */
.price-card {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 26px;
  position: sticky;
  top: 112px
}

.pc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px
}

.pc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .2)
}

.pc-status-text {
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase
}

.pc-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px
}

.pc-price {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 18px
}

.pc-line {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.pc-key {
  font-size: 12px;
  color: rgba(255, 255, 255, .4)
}

.pc-val {
  font-size: 12px;
  font-weight: 600;
  color: #fff
}

.pc-dday {
  margin-top: 14px;
  padding: 11px;
  background: rgba(160, 32, 32, .3);
  border-radius: var(--r);
  border: 1px solid rgba(160, 32, 32, .4);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #FCA5A5
}

.pc-btn-primary {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 700;
  transition: background .15s;
  cursor: pointer
}

.pc-btn-primary:hover {
  background: var(--gold2)
}

.pc-btn-sec {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r);
  font-size: 13px;
  transition: all .15s;
  cursor: pointer
}

.pc-btn-sec:hover {
  border-color: rgba(255, 255, 255, .4);
  color: #fff
}

/* 우측: 태그 + 갤러리 세로 배치 */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line)
}

/* ── 갤러리 ── */
.gallery-wrap {
  padding: 0
}

.sec-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 20px
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 320px
}

.g-cell {
  background: #E2DDD5;
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .15s;
  position: relative
}

.g-cell:hover {
  opacity: .88
}

.g-cell:hover .g-zoom {
  opacity: 1
}

.g-cell i {
  font-size: 28px;
  color: rgba(0, 0, 0, .2)
}

.g-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.g-zoom {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 53, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s
}

.g-zoom i {
  font-size: 24px;
  color: #fff
}

.g-main {
  grid-row: 1/3;
  border-radius: var(--r-lg)
}

.g-main i {
  font-size: 40px
}

.g-more {
  flex-direction: column;
  gap: 4px
}

.g-more-label {
  border: 0.5px solid rgba(255, 255, 255, 0.418);
  border-radius: 20px;
  padding: 10px;
  background-color: #08111e65;
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
  position: relative;
  z-index: 1
}

/* 라이트박스 */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px
}

.lightbox.open {
  display: flex
}

.lb-img {
  max-width: 95vw;
  max-height: 90vh;
  min-width: min(300px, 90vw);
  min-height: 200px;
  border-radius: var(--r-lg);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.lb-img img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--r-lg)
}

.lb-img i {
  font-size: 56px;
  color: rgba(255, 255, 255, .15)
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s
}

.lb-close:hover {
  background: rgba(255, 255, 255, .2)
}

.lb-close i {
  font-size: 20px;
  color: #fff
}

.lb-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, .5)
}

.lb-nav {
  display: flex;
  gap: 12px
}

.lb-nav-btn {
  height: 40px;
  padding: 0 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
  font-family: 'Pretendard', sans-serif
}

.lb-nav-btn:hover {
  background: rgba(255, 255, 255, .2)
}

/* INVEST */
.invest-section {
  background: var(--navy);
  border-radius: var(--r-xl);
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden
}

.invest-head {
  padding: 28px 32px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.invest-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px
}

.invest-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.3
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.invest-item {
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  transition: background .2s
}

.invest-item:last-child {
  border-right: none
}

.invest-item:hover {
  background: rgba(255, 255, 255, .05)
}

.invest-icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block
}

.invest-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 3px;
  letter-spacing: -0.5px
}

.invest-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px
}

.invest-item-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6
}

.sec {
  padding: 30px 0;
  border-bottom: 1px solid var(--line)
}

.invest-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.invest-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #1A2E48;
}

.invest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 모바일: 1열 */
@media (max-width: 768px) {
  .invest-photos {
    grid-template-columns: 1fr;
    /* padding: 0 20px 20px; */
  }

}

/* 투자가치 슬라이더 */
.invest-slider-wrap {
  position: relative;
  /* border-radius: var(--r-lg); */
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.05),
    0 2px 2px rgba(0, 0, 0, 0.05),
    0 5px 5px rgba(0, 0, 0, 0.08),
    0 8px 8px rgba(0, 0, 0, 0.05);
}

.invest-slider {
  display: flex;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.invest-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1A2E48;
}

.invest-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.invest-prev,
.invest-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 30, 53, .7);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 10;
  font-size: 18px;
}

.invest-prev {
  left: 14px;
}

.invest-next {
  right: 14px;
}

.invest-prev:hover,
.invest-next:hover {
  background: rgba(14, 30, 53, .95);
}

.invest-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.invest-counter {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .4);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.invest-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}

.invest-dot.on {
  width: 20px;
  border-radius: 3px;
  background: #fff;
}

@media (max-width: 768px) {
  .invest-slide {
    aspect-ratio: 3/2;
  }

  .invest-slider-wrap {
    border-radius: 0;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    box-shadow: none;
  }

  .invest-slide img {
    aspect-ratio: unset;
  }

  .community-slide img {
    aspect-ratio: 4/3;
  }

  .invest-prev,
  .invest-next {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}


/* 단지개요 */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.ov-col {
  display: flex;
  flex-direction: column
}

.ov-col+.ov-col {
  padding-left: 40px;
  border-left: 1px solid var(--line)
}

.ov-col:first-child {
  padding-right: 40px
}

.ov-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.ov-row:last-child {
  border-bottom: none
}

.ov-key {
  font-size: 13px;
  color: var(--ink3)
}

.ov-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right
}

/* ── 단지 특화 / 커뮤니티 섹션 ── */
.feature-sec {
  padding: 40px 0;
  border-bottom: 1px solid var(--line)
}

.feature-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px
}

.feature-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  line-height: 1.3
}

/* 단지안내 - PC: 좌(메인) + 우(위아래 2장) */
.complex-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 10px;
  align-items: stretch;
}

.complex-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #E2DDD5;
  grid-row: 1;
}

.complex-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.complex-sub-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.complex-sub {
  border-radius: var(--r-lg);
  overflow: hidden;
  flex: 1;
  background: #E2DDD5;
}

.complex-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 모바일: 세로 배치 유지 */
@media (max-width: 768px) {
  .complex-photos {
    grid-template-columns: 1fr;
  }

  .complex-main {
    /* aspect-ratio: 16/9; */
    width: 100%;
  }

  .complex-sub {
    aspect-ratio: 16/9;
  }

  .complex-sub-row {
    flex-direction: column;
  }
}

/* 커뮤니티 슬라이더 */
.community-slider-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/8;
}

.community-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.community-slide {
  flex: 0 0 100%;
  overflow: hidden;
}

.community-slide img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  /* aspect-ratio: 16/8; */
}

.community-prev,
.community-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 30, 53, .7);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  transition: background .15s;
}

.community-prev {
  left: 14px;
}

.community-next {
  right: 14px;
}

.community-prev:hover,
.community-next:hover {
  background: rgba(14, 30, 53, .95);
}

.community-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  background: rgba(0, 0, 0, .4);
  padding: 4px 12px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .community-slider-wrap {
    aspect-ratio: unset;
    border-radius: 0;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }

  .community-prev,
  .community-next {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 70px
}

.feature-card {
  background: var(--surface);
  /* border: 1px solid var(--line); */
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .2s
}

.feature-card:hover {
  border-color: var(--navy2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
  transform: translateY(-2px)
}

.fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.fc-icon i {
  font-size: 22px
}

.fc-icon-blue {
  background: #EFF6FF;
}

.fc-icon-blue i {
  color: #2563EB
}

.fc-icon-green {
  background: #ECFDF5;
}

.fc-icon-green i {
  color: #059669
}

.fc-icon-purple {
  background: #F5F3FF;
}

.fc-icon-purple i {
  color: #7C3AED
}

.fc-icon-amber {
  background: #FFFBEB;
}

.fc-icon-amber i {
  color: #D97706
}

.fc-icon-red {
  background: #FFF1F2;
}

.fc-icon-red i {
  color: #E11D48
}

.fc-icon-sky {
  background: #F0F9FF;
}

.fc-icon-sky i {
  color: #0284C7
}

.fc-icon-gold {
  background: var(--gold-bg);
}

.fc-icon-gold i {
  color: var(--gold)
}

.fc-icon-navy {
  background: #EEF2FF;
}

.fc-icon-navy i {
  color: #4338CA
}

.fc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px
}

.fc-desc {
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.5
}

/* 옵션 슬라이더 */
.option-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin-bottom: 20px;
}

.option-slider {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.option-slide {
  flex: 0 0 25%;
  /* PC: 4개 */
  padding: 0 5px;
  box-sizing: border-box;
}

.option-slide img {
  width: 100%;
  /* aspect-ratio: 4/6; */
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
}

.option-prev,
.option-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 30, 53, .7);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  transition: background .15s;
}

.option-prev {
  left: 10px;
}

.option-next {
  right: 10px;
}

.option-prev:hover,
.option-next:hover {
  background: rgba(14, 30, 53, .95);
}

@media (max-width: 768px) {
  .option-slide {
    flex: 0 0 50%;
    /* 모바일: 2개 */
  }
}

.smart-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
  background: var(--navy);
  border-radius: var(--r-lg)
}

.smart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .07)
}

.smart-item i {
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0
}

/* .smart-item-text{ } */
.smart-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff
}

.smart-item-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-top: 1px
}

/* 입지환경 */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

/* 섹션 배너 이미지 */
.sec-banner-img {
  width: 100%;
  /* height: 500px; */
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  background: #E2DDD5;
  position: relative;
}

.sec-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sec-banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sec-banner-placeholder i {
  font-size: 48px;
  color: rgba(0, 0, 0, .15);
}

.sec-banner-placeholder span {
  font-size: 12px;
  color: rgba(0, 0, 0, .3);
}

/* 모바일 */
@media (max-width: 768px) {
  .sec-banner-img {
    /* height: 220px; */
    margin-bottom: 20px;
  }
}

.map-box {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.map-box i {
  font-size: 36px;
  color: rgba(0, 0, 0, .2)
}

.map-box span {
  font-size: 12px;
  color: var(--ink4)
}

.map-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* 카카오/네이버 지도 iframe */
.map-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none
}

.map-btns {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 1
}

.map-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity .15s;
  font-family: 'Pretendard', sans-serif
}

.map-btn:hover {
  opacity: .85
}

.map-btn-kakao {
  background: #FEE500;
  color: #391B1B
}

.map-btn-naver {
  background: #03C75A;
  color: #fff
}

.infra-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.infra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all .15s
}

.infra-item:hover {
  border-color: var(--navy2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06)
}

.infra-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500
}

.infra-left i {
  font-size: 16px;
  color: var(--ink4)
}

.infra-dist {
  font-size: 12px;
  color: var(--ink4)
}

/* 타입선택 */
.type-tabs {
  display: inline-flex;
  margin-bottom: 24px;
  border: 1px solid var(--line2);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}

.type-tab {
  height: 38px;
  padding: 0 22px;
  background: none;
  border: none;
  border-right: 1px solid var(--line2);
  font-size: 13px;
  color: var(--ink3);
  transition: all .15s
}

.type-tab:last-child {
  border-right: none
}

.type-tab:hover:not(.on) {
  color: var(--ink2);
  background: var(--bg)
}

.type-tab.on {
  background: var(--navy);
  color: #fff;
  font-weight: 600
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  z-index: auto;
}

.type-card {
  /* border: 1px solid var(--line); */
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: all .2s
}

.type-card,
.type-card:hover {
  border-color: var(gray);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px)
}

.type-card.on {
  /* border: 1px solid var(--gold); */
  box-shadow: 0 4px 20px rgba(184, 145, 58, .15)
}

.type-img {
  width: 100%;
  height: 180px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin: 0 auto;
}

.type-img i {
  font-size: 32px;
  color: rgba(0, 0, 0, .2)
}

.type-img img {
  position: absolute;
  inset: 0;
  width: 80%;
  height: 90%;
  object-fit: cover;
  margin: 0 auto;
}

.type-img-zoom i {
  font-size: 20px;
  color: #fff
}

.type-img:hover .type-body {
  padding: 20px
}

.type-body {
  padding: 14px;
  margin-bottom: 10px;
}

.type-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 3px
}

.type-area {
  font-size: 11px;
  color: var(--ink4);
  margin-bottom: 12px
}

.type-rows {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.type-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px
}

.type-row-k {
  color: var(--ink3)
}

.type-row-v {
  font-weight: 600;
  color: var(--ink2)
}

.pop-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(184, 145, 58, 0.92);
  color: #fff;
  border: none;
  backdrop-filter: blur(4px);
  z-index: 2;
  white-space: nowrap;
}

/* 타입 상세 패널 */
.type-detail-panel {
  margin-top: 20px;
  /* border: 1px solid var(--gold); */
  /* border-radius: var(--r-xl); */
  box-shadow: 0 4px 20px rgba(184, 145, 58, .15);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  display: none;
}

.type-detail-panel.open {
  display: block;
}

/* 모바일에서 패널 숨김 - 바텀시트 모달 사용 */
@media (max-width: 768px) {

  #types .type-grid {
    margin-left: -10px;
    margin-right: -10px;
  }

  .type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .type-body {
    padding: 10px;
    margin-bottom: 5px;
  }

  .type-detail-panel,
  .type-detail-panel.open {
    display: none !important;
  }

}

.tdp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0
}

.tdp-imgs {
  background: #EDEAE4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  overflow: hidden;
  min-width: 0;
}

.tdp-img-main {
  flex: 2;
  min-height: 320px;
  border-radius: var(--r);
  overflow: hidden;
  background: #D8D4CC;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .15s
}

.tdp-img-main:hover {
  opacity: .9
}

.tdp-img-main i {
  font-size: 40px;
  color: rgba(0, 0, 0, .15)
}

.tdp-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tdp-img-row {
  display: flex;
  gap: 4px;
  transition: transform .35s ease;
  will-change: transform;
}

.tdp-img-sm {
  flex: 0 0 120px;
  height: 120px;
  border-radius: var(--r);
  overflow: hidden;
  background: #D0CBC2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .15s;
  flex-shrink: 0;
}

.tdp-img-sm:hover {
  opacity: .85
}

.tdp-img-sm i {
  font-size: 22px;
  color: rgba(0, 0, 0, .15)
}

.tdp-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tdp-info {
  padding: 28px
}

.tdp-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  margin-bottom: 4px
}

.tdp-area {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 20px
}

.tdp-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 20px
}

.tdp-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line)
}

.tdp-row:last-child {
  border-bottom: none
}

.tdp-k {
  font-size: 13px;
  color: var(--ink3)
}

.tdp-v {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink)
}

.tdp-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 4px
}

.tdp-price-lbl {
  font-size: 11px;
  color: var(--ink4);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px
}

.tdp-btn {
  height: 44px;
  padding: 0 22px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s
}

.tdp-btn:hover {
  background: var(--navy2)
}

.tdp-img-row-wrap {
  position: relative;
  overflow: hidden;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.tdp-sub-prev,
.tdp-sub-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 30, 53, .7);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 13px;
  transition: background .15s;
}

.tdp-sub-prev:hover,
.tdp-sub-next:hover {
  background: rgba(14, 30, 53, .95);
}

.tdp-sub-prev {
  left: 4px;
}

.tdp-sub-next {
  right: 4px;
}


/* 모델하우스 — 통합 카드 */
.mh-unified {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0
}

.mh-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid var(--line)
}

.mh-item:first-child {
  padding-left: 0
}

.mh-item:last-child {
  padding-right: 0;
  border-right: none
}

.mh-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--gold-bg);
  border: 1px solid rgba(184, 145, 58, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.mh-icon-wrap i {
  font-size: 18px;
  color: var(--gold)
}

.mh-key {
  font-size: 11px;
  color: var(--ink4);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-top: 4px
}

.mh-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 2px
}

@media (max-width: 768px) {
  .mh-unified {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mh-item {
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .mh-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .mh-item:first-child {
    padding-top: 0;
  }
}

/* 상담 폼 */
.contact-sec {
  padding: 52px 0 68px;
  border-top: 1px solid var(--line)
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start
}

.contact-inner {
  min-width: 0
}

.contact-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #E2DDD5;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative
}

.contact-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl)
}

.contact-img i {
  font-size: 48px;
  color: rgba(0, 0, 0, .15)
}

.contact-img span {
  font-size: 12px;
  color: rgba(0, 0, 0, .3);
  letter-spacing: 0.5px
}

.contact-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px
}

.contact-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.7px;
  margin-bottom: 6px
}

.contact-sub {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 28px
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1
}

.field-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2)
}

.field-inp {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line2);
  border-radius: var(--r);
  font-size: 14px;
  font-family: 'Pretendard', sans-serif;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color .15s, box-shadow .15s
}

.field-inp::placeholder {
  color: var(--ink4)
}

.field-inp:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 30, 53, .07)
}

.field-inp.err {
  border-color: var(--red)
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--line);
  cursor: pointer;
  margin-bottom: 16px
}

.privacy-row input[type=checkbox] {
  display: none
}

.chk-box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--line2);
  border-radius: 4px;
  background: var(--surface);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s
}

.chk-box i {
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transition: opacity .15s
}

.privacy-row input:checked~.chk-box {
  background: var(--navy);
  border-color: var(--navy)
}

.privacy-row input:checked~.chk-box i {
  opacity: 1
}

.privacy-text {
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.6
}

.submit-btn {
  width: 100%;
  height: 52px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.submit-btn:hover {
  opacity: .85
}

.submit-btn:disabled {
  opacity: .35;
  cursor: not-allowed
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none
}

.submit-btn.loading .btn-txt {
  display: none
}

.submit-btn.loading .spinner {
  display: block
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.done-box {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--green-bg);
  border-radius: var(--r-lg);
  border: 1px solid rgba(22, 92, 58, .15)
}

.done-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center
}

.done-icon i {
  font-size: 20px;
  color: #fff
}

.done-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px
}

.done-msg {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7
}

/* 타입 이미지 선택된 서브 이미지 */
.tdp-img-sm.selected {
  border: 2px solid var(--gold);
}

.tdp-img-sm.selected::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 53, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.tdp-img-sm {
  position: relative;
  /* 기존에 없으면 추가 */
}

/* 모델하우스/방문상담 */
.visit-cta {
  background: var(--navy);
  padding: 56px clamp(20px, 5vw, 60px)
}

.visit-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.visit-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-xl);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .2s
}

.visit-card:hover {
  background: rgba(255, 255, 255, .08)
}

.visit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(184, 145, 58, .15);
  border: 1px solid rgba(184, 145, 58, .25);
  display: flex;
  align-items: center;
  justify-content: center
}

.visit-icon i {
  font-size: 22px;
  color: var(--gold)
}

.visit-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 5px;
}

.visit-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6
}

.v-btn {
  height: 42px;
  padding: 0 20px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  align-self: flex-start;
  transition: all .2s;
  border: none;
  font-family: 'Pretendard', sans-serif
}

.v-btn-gold {
  background: var(--gold);
  color: var(--navy)
}

.v-btn-gold:hover {
  background: var(--gold2)
}

.v-field {
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 14px;
  font-family: 'Pretendard', sans-serif;
  outline: none;
  flex: 1;
  min-width: 80px
}

.v-field::placeholder {
  color: rgba(255, 255, 255, .3)
}

/* FOOTER */
footer {
  background: #08111E;
  padding: 52px clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px
}

.f-logo {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7)
}

.f-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, .25);
  text-align: center
}

.f-tel {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  text-align: right
}

/* FLOATING BAR */
.floating-bar {
  position: fixed;
  bottom: 20px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(8, 16, 30, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 5px;
  white-space: nowrap;
  width: calc(100vw - 48px);
  max-width: 320px;
  min-width: 0;
  pointer-events: none;
  z-index: 999;
}

.fl-btn {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  color: rgba(255, 255, 255, .75);
  border-radius: 100px;
  transition: background .15s, color .15s;
  text-decoration: none;
  padding: 0 8px;
  min-width: 0;
  overflow: hidden;
}

.floating-bar .fl-btn {
  pointer-events: auto;
}

.fl-btn:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.fl-btn i {
  font-size: 17px
}

.fl-kakao {
  background: #FEE500;
  color: #2C1A00;
  flex: 1.2
}

.fl-kakao:hover {
  background: #FFD600 !important;
  color: #2C1A00 !important
}

.fl-kakao i {
  color: #2C1A00
}

/* PC ONLY */
/* .pc-only {
  display: block
} */

/* RESPONSIVE */
@media(max-width:768px) {
  /* .pc-only {
    display: none !important
  } */

  .contact-wrap {
    grid-template-columns: 1fr
  }

  .nav {
    padding: 0 20px
  }

  .nav-center {
    display: none
  }

  .sub-nav {
    padding: 0 20px;
    top: 64px
  }

  .sub-btn {
    margin-right: 20px;
    font-size: 12px
  }

  .wrap {
    padding: 0 20px
  }

  .d-hero-img {
    height: 400px
  }

  .d-hero-img-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px
  }

  .d-name {
    font-size: 24px
  }

  .d-hero-body {
    grid-template-columns: 1fr;
    padding: 20px 0;
    gap: 20px
  }

  .price-card {
    position: static
  }

  .hero-right-col {
    padding-bottom: 0;
    border-bottom: none
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    height: auto;
    gap: 6px;
  }

  .g-main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 200px;
    border-radius: var(--r-lg);
  }

  .g-cell {
    height: 150px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

  .smart-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px
  }

  .invest-grid {
    grid-template-columns: 1fr;
  }

  .invest-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .invest-item:last-child {
    border-bottom: none;
  }

  .overview-grid {
    grid-template-columns: 1fr
  }

  .ov-col+.ov-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line)
  }

  .ov-col:first-child {
    padding-right: 0
  }

  .type-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px
  }

  .tdp-inner {
    grid-template-columns: 1fr
  }

  .tdp-imgs {
    min-height: 180px
  }

  .loc-grid {
    grid-template-columns: 1fr
  }

  .mh-unified {
    grid-template-columns: 1fr;
    padding: 20px
  }

  .mh-item {
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--line)
  }

  .mh-item:last-child {
    border-bottom: none
  }

  .form-row {
    flex-direction: column;
    gap: 10px
  }

  .visit-inner {
    grid-template-columns: 1fr
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 6px;
    padding: 48px 20px
  }

  .f-tel {
    text-align: center
  }

  .contact-sec {
    padding: 40px 0 100px
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-img {
    order: -1;
    min-height: 220px;
  }

  .floating-bar {
    left: 16px;
    right: 16px;
    transform: none;
    bottom: 14px;
    min-width: unset;
    width: calc(100% - 32px);
    pointer-events: none;
  }

  .fl-btn {
    font-size: 12px;
    height: 42px
  }
}

@media(max-width:480px) {
  .type-grid {
    grid-template-columns: 1fr 1fr
  }

  .d-name {
    font-size: 20px
  }
}

/* 타입 카드 상세보기 버튼 */
.type-detail-btn {
  display: none;
  /* 모바일에서만 보임 */
  width: calc(100% - 24px);
  margin: 0 10px 10px;
  padding: 10px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .15s;
}

.type-detail-btn:hover {
  background: var(--navy2);
}

.type-detail-btn i {
  font-size: 13px;
}

@media (max-width: 768px) {
  .type-detail-btn {
    display: flex;
  }

}

/* 타입 모달 열릴 때 플로팅바/미니배너 숨기기 */
body.type-modal-open .floating-bar,
body.type-modal-open #miniBanner {
  display: none !important;
  z-index: 799 !important;
}


/* ── 모바일 타입 바텀시트 모달 ── */
.type-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 800;
  pointer-events: none;
}

.type-modal-overlay.open {
  display: block;
  pointer-events: auto;
}

.type-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 801;
  max-height: 88vh;
  display: none;
  flex-direction: column;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.type-modal.open {
  display: flex;
  transform: translateY(0);
  pointer-events: auto;
}

.type-modal-handle {
  width: 36px;
  height: 4px;
  background: rgba(0, 0, 0, .12);
  border-radius: 2px;
  margin: 10px auto 0;
  flex-shrink: 0;
}

.type-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
}

.type-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.type-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink3);
  cursor: pointer;
}

.type-modal-img {
  height: 220px;
  margin: 0 14px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.type-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.type-modal-img i {
  font-size: 48px;
  color: rgba(0, 0, 0, .15);
}

.type-modal-sub {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  flex-shrink: 0;
}

.type-modal-sub::-webkit-scrollbar {
  display: none;
}

.tms {
  width: 64px;
  height: 52px;
  border-radius: var(--r);
  background: #EDEAE4;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tms.on {
  border-color: var(--gold);
}

.tms img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tms i {
  font-size: 18px;
  color: rgba(0, 0, 0, .2);
}

.type-modal-info {
  padding: 8px 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.type-modal-price-lbl {
  font-size: 10px;
  color: var(--ink4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.type-modal-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.type-modal-rows {
  border-top: 0.5px solid var(--line);
}

.type-modal-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 0.5px solid var(--line);
  font-size: 13px;
}

.type-modal-row:last-child {
  border-bottom: none;
}

.type-modal-k {
  color: var(--ink3);
}

.type-modal-v {
  font-weight: 600;
  color: var(--ink);
}

.type-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 28px);
  margin: 8px 14px 20px;
  padding: 13px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  flex-shrink: 0;
}

.type-modal-cta:hover {
  background: var(--navy2);
}

@media (min-width: 769px) {

  .type-modal,
  .type-modal-overlay {
    display: none !important;
  }

}

/* ── 계약금 힌트 (가격카드 내) ── */
.pc-contract-hint {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(184, 145, 58, .15);
  border: 1px solid rgba(184, 145, 58, .3);
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold2);
  text-align: center;
}

/* ── 우측 하단 미니 배너 ── */

/* 미니배너: 우측 하단 고정, 콘텐츠 터치 방해 안함 */
.mini-banner {
  position: fixed;
  bottom: 80px;
  right: 16px;
  left: auto;
  width: 200px;
  max-width: 200px;
  white-space: nowrap;
  background: var(--navy);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.34, 1.2, .64, 1), opacity .3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(16px);
  z-index: 9000;
}

.mini-banner.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
  /* 배너 자체는 항상 통과 */
}

/* 버튼/닫기만 클릭 가능 */
.mini-banner-close,
.mini-banner-cta {
  pointer-events: auto;
  cursor: pointer;
}

.mini-banner-close {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255, 255, 255, .5);
  flex-shrink: 0;
  align-self: flex-start;
}

.mini-banner-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
  pointer-events: none;
}

.mini-banner-emoji {
  display: none;
}

.mini-banner-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.mini-banner-title em {
  font-style: normal;
  color: var(--gold2);
}

.mini-banner-desc {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
}

.mini-banner-cta {
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Pretendard', sans-serif;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
}

.mini-banner-cta:hover {
  background: var(--gold2);
}

@media (max-width: 768px) {
  .mini-banner {
    bottom: 70px;
    right: 12px;
    max-width: 300px;
  }
}

/* ── 계약금 팝업 ── */
.contract-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 900;
  pointer-events: none;
}

.contract-popup-overlay.open {
  display: block;
  pointer-events: auto;
}

.contract-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.92);
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 20px;
  z-index: 901;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
  opacity: 0;
}

.contract-popup.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.contract-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink3);
}

.contract-popup-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.contract-popup-title {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 6px;
}

.contract-popup-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.contract-popup-price em {
  font-style: normal;
  color: var(--gold);
}

.contract-popup-desc {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 14px;
}

.contract-popup-tags {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.contract-popup-tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  background: var(--bg);
  padding: 5px 12px;
  border-radius: 20px;
}

.contract-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  margin-bottom: 8px;
  transition: background .15s;
}

.contract-popup-cta:hover {
  background: var(--navy2);
}

.contract-popup-skip {
  width: 100%;
  padding: 8px;
  background: none;
  border: none;
  font-size: 12px;
  color: var(--ink4);
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
}