:root {
  --emerald-dark: #0e221b;
  --emerald: #163329;
  --emerald-soft: #eaf1ee;
  --gold: #c8963e;
  --gold-hover: #ab7c2b;
  --gold-soft: #fbf5e8;
  --text: #1c2522;
  --muted: #5a6862;
  --bg-ivory: #f7f8f6;
  --white: #ffffff;
  --border: #e3e7e4;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(14, 34, 27, 0.05);
  --shadow-lg: 0 24px 48px rgba(14, 34, 27, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--emerald-dark);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--gold-hover);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #d6a54b, var(--gold));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(200, 150, 62, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  box-shadow: 0 12px 28px rgba(171, 124, 43, 0.35);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

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

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: var(--gold-soft);
}

/* HERO WITH REAL PHOTOGRAPHY */
.hero {
  position: relative;
  padding: 64px 0 80px;
  color: var(--white);
  overflow: hidden;
  background-color: var(--emerald-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14, 34, 27, 0.92) 0%, rgba(14, 34, 27, 0.78) 55%, rgba(14, 34, 27, 0.62) 100%);
  z-index: 1;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(200, 150, 62, 0.18);
  border: 1px solid rgba(214, 165, 75, 0.45);
  color: #f4d38c;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  line-height: 1.16;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #e5b865;
}

.hero-sub {
  font-size: 1.04rem;
  color: #d6e0dc;
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
  color: #f4d38c;
}

.hero-stats span {
  font-size: 0.8rem;
  color: #cbd5d1;
}

/* FORM CARD */
.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-hover);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.hero-card h3 {
  font-size: 1.25rem;
  color: var(--emerald-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.hero-card > p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 18px;
}

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

.form-group label {
  display: block;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--emerald-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg-ivory);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

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

.form-note {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.bg-ivory {
  background: var(--bg-ivory);
}

.bg-emerald {
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-hover);
  margin-bottom: 8px;
}

.gold-text {
  color: #e5b865;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--emerald-dark);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.section-head p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* FEATURES SPLIT */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(14, 34, 27, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.about-badge strong {
  display: block;
  color: #f4d38c;
  font-size: 0.95rem;
}

.about-badge span {
  font-size: 0.82rem;
  color: #dce4e1;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--emerald-soft);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.02rem;
  color: var(--emerald-dark);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* LOKASI BAR */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.loc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.loc-item strong {
  font-size: 0.9rem;
  color: var(--emerald-dark);
}

.loc-time {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-hover);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* UNITS */
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.unit-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.unit-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-ivory);
}

.unit-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

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

.unit-badge {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-hover);
  margin-bottom: 10px;
}

.badge-emerald {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
}

.unit-body h3 {
  font-size: 1.2rem;
  color: var(--emerald-dark);
  margin-bottom: 14px;
}

.unit-specs {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.unit-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

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

/* KPR */
.kpr-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.kpr-info h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.kpr-info p {
  color: #cbd8d3;
  margin-bottom: 22px;
}

.kpr-tips {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.88rem;
  color: #e4ece9;
}

.kpr-tips ul {
  margin-top: 8px;
  padding-left: 18px;
}

.kpr-tips li + li {
  margin-top: 6px;
}

.kpr-box {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

input[type='range'] {
  width: 100%;
  accent-color: var(--gold);
}

.kpr-result {
  background: var(--bg-ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

.res-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  color: var(--muted);
}

.res-row strong {
  color: var(--emerald-dark);
}

.res-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(200, 150, 62, 0.3);
  border-radius: 10px;
  color: var(--gold-hover);
}

.res-highlight strong {
  font-size: 1.3rem;
  color: var(--emerald-dark);
}

/* CONSULT */
.consult-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.consult-left h2 {
  font-size: 1.9rem;
  color: var(--emerald-dark);
  margin-bottom: 12px;
  font-weight: 800;
}

.consult-left p {
  color: var(--muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--emerald-dark);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-hover);
  font-weight: 800;
}

/* FOOTER */
.footer {
  background: #091712;
  color: #9bb0a8;
  padding: 32px 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

/* FLOATING WA */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #16a34a;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35);
  z-index: 60;
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-wa:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.swipe-hint {
  display: none;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-hover);
  margin-top: 10px;
}

/* RESPONSIVE & MOBILE (HP) OPTIMIZATION */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .kpr-grid,
  .consult-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

  .nav-links a:not(.btn) {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 92%;
  }

  .nav-inner {
    padding: 10px 0;
  }

  .brand-logo {
    height: 36px;
  }

  .btn-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 28px 0 42px;
  }

  .pill {
    font-size: 0.72rem;
    padding: 5px 11px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 16px;
  }

  .hero-stats strong {
    font-size: 0.9rem;
  }

  .hero-stats span {
    font-size: 0.7rem;
    line-height: 1.3;
    display: block;
  }

  .hero-card,
  .kpr-box,
  .consult-card {
    padding: 20px 18px;
  }

  /* Cegah auto-zoom saat tap input di iPhone/Android */
  .form-group input,
  .form-group select {
    font-size: 16px;
    padding: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn {
    min-height: 46px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 1.48rem;
  }

  .section-head p {
    font-size: 0.9rem;
  }

  .about-image-wrap img {
    height: 240px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 16px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .loc-item {
    padding: 12px 14px;
  }

  /* Swipe Carousel untuk 6 Tipe Unit di HP */
  .units-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .units-grid::-webkit-scrollbar {
    display: none;
  }

  .unit-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .unit-img-wrap {
    height: 185px;
  }

  .unit-body {
    padding: 16px;
  }

  .swipe-hint {
    display: block;
  }

  .kpr-info h2 {
    font-size: 1.55rem;
  }

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

  .res-highlight strong {
    font-size: 1.25rem;
  }

  .consult-left h2 {
    font-size: 1.48rem;
  }

  .footer {
    padding: 26px 0 86px;
  }

  .floating-wa {
    right: 14px;
    bottom: 14px;
    padding: 11px 16px;
    font-size: 0.84rem;
  }
}
