/* ==========================================================================
   Müller Living – site styles
   Colours follow the REMAX Brand Identity Manual 2026 (p. 23):
   Bridge Blue #0C2749 · Dark Blue #000E35 · Bridge Red #AA1120
   Primary Red #FF1200 · Primary Blue #0043FF · Sky Blue #A3D4F2
   Cream #F7F5EE · Dark Charcoal #232323. Web typeface: Montserrat (p. 21).
   Fonts are self-hosted (no request to Google).
   ========================================================================== */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/css/fonts/montserrat/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/css/fonts/montserrat/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/css/fonts/montserrat/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/css/fonts/montserrat/montserrat-latin-700-normal.woff2') format('woff2'); }

:root {
    --navy: #0C2749;
    --navy-900: #000E35;
    --red: #AA1120;
    --red-dark: #8A0D1A;
    --red-bright: #FF1200;
    --blue: #0043FF;
    --blue-dark: #0036CC;
    --sky: #A3D4F2;
    --sky-soft: #E6F2FB;
    --cream: #F7F5EE;
    --cream-2: #EFEBDF;
    --ink: #232323;
    --muted: #4F5866;
    --line: #E3DFD3;
    --white: #FFFFFF;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(12, 39, 73, .06), 0 2px 8px rgba(12, 39, 73, .05);
    --shadow: 0 10px 30px rgba(12, 39, 73, .12);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --font: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.icon { flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border-radius: var(--radius-sm); border: 2px solid transparent;
    font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: .01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--navy); text-decoration: none;
    border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--red); }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* ---------- Eyebrows / titles ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sky); }
.eyebrow--center { display: flex; justify-content: center; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); max-width: 18ch; }
.section-title--wide { max-width: 24ch; }
.section-title--light { color: var(--white); }
.page-title { font-size: clamp(2rem, 4vw, 3rem); }
.lead { font-size: 18px; color: var(--muted); line-height: 1.7; }
.small-h { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.small-h--spaced { margin-top: 44px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(12,39,73,.08); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand-logo { width: 140px; height: auto; }
.brand-partner {
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--navy); padding-left: 16px; border-left: 2px solid var(--line);
    line-height: 1.3; max-width: 160px;
}
.nav-toggle {
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; background: transparent; color: var(--navy);
    border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }

.site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(12,39,73,.12);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-open .site-nav { display: block; }
.nav-list { list-style: none; }
.nav-list a {
    display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
    color: var(--navy); text-decoration: none; font-weight: 600; font-size: 17px;
}
.nav-list a[aria-current="page"] { color: var(--red); }
.nav-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px;
    font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }

@media (max-width: 520px) {
    .brand-partner { display: none; }
}

@media (min-width: 1200px) {
    .nav-toggle { display: none; }
    .site-nav {
        display: flex !important; align-items: center; gap: 28px;
        position: static; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none;
        max-height: none; overflow: visible;
    }
    .nav-list { display: flex; gap: 2px; }
    .nav-list a {
        border: 0; padding: 10px 11px; font-size: 15px; position: relative; white-space: nowrap;
    }
    .nav-list a::after {
        content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
        background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
    }
    .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
    .nav-list a[aria-current="page"] { color: var(--navy); }
    .nav-tools { padding: 0; gap: 14px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.07; letter-spacing: -0.025em; max-width: 15ch; }
.hero-sub { margin: 22px 0 32px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 52ch; }
.hero-media { position: relative; }
.hero-img {
    width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-img--portrait { aspect-ratio: 4 / 5; max-height: 640px; object-position: center top; }
.name-card {
    position: absolute; left: clamp(-24px, -2vw, 0px); bottom: 28px;
    background: var(--white); border-radius: var(--radius); padding: 16px 22px;
    box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px;
    border-left: 4px solid var(--red);
}
@media (max-width: 899px) { .name-card { left: 12px; bottom: 12px; } }
.name-card-name { font-weight: 700; color: var(--navy); font-size: 18px; }
.name-card-role { font-size: 13px; color: var(--muted); }

.quick-search {
    margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px;
    background: var(--white); padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); max-width: 620px;
}
.qs-field { flex: 1 1 160px; }
.quick-search select { border: 0; background-color: var(--cream); font-size: 15px; }
.quick-search .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .quick-search .btn { flex: 1 1 100%; } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; padding-block: 34px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 3px solid var(--red-bright); }
.stat-value { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; }
.stat-label { font-size: 14px; color: #C8D3E3; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 8vw, 96px); }
.section--cream { background: var(--cream); }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.remax-more { margin-top: 32px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
    display: flex; flex-direction: column; background: var(--white); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--cream-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
    position: absolute; top: 14px; left: 14px;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--white); background: var(--navy); padding: 6px 10px; border-radius: 4px;
}
.card-tag--rent { background: var(--blue); }
.card-tag--new_building { background: var(--red); }
.card-tag--static { position: static; display: inline-block; margin-bottom: 14px; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-place { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-size: 19px; line-height: 1.3; color: var(--navy); font-weight: 600; letter-spacing: -0.005em; }
.card-facts { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
.card-facts span { display: inline-flex; align-items: center; gap: 6px; }
.card-price { margin-top: auto; padding-top: 10px; font-size: 18px; font-weight: 700; color: var(--navy); }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
    background: var(--white); border: 1px dashed #C9C3B2; border-radius: var(--radius); padding: 48px 24px; color: var(--muted);
}
.empty-state .icon { color: var(--navy); }
.empty-state strong { color: var(--navy); }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.why-card { background: var(--cream); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.why-card--white { background: var(--white); border: 1px solid var(--line); }
.why-icon {
    width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--sky-soft); color: var(--navy);
}
.why-card h3 { font-size: 19px; font-weight: 600; }
.why-card p { font-size: 16px; color: var(--muted); }

/* ---------- Sell band ---------- */
.sell { background: var(--navy-900); color: #DCE3EE; padding: clamp(64px, 8vw, 104px) 0; }
.sell-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .sell-grid { grid-template-columns: 1.1fr .9fr; } }
.sell-text { margin: 18px 0 30px; font-size: 18px; max-width: 54ch; }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.steps li {
    counter-increment: step; display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 18px 20px; color: var(--white); font-weight: 600;
}
.steps li::before {
    content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--red); color: var(--white); font-size: 15px;
}
.step-icon { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .85fr 1.15fr; } }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); max-height: 600px; }
.about-copy .section-title { margin-bottom: 18px; }
.about-copy .lead { margin-bottom: 8px; }
.about-copy .link-arrow { margin-top: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none;
}
.section:not(.section--cream) .chips a { background: var(--cream); border-color: transparent; }
.chips a:hover { border-color: var(--navy); }

