/* ==========================================================================
   프리미엄 분양 디지털 명함 웹앱 - Luxury High-End Catalog Design System
   Color Palette:
     - Deep Navy (Primary):     #0F1E36  (Dark: #081222 / Soft: #182D4E)
     - Champagne Gold (Accent): #C5A059  (Light: #DFC286 / Deep: #9F7B36 / Tint: #FAF6EE)
     - Clean White (Surface):   #FFFFFF  (Warm Bg: #F5F6F9)
   Layout: Mobile-First Max 480px App Frame (Centered Smartphone Frame on Desktop)
   ========================================================================== */

:root {
  --navy-950: #07101E;
  --navy-900: #0F1E36;
  --navy-800: #162B4C;
  --navy-700: #213B66;

  --gold-600: #9E7A34;
  --gold-500: #C5A059;
  --gold-400: #D8B878;
  --gold-300: #EAD5A8;
  --gold-100: #F8F2E4;
  --gold-50: #FCF9F2;

  --white: #FFFFFF;
  --bg-page: #F4F6F9;
  --slate-900: #141B26;
  --slate-700: #374252;
  --slate-500: #667285;
  --slate-400: #8D98A8;
  --slate-200: #E3E7EE;
  --slate-100: #EEF1F6;

  --danger: #D64545;
  --success: #1B8A5A;

  --app-max-width: 480px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-card: 0 10px 30px rgba(15, 30, 54, 0.08), 0 2px 6px rgba(15, 30, 54, 0.04);
  --shadow-elevated: 0 18px 42px rgba(15, 30, 54, 0.16);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.28);

  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--navy-950);
}

body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: radial-gradient(circle at 50% 0%, #172C4D 0%, #091324 55%, #050B14 100%);
  min-height: 100vh;
  line-height: 1.55;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

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

/* ==========================================================================
   Desktop Outer Showcase & Centered 480px Mobile App Frame
   ========================================================================== */
.desktop-ambient {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.desktop-ambient::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  background-color: var(--bg-page);
  position: relative;
  z-index: 1;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.28), 0 30px 90px rgba(0, 0, 0, 0.65);
}

@media (min-width: 540px) {
  .desktop-ambient {
    padding: 24px 16px;
  }

  .app-shell {
    min-height: calc(100vh - 48px);
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(223, 194, 134, 0.35),
      0 0 0 7px rgba(10, 20, 36, 0.92),
      0 0 0 8px rgba(197, 160, 89, 0.25),
      0 36px 96px rgba(0, 0, 0, 0.72);
  }
}

/* ==========================================================================
   1. 상단 유틸리티 헤더 & 실시간 긴급 공지 티커
   ========================================================================== */
.top-header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(15, 30, 54, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.28);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  gap: 8px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.08) 100%);
  border: 1px solid rgba(216, 184, 120, 0.45);
  color: var(--gold-300);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.util-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}

.util-btn:hover,
.util-btn:active {
  background: rgba(197, 160, 89, 0.22);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.util-btn svg {
  width: 13px;
  height: 13px;
}

.util-btn--gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  border-color: transparent;
  font-weight: 700;
}

.util-btn--gold:hover,
.util-btn--gold:active {
  background: linear-gradient(135deg, #F3E2BA 0%, #CFA960 100%);
  color: var(--navy-950);
}

/* 긴급 공지 티커 배너 */
.notice-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #091324 0%, #122441 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: var(--gold-400);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FF5C5C;
  box-shadow: 0 0 8px #FF5C5C;
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 94%, transparent 100%);
}

.ticker-track {
  display: inline-block;
  padding-left: 4px;
  color: #F2F5FA;
  font-size: 0.79rem;
  font-weight: 500;
  animation: tickerMarquee 22s linear infinite;
}

.notice-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   2. 분양 현장 히어로 & 상담사 프로필 카드
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.hero-backdrop {
  position: relative;
  min-height: 315px;
  padding: 28px 20px 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 19, 36, 0.38) 0%,
    rgba(15, 30, 54, 0.74) 55%,
    rgba(15, 30, 54, 0.98) 100%
  );
  z-index: 1;
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-bottom: none;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.hero-eng-title {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-site-name {
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.hero-slogan {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
  line-height: 1.48;
  margin-bottom: 12px;
}

.hero-scale-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
}

/* 상담사 프로필 플로팅 카드 */
.profile-card-wrap {
  padding: 0 16px;
  margin-top: -62px;
  position: relative;
  z-index: 5;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(197, 160, 89, 0.26);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--gold-500) 50%, var(--navy-900) 100%);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}

