/* ==========================================
   남성역 헤르니티 - CSS Design System & Layout
   ========================================== */

/* Root Variables */
:root {
  /* Color Palette */
  --bg-primary: #0a0c10;
  --bg-secondary: #121620;
  --bg-tertiary: #191e2b;
  --bg-overlay: rgba(10, 12, 16, 0.8);
  
  --accent-gold: #c5a880;
  --accent-gold-hover: #e0be92;
  --accent-gold-rgb: 197, 168, 128;
  --accent-gold-dark: #8c7250;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --border-color: rgba(197, 168, 128, 0.15);
  --border-color-light: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.5);
  
  /* Fonts */
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  /* Layout constraints */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
}

body {
  font-family: var(--font-base);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0; /* Add space for mobile sticky bar dynamically via media query */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typographic refinement for premium text wrapping */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance; /* Balance line endings for headings */
  word-break: keep-all;
  overflow-wrap: break-word;
}

p, li, span, div, button, label, a {
  word-break: keep-all;
  overflow-wrap: break-word;
}

p, li {
  text-wrap: pretty; /* Prevent orphans */
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Utilities */
.gold-text {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #f3e7c9 0%, #c5a880 50%, #8c7250 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-serif {
  font-family: 'Georgia', 'Times New Roman', serif;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e0be92, #c5a880);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Sections Structure */
section {
  padding: 100px 0;
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-badge {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.25em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.title-bar {
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   Header Component
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-color-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  width: 100%;
}

.highlight-menu {
  color: var(--accent-gold);
  border: 1px dashed var(--border-color);
  padding: 6px 12px;
  border-radius: 4px;
}

.highlight-menu::after {
  display: none;
}

.highlight-menu:hover {
  background: rgba(197, 168, 128, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--accent-gold);
}

.phone-btn:hover {
  background: var(--accent-gold);
  color: #111;
}

.phone-icon {
  width: 16px;
  height: 16px;
}

.phone-icon-sm {
  width: 18px;
  height: 18px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  height: 18px;
  justify-content: space-between;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
}

/* Hamburger active transformation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* ==========================================
   Mobile Overlay Menu
   ========================================== */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  text-align: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-link:hover {
  color: var(--accent-gold);
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  position: relative;
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

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

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.4) 0%, rgba(10, 12, 16, 0.8) 100%);
  z-index: 2;
}

.centered-hero {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title-main {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

.hero-slogan-sub {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 30px;
  color: var(--text-primary);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

/* Centered Questions Card */
.hero-questions-card {
  width: 100%;
  background: rgba(18, 22, 32, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: 16px;
  padding: 30px 24px;
  margin-bottom: 35px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.hero-questions-card .card-header {
  margin-bottom: 25px;
}

.hero-questions-card .card-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 6px;
}

.hero-questions-card .card-header p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.phone-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(197, 168, 128, 0.15);
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
}

.card-questions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero-question-action-btn {
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  padding: 14px 20px;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
}

.hero-question-action-btn .bullet {
  color: var(--accent-gold);
  margin-right: 8px;
  font-size: 0.85rem;
}

.hero-question-action-btn:hover {
  border-color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(197, 168, 128, 0.2);
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-cta-gold {
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-cta-gold:hover {
  background: #b89665;
  border-color: #b89665;
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 168, 128, 0.35);
}

.btn-cta-white {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #121620;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-cta-white:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.cta-phone-icon {
  width: 18px;
  height: 18px;
  stroke: var(--bg-primary);
}

/* Header Consultation Button styling */
.header-consult-btn {
  background: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  color: var(--bg-primary) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.2) !important;
}

.header-consult-btn:hover {
  background: #b89665 !important;
  border-color: #b89665 !important;
  color: var(--bg-primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 15px rgba(197, 168, 128, 0.3) !important;
}


/* Visual Placeholder Styles */
.hero-visual {
  width: 100%;
}

.visual-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(25, 30, 43, 0.4) 0%, rgba(18, 22, 32, 0.6) 100%);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.placeholder-border {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border: 1px dashed rgba(197, 168, 128, 0.2);
  border-radius: 6px;
  pointer-events: none;
}

.placeholder-content {
  text-align: center;
  padding: 30px;
  z-index: 2;
}

.placeholder-icon {
  width: 60px;
  height: 60px;
  stroke: var(--accent-gold);
  opacity: 0.7;
  margin-bottom: 15px;
}

.placeholder-main-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.placeholder-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   Overview Section
   ========================================== */
.overview-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.overview-info {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
}

.overview-table th, .overview-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color-light);
  font-size: 0.95rem;
  text-align: left;
}

.overview-table tr:last-child th, .overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table th {
  color: #e6dfd5;
  font-weight: 700;
  width: 25%;
  vertical-align: top;
}

.overview-table td {
  color: var(--text-primary);
}

.overview-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(18, 22, 32, 0.5) 100%);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.stat-num .unit {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================
   Premium Location Section
   ========================================== */
.premium-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.premium-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 40px 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.1);
}

.premium-card:hover::before {
  opacity: 1;
}

.card-icon-container {
  width: 50px;
  height: 50px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--accent-gold);
}