.page-hero--about { padding-bottom: clamp(48px, 6vw, 80px); }
.about-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-hero { grid-template-columns: 1.1fr .9fr; } }
.about-role { margin: 10px 0 18px; font-weight: 600; color: var(--red); }
.about-hero .lead { margin: 18px 0 24px; }
.about-hero .btn-row { margin-top: 28px; }
.about-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); max-height: 560px; box-shadow: var(--shadow); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist .icon { color: var(--red); margin-top: 3px; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 16px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.quote-mark { color: var(--red); }
.quote blockquote { margin: 12px 0 18px; font-size: 18px; line-height: 1.6; color: var(--navy); font-weight: 500; }
.quote figcaption { font-size: 14px; color: var(--muted); }

/* ---------- REMAX band ---------- */
.remax-band { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.remax-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .remax-grid { grid-template-columns: .8fr 1.2fr; } }
.remax-brand {
    background: var(--cream); border-radius: var(--radius-lg); padding: 40px 32px;
    min-height: 200px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.remax-logo { width: auto; max-width: 220px; max-height: 80px; margin-bottom: 8px; }
.remax-logo--footer { max-width: 150px; max-height: 50px; margin: 0 0 12px; }
.remax-office { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.remax-address { color: var(--muted); font-size: 15px; }
.remax-copy .section-title { margin-bottom: 16px; }
.remax-copy > p:not(.eyebrow):not(.remax-notice) { color: var(--muted); max-width: 58ch; margin-bottom: 24px; }
.remax-notice { margin-top: 18px; font-size: 13px; color: var(--muted); font-style: italic; }
.remax-grid--single { grid-template-columns: minmax(0, 760px) !important; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #DCE3EE; padding: clamp(56px, 7vw, 88px) 0; }
.cta-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1.2fr .8fr; } }
.cta-text { margin-top: 14px; font-size: 18px; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .cta-actions { align-items: stretch; } }

/* ---------- Page hero / listings ---------- */
.page-hero { background: var(--cream); padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 48px); }
.page-hero--plain { padding-bottom: clamp(32px, 4vw, 48px); }
.type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.type-tabs a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
    background: var(--white); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none;
}
.type-tabs a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.filter-bar {
    display: grid; gap: 14px; align-items: end;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-sm);
}
.filter-bar .field--grow { grid-column: 1 / -1; }
@media (min-width: 1100px) {
    .filter-bar { grid-template-columns: 2fr 1.1fr 1fr 1fr 1fr auto; }
    .filter-bar .field--grow { grid-column: auto; }
}
.filter-actions { display: flex; align-items: center; gap: 16px; }
.filter-reset { font-size: 14px; font-weight: 600; color: var(--muted); }
.results-count { margin: 24px 0 18px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .filter-bar label { font-size: 13px; font-weight: 600; color: var(--navy); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
    width: 100%; min-height: 48px; padding: 11px 14px;
    font-family: var(--font); font-size: 16px; color: var(--ink);
    background: var(--white); border: 1.5px solid #CFC9B9; border-radius: var(--radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
select {
    appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230C2749' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 67, 255, .18); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.form-privacy { font-size: 14px; color: var(--muted); }
.form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { background: var(--sky-soft); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 22px; color: var(--navy); }
.notice--error { background: #FBEAEC; color: #7A0C17; }
.notice--success { display: flex; gap: 12px; align-items: flex-start; background: #E7F4EC; color: #14532D; font-weight: 500; }
.notice--success .icon { margin-top: 2px; }

.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr .8fr; } }
.contact-main .lead { margin-bottom: 26px; }

.contact-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
}
.contact-card .eyebrow { margin-bottom: 0; }
.contact-card--side { background: var(--cream); border: 0; box-shadow: none; }
.contact-brand { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.contact-remax-logo { width: 140px; height: auto; margin: 6px 0 14px; }
.contact-brand strong { color: var(--navy); font-size: 18px; }
.contact-brand span { font-size: 14px; color: var(--muted); }
.contact-person { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.contact-person strong { display: block; color: var(--navy); font-size: 17px; }
.contact-person span { font-size: 14px; color: var(--muted); }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--logo { object-fit: contain; background: var(--white); border: 1px solid var(--line); padding: 6px; }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; word-break: break-all; }
.contact-office { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--red); }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-office-block { border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; color: var(--muted); }
.contact-office-block strong { color: var(--navy); }

/* ---------- Property detail ---------- */
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 16px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.back-link:hover { color: var(--red); }

.gallery-hero { position: relative; display: grid; gap: 10px; }
.gallery-tile { padding: 0; border: 0; background: var(--cream-2); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.03); }
.gallery-tile--0 { aspect-ratio: 3 / 2; }
.gallery-tile--1, .gallery-tile--2 { display: none; }
@media (min-width: 900px) {
    .gallery-hero--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(380px, 42vw, 520px); }
    .gallery-hero--3 .gallery-tile--0 { grid-row: 1 / 3; aspect-ratio: auto; }
    .gallery-hero--3 .gallery-tile--1, .gallery-hero--3 .gallery-tile--2 { display: block; }
    .gallery-hero:not(.gallery-hero--3) .gallery-tile--0 { aspect-ratio: 21 / 9; }
}
.gallery-all {
    position: absolute; right: calc(var(--gutter) + 14px); bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    background: var(--white); color: var(--navy); border: 0; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: var(--shadow-sm);
}

