/* ============================================================
   HAS DE LAGO CLUSTER BEKASI - LANDING PAGE STYLESHEET
   Design System: Modern Architectural Luxury & High Conversion
   ============================================================ */

:root {
  /* Color Palette */
  --primary: #0b2545;
  --primary-light: #133a68;
  --primary-dark: #07172c;
  --accent: #d99a26;
  --accent-light: #f5b945;
  --accent-dark: #b57a15;
  --accent-glow: rgba(217, 154, 38, 0.25);
  
  --emerald: #107e54;
  --emerald-light: #e8f7f0;
  --emerald-dark: #0a5639;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark: #071322;
  --bg-dark-card: #0f243e;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-dark: #1e3a5f;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 24px 50px -10px rgba(11, 37, 69, 0.18);
  --shadow-accent: 0 10px 25px -5px rgba(217, 154, 38, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 85px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.text-center {
  text-align: center;
}

/* Section Headers */
.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(217, 154, 38, 0.12);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(217, 154, 38, 0.25);
}

.section-dark .section-tag {
  background: rgba(217, 154, 38, 0.2);
  color: var(--accent-light);
  border-color: rgba(217, 154, 38, 0.4);
}

.cluster-name {
  margin: 4px auto 14px;
  line-height: 0;
}

.cluster-name img {
  display: block;
  width: clamp(190px, 26vw, 310px);
  height: auto;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* Promo Top Bar */
.top-bar {
  background: linear-gradient(90deg, #0b2545 0%, #153e70 50%, #0b2545 100%);
  color: #ffffff;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 102;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-badge-pill {
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 11px;
  margin-right: 8px;
  letter-spacing: 0.04em;
}

.top-bar-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
}

.top-bar-links a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.top-bar-links a:hover {
  color: #ffffff;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

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

.brand-img {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: var(--transition);
}

.brand-img:hover {
  transform: scale(1.03);
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
  border: 1px solid rgba(217, 154, 38, 0.3);
}

.footer-brand-img {
  height: 46px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-info h1 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin: 0;
}

.brand-info span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-menu-cta {
  display: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  padding: 6px 0;
  position: relative;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #171717;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(217, 154, 38, 0.45);
}

.btn-dark {
  background: var(--primary);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #1fa851;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 12px 26px -4px rgba(37, 211, 102, 0.5);
}

/* Hero Section */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(4, 12, 23, 0.9) 0%, rgba(7, 23, 44, 0.82) 45%, rgba(11, 37, 69, 0.6) 100%),
    url('images/hero-gate.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 80px 0 95px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 154, 38, 0.15) 0%, transparent 70%);
  top: -100px;
  right: 5%;
  filter: blur(50px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 126, 84, 0.15) 0%, transparent 70%);
  bottom: -50px;
  left: 0;
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}

.hero-partner-badge strong {
  color: var(--accent-light);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(32px, 4.2vw, 54px);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-title .strikethrough {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 0.8em;
  font-weight: 500;
  color: #cbd5e1;
}

.hero-title .highlight-price {
  color: var(--accent-light);
  display: inline-block;
  background: linear-gradient(135deg, #fce289 0%, #d99a26 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(217, 154, 38, 0.2);
}

.hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}

.hero-chip svg {
  color: var(--accent-light);
}

/* Chip jumlah lantai di kartu unit */
.hero-chip.unit-floor-chip {
  font-size: 11px;
  padding: 3px 8px;
  color: var(--primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.hero-note {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-note i {
  color: #25d366;
}

/* Hero Visual Box / Interactive Card */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-img-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #102d52 0%, #1e4b85 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-img-placeholder .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-img-placeholder:hover .hero-img {
  transform: scale(1.1);
}

.hero-img-placeholder .placeholder-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent-light);
}

.hero-img-placeholder h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-img-placeholder p {
  color: #cbd5e1;
  font-size: 12px;
  max-width: 280px;
}

.hero-float-badge {
  position: absolute;
  top: 66px;
  right: 24px;
  max-width: 190px;
  background: rgba(7, 23, 44, 0.88);
  border: 1px solid rgba(217, 154, 38, 0.4);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.hero-float-badge .badge-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #171717;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

.hero-float-badge .badge-text h5 {
  color: #ffffff;
  font-size: 11px;
  line-height: 1.25;
  margin: 0;
}

.hero-float-badge .badge-text span {
  color: var(--accent-light);
  font-size: 10px;
  font-weight: 600;
}

/* Key Highlights Strip (USP) */
.usp-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

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

.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-right: 1px solid var(--border-light);
}

.usp-item:last-child {
  border-right: none;
}

.usp-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(11, 37, 69, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
}

.usp-item:hover .usp-icon {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.usp-text h4 {
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--primary);
}

.usp-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Location & Surroundings Section */
.location-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Site Plan / Peta Kavling Strategis */
.siteplan-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.siteplan-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1600 / 894;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.siteplan-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0);
  transition: background 0.3s ease;
}