.card-icon {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   Unit Types Section (Tabs)
   ========================================== */
.units-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tabs-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 20px;
}

.tab-trigger {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color-light);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-trigger:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.tab-trigger.active {
  background: var(--accent-gold);
  color: #111;
  border-color: var(--accent-gold);
}

.tabs-content-wrapper {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn var(--transition-slow);
}

.tab-content.active {
  display: block;
}

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

.unit-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.unit-visual {
  grid-column: 1;
}

.unit-info {
  grid-column: 2;
}

.unit-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.unit-intro {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
}

.spec-list li {
  font-size: 0.9rem;
}

.spec-list li strong {
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.unit-features h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unit-features h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--accent-gold);
}

.unit-features p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.unit-visual .visual-placeholder {
  aspect-ratio: 16 / 10;
}

/* ==========================================
   Development & Vision Section
   ========================================== */
.development-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.dev-banner-container {
  max-width: 1000px;
  margin: 0 auto;
}

.dev-banner-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.dev-banner-card:hover {
  border-color: var(--accent-gold);
}

.dev-banner-img-wrapper {
  width: 100%;
  background: #111520;
  border-bottom: 1px solid var(--border-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.dev-banner-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.dev-banner-info {
  padding: 30px 24px;
  text-align: center;
}

.dev-banner-info h3 {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-weight: 700;
  word-break: keep-all;
}

.dev-banner-info p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 840px;
  margin: 0 auto;
  word-break: keep-all;
}

.placeholder-icon-sm {
  width: 32px;
  height: 32px;
  stroke: var(--accent-gold);
  opacity: 0.6;
}

.dev-content {
  padding: 30px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dev-number {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(197, 168, 128, 0.08);
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1;
}

.dev-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.dev-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ==========================================
   Special Strategies Section
   ========================================== */
.strategy-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.strategy-tabs-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.strategy-block {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.strategy-block h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--accent-gold);
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color-light);
}

.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.strategy-item {
  display: flex;
  gap: 20px;
}

.str-code {
  flex-shrink: 0;
  width: 90px;
  height: 32px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.str-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(197, 168, 128, 0.1);
  color: var(--accent-gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.strategy-item h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.strategy-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================
   Contact Registration Form Section
   ========================================== */
.contact-section {
  background-color: var(--bg-primary);
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, rgba(10, 12, 16, 0) 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 25px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.contact-tel-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 35px;
  text-align: center;
}

.contact-tel-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.tel-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.qualify-rules h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.qualify-rules ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qualify-rules li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 15px;
  color: var(--text-secondary);
}

.qualify-rules li::before {
  content: '•';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Form Styling */
.contact-form-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.interest-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group label .required {
  color: #ff5a5a;
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  height: 50px;
}

.form-group textarea {
  height: auto;
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.form-row.grid-2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-row.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.funnel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.funnel-chip {
  cursor: pointer;
}

.funnel-chip input[type="checkbox"] {
  display: none;
}

.funnel-chip span {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-color-light);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  user-select: none;
}

.funnel-chip span:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.funnel-chip input[type="checkbox"]:checked + span {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #111;
  font-weight: 600;
}

.underline {
  text-decoration: underline;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.check-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-gold);
}

.privacy-group {
  border-top: 1px solid var(--border-color-light);
  padding-top: 20px;
}

.privacy-text-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  height: 90px;
  overflow-y: scroll;
  line-height: 1.5;
  margin-bottom: 12px;
}

.privacy-text-box p {
  margin-bottom: 6px;
}

.privacy-agree {
  font-weight: 600 !important;
  color: var(--text-primary) !important;
}

.btn-submit {
  width: 100%;
  height: 55px;
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
  border: none;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #e0be92, #c5a880);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
  transform: translateY(-2px);
}

/* ==========================================
   Footer Component
   ========================================== */
