:root {
  --bg-dark: #0b1322;
  --bg-card: #121d33;
  --bg-alt: #0f192d;
  --gold: #c9a464;
  --gold-light: #e3c68c;
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --border-subtle: rgba(201, 164, 100, 0.24);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 84px;
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 19, 34, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-xi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
  border-radius: 9px;
  background: rgba(201, 164, 100, 0.1);
  border: 1px solid rgba(201, 164, 100, 0.35);
  padding: 5px 7px;
  flex-shrink: 0;
}

.xi-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-titles strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-titles span {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.main-nav a span {
  color: var(--gold);
  font-size: 0.82rem;
  margin-right: 4px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 7px 15px;
  border-radius: 10px;
  background: rgba(201, 164, 100, 0.14);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-phone-btn:hover {
  background: rgba(201, 164, 100, 0.25);
}

.phone-badge {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}

.header-phone-btn strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  padding: 0 10px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-light);
}

.mobile-drawer {
  background: #0e182c;
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 4%;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 0.94rem;
}

.mobile-drawer-cta {
  display: grid;
  gap: 10px;
}

/* 버튼 공통 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-two-line {
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  padding-top: 10px;
  padding-bottom: 10px;
}

.btn-sub-txt {
  display: block;
  font-size: 0.82em;
  font-weight: 700;
  opacity: 0.92;
  white-space: nowrap;
}

.btn-main-num {
  display: block;
  font-size: 1.06em;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #d7b474 0%, #b38942 100%);
  color: #0b1322;
  box-shadow: 0 10px 24px rgba(201, 164, 100, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 17px 30px;
  font-size: 1.08rem;
}

.btn-full {
  width: 100%;
}

/* 히어로 섹션 */
.hero-section {
  padding: 46px 0 64px;
  background: radial-gradient(circle at 18% 20%, rgba(201, 164, 100, 0.16), transparent 52%),
    linear-gradient(180deg, #0b1322 0%, #0f1a2e 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.hero-brand-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background: #0b1322;
}

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

.hero-kicker {
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-lead {
  color: var(--text-sub);
  font-size: 1.06rem;
  margin-bottom: 24px;
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-highlights li {
  padding: 11px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  font-size: 0.96rem;
  color: var(--text-sub);
}

.hero-highlights li strong {
  color: #fff;
}

.hero-cta-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(18, 29, 51, 0.9);
  border: 1px solid var(--border-subtle);
}

.hero-consultant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
}

.consultant-role {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}

.consultant-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.hero-btn-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}

/* 섹션 공통 */
.section {
  padding: 78px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-sub);
  font-size: 1.02rem;
}

/* 01 사업안내 */
.overview-visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  background: #fff;
}

.overview-main-img {
  width: 100%;
  height: auto;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.overview-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0b1322;
  background: var(--gold-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.overview-card h3 {
  font-size: 1.24rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.overview-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.overview-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.overview-card li span {
  color: var(--text-muted);
}

.overview-card li strong {
  color: var(--text-main);
  text-align: right;
}

/* 02 입지환경 */
.location-stage {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background: #fff;
  margin-bottom: 26px;
}

.location-img {
  width: 100%;
  height: auto;
}

.location-Point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.location-point {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.point-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.location-point strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.location-point p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

/* 03 프리미엄 6 */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.premium-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d1628;
}

.premium-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.premium-card:nth-child(1) .premium-img-wrap img {
  object-position: center bottom;
}

.premium-card:nth-child(2) .premium-img-wrap img {
  object-position: center center;
}

.premium-no {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 19, 34, 0.86);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 8px;
}

.premium-body {
  padding: 20px;
}

.premium-sub {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.premium-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: #fff;
}

/* 04 단지안내 & 실물세대 탭 */
.tab-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gold);
  color: #0b1322;
  border-color: var(--gold);
}

.single-stage-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.single-stage-card img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
}

