/* =========================================================
   TOKENS — palet putih, hijau, biru (nuansa tenang & nyaman)
========================================================= */
:root {
  --white: #ffffff;
  --offwhite: #f6faf8;

  --green-50:  #eef8f2;
  --green-100: #d9f0e2;
  --green-600: #2f8f5f;
  --green-700: #226b47;

  --blue-50:  #eef6fb;
  --blue-100: #dcedf7;
  --blue-600: #2b7ea8;
  --blue-700: #205f80;

  --ink: #1c2624;
  --ink-dim: #5c6b67;
  --ink-faint: #93a19d;
  --border: #e1ebe6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --edge: 6%;

  --shadow-soft: 0 20px 45px -25px rgba(28, 38, 36, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--green-600); color: var(--white); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--outline { background: transparent; border-color: var(--green-600); color: var(--green-700); }
.btn--outline:hover { background: var(--green-50); transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.icon-btn--outline { border: 1.5px solid var(--border); color: var(--ink-dim); }
.icon-btn--outline:hover { border-color: var(--green-600); color: var(--green-700); }
.icon-btn--wa { background: var(--green-600); color: var(--white); width: 34px; height: 34px; padding: 0; }
.icon-btn--wa:hover { background: var(--green-700); transform: translateY(-2px); }

/* =========================================================
   NAVBAR
========================================================= */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.navbar__inner { max-width: 1240px; margin: 0 auto; padding: 16px var(--edge); display: flex; align-items: center; justify-content: space-between; position: relative; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green-600); color: var(--white); display: flex; align-items: center; justify-content: center; }
.brand__mark svg { width: 18px; height: 18px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-dim); transition: background .15s ease, color .15s ease; }
.nav-links a:hover { background: var(--green-50); color: var(--green-700); }
.nav-links__cta { margin-left: 8px; }
.nav-links__cta:hover { background: var(--green-700) !important; color: var(--white) !important; }

/* CSS-only mobile menu (checkbox hack) */
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); align-items: center; justify-content: center; cursor: pointer; }
.nav-burger span { width: 16px; height: 1.6px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

/* =========================================================
   HERO
========================================================= */
.hero { position: relative; overflow: hidden; padding-top: 30px; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: 0.55; }
.hero__blob--green { width: 380px; height: 380px; background: var(--green-100); top: -120px; left: -100px; }
.hero__blob--blue { width: 320px; height: 320px; background: var(--blue-100); bottom: -80px; right: -60px; }

.hero__inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 50px var(--edge) 90px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.kicker { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); padding: 8px 16px; border-radius: 999px; margin: 0 0 24px; }

.hero__title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; margin: 0 0 22px; }
.hero__desc { font-size: 16.5px; color: var(--ink-dim); max-width: 500px; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero__stats { display: flex; gap: 32px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--green-700); }
.stat span { font-size: 12.5px; color: var(--ink-faint); }

.hero__art { display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 400px; height: auto; }

.wave-divider { position: relative; z-index: 1; line-height: 0; margin-top: -4px; }
.wave-divider svg { width: 100%; height: 70px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero__art { order: -1; max-width: 280px; margin: 0 auto; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
}

/* =========================================================
   SECTION SHELLS
========================================================= */
.section { max-width: 1240px; margin: 0 auto; padding: 90px var(--edge); }
.section--tint { background: var(--offwhite); max-width: none; }
.section--tint > * { max-width: 1240px; margin-left: auto; margin-right: auto; }

.section__head { max-width: 640px; margin: 0 0 48px; }
.eyebrow { display: block; color: var(--green-700); font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.section__head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 12px; }
.section__desc { color: var(--ink-dim); font-size: 15.5px; }

/* =========================================================
   PROPERTI — FILTER (CSS-only, tanpa JS)
========================================================= */
.properti-inner { display: flex; flex-direction: column; gap: 32px; }

.filters { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 24px; background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius-md); }
.filter-group { border: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group legend { font-size: 12.5px; font-weight: 700; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.04em; width: 100%; margin-bottom: 4px; padding: 0; }

.filter-group input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-group label {
  cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--ink-dim);
  background: var(--white); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 8px 16px; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.filter-group input[type="radio"]:checked + label { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.filter-group input[type="radio"]:focus-visible + label { outline: 2px solid var(--green-600); outline-offset: 2px; }
.filter-group label:hover { border-color: var(--green-600); }

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

.property-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.property-card__media { position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--white); }
.property-card__media--a { background: linear-gradient(150deg, var(--green-600), var(--green-700)); }
.property-card__media--b { background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); }
.property-card__media--c { background: linear-gradient(150deg, var(--green-700), var(--blue-700)); }
.property-card__media svg { width: 44px; height: 44px; opacity: 0.85; }
.property-card__badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