.footer {
  background: #07080a;
  border-top: 1px solid var(--border-color-light);
  padding: 60px 0 30px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-brand h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-divider {
  border: 0;
  height: 1px;
  background: var(--border-color-light);
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-info p {
  margin-bottom: 6px;
}

.footer-info strong {
  color: var(--text-secondary);
}

.footer-info a {
  color: var(--accent-gold);
  font-weight: 700;
}

.disclaimer {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ==========================================
   Floating Widgets & Mobile Bottom Bar
   ========================================== */
/* Top Button */
.top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.top-btn:hover {
  background: var(--accent-gold);
  color: #111;
  transform: translateY(-3px);
}

.top-icon {
  width: 20px;
  height: 20px;
}

/* Sticky Quick Bar for Mobile (Hidden on Desktop) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 998;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color-light);
}

.mobile-sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  height: 100%;
  flex: 1;
  gap: 8px;
}

.sticky-call {
  background: var(--bg-tertiary);
  color: var(--accent-gold);
}

.sticky-reg {
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
}

/* Custom Toast Notification styles */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-tertiary);
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  padding: 16px 24px;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
  max-width: 320px;
}

.toast.show {
  transform: translateX(0);
}

.toast-success-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
}


/* ==========================================
   Info Section (Naver TV)
   ========================================== */
.info-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.info-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.info-content-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-tag {
  background: #00c73c; /* Naver Green */
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.info-content-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.info-content-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.play-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.info-media-box {
  width: 100%;
}

.video-thumbnail-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 12, 16, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.play-btn-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #c5a880, #a98d66);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.4);
  transition: all var(--transition-normal);
}

.play-svg {
  width: 24px;
  height: 24px;
  color: #111;
  margin-left: 4px; /* offset play icon to visually center */
}

/* Hover Effects */
.video-thumbnail-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold-hover);
  box-shadow: 0 20px 40px rgba(197, 168, 128, 0.2);
}

.video-thumbnail-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-thumbnail-card:hover .video-overlay {
  background: rgba(10, 12, 16, 0.2);
}

.video-thumbnail-card:hover .play-btn-circle {
  transform: scale(1.1);
  background: linear-gradient(135deg, #e0be92, #c5a880);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.6);
}


/* ==========================================
   Responsive Media Queries
   ========================================== */

/* Up to 1024px (Large Tablets / Laptops) */
@media (max-width: 1024px) {
  .info-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .info-content-box {
    align-items: center;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-cards {
    flex-direction: row;
  }
  .stat-card {
    flex: 1;
  }
  
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dev-banner-container {
    width: 100%;
    margin: 0 auto;
  }
  
  .strategy-tabs-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Up to 768px (Mobile & Small Tablets) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  body {
    padding-bottom: calc(85px + env(safe-area-inset-bottom)); /* Space for sticky call bar & safe area */
  }
  
  section {
    padding: 60px 0;
  }
  
  br.br-pc {
    display: none !important;
  }
  
  .section-title {
    font-size: 1.8rem;
    word-break: keep-all;
    text-wrap: balance;
  }
  
  .section-desc {
    word-break: keep-all;
    text-wrap: pretty;
  }
  
  /* Navigation */
  .nav-menu {
    display: none;
  }
  .header-right .phone-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-section {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: auto !important;
    padding-top: calc(var(--header-height) + 15px) !important;
    padding-bottom: 30px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .hero-bg-slider {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
    z-index: 1 !important;
    order: 1 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
  }

  .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-slide-img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-bg-overlay {
    display: none !important;
  }

  .hero-container {
    position: relative !important;
    width: 100% !important;
    order: 2 !important;
    z-index: 2 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-text-center {
    width: 100% !important;
  }

  .hero-title-main {
    font-size: 1.65rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    text-shadow: none !important;
    word-break: keep-all !important;
    text-wrap: balance !important;
  }

  .hero-slogan-sub {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
    text-shadow: none !important;
    word-break: keep-all !important;
    text-wrap: balance !important;
  }

  /* Questions Box (15% Smaller on Mobile) */
  .hero-questions-card {
    max-width: 360px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 16px 14px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  }

  .hero-questions-card .card-header {
    margin-bottom: 14px !important;
  }

  .phone-icon-circle {
    width: 38px !important;
    height: 38px !important;
  }

  .phone-icon-circle svg {
    width: 18px !important;
    height: 18px !important;
  }

  .hero-questions-card .card-header h3 {
    font-size: 1.15rem !important;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
  }

  .hero-questions-card .card-header p {
    font-size: 0.82rem !important;
  }

  .hero-question-action-btn {
    padding: 9px 12px !important;
    font-size: 0.82rem !important;
    margin-bottom: 8px !important;
    border-radius: 6px !important;
  }

  .overview-cards {
    flex-direction: column;
  }
  
  .premium-grid {
    grid-template-columns: 1fr;
  }
  
  .unit-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .unit-visual {
    width: 100%;
    margin: 0;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  
  .unit-info {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  
  .unit-visual .visual-placeholder {
    aspect-ratio: 16 / 11 !important;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .unit-visual .visual-loaded-img {
    object-fit: contain !important;
    padding: 8px !important;
    background-color: var(--bg-tertiary) !important;
  }

  .unit-visual .placeholder-border {
    display: none !important;
  }
  
  .tab-trigger {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .contact-form-panel {
    padding: 25px;
  }
  
  .tel-number {
    font-size: 2rem;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .mobile-sticky-bar {
    display: flex;
  }
  
  .top-btn {
    bottom: 80px; /* Adjust height to not cover sticky bar */
    right: 20px;
  }
  
  .toast-container {
    top: auto;
    bottom: 80px;
    right: 20px;
    left: 20px;
  }
  .toast {
    max-width: 100%;
  }
}

/* ==========================================================================
   신규 이미지 리소스 및 입지/조경/커뮤니티 컴포넌트 추가 스타일
   ========================================================================== */

.visual-loaded-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
}

.unit-visual .visual-loaded-img {
  object-fit: contain !important;
  background-color: var(--bg-secondary) !important;
  padding: 10px !important;
}

/* Map Gallery Styles */
.map-gallery-section {
  margin-top: 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.map-gallery-section .gallery-header {
  margin-bottom: 25px;
  text-align: center;
}
.map-gallery-section .gallery-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.map-gallery-section .gallery-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.map-gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 15px;
}
.map-tab-trigger {
  background: transparent;
  border: 1px solid var(--border-color-light);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.map-tab-trigger:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.map-tab-trigger.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-primary);
}
.map-gallery-content {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color-light);
  background: #111520;
}
.map-content {
  display: none;
  animation: fadeIn var(--transition-slow);
}
.map-content.active {
  display: block;
}
.gallery-map-img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Landscape Gallery Styles */
.landscape-gallery-section {
  margin-top: 60px;
  border-top: 1px solid var(--border-color-light);
  padding-top: 50px;
  width: 100%;
}
.landscape-gallery-section .gallery-sub-header {
  text-align: center;
  margin-bottom: 35px;
}
.landscape-gallery-section .gallery-sub-header h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.landscape-gallery-section .gallery-sub-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.landscape-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.landscape-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}
.landscape-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-gold);
}
.landscape-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111520;
}
.landscape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.landscape-card:hover .landscape-img {
  transform: scale(1.05);
}
.landscape-info {
  padding: 18px;
}
.landscape-info h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
}
.landscape-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Community Section Styles */
.community-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  border-top: 1px solid var(--border-color-light);
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.community-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}
.community-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-gold);
}
.comm-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111520;
}
.comm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.community-card:hover .comm-img {
  transform: scale(1.06);
}
.comm-info {
  padding: 24px;
}
.comm-info h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.community-card:hover .comm-info h3 {
  color: var(--accent-gold);
}
.comm-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Styles for New Components */
@media (max-width: 1024px) {
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .landscape-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .landscape-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .map-gallery-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }
  .map-tab-trigger {
    flex-shrink: 0;
  }
  .map-tab-trigger {
    padding: 8px 16px;
    font-size: 0.88rem;
  }
  .map-gallery-section {
    padding: 20px 15px;
  }
  .community-section {
    padding: 60px 0;
  }
}

