/* Maltepe Homes
   Concept: dusk on the Sea of Marmara. Deep night-blue for structure,
   a sunset amber used sparingly for actions, cool sea tones for calm
   surfaces. One memorable moment (the coast at sunset in the hero);
   everything else quiet, generous and easy to scan. */

:root {
	--ink: #12233D;
	--ink-2: #1D3352;
	--night: #0D1A2E;
	--sea: #1E6A7A;
	--sea-2: #2B8094;
	--sea-soft: #E2EDEF;
	--sun: #E9A23B;
	--sun-2: #F2B451;
	--sun-ink: #8A560A;
	--mist: #F4F6F5;
	--paper: #FFFFFF;
	--line: #D8E1E2;
	--muted: #576676;
	--on-night: #F2F5F8;
	--on-night-muted: #AFBdCC;
	--ok: #1F7A4D;
	--err: #B3261E;

	--f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--f-body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow: 0 18px 44px -24px rgba(13, 26, 46, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.028em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.008em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 62ch; }
.icon { width: 20px; height: 20px; flex: none; }
.text-link { font-weight: 600; color: var(--sea); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.btn .icon { width: 19px; height: 19px; }
.btn-sun { background: var(--sun); color: #1C1405; }
.btn-sun:hover { background: var(--sun-2); color: #1C1405; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 245, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-name { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { font-weight: 500; }
.logo-mark .lm-tile { fill: var(--ink); }
.logo-mark .lm-roof { stroke: var(--sun); }
.logo-mark .lm-sun { fill: var(--sun); }
.logo-mark .lm-cut { stroke: var(--ink); }
.logo-mark .lm-wave { stroke: #8FC3CF; }
.logo-mark .lm-wave2 { opacity: .6; }
.custom-logo-link img { max-height: 48px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav .menu { display: flex; gap: 24px; list-style: none; }
.main-nav .menu a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav .menu a:hover, .main-nav .menu a[aria-current="page"] { border-bottom-color: var(--sun); }
.nav-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-close { display: none; }

@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px; padding: 20px var(--gutter) 28px; background: var(--mist); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - 74px); overflow-y: auto; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
	.main-nav .menu a:hover, .main-nav .menu a[aria-current="page"] { border-bottom-color: var(--line); color: var(--sea); }
	.nav-open-state .main-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open-state .nav-open { display: none; }
	.nav-open-state .nav-close { display: inline-flex; }
	.nav-cta { min-height: 50px; }
}
@media (max-width: 420px) { .brand-name { font-size: 19px; } .brand .logo-mark { width: 34px; height: 34px; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; min-height: clamp(560px, 74vh, 780px); display: flex; align-items: flex-end; padding-bottom: clamp(96px, 10vw, 128px); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 26, 46, .9) 0%, rgba(13, 26, 46, .62) 42%, rgba(13, 26, 46, .12) 78%), linear-gradient(0deg, rgba(13, 26, 46, .7) 0%, rgba(13, 26, 46, 0) 38%); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: end; }
@media (max-width: 900px) { .hero-photo::after { background: linear-gradient(180deg, rgba(13, 26, 46, .55) 0%, rgba(13, 26, 46, .82) 60%, rgba(13, 26, 46, .95) 100%); } }
.hero-pick { display: grid; gap: 8px; padding: 22px 24px; border-radius: var(--r-lg); background: rgba(13, 26, 46, .5); border: 1px solid rgba(242, 245, 248, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-night); text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.hero-pick:hover { background: rgba(13, 26, 46, .62); border-color: rgba(242, 245, 248, .38); color: var(--on-night); }
.hero-pick-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sun-2); }
.hero-pick-label .icon { width: 18px; height: 18px; }
.hero-pick-price { font: 800 34px/1 var(--f-display); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; margin-top: 4px; }
.hero-pick-title { font-size: 17px; font-weight: 600; line-height: 1.35; color: #fff; }
.hero-pick-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14.5px; color: #C9D4E0; }
.hero-pick-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(242, 245, 248, .18); font-weight: 600; color: #fff; }
.hero-pick-go .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.hero-pick:hover .hero-pick-go .icon { transform: translateX(3px); }
@media (max-width: 900px) { .hero-copy { grid-template-columns: 1fr; gap: 28px; } .hero-pick { max-width: 420px; } }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(40px, 6.6vw, 80px); }
.hero .lede { color: #DCE4EC; margin-top: 20px; max-width: 54ch; }
@media (prefers-reduced-motion: no-preference) {
	.hz-sun { animation: hz-sun 7s ease-in-out infinite alternate; transform-origin: center; }
	.hz-glint { animation: hz-glint 3.8s ease-in-out infinite alternate; }
	@keyframes hz-sun { to { transform: translateY(5px); } }
	@keyframes hz-glint { from { opacity: .4; } to { opacity: .9; } }
}

/* ---------- Search ---------- */
.search-dock { position: relative; z-index: 5; margin-top: -58px; }
.psearch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.psearch-field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 20px; border-right: 1px solid var(--line); min-width: 0; }
.psearch-field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.psearch-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312233D' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right center; padding: 2px 20px 2px 0; font: 600 16px/1.35 var(--f-body); color: var(--ink); cursor: pointer; width: 100%; min-height: 30px; text-overflow: ellipsis; }
.psearch .btn { margin: 10px; border-radius: 14px; padding-inline: 26px; }
@media (max-width: 900px) {
	.psearch { grid-template-columns: 1fr 1fr; }
	.psearch-field { border-bottom: 1px solid var(--line); }
	.psearch-field:nth-child(2n) { border-right: 0; }
	.psearch .btn { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .psearch { grid-template-columns: 1fr; } .psearch-field { border-right: 0; } }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin-top: 22px; color: var(--muted); font-size: 15px; }
.quick-facts strong { color: var(--ink); font-family: var(--f-display); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 56px); }
.section-tint { background: var(--paper); border-block: 1px solid var(--line); }
.section-night { background: var(--night); color: var(--on-night); }
.section-night h2, .section-night h3 { color: #fff; }
.section-night .section-head p { color: var(--on-night-muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: 36px; }
.section-head p { max-width: 50ch; color: var(--muted); }
.section-more { margin-top: 36px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-copy > * + * { margin-top: 18px; }
.split-copy > p { color: var(--muted); font-size: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Property cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.pcard:hover { border-color: #B9C8CB; box-shadow: var(--shadow); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sea-soft); }
.pcard-media img, .pcard-media svg { width: 100%; height: 100%; object-fit: cover; }
.pcard-tags { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: rgba(13, 26, 46, .72); color: #fff; border-radius: 6px; padding: 5px 9px; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(4px); }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pcard-price { font: 750 24px/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pcard-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.pcard-title a { color: var(--ink); text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard-title a:hover { text-decoration: underline; }
.pcard-place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; }
.pcard-place .icon { width: 16px; height: 16px; }
.pcard-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pcard-facts strong { color: var(--ink); font-weight: 650; }
.pcard.is-sold .pcard-media { filter: grayscale(.7); }

/* ---------- Zones + rail ---------- */
.zones { list-style: none; display: grid; gap: 20px; margin-top: 26px; }
.zones li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.zones .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sea-soft); color: var(--sea); }
.zones h3 { font-size: 18px; }
.zones p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.zones-plain { margin-block: 22px; }
.rail-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 30px; }
.rail-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14.5px; color: var(--muted); }
.rail-badge { display: inline-block; font: 700 13px/1 var(--f-body); padding: 6px 9px; border-radius: 6px; color: #fff; background: var(--sea); }
.rail-m4 .rail-badge { background: #C2477E; }
.rail-stops { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; position: relative; }
.rail-stops::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8px; height: 4px; border-radius: 2px; background: var(--sea); }
.rail-m4 .rail-stops::before { background: #C2477E; }
.rail-stops li { position: relative; padding-top: 28px; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.rail-stops li::before { content: ""; position: absolute; left: 50%; top: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--paper); border: 4px solid var(--sea); }
.rail-m4 .rail-stops li::before { border-color: #C2477E; }
.rail-note { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) {
	.rail-stops { grid-template-columns: 1fr; gap: 14px; padding-left: 4px; }
	.rail-stops::before { left: 12px; right: auto; top: 6px; bottom: 6px; width: 4px; height: auto; }
	.rail-stops li { padding: 0 0 0 36px; text-align: left; }
	.rail-stops li::before { left: 4px; top: 0; margin-left: 0; }
}

/* ---------- Agents ---------- */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
/* Photo and name side by side; everything else runs the full card width. */
.acard { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.acard-body { display: contents; }
.acard-photo { grid-row: 1 / span 2; align-self: center; }
.acard-name { grid-column: 2; align-self: end; }
.acard-role { grid-column: 2; align-self: start; }
.acard-bio, .acard-langs, .acard .chips-static, .acard-actions { grid-column: 1 / -1; }
.acard-bio { margin-top: 8px; }
.acard-actions { margin-top: auto; padding-top: 8px; }
.acard-photo { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--sea-soft); display: grid; place-items: center; text-decoration: none; }
.acard-photo img { width: 100%; height: 100%; object-fit: cover; }
.acard-logo { border-radius: 22px; background: transparent; }
.acard-logo .logo-mark { width: 84px; height: 84px; }
.acard-initials { font: 700 30px/1 var(--f-display); color: var(--sea); }
.acard-name { font-size: 19px; }
.acard-name a { color: var(--ink); text-decoration: none; }
.acard-role { color: var(--sea); font-weight: 600; font-size: 14.5px; }
.acard-bio { color: var(--muted); font-size: 15px; }
.acard-langs { display: flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--muted); }
.acard-langs .icon { width: 17px; height: 17px; }
.acard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 4px; }
.chips-static li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--sea-soft); color: var(--ink); }
@media (max-width: 420px) { .acard { grid-template-columns: 60px minmax(0, 1fr); padding: 18px; } .acard-photo { width: 60px; height: 60px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 600 15px var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.agrid-wide { margin-bottom: 8px; }
.empty-filter { color: var(--muted); margin-top: 16px; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.steps li { counter-increment: step; padding: 26px 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); min-width: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--sun); color: var(--sun); font: 700 16px/1 var(--f-display); margin-bottom: 18px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--on-night-muted); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.steps-light li { border-top-color: var(--line); padding-right: 0; }
.steps-light { grid-template-columns: 1fr; }
.steps-light li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding-block: 20px; }
.steps-light li::before { grid-row: span 2; margin: 0; color: var(--sun-ink); border-color: var(--sun); }
.steps-light p { color: var(--muted); margin-top: 4px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.services article { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--ink); }
.services .icon { width: 30px; height: 30px; color: var(--sea); }
.services p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.bcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bcard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sea-soft); }
.bcard-media img, .bcard-media svg { width: 100%; height: 100%; object-fit: cover; }
.bcard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.bcard-meta { font-size: 13.5px; color: var(--sun-ink); font-weight: 600; }
.bcard-title { font-size: 20px; line-height: 1.25; }
.bcard-title a { color: var(--ink); text-decoration: none; }
.bcard-title a::after { content: ""; position: absolute; inset: 0; }
.bcard:hover .bcard-title a { text-decoration: underline; }
.bcard-excerpt { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 650 18.5px/1.35 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- Contact band + form ---------- */
.contact-band { background: var(--sun); }
.contact-band h2 { color: #1C1405; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-grid > div > * + * { margin-top: 16px; }
.contact-grid > div > p { font-size: 18px; color: #3A2A08; max-width: 46ch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.enquiry { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; box-shadow: var(--shadow); }
.enquiry-h { font-size: 24px; }
.enquiry-intro { color: var(--muted); margin-top: -6px; }
.enquiry .field { display: grid; gap: 6px; }
.enquiry label { font-size: 14.5px; font-weight: 600; }
.enquiry input[type="text"], .enquiry select, .enquiry textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); padding: 11px 14px; font: 400 16px/1.4 var(--f-body); color: var(--ink); }
.enquiry textarea { resize: vertical; min-height: 104px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(30, 106, 122, .18); }
.enquiry .btn { width: 100%; }
.enquiry-small { font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.form-note-ok { background: #E3F3EA; color: var(--ok); }
.form-note-err { background: #FBE9E7; color: var(--err); }

/* ---------- Inner page head ---------- */
.page-head { padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 22ch; margin-top: 14px; }
.page-head .lede { margin-top: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A4B1BC; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sea); text-decoration: underline; }

/* ---------- Listings page ---------- */
.listings { padding-block: 32px 72px; }
.filters { margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 20px; }
.result-count { font: 700 18px var(--f-display); }
.quick-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-filters a { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.quick-filters a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.sort select { min-height: 40px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); padding: 6px 10px; font: 500 15px var(--f-body); color: var(--ink); }
@media (max-width: 700px) { .sort { margin-left: 0; } }
.empty { text-align: left; padding: 48px 0; max-width: 60ch; }
.empty p { color: var(--muted); margin-top: 12px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px !important; }
.pagination ul, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 36px; }
.pagination a, .pagination span, .nav-links a, .nav-links span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); }
.pagination .current, .nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.checklist { list-style: none; display: grid; gap: 22px; }
.checklist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.checklist .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sea-soft); color: var(--sea); }
.checklist h3 { font-size: 18px; }
.checklist p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* ---------- Single listing ---------- */
.listing-head { padding-block: 26px 22px; }
.listing-title-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-top: 14px; }
.listing-title-row h1 { font-size: clamp(30px, 4vw, 48px); max-width: 24ch; }
.listing-place { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 10px; }
.listing-price { text-align: right; }
.price-big { font: 800 clamp(30px, 3.6vw, 42px)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-sub { color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .listing-price { text-align: left; } }
.gallery { display: grid; gap: 10px; border-radius: var(--r-lg); overflow: hidden; }
.gallery.has-many { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 16 / 7; }
.gallery.has-many .gallery-item:first-child { grid-row: span 2; }
.gallery-item { margin: 0; position: relative; min-height: 0; background: var(--sea-soft); }
.gallery-item > img, .gallery-item > svg { width: 100%; height: 100%; object-fit: cover; }
.gallery-art figcaption .icon { width: 22px; height: 22px; flex: none; color: var(--sea); }
.gallery:not(.has-many) .gallery-item { aspect-ratio: 16 / 7; }
.gallery-art figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 10px; max-width: 46ch; background: rgba(255, 255, 255, .94); color: var(--ink); padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.gallery-more { position: absolute; right: 14px; bottom: 14px; }
@media (max-width: 760px) {
	.gallery.has-many { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
	.gallery.has-many .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
	.gallery.has-many .gallery-item { aspect-ratio: 4 / 3; }
	.gallery:not(.has-many) .gallery-item { aspect-ratio: 4 / 3; }
}
.listing-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); padding-block: 40px 80px; align-items: start; }
.listing-main { display: grid; gap: 44px; }
.listing-main h2 { font-size: 26px; margin-bottom: 18px; }
.listing-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { display: grid; gap: 14px; }
.side-card .acard { box-shadow: none; }
@media (max-width: 980px) { .listing-body { grid-template-columns: 1fr; } .listing-side { position: static; } }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--paper); padding: 14px 16px; box-shadow: inset -1px -1px 0 var(--line); }
.facts dt { font-size: 13.5px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 650 18px/1.3 var(--f-display); font-variant-numeric: tabular-nums; }
.facts .is-ask dd { color: var(--sea); font-weight: 500; font-family: var(--f-body); font-size: 16px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--sea); margin-top: 3px; }
.location-box, .costs-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.location-box > * + *, .costs-box > * + * { margin-top: 14px; }
.location-box h2, .costs-box h2 { margin-bottom: 0; }
.costs-box ul { padding-left: 20px; display: grid; gap: 6px; color: var(--ink); }

