:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Primary & Slate Palette */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-rgb: 15, 23, 42;
  
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-gold: #c59b27;
  --accent-gold-light: #fef9c3;
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Navigation Header - Modern Floating Glassmorphism */
.site-nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 16px;
  pointer-events: none;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.07), 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  border-radius: 9999px;
  padding: 8px 12px 8px 16px;
  height: 64px;
  pointer-events: auto;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 12px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

/* Nav Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 38px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
}

.brand-crest-img {
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.nav-brand:hover .brand-symbol {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.2));
}

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

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f172a;
  line-height: 1.2;
}

.brand-badge {
  background: rgba(197, 155, 39, 0.12);
  color: #926d0b;
  border: 1px solid rgba(197, 155, 39, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
}

/* Navigation Links & Actions Wrapper */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-link:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

.nav-link.active {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.07);
}

.nav-link::after {
  display: none;
}

/* Nav Actions (VIP + CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.nav-vip-btn {
  background: rgba(197, 155, 39, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.35);
  color: #926d0b;
  border-radius: 9999px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-vip-btn .vip-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c59b27;
  transition: transform 0.2s ease;
}

.nav-vip-btn:hover {
  background: rgba(197, 155, 39, 0.16);
  border-color: rgba(197, 155, 39, 0.6);
  color: #745404;
  transform: translateY(-1px);
}

.nav-vip-btn:hover .vip-icon-wrap {
  transform: rotate(-10deg) scale(1.1);
}

.nav-vip-btn.authenticated {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.nav-vip-btn.authenticated .vip-icon-wrap {
  color: #059669;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta .cta-arrow {
  transition: transform 0.2s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.28);
}

.nav-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* Mobile Nav Toggle Button */
.mobile-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(15, 23, 42, 0.08);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.mobile-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.mobile-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(197, 155, 39, 0.05) 0%, transparent 50%),
              #ffffff;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-pill.commission-free {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.hero-pill.location-pill {
  background: #f1f5f9;
  color: var(--primary);
  border: 1px solid var(--border-color);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.15rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-page);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Hero Key Figures Strip */
.hero-key-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  .hero-key-figures {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.key-figure-item {
  display: flex;
  flex-direction: column;
}

.key-figure-item .kf-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.key-figure-item .kf-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.key-figure-item .kf-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

.key-figure-item.highlight .kf-value {
  color: var(--accent);
}

/* Hero Visual Showcase */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: #fff;
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-gallery-trigger {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  color: var(--primary);
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
}

.hero-gallery-trigger:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Highlight Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-icon-wrapper.blue {
  background: #eff6ff;
  color: #2563eb;
}

.feature-icon-wrapper.emerald {
  background: #ecfdf5;
  color: #059669;
}

.feature-icon-wrapper.amber {
  background: #fffbeb;
  color: #d97706;
}

.feature-icon-wrapper.purple {
  background: #faf5ff;
  color: #9333ea;
}

.feature-icon-wrapper.cyan {
  background: #ecfeff;
  color: #0891b2;
}

.feature-icon-wrapper.rose {
  background: #fff1f2;
  color: #e11d48;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-tag-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--text-muted);
}

/* Interactive Gallery Section */
.gallery-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(110deg, #1e293b 8%, #334155 18%, #1e293b 33%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite linear;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.gallery-item img.loaded {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-caption-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-caption-sub {
  color: #cbd5e1;
  font-size: 0.825rem;
  margin-top: 4px;
}

.gallery-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Floor Plans & Room Areas Table */
.data-comparison-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-btn {
  padding: 16px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
  background: #ffffff;
}

.tab-content {
  padding: 32px;
  display: none;
}

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

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.custom-table th, 
.custom-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.custom-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.custom-table tr:hover td {
  background: #f8fafc;
}

.custom-table tr.highlight-total td {
  background: #eff6ff;
  font-weight: 800;
  color: var(--accent);
  border-top: 2px solid #bfdbfe;
  font-size: 1.05rem;
}

/* Location & Neighborhood */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-item {
  display: flex;
  gap: 18px;
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.location-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.location-details h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.location-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-container-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.map-iframe-wrapper {
  width: 100%;
  height: 380px;
  border: none;
  background: #e2e8f0;
}

.map-meta-box {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.map-meta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.map-meta-address {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.commute-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.commute-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

/* Financial & Commission Advantage Box */
.financial-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.financial-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.financial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .financial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.financial-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.financial-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 24px;
}

.savings-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.savings-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-emerald);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.savings-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.savings-note {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* FAQ Accordion */
.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
}

.faq-answer {
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact & Viewing Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.775rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* Lightbox Modal (Modern <dialog>) */
dialog#lightbox-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 95vw;
  max-height: 95vh;
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  overflow: visible;
}

dialog#lightbox-dialog::backdrop {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-wrapper {
  position: relative;
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  max-height: 90vh;
}

.lightbox-img-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #020617;
  overflow: hidden;
  min-height: 300px;
}