.stage-caption {
  background: var(--bg-card);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-caption strong {
  font-size: 1.05rem;
}

.stage-caption span {
  font-size: 0.88rem;
  color: var(--gold-light);
}

.complex-photo-grid {
  display: grid;
  gap: 20px;
}

.complex-photo-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.complex-photo-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.photo-card.diagram-card img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

.photo-card figcaption {
  padding: 16px 18px;
}

.photo-card figcaption strong {
  display: block;
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.photo-card figcaption span {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* 04 평형안내 (평면도) */
.fp-section-head {
  margin-bottom: 22px;
}

.fp-stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.fp-controls-bar {
  padding: 16px 20px 14px;
  background: rgba(11, 19, 34, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-group-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.fp-group-btn {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fp-group-btn.active,
.fp-group-btn:hover {
  background: linear-gradient(135deg, #d7b474, #b38942);
  color: #0b1322;
  border-color: var(--gold);
}

.fp-sub-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.fp-sub-btn {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fp-sub-btn.active,
.fp-sub-btn:hover {
  background: #fff;
  color: #0b1322;
  border-color: #fff;
}

.fp-stage-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-stage-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.fp-stage-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.fp-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fp-specs span {
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-sub);
}

.fp-specs strong {
  color: var(--gold-light);
  margin-right: 6px;
}

.fp-images-deck {
  background: #ffffff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.fp-img {
  display: none;
  max-height: 660px;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.fp-img.active {
  display: block;
}

.fp-stage-footer {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(11, 19, 34, 0.65);
}

.fp-hint {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.fp-cta-btns {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}

/* 별도 분리된 발코니 서비스 면적표 카드 */
.balcony-summary-card {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.balcony-summary-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.balcony-summary-body {
  background: #ffffff;
  padding: 18px;
  text-align: center;
}

.balcony-summary-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.balcony-summary-footer {
  padding: 14px 24px;
  background: rgba(11, 19, 34, 0.65);
}

/* 06 상담문의 */
.consult-section {
  background: radial-gradient(circle at 50% 0%, rgba(201, 164, 100, 0.2), transparent 65%),
    var(--bg-alt);
}

.consult-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
}

.consult-title {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.consult-desc {
  color: var(--text-sub);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.consult-desc strong {
  color: var(--gold-light);
}

.consult-number-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(11, 19, 34, 0.75);
  border: 1px solid var(--border-subtle);
  margin-bottom: 26px;
}

.consult-role {
  display: block;
  font-size: 0.86rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
}

.consult-phone {
  display: block;
  font-size: clamp(1.42rem, 5.2vw, 2.85rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  white-space: nowrap;
}

.consult-manager {
  display: block;
  font-size: 1.02rem;
  color: var(--text-sub);
}

.consult-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* 푸터 */
.site-footer {
  padding: 40px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #070d18;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand strong {
  display: block;
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-note {
  margin-top: 6px;
  font-size: 0.8rem;
}

.footer-contact {
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.footer-contact span {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.footer-contact a {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* 하단 고정 바 */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(11, 19, 34, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gold);
  padding: 12px 0;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.sticky-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 164, 100, 0.18);
  color: var(--gold-light);
  white-space: nowrap;
}

.sticky-info strong {
  font-size: 1.18rem;
  font-weight: 800;
  white-space: nowrap;
}

.sticky-info strong span {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-left: 6px;
}

.sticky-btns {
  display: flex;
  gap: 10px;
}

/* 이미지 확대 커서 & 라이트박스 */
.zoomable-img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 20, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(18, 29, 51, 0.9);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-img {
  max-width: 94vw;
  max-height: 82vh;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.lightbox-caption {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 0.95rem;
  text-align: center;
}

/* 반응형 */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

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

  .overview-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .complex-photo-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .header-phone-btn {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .hero-section {
    padding: 22px 0 42px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-brand-img {
    max-height: 380px;
    object-fit: cover;
    object-position: center 35%;
  }

  .hero-consultant {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .hero-btn-row {
    grid-template-columns: 1fr;
  }

  .overview-cards,
  .location-Point-grid,
  .premium-grid,
  .complex-photo-grid.three-col,
  .complex-photo-grid.two-col {
    grid-template-columns: 1fr;
  }

  .tab-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tab-btn {
    padding: 11px 8px;
    font-size: 0.86rem;
    border-radius: 10px;
  }

  .fp-controls-bar {
    padding: 12px 12px 10px;
  }

  .fp-group-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }

  .fp-group-btn {
    padding: 9px 8px;
    font-size: 0.84rem;
  }

  .balcony-summary-head,
  .balcony-summary-footer {
    padding: 14px 16px;
  }

  .balcony-summary-body {
    padding: 10px;
  }

  .fp-sub-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .fp-stage-header,
  .fp-stage-footer {
    padding: 14px 16px;
  }

  .fp-specs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fp-images-deck {
    min-height: 0;
    padding: 8px;
  }

  .fp-cta-btns {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .consult-card {
    padding: 32px 18px;
  }

  .consult-btn-group {
    flex-direction: column;
  }

  .consult-btn-group .btn {
    width: 100%;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 80vh;
  }

  .sticky-badge {
    display: none;
  }

  .sticky-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-info {
    justify-content: center;
  }

  .sticky-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body {
    padding-bottom: 124px;
  }
}

/* 예약 방문 사은품 안내 팝업 */
.event-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(4, 9, 18, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: popupFadeIn 0.22s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.event-popup-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #162440 0%, #0e182c 100%);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(227, 198, 140, 0.14);
  text-align: center;
}

.event-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(227, 198, 140, 0.35);
  background: rgba(11, 19, 34, 0.7);
  color: var(--gold-light);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.event-popup-close:hover {
  background: var(--gold);
  color: #0b1322;
}

.event-popup-header {
  padding: 28px 26px 16px;
}

.event-popup-badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(201, 164, 100, 0.18);
  border: 1px solid rgba(201, 164, 100, 0.45);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.event-popup-title {
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #fff;
}

.event-popup-title span {
  color: var(--gold-light);
}

.event-voucher-box {
  padding: 0 26px 18px;
}

.voucher-img-frame {
  max-width: 340px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid rgba(227, 198, 140, 0.75);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(201, 164, 100, 0.22);
}

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

.event-popup-body {
  padding: 0 26px 22px;
}

.event-popup-desc {
  font-size: 0.96rem;
  color: var(--text-sub);
  line-height: 1.62;
  margin-bottom: 8px;
}

.event-popup-desc strong {
  color: #fff;
}

.event-popup-note {
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.event-popup-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.event-popup-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 13, 24, 0.78);
}

.popup-footer-btn {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 13px 12px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.popup-footer-btn + .popup-footer-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-footer-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.popup-footer-close {
  color: var(--gold-light);
  font-weight: 700;
}

@media (max-width: 680px) {
  .event-popup-card {
    max-width: 100%;
  }

  .event-popup-header {
    padding: 24px 18px 14px;
  }

  .event-popup-title {
    font-size: 1.36rem;
  }

  .event-voucher-box {
    padding: 0 18px 14px;
  }

  .event-popup-body {
    padding: 0 18px 18px;
  }
}