/* ═══════════════════════════════════════════════════════════════
   THE CITADEL 도안 더 퍼스트 – Premium Luxury CSS
   Navy #16233F + Antique Gold #9E7B44 기반 하이엔드 디자인
   브랜드: THE CITADEL 도안 더 퍼스트 | ㈜메디파크
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Core Brand Palette (from THE CITADEL invitation) ── */
  --navy:    #16233F;   /* primary ink — deep navy */
  --navy2:   #0D1B2A;   /* darkest bg */
  --navy3:   #2E3E5D;   /* navy-soft / card bg */
  --steel:   #5E7E9E;   /* cool accent — logo steel */
  --taupe:   #665E4C;   /* muted secondary / gold-d replacement */
  --gold:    #9E7B44;   /* antique gold hairline */
  --gold-l:  #C6A96B;   /* gold-soft / hover tint */
  --gold-d:  #665E4C;   /* taupe — darkened gold */
  --paper:   #F5F0E4;   /* ivory card bg */
  --cream:   #FAF8F4;   /* page bg light */
  --warm:    #F4F0E6;   /* section warm bg */
  --white:   #FFFFFF;
  --gray1:   #5A5A5A;
  --gray2:   #888;
  --gray3:   #CCC;
  /* ── Typography ── */
  --font-serif: 'Cormorant Garamond', 'Gowun Batang', serif;
  --font-sans:  'Noto Sans KR', 'Inter', sans-serif;
  /* ── Layout ── */
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 12px rgba(22,35,63,0.08);
  --shadow-md: 0 8px 40px rgba(22,35,63,0.15);
  --shadow-lg: 0 24px 80px rgba(22,35,63,0.25);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--navy2);
  line-height: 1.75;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── SECTION HELPERS ─── */
section { padding: 110px 0; }
.section-dark { background: var(--navy2); color: var(--white); }

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label.light { color: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy2);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray1);
  line-height: 1.8;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: var(--gold);
  color: var(--navy2);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(158,123,68,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ═══════════════ NAVIGATION ═══════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}
.site-header.scrolled .nav-container { height: 68px; }

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #D4A843;           /* 배경과 무관하게 항상 선명한 골드 */
  margin-top: 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.95);
  padding: 8px 14px;
  transition: var(--transition);
  position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { left: 16px; right: 16px; }

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy2) !important;
  padding: 10px 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--gold-l); color: var(--navy) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ═══════════════ HERO ═══════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg?v=3');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 21, 32, 0.55) 0%,
    rgba(10, 21, 32, 0.45) 40%,
    rgba(10, 21, 32, 0.72) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 120px 32px 80px;
}

.hero-eyebrow {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F0C84A;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 2px 20px rgba(0,0,0,0.7);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
}
.title-en {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.title-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.title-ko {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.35em;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.7s forwards;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.9s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); transform-origin: top; }
}

/* ═══════════════ BRAND INTRO ═══════════════ */
.brand-intro-section {
  padding: 120px 0;
  background: var(--cream);
}

.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-intro-text .section-label { display: block; margin-bottom: 12px; }
.brand-desc {
  color: var(--gray1);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.9;
}
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  padding: 8px 20px;
  border: 1px solid var(--gold-d);
  color: var(--gold-d);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-intro-visual {
  position: relative;
  height: 420px;
}

.visual-card {
  position: absolute;
  border-radius: var(--radius);
}
.visual-card.main-card {
  inset: 0;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: var(--shadow-lg);
}
.card-content {
  text-align: center;
  color: var(--white);
}
.card-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.card-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.card-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

.visual-card.accent-card {
  background: var(--gold);
  color: var(--navy2);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.visual-card.accent-card i { font-size: 1.2rem; }
.visual-card.top-right { top: -20px; right: -20px; }
.visual-card.bottom-left { bottom: -20px; left: -20px; }

/* ═══════════════ ABOUT ═══════════════ */
.about-section { padding: 110px 0; }

.overview-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 64px;
}
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.overview-table tr { border-bottom: 1px solid rgba(255,255,255,0.07); }
.overview-table tr:last-child { border-bottom: none; }
.overview-table th {
  padding: 18px 24px;
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-align: left;
  width: 220px;
  vertical-align: middle;
}
.overview-table th i { margin-right: 8px; }
.overview-table td {
  padding: 18px 24px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.highlight-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}