.siteplan-img-wrap:hover::after {
  background: rgba(11, 37, 69, 0.15);
}

.siteplan-maps-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}

.siteplan-img-wrap:hover .siteplan-maps-hint {
  opacity: 1;
  transform: translateY(0);
}

.siteplan-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.siteplan-img-wrap:hover .siteplan-img {
  transform: none;
}

.siteplan-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.siteplan-badge i {
  color: var(--accent-light);
}

.siteplan-legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.siteplan-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #e11d1d;
  display: inline-block;
  flex-shrink: 0;
}

.siteplan-caption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 28px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
}

.siteplan-caption i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.siteplan-caption p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.siteplan-caption strong {
  color: var(--primary);
}

.location-intro {
  background: linear-gradient(135deg, var(--primary) 0%, #153c69 100%);
  color: #ffffff;
  padding: 34px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.location-intro-text h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 8px;
}

.location-intro-text p {
  color: #cbd5e1;
  max-width: 650px;
  font-size: 14px;
}

.location-key-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.loc-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.loc-chip strong {
  display: block;
  font-size: 16px;
  color: var(--accent-light);
}

.loc-chip span {
  font-size: 11px;
  color: #cbd5e1;
}

/* Location Nav Tabs */
.location-tabs {
  display: flex;
  overflow-x: auto;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  padding: 6px 14px;
  gap: 8px;
}

.loc-tab-btn {
  background: transparent;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.loc-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.location-tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

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

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.place-item {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}

.place-item:hover {
  border-color: var(--accent);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.place-item-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 2px;
}

.place-item-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.place-distance-tag {
  background: rgba(16, 126, 84, 0.1);
  color: var(--emerald);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.place-distance-tag.onsite {
  background: rgba(217, 154, 38, 0.12);
  color: var(--accent-dark);
}

/* Units Catalog Section */
.unit-filters-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

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

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.unit-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.unit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 154, 38, 0.4);
}

.unit-card.featured-card {
  border: 2px solid var(--accent);
}

.unit-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.unit-card-badge.gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #171717;
}

.unit-card-badge.diamond {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff;
}

.unit-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.unit-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-img-placeholder svg {
  color: var(--primary-light);
  opacity: 0.6;
  margin-bottom: 6px;
}

.unit-img-placeholder span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.unit-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.unit-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.unit-title-row h3 {
  font-size: 19px;
  color: var(--primary);
}

.unit-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #f8fafc;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.spec-item strong {
  color: var(--text-main);
}

.unit-price-box {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: auto;
  margin-bottom: 16px;
}

