:root {
  --ink: #2e3032;
  --ink-2: #44474a;
  --brand: #5c6060;
  --sun: #ffe058;
  --sun-deep: #f5cf2e;
  --paper: #ffffff;
  --mist: #f6f4ef;
  --line: #e6e1d6;
  --muted: #5d6066;
  --go: #1d8657;
  --go-soft: #e3f4ea;
  --wait: #9a6100;
  --wait-soft: #fff1d6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17,18,20,.06), 0 8px 24px rgba(17,18,20,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "Open Sans", system-ui, sans-serif; }
h1, h2, h3, h4 { font-family: Montserrat, system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; text-decoration: none; }
.logo svg { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font: 600 14px Montserrat, sans-serif; }
.nav a { text-decoration: none; opacity: .88; }
.nav a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; background: var(--sun); color: var(--ink); font: 700 15px Montserrat, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--sun-deep); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-block { width: 100%; }
.nav .btn { opacity: 1; padding: 9px 16px; font-size: 14px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Hero + search */
.hero { background: var(--brand); color: #fff; padding: 40px 0 76px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; border: 28px solid var(--sun); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); opacity: .9; }
@media (max-width: 720px) { .hero::after { display: none; } }
.hero h1 { font-size: clamp(30px, 5vw, 50px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p { color: #eef0f0; max-width: 52ch; margin: 0; }
.hero-count { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 600 13px Montserrat, sans-serif; color: #fff; background: rgba(0,0,0,.18); padding: 4px 12px 4px 10px; border-radius: 999px; }
.hero-count i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }

.search { position: relative; z-index: 2; margin-top: -48px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px; }
.tabs { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.tabs button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font: 700 14px Montserrat, sans-serif; color: var(--muted); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.filters label { display: block; font: 700 12px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
select, input, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--sun); outline-offset: 1px; border-color: var(--sun-deep); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; cursor: pointer; user-select: none; }
.chip input { width: auto; margin: 0; accent-color: var(--ink); }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } .filters .btn { grid-column: 1 / -1; } }

/* Results */
.results { padding: 32px 0 64px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.results-head h2 { font-size: 22px; margin: 0; }
.results-head select { width: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--mist); }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badges.inline { position: static; }
.badges.inline .badge:not(.kind) { border: 1px solid var(--line); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 12px Montserrat, sans-serif; background: #fff; color: var(--ink); }
.badge.now { background: var(--go-soft); color: var(--go); }
.badge.soon { background: #fff; }
.badge.pending { background: var(--wait-soft); color: var(--wait); }
.badge.kind { background: var(--brand); color: #fff; }
.bills-tag { position: absolute; right: 10px; bottom: 10px; background: var(--sun); color: var(--ink); padding: 3px 10px; border-radius: 999px; font: 700 12px Montserrat, sans-serif; }
.card-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.price { font: 800 22px Montserrat, sans-serif; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.card-title { font-weight: 700; }
.card-sub { color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Why us */
.why { background: var(--mist); padding: 56px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-grid div { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.why-grid h3 { font-size: 18px; }
.why-grid p { margin: 0; color: var(--muted); }
.why-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sun); display: grid; place-items: center; margin-bottom: 12px; }
.why-icon svg { width: 22px; height: 22px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

/* Property page */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prop { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding: 16px 0 64px; align-items: start; }
.gallery { display: grid; gap: 8px; }
.gallery-main { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery-main img, .gallery-main svg { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--mist); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop h1 { font-size: clamp(26px, 4vw, 36px); margin-top: 20px; }
.prop-sub { color: var(--muted); margin: -4px 0 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0; }
.facts div { padding: 12px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: -1px -1px 0 0; }
.facts dt { font: 700 11px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.panel { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); background: #fff; }
.panel .price { font-size: 30px; }
.options { list-style: none; padding: 0; margin: 10px 0 16px; border-top: 1px solid var(--line); }
.options li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.panel form { display: grid; gap: 10px; }
.panel label { font-weight: 600; font-size: 14px; }
.panel textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }
.hp { display: none; }
.others h2 { font-size: 20px; margin-top: 8px; }
@media (max-width: 900px) { .prop { grid-template-columns: 1fr; } .panel { position: static; } }

/* Footer */
.site-footer { background: var(--brand); color: #e4e6e6; padding: 44px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 28px; padding-top: 18px; font-size: 12px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.page { padding: 48px 0 72px; max-width: 760px; }

/* Property details */
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%235c6060' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks.pins li::before { background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s6-5.4 6-10.5a6 6 0 0 0-12 0C6 15.6 12 21 12 21z' fill='%235c6060'/%3E%3C/svg%3E") center / 13px no-repeat; }