/* ---------- Prose ---------- */
.prose { font-size: 17.5px; }
.prose > * + *, .prose section > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose section:first-child h2, .prose > h2:first-child { margin-top: 0; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; display: grid; gap: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sun); color: var(--ink-2); font-style: italic; }
.prose img { border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; }
.prose .note { background: var(--sea-soft); padding: 14px 18px; border-radius: 12px; font-size: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.costs th, .costs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.costs th { font-size: 14px; color: var(--muted); font-weight: 600; background: var(--mist); }
.costs tr:last-child td { border-bottom: 0; }

/* ---------- Guides (area + buying) ---------- */
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: 44px 88px; align-items: start; }
.guide-body { max-width: 760px; }
.guide-body section { scroll-margin-top: 96px; }
.guide-body section + section { margin-top: 56px; }
.toc { position: sticky; top: 100px; }
.toc-h { font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-size: 15px; }
.toc a:hover, .toc a.is-active { border-left-color: var(--sun); color: var(--sea); }
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { grid-template-columns: 1fr 1fr; border-left: 0; } .toc a { padding-left: 0; border-left: 0; } }
.stat-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 36px; }
.stat-row li { background: var(--paper); padding: 22px; display: grid; gap: 6px; }
.stat-row strong { font: 800 34px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-row small { font-size: 16px; font-weight: 600; margin-left: 4px; color: var(--muted); }
.stat-row span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.rail-card-wide { margin-block: 24px; }
.hood-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hood-list li { padding: 6px 12px; border-radius: 8px; background: var(--sea-soft); font-size: 15px; }

/* ---------- Agent profile ---------- */
.profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 28px 56px; align-items: start; }
.profile-photo { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--sea-soft); display: grid; place-items: center; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .acard-initials { font-size: 72px; }
.profile-body > * + * { margin-top: 12px; }
.profile-role { color: var(--sea); font-weight: 600; font-size: 18px; }
@media (max-width: 700px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 220px; } }