.price-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.price-val {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.unit-btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unit-btn-row .btn {
  width: 100%;
}

/* Comparison Table */
.comparison-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 28px;
  margin-top: 40px;
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.comparison-header p {
  color: var(--text-muted);
  font-size: 13px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.comparison-table th {
  background: var(--primary);
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.comparison-table th:first-child {
  border-top-left-radius: var(--radius-sm);
}

.comparison-table th:last-child {
  border-top-right-radius: var(--radius-sm);
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

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

.comparison-table .highlight-unit {
  font-weight: 800;
  color: var(--primary);
}

.comparison-table .highlight-price-td {
  font-weight: 800;
  color: var(--accent-dark);
}

.table-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* Design & Architecture Gallery Placeholders */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, #0b2545 0%, #1e4b85 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  position: relative;
}

.gallery-placeholder svg {
  color: var(--accent-light);
  margin-bottom: 8px;
}

.gallery-body {
  padding: 16px;
}

.gallery-body h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.gallery-body p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Investment & ROI Section */
.roi-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.roi-stat-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.roi-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
}

.roi-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.roi-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.roi-stat-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.roi-stat-card p {
  font-size: 12px;
  color: var(--text-light);
}

/* Interactive ROI Calculator */
.roi-calculator-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-intro h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 6px;
}

.calc-intro p {
  font-size: 13px;
  color: var(--text-light);
}

.calc-demand-note {
  background: rgba(217, 154, 38, 0.1);
  border: 1px solid rgba(217, 154, 38, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
}

.calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 12px 16px;
  background: #07172c;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--accent);
}

.calc-results-card {
  background: rgba(7, 23, 44, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.calc-res-row span {
  color: var(--text-light);
}

.calc-res-row strong {
  color: #ffffff;
}

.calc-res-row.total-roi {
  border-bottom: none;
  padding-top: 8px;
}

.calc-res-row.total-roi strong {
  font-size: 22px;
  color: var(--accent-light);
  font-family: 'Outfit', sans-serif;
}

.calc-res-row.total-roi span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.calc-res-row .res-rental {
  color: #38bdf8;
}

.calc-res-row .res-appreciation {
  color: #4ade80;
}

.calc-cta {
  margin-top: 20px;
  text-align: right;
}

.investment-factors-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 30px;
}

.investment-factors-card h4 {
  color: #ffffff;
  font-size: 18px;
}

.investment-factors-card h4 i {
  color: var(--accent-light);
}

.factors-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.factors-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.factors-list li svg {
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Financing & KPR Section */
.finance-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.finance-opt-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.finance-opt-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.finance-icon {
  width: 50px;
  height: 50px;
  background: rgba(11, 37, 69, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--primary);
  font-size: 22px;
}

.finance-opt-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.finance-opt-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Subsidy Banner */
.subsidy-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #173d6a 100%);
  color: #ffffff;
  padding: 34px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.subsidy-banner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.subsidy-banner-head h3 {
  color: #ffffff;
  font-size: 24px;
}

.subsidy-banner-head p {
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 4px;
}

.subsidy-badge {
  background: var(--accent);
  color: #171717;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
}

.finance-cta {
  text-align: center;
  margin-top: 36px;
}

.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.subsidy-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.subsidy-item .check-icon {
  width: 32px;
  height: 32px;
  background: var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 15px;
  color: #ffffff;
}

.subsidy-item h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
}

.subsidy-item p {
  font-size: 12px;
  color: #cbd5e1;
}

/* Bank Partners Grid */
.banks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bank-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bank-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.bank-header h4 {
  font-size: 18px;
  color: var(--primary);
}

.bank-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.bank-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.bank-specs div {
  display: flex;
  justify-content: space-between;
}

.bank-specs span {
  color: var(--text-muted);
}

.bank-specs strong {
  color: var(--text-main);
}

.bank-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--emerald-dark);
  font-weight: 600;
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

/* Developer & Partnership Section */
.developer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.dev-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.dev-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary);
}

.dev-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.dev-box-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dev-box-head h3 {
  margin: 0;
}

.dev-box-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.dev-box-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.dev-box h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--primary);
}

.dev-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dev-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
}

.dev-bullets li svg {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.partnership-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.pillar-item {
  background: var(--bg-alt);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.pillar-item h5 {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--primary);
}

.pillar-item p {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  gap: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--accent);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafcff;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* CTA & Lead Capture Section */
.cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 154, 38, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text h2 {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 12px;
  margin-bottom: 12px;
}

.cta-text p {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 24px;
}

.cta-badge {
  background: rgba(217, 154, 38, 0.2);
  color: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.cta-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.cta-contact-list i {
  color: var(--accent-light);
  margin-right: 8px;
}

.cta-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
}

.cta-form h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--primary);
}

.cta-form .btn-block {
  margin-top: 8px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.1);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-head h3 {
  margin: 0;
}

.footer-brand-tagline {
  font-size: 12px;
  color: var(--text-light);
}

.footer-brand .footer-address {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-light);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  animation: pulseFloat 2.5s infinite;
}

.floating-whatsapp:hover {
  background: #1fa851;
  transform: scale(1.04) translateY(-3px);
  color: #ffffff;
}

