  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --cream: #EDF7F4;
    --cream-dark: #D0EAE4;
    --sand: #A8CFC6;
    --terracotta: #C9A227;
    --terracotta-light: #E8C355;
    --terracotta-pale: #FBF3D5;
    --brown: #0A2E25;
    --brown-mid: #155C4A;
    --sage: #1A7A62;
    --sage-light: #3DA68A;
    --sage-pale: #D0EAE4;
    --warm-white: #F2FAF8;
    --text-dark: #08201A;
    --text-mid: #1A5545;
    --text-light: #4A8275;
    --border: #A8CFC6;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 10px rgba(58,35,21,0.08);
    --shadow-md: 0 6px 24px rgba(58,35,21,0.12);
    --shadow-lg: 0 16px 48px rgba(58,35,21,0.16);
    /* ── teal aliases (dipakai di dropdown, carousel, filter tabs) ── */
    --teal-dark:   #0A2E25;
    --teal-mid:    #1A7A62;
    --teal-brand:  #1A7A62;
    --teal-bg:     #D0EAE4;
    --border-light: #A8CFC6;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: #155C4A;
    border-bottom: 1px solid #0A2E25;
    padding: 0 20px;
    height: 60px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    font-size: 18px; font-weight: 800; color: #E8C355;
    letter-spacing: -0.5px; text-decoration: none;
  }
  .nav-logo span { color: #ffffff; }
  .nav-actions { display: flex; gap: 10px; align-items: center; }
  .nav-btn {
    background: rgba(255,255,255,0.15);
    color: white; border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 20px; padding: 7px 16px 7px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; gap: 7px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-btn:hover { background: rgba(255,255,255,0.25); }
  .nav-btn:active { background: rgba(255,255,255,0.3); transform: scale(0.96); }
  .nav-icon {
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 4px; transition: opacity 0.2s;
  }
  .nav-icon:hover { opacity: 0.75; }

  /* ── NOTIF DROPDOWN ── */
  .nav-notif-wrap { position: relative; }
  .notif-badge {
    position: absolute; top: -2px; right: -2px;
    background: #EF4444; color: white;
    font-size: 9px; font-weight: 800;
    min-width: 16px; height: 16px;
    border-radius: 8px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #155C4A;
    line-height: 1;
    animation: notifPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
  }
  @keyframes notifPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }
  .notif-dropdown {
    display: none;
    position: fixed; top: 70px;
    left: 50%; transform: translateX(-50%);
    width: calc(100vw - 24px);
    background: white; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(10,46,37,0.18);
    z-index: 10500;
    overflow: hidden;
    animation: dropDown 0.2s cubic-bezier(0.4,0,0.2,1);
  }
  @media (min-width: 420px) {
    .notif-dropdown {
      position: absolute; top: calc(100% + 10px);
      left: auto; right: 0;
      transform: none;
      width: 300px;
    }
  }
  .notif-dropdown.open { display: block; }
  .notif-header {
    background: var(--teal-dark);
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .notif-header-title { font-size: 13px; font-weight: 800; color: white; }
  .notif-mark-all {
    font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.65);
    background: none; border: none; cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.2s;
  }
  .notif-mark-all:hover { color: var(--terracotta-light); }
  .notif-list { max-height: 340px; overflow-y: auto; }
  .notif-list::-webkit-scrollbar { width: 4px; }
  .notif-list::-webkit-scrollbar-track { background: transparent; }
  .notif-list::-webkit-scrollbar-thumb { background: var(--cream-dark); border-radius: 2px; }
  .notif-item {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 14px; border-bottom: 1px solid var(--cream-dark);
    cursor: pointer; transition: background 0.15s;
    position: relative;
  }
  .notif-item:last-child { border-bottom: none; }
  .notif-item:hover { background: var(--cream); }
  .notif-item.unread { background: #F0FAF7; }
  .notif-item.unread:hover { background: #E5F5F0; }
  .notif-item-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 16px;
  }
  .notif-item-icon.new-prop  { background: var(--sage-pale); }
  .notif-item-icon.liked     { background: #FEF2F2; }
  .notif-item-icon.price     { background: var(--terracotta-pale); }
  .notif-item-body { flex: 1; min-width: 0; }
  .notif-item-title { font-size: 12px; font-weight: 700; color: var(--brown); line-height: 1.3; margin-bottom: 3px; }
  .notif-item-desc  { font-size: 11px; color: var(--text-light); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .notif-item-time  { font-size: 10px; color: var(--text-light); margin-top: 4px; }
  .notif-unread-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sage); flex-shrink: 0; margin-top: 5px;
  }
  .notif-empty {
    padding: 32px 16px; text-align: center;
    color: var(--text-light); font-size: 12px; font-weight: 600;
  }
  .notif-empty-icon { font-size: 32px; margin-bottom: 8px; }
  .notif-loading {
    padding: 24px 16px; text-align: center;
    color: var(--text-light); font-size: 12px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .notif-spin { animation: spin 1s linear infinite; }
  .notif-footer {
    padding: 10px 14px; border-top: 1px solid var(--cream-dark);
    text-align: center;
  }
  .notif-footer a {
    font-size: 12px; font-weight: 700; color: var(--terracotta);
    text-decoration: none;
  }


  /* ── HERO ── */
  .hero {
    min-height: 75vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; padding: 36px 20px 32px;
    position: relative;
    overflow: hidden;
  }
  .hero-bg-slides { position: absolute; inset: 0; z-index: 0; }
  .hero-bg-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
    filter: blur(2px) brightness(0.85);
    transform: scale(1.03);
  }
  .hero-bg-slide.active {
    opacity: 1;
    filter: blur(2px) brightness(0.8);
  }
  .hero-bg-slide::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(8,32,26,0.45);
  }
  .hero > *:not(.hero-bg-slides) { position: relative; z-index: 1; }
  .hero-slide-dots {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 2;
  }
  .hero-slide-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.45); border: none; cursor: pointer;
    transition: all 0.3s; padding: 0;
  }
  .hero-slide-dot.active { background: white; width: 18px; border-radius: 3px; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
    color: white; font-size: 11px; font-weight: 600;
    padding: 5px 12px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 14px; letter-spacing: 0.5px;
    width: fit-content;
  }
  .hero-badge::before { content: ''; display:inline-block; }
  .hero-title {
    font-size: 30px; font-weight: 800; color: white;
    line-height: 1.2; margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  .hero-title em { color: var(--terracotta-light); font-style: normal; }

  /* ── HERO WORD ANIMATION ── */
  .hero-word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;
  }
  .hero-word {
    display: inline-block;
    color: var(--terracotta-light);
    font-style: normal;
    animation: none;
  }
  .hero-word.slide-out {
    animation: heroSlideOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
  }
  .hero-word.slide-in {
    animation: heroSlideIn 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
  }
  @keyframes heroSlideOut {
    0%   { transform: translateY(0);     opacity: 1; }
    100% { transform: translateY(-110%); opacity: 0; }
  }
  @keyframes heroSlideIn {
    0%   { transform: translateY(110%);  opacity: 0; }
    100% { transform: translateY(0);     opacity: 1; }
  }
  .hero-sub { color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 400; margin-bottom: 24px; }

  .search-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
  }
  .search-tabs { display: flex; gap: 4px; margin-bottom: 14px; }
  .search-tab {
    flex: 1; padding: 8px; border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
    cursor: pointer; transition: all 0.2s; text-align: center;
  }
  .search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.22);
    color: white;
  }
  .search-tab.active {
    background: var(--terracotta); border-color: var(--terracotta);
    color: white;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.45);
  }
  .search-input-wrap {
    display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 0 12px;
    gap: 8px; margin-bottom: 10px; transition: border-color 0.2s, background 0.2s;
  }
  .search-input-wrap:focus-within {
    border-color: rgba(232, 195, 85, 0.8);
    background: rgba(255, 255, 255, 0.25);
  }
  .search-icon { font-size: 18px; color: rgba(255, 255, 255, 0.7); flex-shrink: 0; }
  .search-input {
    flex: 1; border: none; background: transparent;
    font-family: 'Montserrat', sans-serif; font-size: 13px;
    color: white; padding: 11px 0; outline: none;
  }
  .search-input::placeholder { color: rgba(255, 255, 255, 0.55); }
  .search-filters { display: flex; gap: 8px; margin-bottom: 12px; }
  .search-select {
    flex: 1; padding: 9px 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.15);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; color: white; cursor: pointer;
    outline: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    padding-right: 28px;
    transition: border-color 0.2s, background 0.2s;
  }
  .search-select:hover {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .search-select option { background: var(--brown-mid); color: white; }
  .search-btn {
    width: 100%; padding: 13px;
    background: var(--terracotta); color: white;
    border: none; border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif; font-size: 13px;
    font-weight: 700; cursor: pointer; letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
  }
  .search-btn:hover {
    background: var(--brown-mid);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
  }

  /* ── STATS ── */
  .stats-row {
    padding: 20px 0 24px;
    margin-top: 16px;
    overflow: hidden;
    position: relative;
  }
  .stats-track {
    display: flex; gap: 10px;
    width: max-content;
    animation: statsMarquee 18s linear infinite;
  }
  .stats-row:hover .stats-track { animation-play-state: paused; }
  @keyframes statsMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .stat-card {
    flex-shrink: 0; background: white;
    border-radius: var(--radius-md);
    padding: 14px 20px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-dark); text-align: center;
    min-width: 110px;
  }
  .stat-num { font-size: 20px; font-weight: 800; color: var(--terracotta); }
  .stat-label { font-size: 9px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }

  /* ── SECTION HEADER ── */
  .section-header {
    padding: 24px 20px 16px; display: flex; align-items: flex-end; justify-content: space-between;
  }
  .section-title { font-size: 20px; font-weight: 800; color: var(--brown); line-height: 1.2; }
  .section-title span { color: var(--terracotta); }
  .section-sub { font-size: 11px; color: var(--text-light); margin-top: 3px; }
  .see-all { font-size: 12px; font-weight: 600; color: var(--terracotta); text-decoration: none; white-space: nowrap; }

  /* ── FILTER CHIPS ── */
  .filter-row {
    display: flex; gap: 8px; padding: 0 20px 16px;
    overflow-x: auto; scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .chip {
    flex-shrink: 0; padding: 7px 16px;
    border-radius: 20px; border: 1.5px solid var(--border);
    background: transparent; font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 600; color: var(--text-mid);
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
  }
  .chip.active {
    background: var(--terracotta); border-color: var(--terracotta);
    color: white;
  }
  .chip:hover:not(.active) { background: var(--cream-dark); }

  /* ── PROPERTY CARDS ── */
  .listings { padding: 0 20px; display: flex; flex-direction: column; gap: 16px; }
  .prop-card {
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--cream-dark);
    overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
  }
  .prop-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .prop-card.hidden { display: none; }
  .prop-img-wrap { position: relative; height: 200px; overflow: hidden; }
  .prop-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
  .prop-card:hover .prop-img { transform: scale(1.04); }
  .prop-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--terracotta); color: white;
    font-size: 10px; font-weight: 700; padding: 4px 10px;
    border-radius: 20px; letter-spacing: 0.3px;
  }
  .prop-badge.sewa { background: var(--sage); }
  .prop-fav {
    position: absolute; top: 10px; right: 12px;
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 4px; transition: transform 0.2s;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
  }
  .prop-fav:hover { transform: scale(1.15); }
  .prop-fav.liked { color: var(--terracotta); }
  .prop-body { padding: 14px 16px; }
  .prop-price { font-size: 18px; font-weight: 800; color: var(--terracotta); margin-bottom: 4px; }
  .prop-price .period { font-size: 12px; font-weight: 400; color: var(--text-light); }
  .prop-name { font-size: 13px; font-weight: 700; color: var(--brown); margin-bottom: 4px; }
  .prop-loc { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
  .prop-specs { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--cream-dark); }
  .prop-spec { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-mid); font-weight: 600; }
  .prop-spec-icon { display:inline-flex; align-items:center; vertical-align:middle;  font-size: 15px; }
  .prop-actions { display: flex; gap: 8px; padding: 12px 16px 14px; }
  .prop-action-btn {
    flex: 1; padding: 10px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--border); background: transparent;
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    font-weight: 600; color: var(--text-mid); cursor: pointer;
    transition: all 0.2s;
  }
  .prop-action-btn.primary {
    background: var(--terracotta); border-color: var(--terracotta);
    color: white;
  }
  .prop-action-btn:hover:not(.primary) { background: var(--cream-dark); }
  .prop-action-btn.primary:hover { background: var(--brown-mid); }

  /* ── FEATURED / GALLERY ── */
  .featured-section { padding: 0 20px 24px; }
  .featured-card {
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); border: 1px solid var(--cream-dark);
    overflow: hidden;
  }
  .gallery-wrap { position: relative; height: 240px; }
  .gallery-slides { display: flex; height: 100%; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
  .gallery-slide { min-width: 100%; height: 100%; flex-shrink: 0; }
  .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
  }
  .gallery-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.5); transition: all 0.2s;
    cursor: pointer; border: none;
  }
  .gallery-dot.active { background: white; width: 18px; border-radius: 3px; }
  .gallery-prev, .gallery-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; background: rgba(255,255,255,0.9);
    border-radius: 50%; border: none; cursor: pointer;
    font-size: 16px; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .gallery-prev { left: 12px; }
  .gallery-next { right: 12px; }
  .gallery-prev:hover, .gallery-next:hover { background: white; }
  .gallery-label {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.5); color: white;
    font-size: 11px; font-weight: 600; padding: 4px 10px;
    border-radius: 20px; backdrop-filter: blur(4px);
  }
  .featured-body { padding: 16px; }
  .featured-tag {
    display: inline-block; background: var(--sage-pale); color: var(--sage);
    font-size: 10px; font-weight: 700; padding: 4px 10px;
    border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.5px;
  }
  .featured-price { font-size: 22px; font-weight: 800; color: var(--terracotta); }
  .featured-name { font-size: 15px; font-weight: 700; color: var(--brown); margin: 4px 0; }
  .featured-loc { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
  .featured-specs { display: flex; gap: 0; border: 1px solid var(--cream-dark); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; }
  .f-spec { flex: 1; text-align: center; padding: 10px 6px; }
  .f-spec:not(:last-child) { border-right: 1px solid var(--cream-dark); }
  .f-spec-val { font-size: 15px; font-weight: 800; color: var(--brown); }
  .f-spec-key { font-size: 10px; color: var(--text-light); font-weight: 500; margin-top: 1px; }
  .featured-desc { font-size: 12px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
  .virtual-tour-btn {
    width: 100%; padding: 12px; border-radius: var(--radius-sm);
    background: var(--sage-pale); border: 1.5px solid var(--sage-light);
    color: var(--sage); font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background 0.2s; display: flex; align-items: center;
    justify-content: center; gap: 8px;
  }
  .virtual-tour-btn:hover { background: var(--sage-light); color: white; }

  /* ── MAP SECTION ── */
  .map-section { padding: 0 20px 24px; }
  .map-card {
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--cream-dark);
    overflow: hidden;
  }
  .map-header { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
  .map-header-title { font-size: 14px; font-weight: 700; color: var(--brown); }
  .map-filter-btn {
    font-size: 11px; font-weight: 600; color: var(--terracotta);
    background: var(--terracotta-pale); border: none; border-radius: 20px;
    padding: 5px 12px; cursor: pointer; font-family: 'Montserrat', sans-serif;
  }
  .map-visual {
    height: 220px; position: relative;
    background: #e8ddd0;
    overflow: hidden;
  }
  .map-svg { width: 100%; height: 100%; }
  .map-pin {
    cursor: pointer; transition: transform 0.2s;
  }
  .map-pin:hover { transform: scale(1.15); }
  .map-legend { padding: 12px 16px; display: flex; gap: 16px; flex-wrap: wrap; }
  .map-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-mid); font-weight: 600; }
  .legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

  /* ── CONTACT FORM ── */
  .form-section {
    margin: 0 20px 24px;
    background: linear-gradient(135deg, #0A2E25 0%, #155C4A 100%);
    border-radius: var(--radius-lg); padding: 24px 20px;
    position: relative; overflow: hidden;
  }
  .form-section::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }
  .form-section::after {
    content: ''; position: absolute; bottom: -30px; left: -20px;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
  }
  .form-title { font-size: 20px; font-weight: 800; color: white; margin-bottom: 4px; }
  .form-sub { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
  .form-group { margin-bottom: 12px; }
  .form-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 6px; display: block; letter-spacing: 0.3px; }
  .form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 14px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm); color: white;
    font-family: 'Montserrat', sans-serif; font-size: 13px;
    outline: none; transition: border-color 0.2s;
  }
  .form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.4); }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--terracotta-light);
    background: rgba(255,255,255,0.15);
  }
  .form-select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    background-color: rgba(255,255,255,0.1);
  }
  .form-select option { background: var(--brown); color: white; }
  .form-textarea { resize: none; height: 90px; }
  .form-row { display: flex; gap: 10px; }
  .form-row .form-group { flex: 1; }
  .form-submit {
    width: 100%; padding: 14px;
    background: var(--terracotta); color: white;
    border: none; border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif; font-size: 14px;
    font-weight: 700; cursor: pointer; margin-top: 6px;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
  }
  .form-submit:hover { background: #a04928; transform: translateY(-1px); }
  .form-success {
    display: none; text-align: center; padding: 20px 0;
  }
  .form-success-icon { font-size: 48px; margin-bottom: 12px; }
  .form-success-title { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
  .form-success-sub { font-size: 13px; color: rgba(255,255,255,0.65); }

  /* ── NEIGHBORHOODS ── */
  .areas-section { padding: 0 20px 24px; }
  .areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .area-card {
    border-radius: var(--radius-md); overflow: hidden;
    position: relative; height: 110px; cursor: pointer;
  }
  .area-card:first-child { grid-column: span 2; height: 140px; }
  .area-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
  .area-card:hover .area-img { transform: scale(1.06); }
  .area-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(42,20,8,0.75) 0%, transparent 60%);
    padding: 12px;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .area-name { font-size: 14px; font-weight: 700; color: white; }
  .area-count { font-size: 11px; color: rgba(255,255,255,0.75); }

  /* ── FOOTER ── */
  footer {
    background: var(--brown); color: rgba(255,255,255,0.7);
    padding: 32px 20px 24px;
    margin-top: 8px;
  }
  .footer-logo { font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; }
  .footer-logo span { color: var(--terracotta-light); }
  .footer-tagline { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
  .footer-link { font-size: 12px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
  .footer-link:hover { color: var(--terracotta-light); }
  .footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
  .footer-bottom { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; }

  
/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed; bottom: 80px; right: 20px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: white; border: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover  { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.55); }
.wa-float:active { transform: scale(0.94); }
.wa-float svg { flex-shrink: 0; }

  /* ── SEARCH RESET BTN ── */
  .search-reset-btn {
    display: none; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; color: var(--terracotta);
    background: var(--terracotta-pale); border: 1.5px solid var(--terracotta);
    border-radius: 20px; padding: 5px 12px; cursor: pointer;
    font-family: 'Montserrat', sans-serif; white-space: nowrap;
    transition: background 0.2s;
  }
  .search-reset-btn:hover { background: var(--terracotta); color: white; }

  /* ── TOAST ── */
  .toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--brown); color: white;
    padding: 12px 20px; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 600;
    box-shadow: var(--shadow-lg); z-index: 999;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    white-space: nowrap;
  }
  .toast.show { transform: translateX(-50%) translateY(0); }

  /* ── MODAL ── */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(42,20,8,0.7); backdrop-filter: blur(4px);
    align-items: flex-end; justify-content: center;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: var(--warm-white); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    width: 100%; max-height: 85vh; overflow-y: auto;
    padding: 24px 20px 40px;
    animation: slideUp 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 20px; }
  .modal-title { font-size: 18px; font-weight: 800; color: var(--brown); margin-bottom: 16px; }
  .modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--cream-dark); border: none; cursor: pointer;
    font-size: 18px; display: flex; align-items: center; justify-content: center;
  }

