:root {
    --bg: #fafaf9;
    --surface: #ffffff;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --border: #ececec;
    --accent: #ff6b5b;
    --accent-soft: #fff1ee;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 4px 12px rgba(0,0,0,.06), 0 20px 40px rgba(0,0,0,.08);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  
  .icon { width: 16px; height: 16px; flex-shrink: 0; }
  .icon-sm { width: 14px; height: 14px; }
  .icon-md { width: 18px; height: 18px; }
  .icon-lg { width: 20px; height: 20px; }

  /* ===== NAVBAR ===== */
  .nav {
    position: sticky; top: 12px; z-index: 100;
    margin: 0 16px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 18px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: var(--shadow);
  }
  .nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; }
  .nav-brand .dot {
    width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #ff9a7b);
    display: grid; place-items: center; color: #fff; font-size: 13px;
  }
  .nav-links { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; justify-content: center; }
  .nav-links a {
    font-size: 13.5px; font-weight: 500; color: var(--muted);
    padding: 7px 10px; border-radius: 999px; transition: .2s; white-space: nowrap;
  }
  .nav-links a:hover { background: var(--accent-soft); color: var(--accent); }
  .nav-links a.active { background: var(--text); color: #fff; }
  .nav-cta {
    background: var(--text); color: #fff; padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: .2s;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
  .nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

  @media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
      display: flex; flex-direction: column; align-items: stretch; gap: 2px;
      position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
      background: #fff; border: 1px solid var(--border); border-radius: 16px;
      padding: 10px; box-shadow: var(--shadow-lg); z-index: 99;
    }
    .nav-links.open a { padding: 10px 14px; }
  }

  /* ===== HERO SLIDER (MOBILE-FRIENDLY) ===== */
  .hero-slider { 
    position: relative; 
    width: 100%; 
    height: 500px; 
    overflow: hidden; 
    margin-top: 20px; 
  }
  .slider-track { 
    display: flex; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    height: 100%; 
  }
  .slide { 
    min-width: 100%; 
    height: 100%; 
    position: relative; 
  }
  .slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
  }
  .slide-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  }
  .slide-content {
    position: absolute; 
    bottom: 100px; 
    left: 50%; 
    transform: translateX(-50%);
    text-align: center; 
    color: #fff; 
    max-width: 800px; 
    padding: 0 24px; 
    z-index: 2;
    width: 100%;
  }
  .slide-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    background: var(--accent); 
    color: #fff; 
    padding: 8px 16px; 
    border-radius: 999px;
    font-size: 13px; 
    font-weight: 700; 
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255,107,91,0.3);
  }
  .slide-badge svg { 
    width: 14px; 
    height: 14px; 
  }
  .slide-content h1 {
    font-size: clamp(28px, 5vw, 48px); 
    font-weight: 800; 
    margin-bottom: 16px; 
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
  }
  .slide-content p { 
    font-size: clamp(14px, 2vw, 16px); 
    opacity: 0.95; 
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--text);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }
  .slide-cta:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
  }
  .slide-cta svg {
    width: 16px;
    height: 16px;
  }
  
  .slider-dots { 
    position: absolute; 
    bottom: 24px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 8px; 
    z-index: 3; 
  }
  .dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.5); 
    cursor: pointer; 
    transition: .3s; 
    border: 2px solid transparent; 
  }
  .dot.active { 
    background: #fff; 
    width: 32px; 
    border-radius: 5px; 
  }
  .dot:hover { 
    background: #fff; 
  }
  
  .slider-arrow {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.95);
    border: none; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--text); 
    box-shadow: var(--shadow-lg); 
    transition: .3s; 
    z-index: 3;
  }
  .slider-arrow svg { 
    width: 20px; 
    height: 20px; 
  }
  .slider-arrow:hover { 
    background: #fff; 
    transform: translateY(-50%) scale(1.1); 
  }
  .slider-arrow.prev { 
    left: 24px; 
  }
  .slider-arrow.next { 
    right: 24px; 
  }
  
  /* MOBILE SLIDER OPTIMIZATION — konten dipusatkan vertikal supaya tidak overflow
     ke atas saat teks panjang, teks dibatasi 2 baris, panah dipindah ke bawah
     supaya tidak menumpuk judul. */
  @media (max-width: 768px) {
    .hero-slider {
      height: 460px;
    }
    .slide-content {
      top: 50%;
      bottom: auto;
      transform: translate(-50%, -50%);
      padding: 0 20px;
    }
    .slide-badge {
      padding: 6px 12px;
      font-size: 11px;
      margin-bottom: 10px;
    }
    .slide-content h1 {
      font-size: clamp(22px, 6.5vw, 28px);
      margin-bottom: 10px;
    }
    .slide-content p {
      font-size: 13px;
      margin-bottom: 18px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .slide-cta {
      padding: 10px 20px;
      font-size: 13px;
    }
    .slider-arrow {
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      background: rgba(255,255,255,0.85);
    }
    .slider-arrow svg {
      width: 16px;
      height: 16px;
    }
    .slider-arrow.prev {
      left: 12px;
    }
    .slider-arrow.next {
      right: 12px;
    }
    .slider-dots {
      bottom: 22px;
    }
  }

  @media (max-width: 480px) {
    .hero-slider {
      height: 420px;
    }
    .slide-content h1 {
      font-size: 20px;
      margin-bottom: 8px;
    }
    .slide-content p {
      font-size: 12px;
      margin-bottom: 14px;
      -webkit-line-clamp: 2;
    }
    .slide-badge {
      font-size: 10px;
      padding: 5px 10px;
    }
    .slide-cta {
      padding: 9px 18px;
      font-size: 12.5px;
    }
  }

  /* ===== SEARCH BOX ===== */
  .search-container { 
    max-width: 900px; 
    margin: -40px auto 40px; 
    padding: 0 20px; 
    position: relative; 
    z-index: 10; 
  }
  .search {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: 16px;
    padding: 12px; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    box-shadow: var(--shadow-lg);
  }
  .search select, .search button {
    font-family: inherit; 
    font-size: 13px; 
    border: none; 
    background: transparent;
    padding: 10px 12px; 
    border-radius: 10px; 
    color: var(--text); 
    cursor: pointer; 
    font-weight: 500;
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
  }
  .search select { 
    flex: 1; 
    min-width: 120px; 
    outline: none; 
  }
  .search select:hover { 
    background: var(--bg); 
  }
  .search button { 
    background: var(--text); 
    color: #fff; 
    padding: 10px 20px; 
    font-weight: 600; 
    transition: .2s; 
  }
  .search button:hover { 
    background: var(--accent); 
  }

  /* ===== FILTER CHIPS ===== */
  .chips { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    justify-content: center; 
    max-width: 760px; 
    margin: 0 auto 40px; 
    padding: 0 20px; 
  }
  .chip {
    font-size: 12px; 
    font-weight: 600; 
    padding: 6px 14px; 
    border-radius: 999px;
    background: var(--surface); 
    border: 1px solid var(--border); 
    color: var(--muted);
    cursor: pointer; 
    transition: .2s;
  }
  .chip:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
  }
  .chip.active { 
    background: var(--text); 
    color: #fff; 
    border-color: var(--text); 
  }

  /* ===== SECTIONS ===== */
  section { 
    padding: 40px 20px; 
  }
  .container { 
    max-width: 1100px; 
    margin: 0 auto; 
  }
  .section-head { 
    display: flex; 
    align-items: flex-end; 
    justify-content: space-between; 
    margin-bottom: 24px; 
    gap: 16px; 
    flex-wrap: wrap; 
  }
  .section-head h2 { 
    font-size: 22px; 
    font-weight: 800; 
    letter-spacing: -.5px; 
  }
  .section-head p { 
    color: var(--muted); 
    font-size: 13px; 
    margin-top: 4px; 
  }
  .link-more { 
    font-size: 13px; 
    font-weight: 600; 
    color: var(--accent); 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
  }
  .link-more:hover { 
    gap: 8px; 
    transition: .2s; 
  }
  .link-more svg { 
    width: 14px; 
    height: 14px; 
  }

  /* ===== LISTINGS GRID ===== */
  .grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 16px; 
  }
  .card {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: var(--radius);
    overflow: hidden; 
    transition: .25s; 
    cursor: pointer; 
    position: relative;
  }
  .card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-lg); 
    border-color: transparent; 
  }
  .card-img { 
    aspect-ratio: 4/3; 
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8); 
    position: relative; 
    overflow: hidden; 
  }
  .card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: .4s; 
  }
  .card:hover .card-img img { 
    transform: scale(1.05); 
  }
  .badge {
    position: absolute; 
    top: 10px; 
    left: 10px; 
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px); 
    padding: 4px 9px; 
    border-radius: 999px;
    font-size: 11px; 
    font-weight: 700; 
    color: var(--text);
  }
  .badge.new { 
    background: var(--accent); 
    color: #fff; 
  }
  .fav {
    position: absolute; 
    top: 10px; 
    right: 10px; 
    width: 30px; 
    height: 30px; 
    border-radius: 50%;
    background: rgba(255,255,255,.95); 
    display: grid; 
    place-items: center;
    cursor: pointer; 
    transition: .2s; 
    border: none;
  }
  .fav svg { 
    width: 16px; 
    height: 16px; 
    color: var(--text); 
    transition: .2s; 
  }
  .fav:hover { 
    background: var(--accent); 
  }
  .fav:hover svg { 
    color: #fff; 
  }
  .fav.active svg { 
    color: var(--accent); 
    fill: var(--accent); 
  }
  
  .card-body { 
    padding: 14px; 
  }
  .card-title { 
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 4px; 
  }
  .card-loc { 
    font-size: 12px; 
    color: var(--muted); 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    margin-bottom: 10px; 
  }
  .card-loc svg { 
    width: 14px; 
    height: 14px; 
    flex-shrink: 0; 
  }
  .card-foot { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
  }
  .card-price { 
    font-size: 15px; 
    font-weight: 800; 
    color: var(--text); 
  }
  .card-price small { 
    font-size: 10px; 
    color: var(--muted); 
    font-weight: 500; 
    display: block; 
  }
  .card-action {
    background: var(--text); 
    color: #fff; 
    padding: 6px 10px; 
    border-radius: 8px;
    font-size: 11px; 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    transition: .2s;
  }
  .card-action svg { 
    width: 12px; 
    height: 12px; 
  }
  .card-action:hover { 
    background: var(--accent); 
  }

  .load-more {
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    margin: 30px auto 0;
    background: transparent; 
    border: 1px solid var(--border); 
    padding: 10px 20px; 
    border-radius: 999px;
    font-family: inherit; 
    font-size: 13px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: .2s;
  }
  .load-more svg { 
    width: 14px; 
    height: 14px; 
  }
  .load-more:hover { 
    border-color: var(--text); 
    background: var(--text); 
    color: #fff; 
  }
  .load-more-wrap { 
    text-align: center; 
  }

  /* ===== AGENT ===== */
  .agent-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d); 
    color: #fff;
    border-radius: 20px; 
    padding: 32px;
    display: grid; 
    grid-template-columns: 1fr auto; 
    gap: 24px; 
    align-items: center;
    position: relative; 
    overflow: hidden;
  }
  .agent-card::before {
    content: ''; 
    position: absolute; 
    width: 200px; 
    height: 200px; 
    border-radius: 50%;
    background: var(--accent); 
    filter: blur(80px); 
    opacity: .3; 
    top: -50px; 
    right: -50px;
  }
  .agent-info { 
    position: relative; 
    z-index: 1; 
  }
  .agent-info .tag {
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    background: rgba(255,255,255,.12); 
    padding: 4px 10px; 
    border-radius: 999px;
    font-size: 11px; 
    font-weight: 600; 
    margin-bottom: 12px;
  }
  .agent-info .tag svg { 
    width: 12px; 
    height: 12px; 
  }
  .agent-info h3 { 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 8px; 
    letter-spacing: -.5px; 
  }
  .agent-info p { 
    color: rgba(255,255,255,.7); 
    font-size: 14px; 
    max-width: 520px; 
    margin-bottom: 18px; 
  }
  .agent-cta {
    background: #fff; 
    color: var(--text); 
    padding: 10px 18px; 
    border-radius: 999px;
    font-size: 13px; 
    font-weight: 700; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    transition: .2s;
  }
  .agent-cta svg { 
    width: 14px; 
    height: 14px; 
  }
  .agent-cta:hover { 
    background: var(--accent); 
    color: #fff; 
  }
  .agent-avatar {
    position: relative; 
    z-index: 1; 
    width: 110px; 
    height: 110px; 
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff9a7b); 
    display: grid; 
    place-items: center;
    font-size: 42px; 
    font-weight: 800; 
    color: #fff; 
    border: 4px solid rgba(255,255,255,.1);
  }
  
  @media (max-width: 640px) {
    .agent-card { 
      grid-template-columns: 1fr; 
      text-align: center; 
      padding: 24px 20px; 
    }
    .agent-avatar { 
      margin: 0 auto 20px; 
      order: -1; 
    }
    .agent-info { 
      order: 1; 
    }
    .agent-info p { 
      max-width: 100%; 
    }
  }

  /* ===== ARTICLES ===== */
  .articles { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 16px; 
  }
  .article {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: var(--radius);
    overflow: hidden; 
    transition: .25s; 
    cursor: pointer; 
    position: relative; 
    display: flex; 
    flex-direction: column;
  }
  .article:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-lg); 
    border-color: transparent; 
  }
  .article-thumb { 
    aspect-ratio: 4/3; 
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8); 
    position: relative; 
    overflow: hidden; 
  }
  .article-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: .4s; 
  }
  .article:hover .article-thumb img { 
    transform: scale(1.05); 
  }
  .article-thumb .cat {
    position: absolute; 
    top: 10px; 
    left: 10px; 
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px); 
    padding: 4px 9px; 
    border-radius: 999px;
    font-size: 11px; 
    font-weight: 700; 
    color: var(--accent); 
    text-transform: uppercase; 
    letter-spacing: .5px;
  }
  .article-body { 
    padding: 14px; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
  }
  .article-title { 
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 6px; 
    line-height: 1.35; 
    color: var(--text); 
  }
  .article-excerpt {
    font-size: 12.5px; 
    color: var(--muted); 
    line-height: 1.55; 
    margin-bottom: 12px; 
    flex: 1;
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
  }
  .article-foot {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding-top: 10px; 
    border-top: 1px solid var(--border); 
    gap: 8px;
  }
  .article-meta { 
    font-size: 11px; 
    color: var(--muted); 
    display: flex; 
    align-items: center; 
    gap: 4px; 
  }
  .article-meta svg { 
    width: 12px; 
    height: 12px; 
    flex-shrink: 0; 
  }
  .article-action {
    background: var(--text); 
    color: #fff; 
    padding: 6px 10px; 
    border-radius: 8px;
    font-size: 11px; 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    transition: .2s; 
    flex-shrink: 0;
  }
  .article-action svg { 
    width: 12px; 
    height: 12px; 
  }
  .article-action:hover { 
    background: var(--accent); 
  }

  /* ===== FOOTER ===== */
  footer { 
    background: var(--surface); 
    border-top: 1px solid var(--border); 
    padding: 50px 20px 24px; 
    margin-top: 30px; 
  }
  .foot-grid { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 32px; 
    padding-bottom: 30px; 
  }
  .foot-brand h3 { 
    font-size: 18px; 
    font-weight: 800; 
    margin-bottom: 8px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
  }
  .foot-brand p { 
    color: var(--muted); 
    font-size: 13px; 
    max-width: 300px; 
  }
  .foot-col h5 { 
    font-size: 12px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: .5px; 
    margin-bottom: 12px; 
    color: var(--text); 
  }
  .foot-col a { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 13px; 
    color: var(--muted); 
    padding: 4px 0; 
    transition: .2s; 
  }
  .foot-col a svg { 
    width: 14px; 
    height: 14px; 
    flex-shrink: 0; 
  }
  .foot-col a:hover { 
    color: var(--accent); 
  }
  .foot-bottom {
    max-width: 1100px; 
    margin: 0 auto; 
    padding-top: 20px; 
    border-top: 1px solid var(--border);
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 12px; 
    font-size: 12px; 
    color: var(--muted); 
    align-items: center;
  }
  .foot-bottom .made-with { 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
  }
  .foot-bottom .made-with svg { 
    width: 14px; 
    height: 14px; 
    color: var(--accent); 
  }
  @media (max-width: 720px) { 
    .foot-grid { 
      grid-template-columns: 1fr 1fr; 
    } 
  }

  /* ===== WA FLOAT ===== */
  .wa-float {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 100; 
    background: #25D366; 
    color: #fff;
    width: 52px; 
    height: 52px; 
    border-radius: 50%; 
    display: grid; 
    place-items: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.4); 
    transition: .2s;
  }
  .wa-float svg { 
    width: 24px; 
    height: 24px; 
  }
  .wa-float:hover { 
    transform: scale(1.1); 
  }

/* Pagination halaman listing */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text);
  cursor: pointer;
}
.pagination a:hover { background: var(--accent-soft); color: var(--accent); }
.pagination .current { background: var(--text); color: #fff; border-color: var(--text); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.breadcrumb { font-size: 13px; color: var(--muted); margin: 20px 16px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