/* ---------- Contact page ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); padding-block: 44px 88px; align-items: start; }
.contact-ways { display: grid; gap: 12px; }
.way { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.way:hover { border-color: var(--sea); color: var(--ink); }
.way .icon { width: 26px; height: 26px; color: var(--sea); }
.way span { display: grid; font-size: 15.5px; color: var(--muted); overflow-wrap: anywhere; }
.way strong { color: var(--ink); font-size: 17px; }
.way-wa { background: var(--ink); border-color: var(--ink); }
.way-wa .icon { color: var(--sun); }
.way-wa span, .way-wa strong { color: #fff; }
.way-wa:hover { background: var(--ink-2); color: #fff; }
@media (max-width: 900px) { .contact-page { grid-template-columns: 1fr; } }

/* ---------- Blog post ---------- */
.post-head { padding-block: 28px 32px; }
.post-head > * + * { margin-top: 14px; }
.post-meta { font-size: 14.5px; color: var(--muted); }
.post-meta a { color: var(--sun-ink); font-weight: 600; text-decoration: none; }
.post-head h1 { font-size: clamp(32px, 4.6vw, 52px); }
.post-author { font-size: 14.5px; color: var(--muted); }
.post-hero { margin: 0 auto 8px; }
.post-hero img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding-block: 32px 40px; }
.post-cta { margin-bottom: 72px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: var(--r); padding: 26px 28px; }
.post-cta > * + * { margin-top: 10px; }
.post-cta h2 { font-size: 24px; }
.post-cta p { color: var(--muted); }
.legal .updated { color: var(--muted); font-size: 14.5px; }
.legal { padding-block: 40px 80px; }
.search-results { list-style: none; display: grid; gap: 22px; }
.search-results a { font: 650 20px var(--f-display); }
.search-results p { color: var(--muted); margin-top: 4px; }
.notfound { padding-block: clamp(72px, 12vw, 140px); }
.notfound-code { font: 800 18px var(--f-display); color: var(--sun-ink); }
.notfound h1 { margin-top: 10px; }
.notfound .lede { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-top: 64px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; max-width: 38ch; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light .logo-mark .lm-tile { fill: #F2F5F8; }
.brand-light .logo-mark .lm-cut { stroke: #F2F5F8; }
.brand-light .logo-mark .lm-wave { stroke: var(--sea); }
.footer-h { font: 700 15px var(--f-body); color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--sun); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.legal-links { display: flex; gap: 18px; list-style: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp button on phones */
.wa-float { display: none; }
@media (max-width: 760px) {
	.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: #1F9D55; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
	.wa-float:hover { color: #fff; }
	.wa-float .icon { width: 22px; height: 22px; }
	.site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Photos ---------- */
.photo { margin: 28px 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.photo figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.split-copy .photo { margin-top: 28px; }
.soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 1px dashed #B9C8CB; border-radius: var(--r-lg); }
.soon > div { max-width: 60ch; }
.soon h3 { font-size: 22px; }
.soon p { color: var(--muted); margin-top: 8px; }