/* Hero Question Overlay Styles */
.hero-questions-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.overlay-header {
  text-align: center;
  margin-bottom: 20px;
}
.overlay-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(197, 168, 128, 0.15);
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.overlay-phone-svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-gold);
}
.overlay-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.overlay-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.overlay-questions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}
.overlay-question-btn {
  background: rgba(18, 22, 32, 0.8);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 12px 16px;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}
.overlay-question-btn .bullet {
  color: var(--accent-gold);
  margin-right: 8px;
  font-size: 0.85rem;
}
.overlay-question-btn:hover {
  border-color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.25);
}

@media (max-width: 480px) {
  .overlay-header h3 {
    font-size: 1.2rem;
  }
  .overlay-header p {
    font-size: 0.8rem;
  }
  .overlay-question-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .overlay-phone-icon {
    width: 38px;
    height: 38px;
  }
  .overlay-phone-svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   Image Lightbox Modal Styles
   ========================================================================== */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 12, 16, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.image-modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.image-modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--text-primary);
  padding: 15px 0;
  font-weight: 500;
  font-size: 1rem;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.image-modal-close:hover,
.image-modal-close:focus {
  color: var(--accent-gold);
  text-decoration: none;
}

@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

@media (max-width: 768px) {
  .image-modal-content {
    width: 95%;
  }
  .image-modal-close {
    top: 15px;
    right: 20px;
    font-size: 35px;
  }
}

/* ===== VISIT RESERVATION PICKER & SELECT STYLING ===== */
.form-group input[type="date"] {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
  height: 50px;
  cursor: pointer;
  color-scheme: dark; /* Matches native date picker popup with the site's dark mode theme */
  position: relative;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.form-group input[type="date"]:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 132, 115, 0.15);
}
