/* Nara Estates — demo konsep TIKUMA (agen villa mewah fiktif di Bali). Tenang dan presisi: putih, gading, biru
   arang, pasir, Cormorant Garamond tipis untuk judul, Jost kapital berjarak untuk label. */
@font-face { font-family: 'Cormorant Garamond'; src: url(/nara/fonts/cormorant.woff2) format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(/nara/fonts/cormorant-italic.woff2) format('woff2'); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: Jost; src: url(/nara/fonts/jost.woff2) format('woff2'); font-weight: 300 600; font-display: swap; }

:root {
  --ink: #1c2530; --ink-2: #3a4450; --muted: #6f7780; --line: rgba(28, 37, 48, .14); --paper: #ffffff; --ivory: #f7f4ef; --sand: #b8a58a; --sand-2: #d9c7a7; --sea: #2f5d62;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; --sans: Jost, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fx-paper: var(--ink); --fx-ink: var(--ivory); --fx-accent: var(--sand); --fx-label-bg: var(--ink); --fx-label-fg: var(--ivory);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 1.5px solid var(--sea); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: 0; line-height: 1.08; }
h2 { font-size: clamp(38px, 4.2vw, 60px); }
h1 em, h2 em { font-style: italic; }
.caps { font: 500 11.5px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17px, 1.25vw, 19px); color: var(--ink-2); font-weight: 300; }
.small { font-size: 12.5px; color: var(--muted); }

/* tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 28px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--sea); }
.btn.line { box-shadow: inset 0 0 0 1px currentColor; }
.btn.line:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn.wide { width: 100%; }
.more { display: inline-block; margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid var(--sand); font: 500 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.more:hover { color: var(--sea); border-color: var(--sea); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; }
.menu-btn svg { width: 24px; height: 24px; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 30; color: #fff; transition: background-color .5s, color .5s, box-shadow .5s, transform .6s var(--ease); }
.hdr.solid { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-101%); }
.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 86px; width: min(1440px, 100% - 48px); margin-inline: auto; }
.hdr-tag { font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 42px; height: 42px; }
.logo span { display: grid; font: 400 24px/1 var(--serif); letter-spacing: .34em; padding-left: .34em; }
.logo small { font: 500 9.5px/1 var(--sans); letter-spacing: .5em; margin-top: 5px; }
.hdr-r { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.cur { display: flex; box-shadow: inset 0 0 0 1px currentColor; border-radius: 99px; padding: 2px; opacity: .9; }
.cur button { height: 28px; padding: 0 12px; border-radius: 99px; font: 500 11px/1 var(--sans); letter-spacing: .14em; transition: background-color .3s, color .3s; }
.cur button[aria-pressed='true'] { background: currentColor; }
.cur button[aria-pressed='true'] { background: #fff; color: var(--ink); }
.hdr.solid .cur button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.saved-link { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); }
.saved-link svg { width: 20px; height: 20px; }
.saved-link.has { --heart-fill: currentColor; }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img, .hero-img picture { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.motion .hero-img img { animation: heroZoom 3s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 36, .45), rgba(20, 28, 36, .15) 35%, rgba(20, 28, 36, .5)); pointer-events: none; }
.hero-in { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 100px 24px 60px; text-align: center; }
.hero .caps { color: rgba(255, 255, 255, .88); }
.hero h1 { font-size: clamp(48px, 6.6vw, 108px); line-height: 1; max-width: 13ch; }
.hero h1 em { font-weight: 300; }
.hero-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; width: min(860px, 100%); margin-top: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); text-align: left; }
.hero-search label { display: grid; padding: 12px 20px; border-right: 1px solid var(--line); }
.hero-search label span { font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-search select { border: 0; background: transparent; font: 400 16px/1.4 var(--sans); appearance: none; cursor: pointer; outline: none; padding-right: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231c2530' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right center / 14px; }
.hero-search .btn { height: auto; min-height: 64px; }

/* layanan */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); padding: 100px 0 90px; text-align: center; }
.svc article { padding: 10px 40px; }
.svc article + article { border-left: 1px solid var(--line); }
.svc h2 { font-size: clamp(32px, 2.8vw, 42px); margin-top: 12px; }

/* agen */
.agent { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; padding: 60px 0 140px; }
.agent-img { justify-self: center; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ivory); }
.agent-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.agent-copy { display: grid; gap: 20px; justify-items: start; }
.agent-copy > p:not(.caps):not(.lead) { color: var(--muted); font-weight: 300; }
.agent-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 44px; padding: 20px 0; margin: 6px 0; border-block: 1px solid var(--line); justify-self: stretch; }
.agent-stats b { display: block; font: 300 42px/1 var(--serif); }
.agent-stats span { font-size: 13px; color: var(--muted); }

