/* ==================================================================
   KENDAL LIGHT PROPERTIES – styles
   Colours and fonts are the first lines below.
   ================================================================== */
:root {
  --navy: #13294B;
  --navy-2: #1f3c6a;
  --gold: #C49A5A;
  --gold-2: #b0854a;
  --gold-soft: #F3E8D6;
  --cream: #F7F3EC;
  --soft: #FAF8F4;
  --ink: #1B2333;
  --muted: #6B7280;
  --line: #E8E2D7;
  --white: #ffffff;
  --green: #2E8B57;
  --wa: #25D366;

  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --script: "Allura", cursive;

  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 18px 44px -24px rgba(19, 41, 75, .32);
  --shadow-s: 0 8px 24px -14px rgba(19, 41, 75, .3);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg .fill { fill: currentColor; stroke: none; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.02em; color: var(--navy); }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 400; color: var(--gold); letter-spacing: 0; }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-2); margin: 0 0 10px; }
.kicker.light { color: var(--gold-soft); }
[hidden] { display: none !important; }
.demo { background: var(--navy); color: #dfe6f2; text-align: center; font-size: 13px; padding: 7px 14px; }
.demo b { color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { font-size: 18px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); box-shadow: var(--shadow-s); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-wa { background: var(--wa); color: #073b1c; }
.wide { width: 100%; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 19px; color: var(--navy); transition: border-color .15s, background .15s; }
.icon-btn:hover { border-color: var(--navy); }
.icon-btn.on { background: #fde8ea; border-color: #f2b8bf; color: #d6334a; }
.icon-btn.on svg { fill: currentColor; }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(232, 226, 215, .7); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 44px; height: 44px; color: var(--navy); }
.logo b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.logo small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 2px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: #3d4659; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { color: var(--navy); border-color: var(--gold); }
.top-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 64px 0 56px; }
.hero-img { position: absolute; inset: 0 0 0 38%; background-size: cover; background-position: center; border-bottom-left-radius: 120px; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, rgba(247, 243, 236, .55) 22%, rgba(247, 243, 236, 0) 45%); border-bottom-left-radius: inherit; }
.hero-in { position: relative; }
.eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--navy); margin: 0 0 16px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); font-weight: 800; max-width: 600px; }
.hero h1 .script { display: block; font-size: 1.05em; margin-top: 2px; line-height: 1; }
.lead { font-size: 17px; color: #46506a; max-width: 470px; margin: 18px 0 30px; }

.search { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 8px; box-shadow: 0 24px 60px -28px rgba(19, 41, 75, .45); max-width: 1000px; }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; flex-shrink: 0; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--navy); color: #fff; }
.seg-full { display: flex; width: 100%; margin-bottom: 14px; }
.seg-full button { flex: 1; }
.sf { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-left: 1px solid var(--line); flex: 1; min-width: 0; cursor: pointer; }
.sf > svg { font-size: 20px; color: var(--gold-2); }
.sf span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sf small { font-size: 12px; font-weight: 700; color: var(--navy); }
.sf select { border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--muted); padding: 0; margin: 0; width: 100%; cursor: pointer; appearance: none; outline: none; text-overflow: ellipsis; }
.sf-sm { flex: .7; }
.search-go { flex-shrink: 0; padding: 14px 24px; }