.avatar-frame {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-600) 100%);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15, 30, 54, 0.16);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--white);
  background-color: var(--slate-100);
}

.avatar-check {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--gold-400);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-check svg {
  width: 13px;
  height: 13px;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.profile-name {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.profile-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 2px 8px;
  border-radius: 4px;
}

.profile-company {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-top: 3px;
}

.profile-license {
  font-size: 0.73rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.profile-phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--slate-200);
}

.profile-phone-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}

.vcard-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--slate-100);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.vcard-btn:hover {
  background: var(--gold-100);
  color: var(--gold-600);
}

.profile-greeting {
  background: var(--gold-50);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 12px;
  font-size: 0.81rem;
  color: var(--slate-700);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* 4대 원클릭 액션 버튼 그리드 */
.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 12px;
  background: #F8F9FB;
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.action-btn:hover,
.action-btn:active {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  background: var(--gold-50);
  box-shadow: 0 6px 14px rgba(15, 30, 54, 0.08);
}

.action-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: var(--gold-300);
  transition: all 0.2s ease;
}

.action-icon-box svg {
  width: 19px;
  height: 19px;
}

.action-btn--primary {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.action-btn--primary .action-icon-box {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
}

.action-btn--primary .action-label {
  color: var(--white);
}

.action-btn--primary:hover,
.action-btn--primary:active {
  background: var(--navy-800);
  border-color: var(--gold-500);
}

.action-btn--kakao .action-icon-box {
  background: #FEE500;
  color: #391B1B;
}

.action-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ==========================================================================
   공통 섹션 레이아웃 & 헤더 타이포그래피
   ========================================================================== */
.section-block {
  margin-top: 16px;
  padding: 22px 16px;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-eyebrow::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background-color: var(--gold-500);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 4px;
}

/* ==========================================================================
   3. 단지 브리핑 홍보 영상 섹션 (16:9 반응형 플레이어)
   ========================================================================== */
.video-frame-card {
  margin-top: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 12px 28px rgba(15, 30, 54, 0.14);
}

.video-aspect-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070E1A;
}

.video-aspect-box iframe,
.video-aspect-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-aspect-box video {
  object-fit: contain;
  background: #000000;
}

/* 로컬(file://) 열람 시 또는 커버 프리뷰 모드 */
.video-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  cursor: pointer;
}

.video-cover-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.45) 0%, rgba(8, 16, 30, 0.82) 100%);
}

.video-play-circle {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.24), 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.video-cover-fallback:hover .video-play-circle {
  transform: scale(1.08);
}

.video-play-circle svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-cover-label {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.video-bar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem;
}

.yt-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-300);
  font-weight: 700;
  white-space: nowrap;
}

.video-caption {
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--slate-400);
  line-height: 1.45;
}

/* ==========================================================================
   4. 핵심 세일즈 포인트 & 추천 매물(타입) 갤러리 (2-Tab 전환 UI)
   ========================================================================== */
.tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--slate-100);
  padding: 5px;
  border-radius: 12px;
  margin-top: 14px;
  margin-bottom: 18px;
}

.tab-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-500);
  transition: all 0.22s ease;
}

.tab-trigger.is-active {
  background: var(--navy-900);
  color: var(--gold-300);
  box-shadow: 0 4px 12px rgba(15, 30, 54, 0.18);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
  background: rgba(15, 30, 54, 0.1);
  color: inherit;
}

.tab-trigger.is-active .tab-count {
  background: var(--gold-500);
  color: var(--navy-950);
}

.tab-panel {
  display: none;
  animation: fadeSlideUp 0.26s ease;
}

.tab-panel.is-active {
  display: block;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 카테고리 필터 칩 */
.category-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 6px;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--slate-700);
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: all 0.18s ease;
}