.property-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.property-card__body h3 { font-size: 18px; margin-bottom: 8px; }
.property-card__loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }
.property-card__loc svg { flex-shrink: 0; }

.property-card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.property-card__specs li { font-size: 12px; color: var(--ink-dim); background: var(--offwhite); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; }

.property-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.property-card__price { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--green-700); }
.property-card__actions { display: flex; align-items: center; gap: 8px; }

/* ---- filter logic: hide cards that don't match the checked radio ---- */
.filters:has(#type-rumah:checked) ~ .property-grid .property-card:not([data-type="rumah"]) { display: none; }
.filters:has(#type-apartemen:checked) ~ .property-grid .property-card:not([data-type="apartemen"]) { display: none; }
.filters:has(#type-tanah:checked) ~ .property-grid .property-card:not([data-type="tanah"]) { display: none; }

.filters:has(#price-low:checked) ~ .property-grid .property-card:not([data-price="low"]) { display: none; }
.filters:has(#price-mid:checked) ~ .property-grid .property-card:not([data-price="mid"]) { display: none; }
.filters:has(#price-high:checked) ~ .property-grid .property-card:not([data-price="high"]) { display: none; }

@media (max-width: 980px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .property-grid { grid-template-columns: 1fr; }
  .filters { gap: 20px; }
}

/* =========================================================
   FEATURE GRID (Keunggulan)
========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.feature-card__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-card__icon--green { background: var(--green-50); color: var(--green-700); }
.feature-card__icon--blue { background: var(--blue-50); color: var(--blue-700); }
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--ink-dim); }

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

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 26px; }
.testimonial-card p { font-size: 14px; color: var(--ink); line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.testimonial-card footer strong { display: block; font-size: 13.5px; }
.testimonial-card footer span { font-size: 12px; color: var(--ink-faint); }

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

/* =========================================================
   SURVEY BOOKING FORM
========================================================= */
.survey-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }

.survey-steps { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }
.survey-steps li { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; color: var(--ink-dim); }
.survey-steps li span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green-600); color: var(--white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.survey-note { font-size: 13px; color: var(--ink-faint); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }

.survey-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 12.5px; font-weight: 600; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px;
  background: var(--white); transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

.survey-form__hint { font-size: 11.5px; color: var(--ink-faint); text-align: center; margin: 0; }

@media (max-width: 900px) {
  .survey-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .survey-form { padding: 24px; }
}

/* =========================================================
   FOOTER
========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 70px var(--edge) 26px; }
.footer__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }

.brand--footer { color: var(--white); margin-bottom: 14px; }
.footer__about p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 280px; }

.footer__col h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer__col a:hover { color: var(--green-100); }

.footer__bottom { max-width: 1240px; margin: 0 auto; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.45); }

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

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(47, 143, 95, 0.55);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { background: var(--green-700); }

.wa-float__tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.wa-float:hover .wa-float__tooltip { opacity: 1; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(47, 143, 95, 0.55), 0 0 0 0 rgba(47, 143, 95, 0.4); }
  50% { box-shadow: 0 12px 30px -8px rgba(47, 143, 95, 0.55), 0 0 0 10px rgba(47, 143, 95, 0); }
}

@media (max-width: 560px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float__tooltip { display: none; }
}

/* =========================================================
   RESPONSIVE — MOBILE NAV
========================================================= */
@media (max-width: 860px) {
  .nav-burger { display: flex; }

  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 10px var(--edge) 16px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
  }
  .nav-links a { padding: 12px 14px; }
  .nav-links__cta { margin-left: 0; text-align: center; }

  .nav-toggle:checked ~ .nav-links { max-height: 420px; opacity: 1; }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