/* listing */
.listings { background: var(--ivory); padding: 110px 0 130px; }
.ls-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.ls-head > div:first-child { display: grid; gap: 12px; }
.view { display: flex; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.view button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: background-color .3s, color .3s; }
.view button svg { width: 16px; height: 16px; }
.view button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.ls-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px 0; border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button, .chips label span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 99px; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: background-color .3s, color .3s, box-shadow .3s; cursor: pointer; }
.chips button:hover, .chips label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chips button[aria-pressed='true'], .chips input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chips button, .chips label { white-space: nowrap; flex: none; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips input:focus-visible + span { outline: 1.5px solid var(--sea); outline-offset: 2px; }
.chips .saved-chip { gap: 6px; }
.chips .saved-chip svg { width: 14px; height: 14px; --heart-fill: currentColor; }
.ls-sel { display: flex; gap: 8px; }
.ls-sel select { height: 38px; padding: 0 36px 0 16px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231c2530' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; appearance: none; font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ls-count { margin: 18px 0 22px; font-size: 13px; color: var(--muted); }
.ls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.card { position: relative; display: grid; gap: 14px; }
.card > [data-open-villa] { display: grid; gap: 14px; width: 100%; }
.c-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.c-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s, transform 1.4s var(--ease); }
.c-img img + img { opacity: 0; }
.card > [data-open-villa]:hover .c-img img + img { opacity: 1; }
.card > [data-open-villa]:hover .c-img img { transform: scale(1.04); }
.card.sold .c-img img { filter: grayscale(.35); }
.c-tag { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 7px 11px 6px; background: #fff; font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.card.sold .c-tag { background: var(--ink); color: #fff; }
.c-heart { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); transition: transform .4s var(--ease); }
.c-heart svg { width: 19px; height: 19px; }
.c-heart[aria-pressed='true'] { --heart-fill: #b2463a; color: #b2463a; }
.c-heart:active { transform: scale(.88); }
.motion .c-heart.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); } }
.c-price { font: 400 30px/1 var(--serif); }
.c-name { font-size: 15px; font-weight: 500; margin-top: -4px; }
.card .caps { margin-top: -8px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.specs span { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { width: 16px; height: 16px; }
.ls-empty { padding: 40px 0; text-align: center; font: italic 300 26px/1.3 var(--serif); color: var(--muted); }
.ls-empty button { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; margin-left: 8px; color: var(--ink); }
.ls-map { position: relative; background: #e8eeee; }
.ls-map svg { width: 100%; max-width: 1000px; height: auto; margin-inline: auto; }
.sea-line { fill: none; stroke: rgba(47, 93, 98, .15); stroke-width: 1; }
.island { fill: #efe7d8; stroke: var(--sand); stroke-width: 1.2; }
.m-lbl text { font: 500 13px var(--sans); letter-spacing: .4em; fill: rgba(28, 37, 48, .35); }
.m-lbl text.sm { font-size: 10px; letter-spacing: .2em; fill: rgba(28, 37, 48, .4); }
.pin { cursor: pointer; }
.pin rect { fill: var(--ink); transition: fill .3s; }
.pin text { font: 500 11px var(--sans); fill: #fff; letter-spacing: .04em; pointer-events: none; }
.pin path { fill: var(--ink); transition: fill .3s; }
.pin.sold rect, .pin.sold path { fill: #8b929a; }
.pin:hover rect, .pin:hover path, .pin.on rect, .pin.on path { fill: var(--sea); }
.pin:focus-visible { outline: none; }
.pin:focus-visible rect { stroke: var(--sand); stroke-width: 2; }
.map-pop { position: absolute; width: 260px; background: #fff; box-shadow: 0 20px 50px -20px rgba(28, 37, 48, .5); transform: translate(-50%, calc(-100% - 40px)); z-index: 2; }
.motion .map-pop:not([hidden]) { animation: popIn .4s var(--ease); }
@keyframes popIn { from { opacity: 0; translate: 0 10px; } }
.map-pop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-pop div { display: grid; gap: 4px; padding: 14px 16px 16px; }
.map-pop b { font: 400 24px/1 var(--serif); }
.map-pop .more { margin-top: 8px; justify-self: start; }

/* komunitas */
.communities { padding: 120px 0; }
.cm-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: 44px; }
.cm-head > div { display: grid; gap: 12px; }
.cm-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cm { position: relative; aspect-ratio: 7 / 9; overflow: hidden; color: #fff; text-align: left; background: var(--ink); }
.cm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cm:hover img { transform: scale(1.06); }
.cm::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 28, 36, .75), rgba(20, 28, 36, 0) 55%); }
.cm span { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: grid; gap: 6px; }
.cm b { font: 300 36px/1 var(--serif); }
.cm small { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }

/* valuasi */
.value { background: var(--ink); color: #fff; padding: 120px 0; }
.val-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.val-copy { display: grid; gap: 22px; position: sticky; top: 120px; }
.value .caps { color: var(--sand-2); }
.value .lead { color: rgba(255, 255, 255, .72); }
.val-form { display: grid; gap: 22px; padding: 36px; background: #fff; color: var(--ink); }
.val-form .caps { color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.val-form label, .val-form legend { display: grid; gap: 8px; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.val-form legend { margin-bottom: 10px; }
.val-form select, .viewing input { height: 50px; padding: 0 16px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #fff; font: 400 16px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); outline: none; }
.val-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231c2530' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; cursor: pointer; }
.val-form select:focus, .viewing input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rng { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.rng b { font: 400 22px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.rng input { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; --v: 50%; }
.rng input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / var(--v) 100%, var(--line); }
.rng input::-moz-range-track { height: 2px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / var(--v) 100%, var(--line); }
.rng input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.rng input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.val-out { display: grid; gap: 10px; padding: 22px; background: var(--ivory); }
.val-range { font: 300 clamp(34px, 3.4vw, 48px)/1 var(--serif); font-variant-numeric: lining-nums; }
.val-bar { position: relative; height: 4px; background: var(--line); }
.val-bar i { position: absolute; top: 0; bottom: 0; background: var(--sea); transition: left .6s var(--ease), width .6s var(--ease); }

/* kutipan */
.quote { padding: 120px 0; text-align: center; display: grid; justify-items: center; gap: 30px; }
.quote blockquote p { font: italic 300 clamp(28px, 3vw, 44px)/1.3 var(--serif); max-width: 30ch; margin-inline: auto; min-height: 2.6em; }
.quote figcaption { margin-top: 18px; font: 500 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.motion .quote figure.swap :is(p, figcaption) { animation: popIn .8s var(--ease) both; }
.q-dots { display: flex; gap: 10px; }
.q-dots button { width: 34px; height: 20px; display: grid; place-items: center; }
.q-dots button::before { content: ''; width: 100%; height: 1.5px; background: var(--line); transition: background-color .3s; }
.q-dots button[aria-pressed='true']::before { background: var(--ink); }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 96px; }
.foot .logo { color: #fff; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.foot-top button:hover { color: #fff; text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 40px; }
.foot h3 { font: 500 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand-2); margin-bottom: 14px; }
.foot li { padding: 4px 0; font-size: 15px; font-weight: 300; }
.foot li :is(a, button):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.credits { margin-top: 44px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.credits summary { cursor: pointer; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.credits p { margin-top: 10px; max-width: 920px; }
.credits a { text-decoration: underline; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-size: 13px; }
.legal a { text-decoration: underline; }
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 99px; background: #fff; color: #111; font: 600 13px/1.2 system-ui, sans-serif; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.demo i { width: 8px; height: 8px; border-radius: 50%; background: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, .18); }
.demo span { color: #666; font-weight: 400; }

/* dialog */
dialog { border: 0; padding: 0; max-width: none; max-height: none; background: transparent; color: var(--ink); }
dialog::backdrop { background: rgba(20, 28, 36, .6); }
.motion dialog[open]::backdrop { animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; } }
body.lock { overflow: hidden; }
.menu { width: 100vw; height: 100vh; height: 100dvh; margin: 0; display: none; flex-direction: column; padding: 0 max(24px, calc((100vw - 1440px) / 2 + 24px)) 30px; background: var(--ivory); }
.menu[open] { display: flex; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 86px; }
.menu-nav { display: grid; margin: auto 0; justify-items: center; text-align: center; }
.menu-nav :is(a, button) { padding: 10px 0; font: 300 clamp(40px, 5.6vw, 80px)/1.1 var(--serif); transition: color .3s, letter-spacing .6s var(--ease); }
.menu-nav :is(a, button):hover { font-style: italic; color: var(--sea); }
.menu-foot { text-align: center; }
.motion .menu[open] { animation: fade .4s ease; }
.motion .menu[open] .menu-nav > * { animation: popIn .8s var(--ease) both; }
.motion .menu[open] .menu-nav > :nth-child(2) { animation-delay: .05s; }
.motion .menu[open] .menu-nav > :nth-child(3) { animation-delay: .1s; }
.motion .menu[open] .menu-nav > :nth-child(4) { animation-delay: .15s; }
.villa { margin: auto; width: min(1180px, 100% - 32px); height: min(820px, 100dvh - 40px); background: #fff; overflow: hidden; }
.villa[open] { display: grid; grid-template-columns: 1.15fr 1fr; }
.motion .villa[open] { animation: popIn .6s var(--ease); }
.v-gal { position: relative; background: var(--ink); min-height: 0; }
.v-slides { position: absolute; inset: 0; }
.v-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.v-slides img.on { opacity: 1; }
.v-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .9); transition: background-color .3s; }
.v-nav:hover { background: #fff; }
.v-nav svg { width: 20px; height: 20px; }
.v-nav.prev { left: 16px; }
.v-nav.next { right: 16px; }
.v-count { position: absolute; left: 18px; bottom: 16px; z-index: 1; padding: 6px 10px; background: rgba(20, 28, 36, .7); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .2em; }
.v-x { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.v-x svg { width: 20px; height: 20px; }
.v-body { overflow-y: auto; overscroll-behavior: contain; padding: 34px 38px 40px; display: grid; gap: 20px; align-content: start; }
.v-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.v-head h3 { font-size: 42px; margin-top: 6px; }
.v-price { text-align: right; display: grid; gap: 4px; }
.v-price b { font: 400 30px/1 var(--serif); white-space: nowrap; }
.v-price small { font-size: 12.5px; color: var(--muted); }
.v-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); }
.v-facts li { display: grid; gap: 2px; font-size: 12.5px; color: var(--muted); }
.v-facts b { font: 400 22px/1.1 var(--serif); color: var(--ink); }
.v-body > p { color: var(--ink-2); font-weight: 300; }
.calc { display: grid; gap: 14px; padding: 22px; background: var(--ivory); }
.calc .rng { font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc-out span { display: block; font-size: 12px; color: var(--muted); }
.calc-out b { font: 400 22px/1.2 var(--serif); }
.viewing { display: grid; gap: 12px; }
.viewing .btn { justify-self: start; }
.v-ok { color: var(--sea); font-weight: 500; }
.note { margin: auto; width: min(540px, 100% - 32px); padding: 40px; background: #fff; }
.note[open] { display: grid; gap: 16px; }
.motion .note[open] { animation: popIn .5s var(--ease); }
.note h3 { font-size: 38px; }
.note p { color: var(--muted); font-weight: 300; }
.note .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; padding: 14px 22px; background: var(--ink); color: #fff; font-size: 14px; transition: transform .6s var(--ease), visibility 0s .6s; pointer-events: none; white-space: nowrap; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }

/* responsif */
@media (max-width: 1100px) {
  .ls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hdr-tag { visibility: hidden; }
}
@media (max-width: 900px) {
  .agent, .val-grid, .cm-head { grid-template-columns: 1fr; gap: 44px; }
  .val-copy { position: static; }
  .svc { grid-template-columns: 1fr; padding: 70px 0; }
  .svc article { padding: 26px 0; }
  .svc article + article { border-left: 0; border-top: 1px solid var(--line); }
  .villa[open] { grid-template-columns: 1fr; grid-template-rows: 42% 1fr; }
  .villa { height: calc(100dvh - 24px); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hdr-in { height: 70px; width: calc(100% - 24px); grid-template-columns: auto 1fr auto; }
  .hdr-tag { display: none; }
  .logo svg { width: 34px; height: 34px; }
  .logo span { font-size: 19px; }
  .hdr-r { gap: 8px; }
  .cur button { padding: 0 9px; }
  .hero { min-height: 600px; max-height: 820px; }
  .hero-in { padding: 90px 16px 40px; }
  .hero h1 { font-size: 46px; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search label:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-right: 0; }
  .hero-search label:nth-child(3) { border-right: 0; }
  .hero-search .btn { grid-column: 1 / -1; min-height: 52px; }
  .agent { padding: 30px 0 90px; }
  .agent-img { width: 260px; }
  .agent-stats { gap: 20px; }
  .agent-stats b { font-size: 32px; }
  .listings { padding: 80px 0 90px; }
  .ls-head { flex-direction: column; align-items: flex-start; }
  .chips { overflow-x: auto; flex-wrap: nowrap; width: 100%; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .ls-sel { width: 100%; }
  .ls-sel label { flex: 1; }
  .ls-sel select { width: 100%; }
  .ls-grid { grid-template-columns: 1fr; }
  .ls-map { margin-inline: -16px; overflow-x: auto; }
  .ls-map svg { min-width: 700px; }
  .map-pop { width: 220px; }
  .communities { padding: 90px 0; }
  .cm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; padding-inline: 16px; gap: 12px; scrollbar-width: none; }
  .cm-track::-webkit-scrollbar { display: none; }
  .cm { flex: 0 0 72vw; scroll-snap-align: center; }
  .value { padding: 90px 0; }
  .val-form { padding: 24px 18px; }
  .row2 { grid-template-columns: 1fr; }
  .quote { padding: 90px 0; }
  .foot { padding: 60px 0 110px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .villa { width: 100%; height: 100dvh; }
  .v-body { padding: 24px 18px 34px; }
  .v-head { flex-direction: column; }
  .v-price { text-align: left; }
  .v-head h3 { font-size: 34px; }
  .v-facts { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .note { padding: 28px 22px; }
}