/* ── CAROUSEL TERBARU ── */
/* ── CAROUSEL TERBARU ── */
.carousel-outer { padding: 0 20px; }
.carousel-wrap  { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.carousel-track .prop-card {
  min-width: 100%; width: 100%; flex-shrink: 0;
  border-radius: 0; box-shadow: none; border: none;
}
.carousel-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 10px 0 6px;
  background: transparent;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); border: none; padding: 0; cursor: pointer;
  transition: all 0.25s;
}
.carousel-dot.active { width: 22px; border-radius: 4px; background: var(--teal-mid); }

/* ── SKELETON CARD ── */
.skel-card {
  min-width: calc(100% - 40px); border-radius: var(--radius-lg);
  overflow: hidden; background: white; box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.skel-img  { height: 160px; background: linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skel-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.skel-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── USER DROPDOWN ── */
.nav-user-wrap { position: relative; }
.user-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: white; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(10,46,37,0.18);
  min-width: 200px; z-index: 10500;
  overflow: hidden;
  animation: dropDown 0.2s cubic-bezier(0.4,0,0.2,1);
}
.user-dropdown.open { display: block; }
@keyframes dropDown {
  from { opacity:0; transform: translateY(-8px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.user-dropdown-top {
  background: var(--teal-dark);
  padding: 16px;
  display: flex; align-items: center; gap: 12px;
}
.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-info-name  { font-size: 13px; font-weight: 800; color: white; }
.user-info-role  { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.6); margin-top: 2px; letter-spacing: 0.5px; text-transform: uppercase; }
.user-dropdown-body { padding: 8px; }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--text-dark);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s; width: 100%;
  border: none; background: none; text-align: left;
}
.dropdown-item:hover { background: var(--teal-bg); color: var(--teal-brand); }
.dropdown-item svg { flex-shrink: 0; color: var(--text-light); }
.dropdown-divider { height: 1px; background: var(--border-light); margin: 4px 0; }
.dropdown-item.logout { color: #DC2626; }
.dropdown-item.logout:hover { background: #FEF2F2; }
.dropdown-item.logout svg { color: #DC2626; }

/* ── PROPERTI DIMINATI ── */
  .diminati-section { padding: 0 20px 8px; }
  .diminati-list { display: flex; flex-direction: column; gap: 12px; }
  .dim-card {
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--cream-dark);
    overflow: hidden; display: flex; height: 110px;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .dim-img { width: 110px; flex-shrink: 0; position: relative; overflow: hidden; }
  .dim-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .dim-rank {
    position: absolute; top: 6px; left: 6px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--terracotta); color: white;
    font-size: 10px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
  }
  .dim-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
  .dim-price { font-size: 15px; font-weight: 900; color: var(--terracotta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dim-name  { font-size: 12px; font-weight: 700; color: var(--brown); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .dim-loc   { font-size: 10px; color: var(--text-light); display: flex; align-items: center; gap: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dim-footer { display: flex; align-items: center; justify-content: space-between; }
  .dim-likes { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #E53E3E; }
  .dim-cta { font-size: 10px; font-weight: 700; color: var(--terracotta); background: var(--terracotta-pale); border: none; border-radius: 8px; padding: 4px 10px; cursor: pointer; font-family: 'Montserrat', sans-serif; text-decoration: none; white-space: nowrap; }
  #diminati-section { display: none; }
  #diminati-section.has-data { display: block; }

  /* ── FILTER TABS CAROUSEL ── */
.carousel-filters {
  display: flex; gap: 8px; padding: 0 20px 14px;
  overflow-x: auto; scrollbar-width: none;
}
.carousel-filters::-webkit-scrollbar { display: none; }
.cf-tab {
  flex-shrink: 0; padding: 7px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--border-light);
  background: white; color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.cf-tab.active {
  background: var(--teal-mid); border-color: var(--teal-mid);
  color: white; box-shadow: 0 2px 8px rgba(21,92,74,0.25);
}
.cf-tab:active { transform: scale(0.95); }

/* ══════════════════════════════════════
   DESKTOP RESPONSIVE (≥768px)
   ══════════════════════════════════════ */
@media (min-width: 768px) {
  html, body { background: var(--cream); }

  /* ── PAGE FRAME ── */
  #page-frame {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  #page-content { overflow-y: visible; overflow: visible; }

  /* ── NAV HEADER ── */
  nav {
    border-radius: 0;
    padding: 0 56px;
    height: 68px;
  }
  .nav-logo { font-size: 20px; }

  /* ── HERO ── */
  .hero {
    min-height: 620px;
    padding: 64px 80px 64px;
    justify-content: flex-start;
    background-position: center 35%;
  }
  .hero-badge  { font-size: 12px; padding: 7px 18px; margin-bottom: 20px; }
  .hero-title  { font-size: 52px; line-height: 1.1; margin-bottom: 12px; }
  .hero-sub    { font-size: 15px; margin-bottom: 32px; }
  .search-card { max-width: 680px; padding: 24px 28px; }
  .search-tabs { gap: 10px; }
  .search-tab  { font-size: 13px; padding: 10px 20px; }
  .search-btn  { padding: 14px; font-size: 14px; }

  /* ── STATS BAR ── */
  .stats-row {
    margin: -40px auto 0;
    padding: 0 0 40px;
    position: relative;
    z-index: 5;
  }
  .stats-track { gap: 16px; }
  .stat-card {
    border-radius: 16px;
    margin-top: 0;
    box-shadow: 0 8px 32px rgba(10,46,37,0.14);
    padding: 22px 18px;
    background: white;
    border: 1px solid var(--cream-dark);
  }
  .stat-num   { font-size: 30px; }
  .stat-label { font-size: 10px; letter-spacing: 0.6px; }

  /* ── PROPERTI DIMINATI DESKTOP ── */
  .diminati-section { padding: 0 56px 8px; }
  #diminati-section .section-header { padding: 40px 56px 16px; }

  /* ── SECTION HEADER ── */
  .section-header { padding: 40px 56px 20px; }
  .section-title  { font-size: 24px; }
  .section-sub    { font-size: 12px; margin-top: 4px; }

  /* ── CAROUSEL FILTERS ── */
  .carousel-filters { padding: 0 56px 18px; }
  .cf-tab { font-size: 12px; padding: 8px 20px; }

  /* ── CAROUSEL → GRID 3 COL ── */
  .carousel-outer { padding: 0 56px; }
  .carousel-wrap  { overflow: visible; border-radius: 0; }
  .carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transform: none !important;
    transition: none;
  }
  .carousel-track .prop-card {
    min-width: unset;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-dark);
  }
  .carousel-dots { display: none; }
  .prop-img-wrap { height: 210px; }

  /* ── FEATURED SECTION ── */
  .featured-section { padding: 4px 56px 56px; }
  .featured-card {
    display: grid;
    grid-template-columns: 55% 45%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(10,46,37,0.15);
  }
  .gallery-wrap  { min-height: 420px; }
  .featured-body {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .featured-tag   { font-size: 11px; }
  .featured-price { font-size: 30px; }
  .featured-name  { font-size: 19px; }
  .featured-loc   { font-size: 13px; margin-bottom: 16px; }
  .featured-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 16px;
  }
  .f-spec-val     { font-size: 17px; }
  .f-spec-key     { font-size: 10px; }
  .featured-desc  { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
  .virtual-tour-btn { padding: 14px 20px; font-size: 14px; }

  /* ── AREAS SECTION ── */
  .areas-section { padding: 0 56px 40px; }
  .areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: 170px 130px;
    gap: 12px;
    padding: 0 !important;
  }
  .area-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
  }
  .area-card  { height: auto; }
  .area-name  { font-size: 15px; }
  .area-count { font-size: 11px; }

  /* ── MAP + CONTACT SIDE BY SIDE ── */
  .map-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 0 56px 40px;
    align-items: start;
  }
  .map-contact-row .section-header   { padding: 32px 0 16px; }
  .map-contact-row .map-section      { padding: 0; }
  .map-contact-row .map-card         { border-radius: 16px; overflow: hidden; }
  .map-contact-row .map-card > div:last-child { height: 320px !important; }
  .map-contact-row .map-card iframe  { height: 320px !important; }
  .map-contact-row .form-section     { margin: 0; border-radius: 16px; }

  /* ── FOOTER ── */
  footer { padding: 60px 56px 36px; margin-top: 0; }
  .footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 56px;
    margin-bottom: 36px;
  }
  .footer-logo    { font-size: 22px; margin-bottom: 10px; }
  .footer-tagline { font-size: 13px; margin-bottom: 0; line-height: 1.7; max-width: 300px; }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 0;
    align-content: start;
  }
  .footer-link  { font-size: 13px; }
  .footer-bottom { font-size: 12px; }

  /* ── MODAL — centered ── */
  .modal-overlay { align-items: center; justify-content: center; }
  .modal {
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 90%;
    max-height: 88vh;
    animation: none;
    padding: 32px;
  }
  .modal-handle { display: none; }

  /* ── PROP CARD desktop hover ── */
  .prop-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(10,46,37,0.16); }
  .prop-card:hover .prop-img { transform: scale(1.06); }
}

/* ── DESKTOP ≥ 1024px ── */
@media (min-width: 1024px) {
  nav              { padding: 0 80px; }
  .hero            { padding: 76px 100px 72px; min-height: 660px; }
  .hero-title      { font-size: 58px; }
  .section-header  { padding-left: 80px; padding-right: 80px; }
  .carousel-outer  { padding-left: 80px; padding-right: 80px; }
  .carousel-filters{ padding-left: 80px; padding-right: 80px; }
  .featured-section{ padding-left: 80px; padding-right: 80px; }
  .areas-section   { padding-left: 80px; padding-right: 80px; }
  .stats-row       { padding-left: 80px; padding-right: 80px; }
  .map-contact-row { padding-left: 80px; padding-right: 80px; }
  footer           { padding-left: 80px; padding-right: 80px; }
  .carousel-track  { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .diminati-section        { padding-left: 80px; padding-right: 80px; }
  #diminati-section .section-header { padding-left: 80px; padding-right: 80px; }
}

/* ── WIDE DESKTOP ≥ 1280px — 4-column grid ── */
@media (min-width: 1280px) {
  nav              { padding: 0 100px; }
  .hero            { padding: 84px 120px 80px; min-height: 700px; }
  .hero-title      { font-size: 64px; }
  .search-card     { max-width: 760px; }
  .section-header  { padding-left: 100px; padding-right: 100px; }
  .carousel-outer  { padding-left: 100px; padding-right: 100px; }
  .carousel-filters{ padding-left: 100px; padding-right: 100px; }
  .featured-section{ padding-left: 100px; padding-right: 100px; }
  .areas-section   { padding-left: 100px; padding-right: 100px; }
  .stats-row       { padding-left: 100px; padding-right: 100px; }
  .map-contact-row { padding-left: 100px; padding-right: 100px; }
  footer           { padding-left: 100px; padding-right: 100px; }
  .carousel-track  { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .featured-card   { grid-template-columns: 58% 42%; }
  .gallery-wrap    { min-height: 460px; }
  .diminati-section        { padding-left: 100px; padding-right: 100px; }
  #diminati-section .section-header { padding-left: 100px; padding-right: 100px; }
}