.cat-chip.is-active {
  background: var(--gold-100);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

/* 매물/타입 카드 리스트 */
.property-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 30, 54, 0.05);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.property-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: 0 12px 28px rgba(15, 30, 54, 0.11);
}

.property-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--slate-100);
  overflow: hidden;
}

.property-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-thumb-wrap img {
  transform: scale(1.04);
}

.prop-badge-left {
  position: absolute;
  top: 11px;
  left: 11px;
  display: flex;
  gap: 5px;
}

.prop-cat-tag {
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(15, 30, 54, 0.88);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.prop-sub-tag {
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
}

.prop-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 30, 54, 0.82);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.prop-zoom-hint svg {
  width: 13px;
  height: 13px;
  color: var(--gold-400);
}

.property-body {
  padding: 15px 16px 16px;
}

.prop-price-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.prop-title {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.prop-specs {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.prop-desc {
  font-size: 0.81rem;
  color: var(--slate-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.prop-card-footer {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--navy-800);
}

.prop-card-footer span:last-child {
  color: var(--gold-600);
}

/* 탭 2: 입지·청약 체크리스트 */
.checklist-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.check-card {
  background: #FAFBFD;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.check-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy-900), var(--gold-500));
}

.check-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.check-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon-circle svg {
  width: 20px;
  height: 20px;
}

.check-badge {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-600);
}

.check-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 1px;
}

.check-summary {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--white);
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  margin-bottom: 10px;
}

.check-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-points li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.check-points li svg {
  width: 15px;
  height: 15px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 오시는 길 요약 박스 */
.location-mini-card {
  margin-top: 16px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.location-mini-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.location-mini-addr {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.location-mini-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.location-btn-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.map-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.79rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

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

.map-pill-btn--kakao {
  background: #FEE500;
  color: #191919;
}

/* ==========================================================================
   하단 카탈로그 푸터
   ========================================================================== */
.catalog-footer {
  padding: 26px 18px 30px;
  text-align: center;
  color: var(--slate-500);
  font-size: 0.74rem;
  line-height: 1.65;
}

.footer-brand {
  font-weight: 800;
  color: var(--navy-900);
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.footer-disclaimer {
  margin-top: 10px;
  font-size: 0.69rem;
  color: var(--slate-400);
}

/* ==========================================================================
   5. 하단 고정(Floating) CTA 바
   ========================================================================== */
.floating-cta-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  z-index: 45;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 30, 54, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(197, 160, 89, 0.42);
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 -10px 30px rgba(8, 16, 30, 0.35);
}

@media (min-width: 540px) {
  .floating-cta-bar {
    bottom: 24px;
    border-radius: 0 0 25px 25px;
  }
}

.floating-call-btn {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(216, 184, 120, 0.45);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.floating-call-btn:hover {
  background: rgba(197, 160, 89, 0.24);
}

.floating-call-btn svg {
  width: 22px;
  height: 22px;
}

.floating-reserve-btn {
  flex: 1;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, #E5C88B 0%, #C5A059 50%, #A98238 100%);
  color: var(--navy-950);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease;
}

.floating-reserve-btn:active {
  transform: scale(0.985);
}

.floating-reserve-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: skewX(-22deg);
  animation: goldShimmer 4.2s infinite;
}

@keyframes goldShimmer {
  0% { left: -120%; }
  28%, 100% { left: 160%; }
}

.floating-reserve-btn svg {
  width: 19px;
  height: 19px;
}

/* ==========================================================================
   공통 모달 & 바텀시트 (최대 480px 정렬)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 12, 24, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.is-open {
  display: flex;
  animation: fadeBackdrop 0.2s ease;
}

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

.modal-sheet {
  width: 100%;
  max-width: var(--app-max-width);
  max-height: 92vh;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.45);
  animation: sheetSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 540px) {
  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }

  .modal-sheet {
    border-radius: 24px;
    max-height: 88vh;
  }
}

@keyframes sheetSlideUp {
  from { transform: translateY(40px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
  flex-shrink: 0;
}

.modal-header-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 7px;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* 매물 확대 상세 모달 */
.detail-zoom-stage {
  position: relative;
  border-radius: 12px;
  overflow: auto;
  background: #F6F7FA;
  border: 1px solid var(--slate-200);
  margin-bottom: 16px;
}

.detail-zoom-stage img {
  width: 100%;
  height: auto;
  transition: width 0.25s ease;
  cursor: zoom-in;
}

.detail-zoom-stage.is-zoomed img {
  width: 185%;
  max-width: none;
  cursor: zoom-out;
}

.zoom-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--slate-100);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.detail-specs-box {
  background: var(--gold-50);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
}

.detail-desc-text {
  font-size: 0.88rem;
  color: var(--slate-700);
  line-height: 1.65;
  white-space: pre-line;
}

/* 폼 컨트롤 스타일 (방문 예약 & 관리자 패널 공용) */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--gold-600);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: #FAFBFD;
  font-size: 0.88rem;
  color: var(--slate-900);
  transition: border-color 0.2s, background 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-memo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.memo-chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid transparent;
}