.detail-grid { display: grid; gap: 40px; padding-block: 36px clamp(72px, 9vw, 112px); align-items: start; }
@media (min-width: 1024px) {
    .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
    .detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.detail-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; }
.detail-place { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-weight: 500; }
.detail-price { margin-top: 14px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--navy); }
.facts { display: grid; gap: 12px; margin: 28px 0 0; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fact { background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; }
.fact--wide { grid-column: span 2; }
@media (max-width: 400px) { .fact--wide { grid-column: auto; } }
.fact dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; color: var(--navy); }
.detail-section { margin-top: 48px; }
.detail-h { font-size: 22px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.map { height: 380px; border-radius: var(--radius); overflow: hidden; z-index: 0; }
.map-link { margin-top: 16px; }

.mobile-bar { display: none; }
@media (max-width: 1023px) {
    .view-property_view .mobile-bar {
        display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
        background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(12,39,73,.08);
    }
    .view-property_view .mobile-bar .btn-outline { width: 52px; padding: 0; flex: none; }
    .view-property_view .btn-grow { flex: 1; }
    .view-property_view .site-footer { padding-bottom: 84px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 100000; background: rgba(0, 14, 53, .94);
    display: flex; align-items: center; justify-content: center; padding: 64px 16px;
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-btn {
    position: absolute; display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.12); color: var(--white);
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #DCE3EE; font-size: 14px; font-weight: 600; }

/* ---------- Prose (CMS content) ---------- */
.prose { color: #333; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; margin-top: 1.8em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; }
.prose h4 { font-size: 17px; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--red); color: var(--navy); }
.prose a { word-break: break-word; }

.notfound { text-align: left; }
.notfound .lead { margin: 18px 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); color: var(--ink); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; gap: 40px; padding-block: 56px 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr; } }
.footer-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-bottom: 18px; }
.footer-logo { width: 140px; }
.footer-logos-divider { width: 1px; align-self: stretch; min-height: 44px; background: var(--line); }
/* REMAX logotype: clear space of at least half the "X" height on all sides (brand manual p. 9) */
.footer-remax-logo { width: 130px; height: auto; padding: 8px 0; }
.footer-tag { color: var(--muted); margin-bottom: 16px; }
.footer-person { margin-bottom: 14px; line-height: 1.5; }
.footer-person strong { color: var(--navy); }
.footer-contact { list-style: none; display: grid; gap: 8px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--red); }
.footer-contact a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-all; }
.footer-h { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--red); }
.footer-office address { line-height: 1.6; color: var(--muted); }
.footer-office address strong { color: var(--navy); }
.footer-office address a { color: var(--navy); }
.footer-remax-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: var(--navy); }
.footer-office .remax-notice { margin-top: 12px; }
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a, .footer-legal .linklike { color: var(--muted); }

/* ---------- Reveal animation (only when JS is running) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .mobile-bar, .gallery-all, .cta, .remax-band, .detail-aside .btn { display: none !important; }
    body { font-size: 12pt; }
}