.board { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; font-size: 14px; font-weight: 600; color: var(--navy); }
.board > svg { font-size: 20px; color: var(--gold-2); }
.board input { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; width: 180px; background: #fff; text-transform: uppercase; }
.board input::placeholder { text-transform: none; }
.board input:focus { outline: none; border-color: var(--gold); }
.ref-err { flex-basis: 100%; font-size: 13px; color: #b23a3a; padding: 0 10px 4px; }

/* ---------- why ---------- */
.why { background: var(--soft); border-bottom: 1px solid var(--line); }
.why-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-in > div { padding: 34px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.why-in > div + div { border-left: 1px solid var(--line); }
.why i { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-soft); color: var(--navy); display: grid; place-items: center; font-size: 23px; margin-bottom: 8px; }
.why b { font-size: 16px; color: var(--navy); }
.why span { font-size: 13.5px; color: var(--muted); max-width: 220px; }

/* ---------- sections ---------- */
.sec { padding: 92px 0; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-sub { color: var(--muted); max-width: 440px; margin: 10px 0 0; }

/* ---------- listings ---------- */
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tabs { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--navy); box-shadow: var(--shadow-s); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.sort select { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; color: var(--navy); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: var(--navy); border: 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.chip svg { font-size: 13px; }
.chip.count { background: none; padding-left: 0; color: var(--muted); }
.chip.clear { background: none; text-decoration: underline; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 0 rgba(19, 41, 75, .02); transition: transform .2s, box-shadow .2s; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pimg { position: relative; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pimg img { transform: scale(1.04); }
.badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.badge.rent { background: var(--gold); }
.badge.new { background: #fff; color: var(--navy); }
.badge.reduced { background: #fff; color: #b23a3a; }
.badge.offer { background: #fff; color: var(--gold-2); }
.pcard .heart { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; font-size: 18px; color: var(--navy); }
.pcard .heart.on { color: #d6334a; }
.pcard .heart.on svg { fill: currentColor; }
.pcount { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(19, 41, 75, .75); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.pbody { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pbody h3 { font-size: 17px; font-weight: 700; }
.ploc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ploc svg { color: var(--gold-2); }
.facts { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #4a5368; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { font-size: 16px; color: var(--navy); }
.pfoot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; }
.price { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.price s { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.go { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--navy); font-size: 18px; transition: background .2s, color .2s; }
.pcard:hover .go { background: var(--navy); color: #fff; }
.more { text-align: center; margin-top: 30px; }
.empty { grid-column: 1 / -1; background: var(--soft); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px 24px; text-align: center; }
.empty h3 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 0 0 18px; }

/* ---------- QR boards strip ---------- */
.scan { background: var(--navy); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.scan::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 154, 90, .28), transparent 65%); right: -140px; top: -200px; }
.scan-in { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; }
.scan h2 { color: #fff; }
.scan-copy p:last-child { color: #c6d1e3; margin: 14px 0 0; }
.scan-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scan-steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.scan-steps i { width: 48px; height: 48px; border-radius: 14px; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 8px; }
.scan-steps b { font-size: 16px; }
.scan-steps span { font-size: 14px; color: #c6d1e3; }

/* ---------- calculators ---------- */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.calc-tabs { display: flex; gap: 6px; padding: 12px; background: var(--cream); flex-wrap: wrap; }
.calc-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.calc-tabs button svg { font-size: 18px; }
.calc-tabs button.on { background: #fff; color: var(--navy); box-shadow: var(--shadow-s); }
.calc-body { display: grid; grid-template-columns: 1.1fr 1fr; }
.calc-form { padding: 30px; display: grid; gap: 18px; align-content: start; }
.field label, .form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 0; }
.field .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.field output { font-weight: 800; color: var(--navy); font-size: 15px; }
.field small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.money span { padding: 0 12px; font-weight: 700; color: var(--muted); background: var(--soft); align-self: stretch; display: grid; place-items: center; border-right: 1px solid var(--line); }
.money input { border: 0; padding: 13px 14px; font: inherit; font-size: 16px; font-weight: 600; width: 100%; color: var(--navy); }
.money:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 154, 90, .18); }
.money input:focus { outline: none; }
input[type=range] { width: 100%; accent-color: var(--navy); }
.calc-out { background: linear-gradient(160deg, var(--navy), #0d1d37); color: #fff; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.big { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.big-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.calc-lines { display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; font-size: 14.5px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; color: #c6d1e3; }
.calc-lines b { color: #fff; }
.calc-note { font-size: 12.5px; color: #9fb0cb; margin: 0; }
.calc-out .btn { align-self: flex-start; margin-top: auto; }

/* ---------- forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.form { padding: 26px; display: grid; gap: 14px; }
.form input, .form select, .form textarea, .sell-form input, .vform input, .vform select, .vform textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); margin-top: 6px; }
.form input:focus, .form select:focus, .sell-form input:focus, .vform input:focus, .vform select:focus, .vform textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 154, 90, .18); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.want { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.want-copy > p:not(.kicker) { color: var(--muted); font-size: 16.5px; margin: 14px 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); }
.ticks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); stroke-width: 2.4; }

/* ---------- sell ---------- */
.sell { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.sell-img { position: relative; min-height: 520px; border-radius: 28px; background-size: cover; background-position: center; overflow: hidden; }
.sell-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 243, 236, .85), rgba(247, 243, 236, 0) 55%); }
.sell-img .script { position: absolute; z-index: 1; left: 30px; top: 40px; font-size: 54px; line-height: .95; color: var(--navy); transform: rotate(-6deg); }
.sell-copy > p:not(.kicker) { color: var(--muted); font-size: 16.5px; margin: 14px 0 22px; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps b { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.steps span { font-size: 14px; color: var(--muted); }
.steps strong { display: block; color: var(--navy); font-size: 15px; }
.sell-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 12px; box-shadow: var(--shadow-s); }
.sell-form input { flex: 1 1 160px; margin: 0; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; }
.faq-wrap > div:first-child .btn { margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 19px; }
.faq details[open] summary::after { content: "–"; background: var(--gold); color: #fff; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 28px; overflow: hidden; margin-bottom: 70px; min-height: 260px; display: flex; align-items: center; background: var(--navy); }
.cta-bg { position: absolute; inset: 0 0 0 40%; background-size: cover; background-position: center; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(19, 41, 75, .6) 35%, rgba(19, 41, 75, .1) 100%); }
.cta-copy { position: relative; padding: 46px; max-width: 560px; color: #fff; }
.cta h2 { color: #fff; }
.cta-copy > p:not(.kicker) { color: #c6d1e3; margin: 10px 0 22px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 26px; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 34px; }
.foot p { max-width: 300px; }
.foot h4 { font-size: 14px; margin-bottom: 14px; }
.foot-in > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; color: #4a5368; }
.foot-in a { text-decoration: none; }
.foot-in > div:not(:first-child) a, .foot-in > div:not(:first-child) > span { display: inline-flex; align-items: center; gap: 8px; }
.foot-in a:hover { color: var(--gold-2); }
.foot .logo { margin-bottom: 14px; }
.foot-in svg { color: var(--gold-2); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ==================================================================
   PROPERTY VIEW
   ================================================================== */
.view { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; animation: viewIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(24px); } }
.view-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px max(16px, calc((100% - 1200px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95); }
.back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--cream); border-radius: 999px; padding: 10px 16px 10px 12px; font-weight: 700; font-size: 14px; color: var(--navy); }
.back svg { font-size: 18px; }
.view-bar-r { display: flex; gap: 8px; }
.view-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px 0 100px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(56vh, 520px); border-radius: 26px; overflow: hidden; }
.gallery button { border: 0; padding: 0; position: relative; overflow: hidden; background: var(--cream); cursor: zoom-in; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .all { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--navy); font-weight: 700; font-size: 13.5px; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-s); }
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; }
.gallery.n2 button:nth-child(2) { grid-row: span 2; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 button:nth-child(4) { grid-column: span 2; }

.v-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 34px; margin-top: 28px; align-items: start; }
.v-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.v-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 10px 0 8px; }
.v-ref { font-size: 13px; color: var(--muted); font-weight: 600; }
.v-price { text-align: right; }
.v-price .price { font-size: clamp(26px, 3vw, 34px); }
.v-price .sub { font-size: 13.5px; color: var(--muted); }
.v-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 24px 0; }
.vf { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.vf svg { font-size: 22px; color: var(--gold-2); margin-bottom: 4px; }
.vf b { font-size: 18px; color: var(--navy); }
.vf span { font-size: 12.5px; color: var(--muted); }
.v-block { border-top: 1px solid var(--line); padding: 26px 0; }
.v-block h2 { font-size: 22px; margin-bottom: 14px; }
.v-block p { color: #46506a; margin: 0; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.feat li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.feat svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); stroke-width: 2.4; }
.costs { display: grid; gap: 10px; }
.cost { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.cost span { color: #46506a; }
.cost b { color: var(--navy); }
.cost.total { border-bottom: 0; font-size: 17px; }
.cost.total b { font-size: 20px; }
.mini-calc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.mini-calc label { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.mini-calc select, .mini-calc input { width: 100%; margin-top: 6px; font: inherit; font-size: 14.5px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.near { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.near li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #46506a; }
.near svg { color: var(--gold-2); font-size: 18px; }

.side { position: sticky; top: 10px; display: grid; gap: 14px; }
.agent { padding: 22px; }
.agent-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; font-weight: 800; font-size: 19px; flex-shrink: 0; }
.agent-top b { display: block; color: var(--navy); font-size: 16px; }
.agent-top span { font-size: 13px; color: var(--muted); }
.agent .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book h3 { font-size: 18px; margin-bottom: 4px; }
.book > p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.days button, .times button { flex-shrink: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 10px; text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; min-width: 58px; }
.days button b { display: block; font-size: 18px; color: var(--navy); }
.days button.on, .times button.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.days button.on b { color: #fff; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.times button { font-size: 13.5px; padding: 10px 6px; min-width: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--navy); text-align: left; }
.quick button:hover { border-color: var(--gold); background: var(--gold-soft); }
.vform { display: grid; gap: 10px; }
.vform label { font-size: 13px; font-weight: 700; color: var(--navy); }
.side .tiny { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.similar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.view-dock { display: none; }

/* ---------- saved drawer ---------- */
.drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; animation: slideIn .3s ease; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.saved-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 8px; cursor: pointer; }
.saved-item img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.saved-item b { display: block; font-size: 14px; color: var(--navy); }
.saved-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 14, 26, .95); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; object-fit: contain; }
.lb-x { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; font-size: 22px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: 26px; }
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .12); padding: 6px 12px; border-radius: 999px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 99; transform: translate(-50%, 160%); opacity: 0; pointer-events: none; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: transform .35s cubic-bezier(.2, 1.3, .4, 1); box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.rv.in { opacity: 1; transform: none; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .search { flex-wrap: wrap; border-radius: 26px; padding: 12px; gap: 8px; }
  .search .seg { width: 100%; }
  .search .seg button { flex: 1; }
  .sf { border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 12px; flex: 1 1 40%; }
  .search-go { width: 100%; }
  .hero-img { inset: 0 0 45% 30%; }
  .grid, .similar { grid-template-columns: repeat(2, 1fr); }
  .scan-in, .want, .sell, .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .calc-body { grid-template-columns: 1fr; }
  .v-main { grid-template-columns: 1fr; }
  .side { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 66px; gap: 10px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo b { font-size: 17px; }
  .logo small { font-size: 8.5px; letter-spacing: .14em; }
  .hide-sm { display: none; }
  .top-actions .btn { width: 44px; height: 44px; padding: 0; }
  .hero { padding: 0 0 36px; }
  .hero-img { position: relative; inset: auto; height: 250px; border-radius: 0 0 0 60px; margin-bottom: 26px; }
  .hero-img::after { background: linear-gradient(0deg, rgba(247, 243, 236, .9), rgba(247, 243, 236, 0) 40%); }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 15.5px; margin: 14px 0 22px; }
  .sf { flex: 1 1 100%; }
  .board { border-radius: 22px; padding: 12px; }
  .board input { flex: 1; width: auto; min-width: 0; }
  .why-in { grid-template-columns: 1fr 1fr; }
  .why-in > div { padding: 22px 12px; }
  .why-in > div:nth-child(3) { border-left: 0; }
  .why-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec { padding: 64px 0; }
  .list-tools { width: 100%; justify-content: space-between; }
  .grid, .similar { grid-template-columns: 1fr; }
  .scan-steps { grid-template-columns: 1fr; }
  .scan-steps li { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
  .scan-steps i { margin: 0; flex-shrink: 0; }
  .scan-steps li > b { min-width: 0; }
  .calc-form, .calc-out { padding: 20px; }
  .two { grid-template-columns: 1fr; }
  .sell-img { min-height: 300px; }
  .sell-img .script { font-size: 42px; }
  .steps { grid-template-columns: 1fr; }
  .cta { margin-bottom: 40px; border-radius: 22px; }
  .cta-bg { inset: 0; opacity: .35; }
  .cta-copy { padding: 30px 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 280px; border-radius: 20px; }
  .gallery button:not(:first-child) { display: none; }
  .gallery button:first-child { grid-row: auto; }
  .gallery.n2, .gallery.n3 { grid-template-columns: 1fr; }
  .v-price { text-align: left; }
  .feat { grid-template-columns: 1fr; }
  .mini-calc { grid-template-columns: 1fr 1fr; }
  .mini-calc label:first-child { grid-column: 1 / -1; }
  .view-scroll { padding-bottom: 120px; }
  .view-dock { display: grid; grid-template-columns: 52px 52px 1fr; gap: 8px; position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .25); }
  .view-dock a, .view-dock button { height: 52px; border-radius: 16px; }
  .view-dock .icon-btn { width: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .view, .drawer { animation: none; }
}
.v-main > * { min-width: 0; }
.side > * { min-width: 0; }
@media (max-width: 1080px) { .v-main { grid-template-columns: minmax(0, 1fr); } }
.cost b { white-space: nowrap; }
.v-head > div:first-child { flex: 1 1 380px; }
.v-price { margin-left: auto; }
@media (max-width: 680px) { .v-price { margin-left: 0; } }
@media (max-width: 680px) {
  .board > span:first-of-type { flex: 1 1 calc(100% - 34px); }
  .board input { flex: 1 1 0; }
  .scan-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
  .scan-steps i { grid-row: span 2; }
}