.memo-chip:hover,
.memo-chip:active {
  background: var(--gold-100);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--slate-100);
  font-size: 0.76rem;
  color: var(--slate-700);
  margin-bottom: 16px;
}

.consent-box input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--navy-900);
}

.btn-primary-gold {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E2C383 0%, #C5A059 55%, #A57E34 100%);
  color: var(--navy-950);
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: var(--shadow-gold);
}

.btn-secondary-navy {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.btn-outline {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.83rem;
  font-weight: 700;
}

/* VIP 예약 완료 디지털 패스 */
.vip-pass-card {
  background: linear-gradient(155deg, var(--navy-900) 0%, #091324 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 22px 18px;
  border: 1px solid var(--gold-500);
  text-align: center;
}

.vip-pass-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.vip-pass-details {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  font-size: 0.81rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vip-pass-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.vip-pass-row span:first-child {
  color: rgba(255, 255, 255, 0.64);
}

.vip-pass-row span:last-child {
  font-weight: 700;
  color: var(--gold-300);
  text-align: right;
}

/* 길찾기 & 공유 액션 리스트 */
.sheet-action-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sheet-action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: #FAFBFD;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
}

.sheet-action-item:hover {
  border-color: var(--gold-500);
  background: var(--gold-50);
}

/* ==========================================================================
   6. 내장형 '관리자 모드' (Admin Panel - 실시간 편집 드로어)
   ========================================================================== */
.admin-pin-input {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.45em;
  padding: 14px;
}

.shake-error {
  animation: shakeAnim 0.35s ease;
  border-color: var(--danger) !important;
}

@keyframes shakeAnim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.admin-sheet {
  height: 94vh;
  max-height: 94vh;
}

.admin-tabs-bar {
  display: flex;
  overflow-x: auto;
  background: #0A1527;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  scrollbar-width: none;
}

.admin-tabs-bar::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  padding: 12px 12px;
  font-size: 0.79rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s;
}

.admin-tab-btn.is-active {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
}

.admin-panel-section {
  display: none;
}

.admin-panel-section.is-active {
  display: block;
}

.admin-card-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.admin-card-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upload-inline-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.file-upload-label input[type="file"] {
  display: none;
}

.local-video-status {
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--gold-50);
  border: 1px solid rgba(197, 160, 89, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.local-video-status__name {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--navy-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-prop-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: #FAFBFD;
  margin-bottom: 10px;
  align-items: center;
}

.admin-prop-thumb {
  width: 68px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--slate-200);
  flex-shrink: 0;
}

.admin-prop-meta {
  flex: 1;
  min-width: 0;
}

.admin-prop-meta strong {
  display: block;
  font-size: 0.84rem;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-prop-meta span {
  display: block;
  font-size: 0.73rem;
  color: var(--gold-600);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-prop-btns {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.mini-btn {
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 0.73rem;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.mini-btn--danger {
  color: var(--danger);
  border-color: rgba(214, 69, 69, 0.3);
}

.admin-footer-bar {
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* 예약 접수 내역 아이템 */
.rsv-item-card {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 10px;
  background: #FAFBFD;
}

.rsv-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/* 토스트 알림 */
.toast-container {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}

.toast-msg {
  background: rgba(15, 30, 54, 0.96);
  color: var(--white);
  border: 1px solid var(--gold-500);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  animation: toastPop 0.25s ease;
}

@keyframes toastPop {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