@keyframes pulseFloat {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Media Queries */
/* Nav switches to the hamburger menu earlier than the 768px content
   breakpoint: brand + 9 nav links + 2 CTA buttons stop fitting on one
   row around ~1023px, wrapping the menu and pushing buttons out of
   the container (see nav-container overflow). */
@media (max-width: 1040px) {
  .mobile-toggle {
    display: block;
  }

  .nav-container {
    height: 64px;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 24px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-menu li + li {
    border-top: 1px solid var(--border-light);
  }

  .nav-menu .nav-link {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
  }

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

  .nav-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
  }

  .nav-menu-cta .btn {
    width: 100%;
  }

  .nav-actions {
    display: none;
  }

  body:has(.nav-menu.open) .floating-whatsapp {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .cta-box,
  .developer-grid,
  .roi-calculator-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .usp-item:nth-child(2) {
    border-right: none;
  }

  .finance-options-grid,
  .subsidy-grid,
  .banks-grid,
  .roi-stats-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .finance-opt-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .brand-img {
    height: 38px;
    max-width: 110px;
  }

  .brand-info h1 {
    font-size: 14px;
  }

  .brand-info span {
    font-size: 9.5px;
  }

  .usp-grid,
  .finance-options-grid,
  .subsidy-grid,
  .banks-grid,
  .roi-stats-grid,
  .gallery-grid,
  .factors-list {
    grid-template-columns: 1fr;
  }

  .usp-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
  }

  .usp-item:last-child {
    border-bottom: none;
  }

  .location-intro {
    padding: 24px 20px;
  }

  .siteplan-img-wrap {
    aspect-ratio: 1600 / 894;
  }

  .siteplan-badge {
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .siteplan-legend {
    bottom: 52px;
    left: 12px;
    right: 12px;
    font-size: 11px;
  }

  .siteplan-maps-hint {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 10px;
    opacity: 1;
    transform: none;
  }

  .siteplan-caption {
    padding: 16px 20px;
  }

  .location-tab-content {
    padding: 20px;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .cta-form {
    padding: 20px;
  }

  .roi-calculator-box {
    padding: 24px 20px;
  }

  .calc-results-card {
    padding: 20px 18px;
  }

  .calc-res-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .calc-res-row span {
    font-size: 12.5px;
  }

  .calc-res-row strong {
    text-align: left;
    font-size: 15px;
  }

  .calc-res-row.total-roi {
    align-items: flex-start;
    padding-top: 12px;
  }

  .calc-res-row.total-roi span {
    font-size: 14px !important;
  }

  .calc-res-row.total-roi strong {
    font-size: 24px;
  }

  .dev-box {
    padding: 22px;
  }

  .subsidy-banner {
    padding: 24px 20px;
  }

  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* 16px prevents iOS auto-zoom when focusing form fields */
  .form-control,
  .calc-select,
  .calc-input {
    font-size: 16px;
  }

  .faq-question {
    padding: 16px 18px;
  }

  .faq-question h4 {
    font-size: 15px;
  }

  .faq-answer-inner {
    padding: 14px 18px 18px;
  }

  .footer-bottom {
    padding-bottom: 64px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  body {
    font-size: 14px;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-chips {
    gap: 8px;
  }

  .partnership-pillars,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .location-key-chips {
    width: 100%;
    justify-content: space-between;
  }

  .loc-chip {
    flex: 1;
  }

  .unit-filters-wrap {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-bottom: 24px;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .filter-btn,
  .gallery-filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
  }

  .siteplan-img-wrap {
    aspect-ratio: 1600 / 894;
  }

  .location-intro-text h3 {
    font-size: 20px;
  }

  .location-key-chips {
    gap: 8px;
  }

  .loc-chip {
    padding: 8px 6px;
  }

  .loc-chip strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .loc-chip span {
    display: block;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .subsidy-banner h3 {
    font-size: 20px !important;
  }

  .comparison-wrap {
    padding: 18px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .cta-form {
    padding: 16px;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
  }
}

/* ============================================================
   UNIT DETAIL MODAL
   ============================================================ */
.unit-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 34, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.unit-modal-overlay.active {
  display: flex;
}

.unit-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 1140px;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  position: relative;
}

.unit-modal-denah {
  background: var(--bg-alt);
  padding: 28px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.unit-modal-slider {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.unit-modal-slider-viewport {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.unit-modal-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.unit-modal-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: #f8fafc;
  box-sizing: border-box;
}

.unit-modal-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100% - 28px);
  object-fit: contain;
}

.unit-modal-slide span {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.unit-modal-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.unit-modal-slider-nav:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.unit-modal-slider-nav.prev {
  left: 12px;
}

.unit-modal-slider-nav.next {
  right: 12px;
}

.unit-modal-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.unit-modal-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.unit-modal-slider-dots button.active {
  width: 24px;
  border-radius: 4px;
  background: var(--emerald);
}

.unit-modal-info {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.unit-modal-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.unit-modal-info-header h3 {
  font-size: 26px;
  color: var(--primary);
}

/* Desktop: pojok kanan atas kolom info */
.unit-modal-close-wrap {
  position: absolute;
  top: 28px;
  right: 30px;
  z-index: 5;
}

.unit-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.unit-modal-close:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.unit-modal-badge {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--accent-light) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.unit-modal-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.unit-modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

@media (max-width: 420px) {
  .unit-modal-specs-grid {
    grid-template-columns: 1fr;
  }
}

.unit-modal-spec-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.unit-modal-spec-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--emerald-light);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.unit-modal-spec-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.unit-modal-spec-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.unit-modal-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 4px 0 20px;
}

.unit-modal-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.unit-modal-info p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.unit-modal-info .btn-whatsapp {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 760px) {
  .unit-modal-overlay {
    padding: 12px;
  }

  .unit-modal-card {
    display: block;
    max-height: 94vh;
  }

  /* Mobile: X menempel di pojok kanan atas kartu, tetap terlihat saat di-scroll */
  .unit-modal-close-wrap {
    position: sticky;
    top: 0;
    right: auto;
    height: 0;
  }

  .unit-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
  }

  .unit-modal-denah {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 14px;
  }

  .unit-modal-slider-viewport {
    height: 260px;
  }

  .unit-modal-slide {
    padding: 12px;
  }

  .unit-modal-slider-nav {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .unit-modal-info {
    padding: 22px 18px 24px;
  }
}

@media (max-width: 420px) {
  .unit-modal-overlay {
    padding: 8px;
  }

  .unit-modal-slider-viewport {
    height: 220px;
  }

  .unit-modal-slide span {
    font-size: 11px;
  }
}

/* ==========================================================================
   10. Galeri Visual (Gallery Grid + Lightbox)
   ========================================================================== */

.gallery-filter-btn {
  white-space: nowrap;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.gallery-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 16 / 9;
}

.gallery-item-hero {
  grid-column: 1 / -1;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0) 62%, rgba(7, 19, 34, 0.92) 100%);
  color: #ffffff;
}

.gallery-item-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.gallery-item-overlay h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-item-overlay p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay p {
  max-height: 44px;
  opacity: 1;
  margin-top: 6px;
}

.gallery-item-hero .gallery-item-overlay h4 {
  font-size: 22px;
  white-space: normal;
}

.gallery-item-hero .gallery-item-overlay p {
  max-height: none;
  opacity: 1;
  margin-top: 6px;
}

.gallery-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: var(--transition);
  font-size: 13px;
}

.gallery-item:hover .gallery-zoom-btn {
  opacity: 1;
  transform: translateY(0);
}

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

.gallery-item.gallery-hidden {
  display: none;
}

/* Lightbox */
.gallery-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 24, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox-overlay.active {
  display: flex;
}

.gallery-lightbox-content {
  max-width: 1000px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.gallery-lightbox-caption {
  text-align: center;
  padding: 18px 16px 0;
  max-width: 640px;
}

.gallery-lightbox-caption h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: #ffffff;
  margin: 8px 0 6px;
}

.gallery-lightbox-caption p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.gallery-lightbox-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.03em;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1101;
  font-size: 16px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.gallery-lightbox-close {
  top: 24px;
  right: 24px;
}

.gallery-lightbox-nav.prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-nav.next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

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

  .gallery-item-hero .gallery-item-overlay h4 {
    font-size: 18px;
  }
}

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

  .gallery-item-hero {
    aspect-ratio: 4 / 3;
  }

  .gallery-item-overlay {
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(11, 37, 69, 0) 35%, rgba(7, 19, 34, 0.95) 100%);
  }

  .gallery-item-hero .gallery-item-overlay h4 {
    font-size: 17px;
  }

  .gallery-item-overlay p {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 6px;
    font-size: 12px;
  }

  .gallery-zoom-btn {
    opacity: 1;
    transform: none;
  }

  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .gallery-lightbox-nav.prev {
    left: 10px;
  }

  .gallery-lightbox-nav.next {
    right: 10px;
  }

  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
  }

  .gallery-lightbox-content img {
    max-height: 55vh;
  }
}
