@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/Barlow-400i.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/Barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/Barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/Barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/BarlowCondensed-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/BarlowCondensed-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/BarlowCondensed-700.woff2) format('woff2'); }

/* Property71: clean, photo-led property site. Design system + components. */
:root {
  --ink: #15171a;
  --ink-2: #3d4248;
  --muted: #6a7077;
  --line: #e6e4df;
  --line-2: #d4d1ca;
  --page: #ffffff;
  --soft: #f6f5f1;
  --black: #000000;
  --green: #7cc242;
  --green-hi: #8fd254;
  --green-ink: #3f7414;
  --rent: #2c6fb0;
  --hot: #c4471b;

  --f-text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Barlow', system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 80px; --s9: 120px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(21,23,26,.06), 0 12px 32px -16px rgba(21,23,26,.25);
  --shadow-lg: 0 2px 6px rgba(21,23,26,.08), 0 30px 60px -24px rgba(21,23,26,.4);
  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--f-text); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic .fill { fill: currentColor; stroke: none; }
.ic .thin { stroke-width: 1; opacity: .5; }
.eyebrow { display: block; font: 600 13px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); margin-bottom: var(--s3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font: 600 16px/1 var(--f-text); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn.g { background: var(--green); color: var(--ink); }
.btn.g:hover { background: var(--green-hi); }
.btn.k { background: var(--ink); color: #fff; }
.btn.k:hover { background: #2b2f34; }
.btn.o { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.o:hover { border-color: var(--ink); }
.btn.w { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.w:hover { border-color: var(--ink); }
.btn.full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link:hover { border-color: var(--ink); }
.link .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(3px); }

/* ---------- Header ---------- */
.top { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 40; }
.top .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 76px; }
.top .logo img { height: 50px; width: auto; }
.nav { display: flex; gap: var(--s1); margin-left: auto; }
.nav a { font: 500 16px/1 var(--f-text); text-decoration: none; padding: 12px 14px; border-radius: 6px; color: #cfd2cc; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.top .call { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: var(--ink); text-decoration: none; padding: 0 18px; min-height: 44px; border-radius: var(--r); font: 600 16px/1 var(--f-text); }
.top .call:hover { background: var(--green-hi); }
.top .call .ic { width: 18px; height: 18px; }
.top .wa-tab { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.top .wa-tab:hover { border-color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--r); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; padding: var(--s2) var(--gutter) var(--s5); border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--green); }
  .top .call span { display: none; }
  .top .call { width: 44px; padding: 0; }
  .top .wa-tab { margin-left: 0; }
}
@media (max-width: 420px) { .top .logo img { height: 40px; } .top .wrap { gap: var(--s3); } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: #1b1d1f; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,14,.82) 0%, rgba(10,12,14,.55) 45%, rgba(10,12,14,.1) 100%), linear-gradient(0deg, rgba(10,12,14,.5), transparent 40%); }
.hero .wrap { min-height: clamp(560px, 78vh, 720px); display: flex; flex-direction: column; justify-content: center; padding-block: var(--s8); }
.hero .eyebrow { color: var(--green); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); max-width: 15ch; letter-spacing: -.025em; }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; color: rgba(255,255,255,.86); margin-top: var(--s4); }
.search { margin-top: var(--s6); background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-width: 860px; overflow: hidden; }
.search .modes { display: flex; border-bottom: 1px solid var(--line); }
.search .modes label { position: relative; cursor: pointer; }
.search .modes input { position: absolute; opacity: 0; }
.search .modes span { display: block; padding: 16px 24px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.search .modes input:checked + span { color: var(--ink); border-color: var(--green); }
.search .modes input:focus-visible + span { outline: 2px solid var(--green-ink); outline-offset: -4px; }
.search .fields { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 0; align-items: stretch; }
.search .fld { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-right: 1px solid var(--line); }
.search .fld label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.search select { border: 0; padding: 4px 0; font-size: 17px; font-weight: 500; background: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 4px center, right 0 center; background-size: 4px 4px; background-repeat: no-repeat; padding-right: 18px; }
.search select:focus-visible { outline: none; }
.search .fld:focus-within { background: var(--soft); }
.search .go { margin: 10px; min-width: 150px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin-top: var(--s5); font-size: 15px; color: rgba(255,255,255,.82); }
.hero .proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero .proof .ic { color: var(--green); width: 18px; height: 18px; }
.hero .proof a { color: #fff; text-decoration: none; font-weight: 600; }
.hero .credit { position: absolute; right: var(--gutter); bottom: 14px; font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 720px) {
  .hero .wrap { min-height: 0; padding-block: var(--s7) var(--s6); }
  .search .fields { grid-template-columns: 1fr 1fr; }
  .search .fld:nth-child(2) { border-right: 0; }
  .search .go { grid-column: 1 / -1; margin: 0 12px 12px; }
  .search .fld { border-bottom: 1px solid var(--line); }
  .search .modes span { padding: 14px 18px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--s8); }
.sec.soft { background: var(--soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sec-head p { color: var(--muted); max-width: 52ch; margin-top: var(--s2); }
@media (max-width: 720px) { .sec { padding-block: var(--s7); } }

/* ---------- Listing cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s6) var(--s5); }
.card { position: relative; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card .ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .ph img { transform: scale(1.04); }
.card .nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.card .count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; background: rgba(10,12,14,.66); color: #fff; font-size: 13px; font-weight: 500; }
.card .count .ic { width: 15px; height: 15px; }
.card .tag { position: absolute; left: 10px; top: 10px; }
.card .body { padding-top: var(--s4); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .price { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.card .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.card h3 { font: 500 17px/1.35 var(--f-text); letter-spacing: 0; color: var(--ink-2); }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card h3 a:focus-visible { outline: none; }
.card:focus-within .ph { outline: 2px solid var(--green-ink); outline-offset: 3px; }
.card .loc { font-size: 15px; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.card .specs { margin-top: var(--s3); }
.specs span { display: inline-flex; align-items: center; gap: 7px; }
.specs .ic { width: 18px; height: 18px; color: var(--muted); }

.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.tag.rent::before { background: var(--rent); }
.tag.hot { background: var(--hot); color: #fff; }
.tag.hot::before { background: #fff; }
.tag.offer::before, .tag.gone::before { background: #b59b1f; }

@media (max-width: 640px) { .home-new .card:nth-child(n+5) { display: none; } }

/* ---------- Featured (hot offer) ---------- */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature .ph { position: relative; min-height: 420px; }
.feature .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .ph .tag { position: absolute; left: 16px; top: 16px; }
.feature .body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: var(--s3); justify-content: center; }
.feature h3 { font-size: clamp(26px, 2.6vw, 34px); }
.feature .addr { color: var(--muted); display: flex; gap: 8px; align-items: center; }
.feature .addr .ic { width: 18px; height: 18px; }
.feature .price { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.02em; }
.feature .price small { font-size: 18px; color: var(--muted); font-weight: 500; }
.feature .specs { margin-top: 0; }
.feature .acts { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s3); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .ph { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Area tiles ---------- */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.areas a { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: #2a2d30; }
.areas img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.areas a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,14,.78), rgba(10,12,14,0) 60%); }
.areas a:hover img { transform: scale(1.05); }
.areas .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.areas strong { font-size: 20px; font-weight: 600; line-height: 1.15; }
.areas small { font-size: 14px; color: rgba(255,255,255,.85); white-space: nowrap; }
@media (max-width: 960px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .areas { grid-template-columns: 1fr 1fr; gap: var(--s3); } .areas strong { font-size: 17px; } .areas .cap { left: 12px; right: 12px; flex-direction: column; align-items: flex-start; gap: 2px; } }

/* ---------- Agent band ---------- */
.agent { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.agent h2 { font-size: clamp(30px, 3.4vw, 44px); }
.agent p { color: var(--ink-2); margin-top: var(--s4); max-width: 54ch; font-size: 18px; }
.agent .card-k { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow); }
.who { display: flex; gap: var(--s4); align-items: center; }
.mono { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--black); color: var(--green); font-weight: 600; font-size: 20px; letter-spacing: .04em; flex: none; }
.who .mono { display: grid; color: var(--green); font-size: 20px; font-weight: 600; line-height: 1; }
.who strong { display: block; font-size: 19px; font-weight: 600; }
.who span { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; }
.agent .acts { display: grid; gap: var(--s2); margin-top: var(--s5); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s5); margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 500; }
.sell { margin-top: var(--s7); display: flex; gap: var(--s5); align-items: center; justify-content: space-between; flex-wrap: wrap; padding: var(--s6); border-radius: var(--r-lg); background: var(--black); color: #fff; }
.sell h3 { font-size: clamp(22px, 2.2vw, 28px); }
.sell p { color: rgba(255,255,255,.75); margin-top: 6px; }
@media (max-width: 860px) { .agent { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--black); color: #c8cbc5; padding-top: var(--s8); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.foot h4 { font: 600 13px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--s4); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .tagline { margin-top: var(--s4); max-width: 30ch; }
.foot .hours { border-color: rgba(255,255,255,.12); margin: 0; padding: 0; border: 0; }
.foot .hours dd { color: #fff; }
.foot .base { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s7); padding-block: var(--s5); border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #9a9e98; }
.foot .base a { color: #fff; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Page heads + crumbs ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding-block: var(--s7) var(--s6); }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.page-head p { color: var(--ink-2); max-width: 60ch; margin-top: var(--s3); font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Listings page ---------- */
.filters { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.filters .wrap { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; padding-block: var(--s3); }
.seg { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 3px; }
.seg button { border: 0; background: none; padding: 9px 16px; border-radius: 6px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.filters .fld { display: flex; align-items: center; gap: 8px; }
.filters label { font-size: 14px; color: var(--muted); font-weight: 500; }
.filters select { border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 34px 10px 12px; background: #fff; font-size: 15px; font-weight: 500; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 16px center, right 12px center; background-size: 4px 4px; background-repeat: no-repeat; }
.filters .fld.sort { margin-left: auto; }
.results { padding-bottom: var(--s8); }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding-block: var(--s5); color: var(--muted); }
.result-line strong { color: var(--ink); }
.result-line button { background: none; border: 0; padding: 0; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.empty { text-align: center; padding: var(--s8) var(--s5); background: var(--soft); border-radius: var(--r-lg); color: var(--ink-2); }
.empty strong { display: block; font-size: 22px; color: var(--ink); margin-bottom: var(--s2); }
.empty .btn { margin-top: var(--s5); }
@media (max-width: 720px) {
  .filters { position: static; }
  .filters .wrap { gap: var(--s2); }
  .seg { width: 100%; }
  .seg button { flex: 1; }
  .filters .fld { flex: 1 1 40%; }
  .filters .fld label { display: none; }
  .filters select { width: 100%; }
  .filters .fld.sort { margin-left: 0; }
}

/* ---------- Single property ---------- */
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); padding-block: var(--s6) var(--s5); flex-wrap: wrap; }
.prop-head h1 { font-size: clamp(30px, 3.6vw, 44px); }
.prop-head .addr { display: flex; gap: 8px; align-items: center; color: var(--muted); margin-top: var(--s2); }
.prop-head .addr .ic { width: 18px; height: 18px; }
.pricebox { text-align: right; }
.pricebox .price { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: var(--s2); }
.pricebox .price small { font-size: 18px; color: var(--muted); font-weight: 500; }
.pricebox .tag { box-shadow: none; background: var(--soft); }
.pricebox .tag.hot { background: var(--hot); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(320px, 44vw, 560px); border-radius: var(--r-lg); overflow: hidden; }
.gallery button { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery .all { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: var(--r); box-shadow: var(--shadow); }
.gallery .m-only { display: none; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery.n2 button:first-child { grid-row: auto; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 button:nth-child(4) { grid-column: 2 / 4; }
.gal-count { display: none; }
@media (max-width: 720px) {
  .gallery { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery button { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .gallery button:first-child { grid-row: auto; }
  .gallery .m-only { display: block; }
  .gallery .all { display: none; }
  .gal-count { display: block; font-size: 14px; color: var(--muted); padding-top: var(--s2); }
  .prop-head { padding-top: var(--s5); }
  .pricebox { text-align: left; }
}
.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); padding-block: var(--s7) var(--s8); align-items: start; }
.prop-body .main { display: grid; gap: var(--s7); }
.prop-body h2 { font-size: 24px; margin-bottom: var(--s4); }
.facts-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 0; }
.facts-board div { padding: var(--s4) var(--s5); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: -1px -1px 0 0; }
.facts-board dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.facts-board dt .ic { width: 18px; height: 18px; }
.facts-board dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; }
.facts-board dd.sm { font-size: 16px; font-weight: 500; line-height: 1.35; }
.desc { color: var(--ink-2); font-size: 17px; }
.desc p + p { margin-top: .9em; }
.desc ul { padding-left: 1.2em; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px var(--s5); }
.feats li { display: flex; gap: 10px; align-items: center; }
.feats .ic { color: var(--green-ink); width: 18px; height: 18px; }
.where { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; padding: var(--s5); background: var(--soft); border-radius: var(--r-lg); }
.where p { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.where .ic { color: var(--green-ink); }
.enquire { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow); }
.enquire .acts { display: grid; gap: var(--s2); margin-top: var(--s5); }
.enq { display: grid; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form-row input, .form-row textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; background: #fff; font-size: 16px; }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(124,194,66,.35); }
.form-note, .enquire .ref { font-size: 13px; color: var(--muted); }
.enquire .ref { margin-top: var(--s4); }
.form-ok { display: none; padding: var(--s4); background: #eef7e4; border-radius: var(--r); font-weight: 500; }
form.sent .form-ok { display: block; }
form.sent .form-row, form.sent button, form.sent .form-note { display: none; }
@media (max-width: 960px) { .prop-body { grid-template-columns: 1fr; } .enquire { position: static; } }

/* Mobile action bar */
.actbar { display: none; }
@media (max-width: 720px) {
  .actbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  body.has-actbar { padding-bottom: 72px; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.95); display: none; grid-template-rows: auto 1fr auto; color: #fff; }
.lb.open { display: grid; }
.lb .bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); font-size: 15px; font-weight: 500; }
.lb button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.1); }
.lb .stage { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 8px; padding: 0 12px; min-height: 0; }
.lb .stage img { max-height: 78vh; width: auto; max-width: 100%; margin: auto; object-fit: contain; border-radius: 4px; }
.lb .strip { display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--gutter); }
.lb .strip img { width: 84px; height: 63px; object-fit: cover; opacity: .5; cursor: pointer; border-radius: 4px; flex: none; }
.lb .strip img[aria-current="true"] { opacity: 1; outline: 2px solid var(--green); }

/* ---------- About / contact ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: var(--s7) var(--s8); align-items: start; }
.prose { font-size: 18px; color: var(--ink-2); display: grid; gap: var(--s4); max-width: 62ch; }
.prose .lead { font-size: 22px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.todo { display: inline-block; font-size: 13px; font-weight: 600; background: #fff4cc; color: #6b5300; padding: 4px 10px; border-radius: 99px; justify-self: start; }
.contact-list { display: grid; }
.contact-list > * { display: flex; justify-content: space-between; gap: var(--s4); padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list > *:last-child { border-bottom: 0; }
.contact-list .k { color: var(--muted); }
.contact-list .v { font-weight: 600; text-align: right; }
.contact-list a:hover .v { color: var(--green-ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5) var(--s6); box-shadow: var(--shadow); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- WordPress / Divi integration (appended after the design system) ---------- */

/* Divi's own header and footer give way to the theme's chrome. */
body.p71-chrome #main-header, body.p71-chrome #top-header, body.p71-chrome #main-footer,
body.p71-chrome .et-l--header, body.p71-chrome .et-l--footer { display: none !important; }
body.p71-chrome #page-container { padding-top: 0 !important; margin-top: 0 !important; overflow: visible !important; }
body.p71-body #page-container, body.p71-body #et-main-area, body.p71-body #main-content { background: transparent; }
body.p71-body { background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--f-text); }
body.p71-body #main-content .container::before { display: none; }

/* Divi typography resets inside the theme's markup. */
.p71 h1, .p71 h2, .p71 h3, .p71 h4,
.et_pb_code_inner h1, .et_pb_code_inner h2, .et_pb_code_inner h3, .et_pb_code_inner h4 { font-family: var(--f-display); font-weight: 600; color: inherit; padding-bottom: 0; line-height: 1.1; }
.p71 .card h3, .et_pb_code_inner .card h3 { font: 500 17px/1.35 var(--f-text); color: var(--ink-2); }
.p71 .foot h4 { font: 600 13px/1 var(--f-text); color: #fff; }
.p71 p, .et_pb_code_inner p { padding-bottom: 0; }
.p71 ul, .p71 ol, .et_pb_code_inner ul, .et_pb_code_inner ol { padding: 0; list-style: none; line-height: inherit; }
.p71 a, .et_pb_code_inner a { color: inherit; }
.p71 .btn.g, .et_pb_code_inner .btn.g { color: var(--ink); }
.p71 .btn.k, .et_pb_code_inner .btn.k { color: #fff; }
.p71 .desc ul, .p71 .desc ol { list-style: disc; padding-left: 1.2em; margin: .6em 0; }
.p71 .desc ol { list-style: decimal; }
.p71 .desc p + p { margin-top: .9em; }
.p71 dl, .p71 dd { margin: 0; padding: 0; }
.p71 .hero h1, .et_pb_code_inner .hero h1 { color: #fff; line-height: 1.05; }
.et_pb_section.p71-sec, .et_pb_section.p71-sec .et_pb_row { padding: 0 !important; width: 100%; max-width: none; }
.et_pb_code_inner .p71 input, .p71 input, .p71 textarea, .p71 select { font-family: var(--f-text); color: var(--ink); }
.p71 .form-row label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.p71 .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.p71 .form-err { color: #a32214; font-weight: 600; font-size: 15px; }

/* Things the preview drew with inline styles. */
.empty-note { padding: var(--s5); background: var(--soft); border-radius: var(--r-lg); color: var(--ink-2); }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--green); color: var(--ink); }

/* The header is position: sticky; Divi's admin bar offset. */
body.admin-bar .top { top: 32px; }
body.admin-bar .filters { top: 108px; }
@media (max-width: 782px) { body.admin-bar .top { top: 0; } }

/* Light-on-photo links beat the inherit reset above. */
.p71 .areas a { color: #fff; }