.lightbox-img-holder picture {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 75vh;
}

.lightbox-img-holder img {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.lightbox-img-holder img.loading {
  opacity: 0.6;
}

.lightbox-caption-bar {
  padding: 16px 24px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.lightbox-counter {
  font-size: 0.85rem;
  color: #94a3b8;
}

.lightbox-btn {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  transition: all var(--transition-fast);
  z-index: 15;
  user-select: none;
}

.lightbox-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 20;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* Footer (Clean & Streamlined) */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 40px 0 28px 0;
  border-top: 1px solid #1e293b;
}

.footer-simple-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-brand-side {
  max-width: 440px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-quick-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav-item {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-item:hover {
  color: #ffffff;
}

.footer-bottom-line {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-legal-dialog {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.btn-legal-dialog:hover {
  color: #ffffff;
}

/* Modal Dialog: Rechtliche Hinweise & Datenschutz */
dialog#legal-dialog {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background: transparent;
  max-width: 680px;
  width: 90vw;
  margin: auto;
  box-shadow: var(--shadow-2xl);
  overflow: visible;
}

dialog#legal-dialog::backdrop {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  border: 1px solid var(--border-color);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .legal-modal-box {
    padding: 24px 20px;
  }
}

.legal-modal-header {
  margin-bottom: 20px;
  padding-right: 36px;
}

.legal-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.legal-modal-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-modal-body {
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.legal-section p {
  margin-bottom: 8px;
}

.legal-section ul {
  padding-left: 20px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-modal-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* Sticky Mobile Quick Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  body {
    padding-bottom: 70px;
  }
}

.mobile-price-tag {
  display: flex;
  flex-direction: column;
}

.mobile-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.mobile-price-sub {
  font-size: 0.725rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* Nav VIP Button */
.nav-vip-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-vip-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.nav-vip-btn.authenticated {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

/* Floorplan Drawings Preview Box in Tabs */
.floorplan-preview-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.floorplan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  gap: 12px;
  flex-wrap: wrap;
}

.floorplan-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.btn-floorplan-zoom {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-floorplan-zoom:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.floorplan-img-wrapper {
  background: #f8fafc;
  text-align: center;
  padding: 16px;
  max-height: 520px;
  overflow: auto;
  cursor: zoom-in;
}

.floorplan-img {
  max-height: 480px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.floorplan-card-trigger {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floorplan-card-trigger:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.doc-icon.img-icon {
  background: #f1f5f9;
  color: var(--accent);
  border: 1px solid #cbd5e1;
}

/* VIP Locked Banner */
.vip-locked-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 860px) {
  .vip-locked-banner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }
}

.vip-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.vip-locked-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.vip-locked-desc {
  color: #cbd5e1;
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.vip-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 500px) {
  .vip-features-list {
    grid-template-columns: 1fr;
  }
}

.vip-locked-action {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vip-locked-action button {
  width: 100%;
  justify-content: center;
}

/* VIP Modal Box */
dialog#vip-login-dialog {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background: transparent;
  max-width: 620px;
  width: 90vw;
  margin: auto;
  box-shadow: var(--shadow-2xl);
  overflow: visible;
}

dialog#vip-login-dialog::backdrop {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vip-modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  border: 1px solid var(--border-color);
}

@media (max-width: 600px) {
  .vip-modal-box {
    padding: 24px 20px;
  }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.vip-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.vip-lock-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.vip-modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.vip-error-text {
  font-size: 0.825rem;
  color: #dc2626;
  margin-top: 8px;
  line-height: 1.4;
  font-weight: 500;
}

.vip-login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vip-login-footer a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.vip-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.vip-docs-scroll {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
  margin-bottom: 24px;
}

.vip-doc-row {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-fast);
}

.vip-doc-row:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.vip-doc-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.vip-doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-vip-action {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-vip-view {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.btn-vip-view:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-vip-dl {
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  text-decoration: none;
}

.btn-vip-dl:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.vip-modal-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* PDF Viewer Modal */
dialog#pdf-viewer-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  width: 1280px;
  height: 94vh;
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}

dialog#pdf-viewer-dialog::backdrop {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pdf-viewer-wrapper {
  background: #0f172a;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pdf-viewer-header {
  padding: 12px 20px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pdf-viewer-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-viewer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-pdf-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-pdf-header:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-close-header {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
  font-size: 1rem;
}

.btn-close-header:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.pdf-frame-container {
  flex: 1;
  background: #020617;
}

.pdf-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========================================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS & TOUCH REFINEMENTS
   ======================================================== */

@media (max-width: 768px) {
  /* Hero & Container Spacing */
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Key figures on mobile: 2x2 grid with tighter padding */
  .hero-key-figures {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 14px;
  }

  .key-figure-item .kf-value {
    font-size: 1.25rem;
  }

  .key-figure-item .kf-label {
    font-size: 0.7rem;
  }

  .key-figure-item .kf-note {
    font-size: 0.7rem;
  }

  /* Navigation Bar - Floating Mobile Drawer */
  .site-nav {
    top: 8px;
    padding: 0 10px;
  }

  .nav-container {
    height: 56px;
    padding: 6px 10px 6px 12px;
    border-radius: 9999px;
  }

  .brand-symbol {
    width: 30px;
    height: 36px;
  }

  .brand-crest-img {
    height: 34px;
  }

  .brand-name {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
  }

  .brand-badge {
    font-size: 0.6rem;
    padding: 1px 6px;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu-wrapper.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-links-list .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
    background: transparent;
  }

  .nav-links-list .nav-link:hover,
  .nav-links-list .nav-link:active {
    background: rgba(15, 23, 42, 0.05);
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }

  .nav-actions .nav-vip-btn,
  .nav-actions .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  /* Gallery Filters & Grid */
  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item {
    aspect-ratio: 16 / 10;
  }

  /* Table / Room Schedule horizontal scroll card */
  .tab-content {
    padding: 18px 14px;
  }

  .tabs-nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 14px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .custom-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 0.85rem;
  }

  .custom-table th, 
  .custom-table td {
    padding: 10px 12px;
  }

  /* Floor Plan Previews */
  .floorplan-header {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-floorplan-zoom {
    width: 100%;
    justify-content: center;
  }

  .floorplan-img-wrapper {
    padding: 10px;
    max-height: 360px;
  }

  .floorplan-img {
    max-height: 320px;
  }

  /* Financial Banner & Calculator */
  .financial-banner {
    padding: 28px 20px;
    margin: 28px 0;
  }

  .financial-title {
    font-size: 1.6rem;
  }

  .calculator-card {
    padding: 22px 18px;
  }

  .calculator-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .calc-result-number {
    font-size: 1.8rem;
  }

  /* VIP Banner */
  .vip-locked-banner {
    padding: 24px 18px;
  }

  .vip-locked-title {
    font-size: 1.3rem;
  }

  .vip-features-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Contact & Form */
  .contact-card,
  .contact-form-card {
    padding: 24px 20px;
  }

  /* Modals on Mobile */
  dialog#lightbox-dialog,
  dialog#vip-login-dialog,
  dialog#pdf-viewer-dialog,
  dialog#legal-dialog {
    max-width: 96vw;
    width: 96vw;
  }

  .lightbox-wrapper {
    max-height: 94vh;
  }

  .lightbox-img-holder img {
    max-height: 60vh;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-caption-bar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .vip-modal-box,
  .legal-modal-box {
    padding: 22px 16px;
  }

  .vip-doc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vip-doc-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .pdf-viewer-header {
    padding: 10px 14px;
    gap: 10px;
  }

  .btn-pdf-header span {
    display: none;
  }

  /* Footer Clean Simple Row */
  .footer-simple-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-quick-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .footer-bottom-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-key-figures {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mobile-price-val {
    font-size: 1.1rem;
  }
}

/* Contact Form Banners */
.form-success-banner {
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #065f46;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.form-error-banner {
  background: #fef2f2;
  border: 1px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #991b1b;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}