.highlight-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.highlight-icon i { font-size: 1.3rem; color: var(--gold); }
.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.highlight-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* ═══════════════ LOCATION ═══════════════ */
.location-section { background: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}

/* ─── 카카오맵 ─── */
.kakao-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
#kakaoMap {
  width: 100%;
  height: 480px;
  display: block;
}
.map-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--navy2);
  border-top: 1px solid rgba(158,123,68,0.2);
}
.legend-pin, .legend-near, .legend-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.legend-source {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* 입지 피처 */
.location-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.location-feature:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.lf-icon {
  width: 48px; height: 48px;
  background: var(--navy2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lf-icon i { color: var(--gold); font-size: 1.1rem; }
.lf-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy2);
  margin-bottom: 6px;
}
.lf-text p { font-size: 0.85rem; color: var(--gray1); line-height: 1.7; }

/* 거리 바 */
.distance-bar-section { background: var(--white); padding: 48px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.distance-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy2);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.distance-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
.di-name {
  width: 192px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* 교통수단 아이콘 */
.di-icon {
  font-size: 0.78rem;
  flex-shrink: 0;
}
.di-icon.walk { color: var(--steel); }
.di-icon.car  { color: var(--gold); }

/* 범례 */
.distance-legend {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: -6px;
}
.dl-walk, .dl-car {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dl-walk { color: var(--steel); }
.dl-car  { color: var(--gold); }

.di-bar-wrap {
  flex: 1;
  height: 30px;
  background: var(--warm);
  border-radius: 3px;
  overflow: visible;   /* 짧은 바에서 텍스트가 바깥으로 나올 수 있도록 */
  position: relative;
}

/* 차량 바 — navy 그라디언트 */
.di-bar {
  width: var(--w);
  min-width: 4px;
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy3) 100%);
  border-radius: 3px;
  display: flex;
  align-items: center;
  position: relative;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 도보 바 — steel 계열로 색상 구분 */
.di-bar.walk-bar {
  background: linear-gradient(90deg, var(--steel) 0%, #7AACCF 100%);
}

/* 소요시간 라벨 — 기본: 바 오른쪽 바깥 표시 */
.di-bar span {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--navy2);
  white-space: nowrap;
  position: absolute;
  left: calc(100% + 8px);
}
/* 바가 충분히 길 때(40% 이상)는 내부에 표시 */
.di-bar.label-inside span {
  position: static;
  color: var(--gold);
  margin-left: auto;
  padding-right: 10px;
}
/* 안내 문구 */
.distance-note {
  font-size: 0.72rem;
  color: var(--gray2);
  margin-bottom: 20px;
  margin-top: -12px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* ═══════════════ RESIDENCE ═══════════════ */
.residence-section { padding: 110px 0; }

.residence-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.res-type-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.res-type-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.res-type-card.featured {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.res-type-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy2);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.res-type-icon {
  width: 72px; height: 72px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.res-type-icon i { font-size: 1.8rem; color: var(--gold); }

.res-type-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.res-type-eng {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.res-type-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.res-type-num span { font-size: 1.2rem; margin-left: 4px; color: rgba(255,255,255,0.5); }

.res-type-features {
  text-align: left;
  margin: 28px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.res-type-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding: 8px 0;
}
.res-type-features li i { color: var(--gold); font-size: 0.75rem; }

.res-type-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}
.area-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.area-val { font-size: 1.1rem; font-weight: 700; color: var(--gold); }

/* ─── Community Club House ─── */
.community-club {
  background: linear-gradient(135deg, rgba(22,35,63,0.8) 0%, rgba(94,126,158,0.12) 100%);
  border: 1px solid rgba(94,126,158,0.35);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 48px;
}
.cc-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(158,123,68,0.2);
}
.cc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(158,123,68,0.15);
  border: 1px solid rgba(158,123,68,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
}
.cc-header-text h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.cc-header-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.cc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cc-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(94,126,158,0.25);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}
.cc-item:hover {
  background: rgba(94,126,158,0.1);
  border-color: rgba(158,123,68,0.4);
  transform: translateY(-3px);
}
.cc-item i {
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.cc-item span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.cc-item small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .cc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-header { flex-direction: column; text-align: center; }
}

/* 건축 가이드라인 */
.build-guide {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(158,123,68,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
}
.build-guide-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.build-guide-title i { color: var(--gold); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.guide-item span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  letter-spacing: 0.08em;
}
.gi-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
}
.gi-circle small { font-size: 0.65em; vertical-align: middle; }
/* 텍스트형 가이드 서클 (제2종 일반주거 등) */
.gi-circle-text {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  text-align: center;
  padding: 4px;
}
.gi-circle-text small { font-size: 0.62em; font-weight: 500; color: var(--gold-l); display: block; margin-top: 2px; }

/* 필지 다이어그램 */
/* ═══════════════ PLOT DIAGRAM (배치도) ═══════════════ */
.plot-diagram {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(158,123,68,0.22);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.plot-diagram-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.plot-diagram-title i { color: var(--gold); }

/* ── 개요 카드 3종 ── */
.plot-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.ps-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ps-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ps-block {
  background: rgba(158,123,68,0.08);
  border-color: rgba(158,123,68,0.3);
}
.ps-hoek {
  background: rgba(158,123,68,0.05);
  border-color: rgba(158,123,68,0.2);
}
.ps-club {
  background: rgba(94,126,158,0.10);
  border-color: rgba(94,126,158,0.35);
}
.ps-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.ps-block .ps-icon { background: rgba(158,123,68,0.18); color: var(--gold); }
.ps-hoek  .ps-icon { background: rgba(158,123,68,0.12); color: var(--gold-l); }
.ps-club  .ps-icon { background: rgba(94,126,158,0.2);  color: var(--steel); }
.ps-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.ps-num span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-left: 2px;
}
.ps-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.ps-desc {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── 배치도 이미지 + 범례 ── */
.plot-map-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.plot-map-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(158,123,68,0.25);
  background: #0a1525;
  box-shadow: var(--shadow-md);
}
.plot-map-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(22,35,63,0.88);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(158,123,68,0.4);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.plot-map-img {
  width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.plot-map-inner:hover .plot-map-img { transform: scale(1.02); }

/* ── 범례 패널 ── */
.plot-map-legend {
  background: rgba(13,27,42,0.7);
  border: 1px solid rgba(158,123,68,0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.legend-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.05em;
  margin: 0;
}
.legend-title i { font-size: 0.75rem; }
.legend-group { display: flex; flex-direction: column; gap: 8px; }
.legend-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
}
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.ld-block { background: #D4A843; }           /* 블럭형 — 주황빛 황색 */
.ld-hoek  { background: #F0DC60; }           /* 획지형 — 선명한 황색 */
.ld-green { background: repeating-linear-gradient(
  45deg, #6abf6a 0px, #6abf6a 3px, #a8dc78 3px, #a8dc78 7px); }  /* 완충녹지 */
.ld-club  { background: #5E7E9E; }           /* 클럽하우스 */

/* 도로 태그 */
.legend-road {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
}
.road-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
  min-width: 30px;
  text-align: center;
}
.rt-15 { background: #4A6B8A; color: #fff; }
.rt-12 { background: #5E7E9E; color: #fff; }
.rt-10 { background: #7A9BB8; color: #fff; }
.rt-6  { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }

/* 면적 스펙 */
.legend-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.legend-spec {
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.legend-spec span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}
.legend-spec strong {
  font-size: 0.75rem;
  color: var(--gold-l);
  font-weight: 600;
}

/* 주의 문구 */
.legend-note {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  display: flex;
  gap: 7px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.legend-note i { color: var(--steel); flex-shrink: 0; margin-top: 2px; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .plot-map-wrap { grid-template-columns: 1fr; }
  .plot-summary-grid { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .plot-summary-grid { grid-template-columns: 1fr; }
  .plot-diagram { padding: 28px 20px; }
  .ps-num { font-size: 2rem; }
}

/* ═══════════════ AMENITIES ═══════════════ */
.amenities-section { background: var(--warm); }

.amenities-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: default;
  transition: var(--transition);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-large { grid-column: span 2; grid-row: span 1; min-height: 320px; }
.bento-medium { grid-column: span 2; min-height: 240px; }
.bento-small { grid-column: span 1; min-height: 240px; }

.bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.bg1 { background: linear-gradient(135deg, #16233F 0%, #2E3E5D 100%); }
.bg2 { background: linear-gradient(135deg, #0D1B2A 0%, #16233F 100%); }
.bg3 { background: linear-gradient(135deg, #1e3a2f 0%, #2E3E5D 100%); }
.bg4 { background: linear-gradient(135deg, #2a1a00 0%, #16233F 100%); }
.bg5 { background: linear-gradient(135deg, #1a1a2a 0%, #2E3E5D 100%); }
.bg6 { background: linear-gradient(135deg, #0D1B2A 0%, #1a2530 100%); }
.bg7 { background: linear-gradient(135deg, #16233F 0%, #0a1520 100%); }

.bento-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.bento-icon i { color: var(--gold); font-size: 1.3rem; }
.bento-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.bento-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ═══════════════ SALES ═══════════════ */
.sales-section { padding: 110px 0; }

.sales-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.kpi-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.kpi-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.kpi-card.featured {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
}
.kpi-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.kpi-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.kpi-num small { font-size: 0.55em; color: var(--gold); vertical-align: middle; }
.kpi-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; }

/* 진행 현황 */
.sales-progress {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
  overflow-x: auto;
}
.progress-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-title i { color: var(--gold); }

.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 600px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 0;
}
.step-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}
.step.completed .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy2);
}
.step.active .step-circle {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.step-info { text-align: center; }
.step-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  white-space: nowrap;
}
.step-info p { font-size: 0.72rem; color: rgba(255,255,255,0.45); line-height: 1.5; }

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.12);
  margin-top: 24px;
  align-self: flex-start;
}
.step-line.completed { background: var(--gold); }
.step-line.active { background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.3)); }

/* 분양 정보 카드 */
.sales-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sales-info-grid-full {
  grid-template-columns: repeat(4, 1fr);
}
.si-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}
.si-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
  transform: translateY(-4px);
}
.si-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.si-icon i { color: var(--gold); font-size: 1.1rem; }
.si-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.si-card li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  padding-left: 14px;
  position: relative;
}
.si-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

/* ═══════════════ GALLERY ═══════════════ */
.gallery-section { background: var(--cream); }

.gallery-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gf-btn {
  padding: 10px 28px;
  background: transparent;
  border: 1.5px solid var(--gray3);
  color: var(--gray1);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 3px;
}
.gf-btn:hover, .gf-btn.active {
  background: var(--navy2);
  border-color: var(--navy2);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 380px;
  gap: 16px;
}
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 1;
}
/* 동영상·조감도 full-width 배치 */
.gallery-item.full-width {
  grid-column: 1 / -1;
}
.gallery-img {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.gallery-item:hover .gallery-img { transform: scale(1.04); }
.gallery-overlay {
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, transparent 100%);
  padding: 28px 24px;
  width: 100%;
  transform: translateY(8px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gallery-overlay h4 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}

/* ── 동영상 갤러리 아이템 ── */
.gallery-item-video {
  cursor: default;
  position: relative;
}
.gallery-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0a1525;
}
.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item-video:hover .gallery-video { transform: scale(1.02); }

/* 재생 오버레이 */
.gallery-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.gallery-item-video.playing .gallery-video-overlay {
  background: linear-gradient(to top, rgba(13,27,42,0.7) 0%, transparent 60%);
}

/* 재생 버튼 */
.gv-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(158,123,68,0.88);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.3s ease;
  padding-left: 4px; /* 시각 보정 */
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.gv-play-btn:hover { background: var(--gold); transform: scale(1.1); }
.gallery-item-video.playing .gv-play-btn { opacity: 0; pointer-events: none; }
.gallery-item-video:hover.playing .gv-play-btn { opacity: 1; pointer-events: auto; }

/* 영상 정보 텍스트 */
.gv-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
}
.gv-info .gallery-tag { display: block; margin-bottom: 4px; }
.gv-info h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact-section { padding: 110px 0; }

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

.contact-info-side { color: var(--white); }
.ci-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ci-block:last-child { border-bottom: none; }
.ci-block h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ci-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.ci-phone:hover { color: var(--gold); }
/* 보조 전화번호 — 크기 살짝 작게 */
.ci-phone-sub {
  font-size: 1.45rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.ci-phone-sub:hover { color: var(--gold); }
.ci-hours { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
/* 현장 방문 예약 안내 */
.ci-visit-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.ci-visit-note i { font-size: 0.78rem; }
.ci-block p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.8; }
/* 상담전용 라벨 */
.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: -4px;
}
/* 홈페이지·이메일 링크 */
.ci-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
  margin-bottom: 6px;
}
.ci-link i { font-size: 0.78rem; color: var(--gold); }
.ci-link:hover { color: var(--gold); }
/* 사업시행·자금관리·분양관리 목록 */
.ci-company-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ci-company-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ci-co-role {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(158,123,68,0.12);
  border: 1px solid rgba(158,123,68,0.3);
  border-radius: 3px;
  padding: 2px 7px;
  white-space: nowrap;
}
.ci-co-name {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}

.vip-benefits h3 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.vip-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
}
.vip-benefits li i { color: var(--gold); font-size: 0.75rem; }

/* 폼 */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-header { margin-bottom: 36px; }
.form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.form-header p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.required { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select option { background: var(--navy2); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--navy2);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.form-submit-btn:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.form-notice i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

/* 유효성 스타일 */
.form-group input.error,
.form-group select.error { border-color: #e74c3c; }
.error-msg {
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 5px;
  display: block;
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  background: var(--navy2);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-addr { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.7; }

.site-footer h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.site-footer ul li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-footer ul li i { color: var(--gold); font-size: 0.7rem; width: 14px; }
.footer-nav a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }

.footer-bottom { text-align: center; }
.footer-legal {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ═══════════════ MODAL ═══════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--navy2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.35s ease;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-icon.success {
  width: 72px; height: 72px;
  background: rgba(201,168,76,0.12);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.modal-icon i { font-size: 2rem; color: var(--gold); }
.modal-box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.modal-box p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 32px; }
.modal-close-btn {
  padding: 14px 40px;
  background: var(--gold);
  color: var(--navy2);
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}
.modal-close-btn:hover { background: var(--gold-l); }

/* ═══════════════ BACKGROUND MUSIC PLAYER ═══════════════ */
.music-player {
  position: fixed;
  bottom: 96px;       /* back-to-top 버튼 위 */
  right: 28px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none; /* 자식 요소만 클릭 가능 */
}

/* ── 토글 버튼 ── */
.music-toggle {
  pointer-events: all;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(158,123,68,0.5);
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  position: relative;
  overflow: visible;
}
.music-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(158,123,68,0.25);
}
.music-toggle.playing {
  border-color: var(--gold);
  background: rgba(22,35,63,0.92);
  color: var(--gold);
  box-shadow: 0 0 0 3px rgba(158,123,68,0.15), 0 6px 32px rgba(158,123,68,0.2);
}

/* ── 아이콘 전환 ── */
.music-icon-wrap {
  width: 22px;
  height: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.music-icon-wrap svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.icon-muted  { opacity: 1;  transform: scale(1); }
.icon-playing{ opacity: 0;  transform: scale(0.7); }

.music-toggle.playing .icon-muted   { opacity: 0;  transform: scale(0.7); }
.music-toggle.playing .icon-playing { opacity: 1;  transform: scale(1); }

/* ── 음파 바 애니메이션 ── */
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-top: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.music-bars.active { opacity: 1; }
.bar {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: bottom;
  animation: none;
}
.music-bars.active .b1 { animation: barWave 0.8s ease-in-out infinite;        animation-delay: 0s;    height: 8px; }
.music-bars.active .b2 { animation: barWave 0.8s ease-in-out infinite;        animation-delay: 0.15s; height: 12px; }
.music-bars.active .b3 { animation: barWave 0.8s ease-in-out infinite;        animation-delay: 0.3s;  height: 10px; }
.music-bars.active .b4 { animation: barWave 0.8s ease-in-out infinite;        animation-delay: 0.1s;  height: 7px; }
@keyframes barWave {
  0%, 100% { transform: scaleY(0.3); }
  50%       { transform: scaleY(1.2); }
}

/* ── 곡 정보 툴팁 ── */
.music-info {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: right;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(158,123,68,0.25);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 160px;
  order: -1; /* 버튼 위에 표시 */
}
.music-player:hover .music-info {
  opacity: 1;
  transform: translateX(0);
}
.music-title {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1.4;
}
.music-status {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ── 볼륨 패널 ── */
.volume-panel {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(158,123,68,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-height: 0;
  overflow: hidden;
}
.music-player:hover .volume-panel {
  opacity: 1;
  transform: translateX(0);
  max-height: 40px;
}
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--gold) 30%, rgba(255,255,255,0.15) 30%);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: background 0.1s;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(158,123,68,0.5);
  transition: transform 0.2s ease;
}
.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }
.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}

/* ── 에러 상태 ── */
.bgm-error .music-toggle {
  border-color: rgba(255,100,100,0.4);
  color: rgba(255,100,100,0.6);
}
.bgm-error .music-title::after {
  content: ' (재생불가)';
  color: rgba(255,100,100,0.5);
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .music-player { bottom: 88px; right: 16px; }
  .music-toggle { width: 44px; height: 44px; }
  .volume-panel { display: none; } /* 모바일은 볼륨 패널 숨김 */
}

/* ═══════════════ BACK TO TOP ═══════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--navy2);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-l); transform: translateY(-3px); }

/* ═══════════════ AOS 애니메이션 ═══════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
  .about-highlight-grid,
  .sales-kpi-grid,
  .sales-info-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-large, .bento-medium { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .brand-intro-grid,
  .location-grid,
  .contact-wrap { grid-template-columns: 1fr; }
  .brand-intro-visual { height: 300px; }
  .residence-type-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  /* gallery-grid는 이미 2열 — 유지 */
  .gallery-item.full-width { grid-column: 1 / -1; }
  .diagram-inner { grid-template-columns: 1fr; }
  #kakaoMap { height: 360px; }
  .sales-info-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10,21,32,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid rgba(201,168,76,0.2);
    z-index: 998;
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 14px 0; color: var(--white); }
  .nav-link.nav-cta { margin-top: 16px; text-align: center; }
  .nav-toggle { display: flex; z-index: 999; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 280px; justify-content: center; }

  .overview-table th { width: 130px; font-size: 0.78rem; }
  .overview-table td { font-size: 0.85rem; }

  .about-highlight-grid,
  .sales-kpi-grid,
  .sales-info-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.large,
  .gallery-item.full-width { grid-column: 1 / -1; }

  .sales-progress { padding: 32px 20px; }
  .progress-steps { min-width: 500px; }

  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .amenities-bento { grid-template-columns: 1fr; }
  .bento-large, .bento-medium, .bento-small { grid-column: span 1; }
}

@media (max-width: 480px) {
  .title-en { font-size: 2.8rem; }
}
