/*
Theme Name: Quality Mobile Home Sales
Description: Custom theme for Quality Mobile Home Sales Inc. Listings, financing and inquiry forms.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: qmh
*/

@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
    --navy: #0c274b;
    --navy-deep: #081b35;
    --navy-soft: #1d3d6b;
    --ink: #18222f;
    --muted: #5a6675;
    --line: #e3ded4;
    --paper: #f7f4ed;
    --white: #fff;
    --gold: #e0a93b;
    --gold-deep: #c98f1f;
    --red: #a3382c;
    --green: #1f6b4a;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(12, 39, 75, .06), 0 8px 24px rgba(12, 39, 75, .08);
    --shadow-lg: 0 2px 4px rgba(12, 39, 75, .06), 0 18px 44px rgba(12, 39, 75, .16);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.ico { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 880px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding-top: 36px; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #d8e0ec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head--center { display: block; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section__head--center h2 { margin-bottom: .45em; }
.lead { font-size: 1.14rem; color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px; }
.eyebrow--light { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(224, 169, 59, .32); }
.btn--gold:hover { background: #ecb84e; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .ico { transition: transform .15s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #c9d4e4; font-size: .86rem; }
.topbar__in { display: flex; align-items: center; gap: 26px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar__phone { margin-left: auto; color: #fff; font-weight: 700; }
.topbar__phone:hover { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 68px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: .98rem; }
.menu a:hover { background: var(--paper); color: var(--navy); }
.menu .current-menu-item > a, .menu .current_page_item > a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; content: ""; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; right: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); min-height: min(720px, 82vh); display: flex; align-items: center; padding: 72px 0 84px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(8, 27, 53, .94) 0%, rgba(8, 27, 53, .82) 38%, rgba(8, 27, 53, .35) 72%, rgba(8, 27, 53, .15) 100%); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: #dbe3ef; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 38px; font-size: .95rem; color: #c9d4e4; }
.hero__quick a { color: #fff; text-decoration: none; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; transition: background-color .15s ease; }
.hero__quick a:hover { background: rgba(255, 255, 255, .26); }

/* Stats */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__in > div { padding: 30px 24px; border-left: 1px solid var(--line); }
.stats__in > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.stats span { color: var(--muted); font-size: .96rem; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: #e9e5db; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__noimg { display: grid; place-items: center; height: 100%; color: #a9a497; }
.card__tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.card__tag--sold { background: var(--red); color: #fff; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__title { font-size: 1.28rem; margin: 0; }
.card__price { font-weight: 800; color: var(--navy); font-size: 1.12rem; white-space: nowrap; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.specs li { display: inline-flex; align-items: center; gap: 7px; }
.specs b { color: var(--ink); font-weight: 700; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.feature__ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--gold); margin-bottom: 20px; }
.feature p { color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; grid-template-columns: 1.15fr .85fr; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__body p { color: var(--muted); }
.split__body .btn { margin-top: 10px; }
.checks { display: grid; gap: 11px; margin: 20px 0 22px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; font-weight: 500; }
.checks .ico { color: var(--green); margin-top: 4px; }
.checks--light .ico { color: var(--gold); }
.checks--light li { color: #e7ecf4; }

.finance { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.finance p { max-width: 52ch; margin-bottom: 26px; }
.finance__card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 30px; }
.finance__card h3 { margin-bottom: 0; }

/* CTA band + footer */
.cta-band { background: var(--navy-soft); background-image: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%); color: #dbe3ef; padding: 54px 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 50ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer { background: var(--navy-deep); color: #b6c2d4; font-size: .97rem; padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .7fr 1.5fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.site-footer a { color: #dbe3ef; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; }
.site-footer__logo img { height: 92px; width: auto; }
.site-footer__links li + li, .site-footer__contact li + li { margin-top: 10px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.site-footer__contact .ico { margin-top: 4px; color: var(--gold); }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; padding-bottom: 26px; font-size: .88rem; }
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }
.hours--footer dt { color: #dbe3ef; font-weight: 500; }
.hours--footer dt, .hours--footer dd { white-space: nowrap; }
.hours--footer { font-size: .93rem; }
.site-footer__contact a { font-size: .93rem; }

/* Page hero */
.phero { background: var(--navy); background-image: radial-gradient(1200px 380px at 85% -10%, rgba(224, 169, 59, .18), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #dbe3ef; padding: clamp(48px, 7vw, 84px) 0; }
.phero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 20ch; margin-bottom: .35em; }
.phero__lead { font-size: 1.14rem; max-width: 60ch; margin: 0; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.filters__search { display: flex; align-items: center; gap: 9px; flex: 1 1 240px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; color: var(--muted); }
.filters__search input { border: 0; outline: 0; background: transparent; padding: 11px 0; width: 100%; color: var(--ink); }
.filters__search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 39, 75, .12); }
.chips { display: flex; gap: 6px; border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; padding: 10px 16px; min-width: 46px; text-align: center; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.chip span:hover { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.filters__select select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230c274b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; border: 1px solid var(--line); border-radius: 999px; padding: 11px 40px 11px 18px; font-weight: 600; cursor: pointer; max-width: 100%; }
.results { margin: 22px 0 18px; color: var(--muted); }
.results b { color: var(--ink); }
.more { text-align: center; margin-top: 40px; }
.empty { text-align: center; padding: 56px 20px; background: var(--paper); border-radius: var(--radius); }

/* Single property */
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; font-size: .92rem; color: var(--muted); padding-top: 22px; padding-bottom: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.prop { padding: 14px 0 72px; }
.prop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.prop__head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 10px 0 8px; }
.prop__loc { display: flex; align-items: center; gap: 7px; color: var(--muted); margin: 0; }
.prop__price { text-align: right; }
.prop__price span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.prop__price b { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy); line-height: 1.1; }
.badge { display: inline-block; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.badge--sold { background: var(--red); border-color: var(--red); color: #fff; }

.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(320px, 46vw, 560px); border-radius: var(--radius); overflow: hidden; }
.gallery__item { position: relative; display: block; overflow: hidden; background: #e9e5db; }
.gallery__item:first-child { grid-row: 1 / -1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .2s ease; }
.gallery__item:hover img { transform: scale(1.03); filter: brightness(.94); }
.gallery__item--extra { display: none; }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery--4 .gallery__item:nth-child(2) { grid-column: 2 / 4; }
.gallery__all { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .96); color: var(--navy); font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }

.prop__cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); margin-top: 36px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.facts li { display: flex; align-items: center; gap: 11px; padding: 18px 16px; color: var(--navy); box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.facts b { display: block; font-size: 1.12rem; line-height: 1.2; color: var(--ink); }
.facts span { font-size: .86rem; color: var(--muted); }
.prose { margin-top: 40px; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.7rem; }
.prose h3, .prose h4 { margin-top: 1.4em; font-size: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .3em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.prose img { border-radius: var(--radius-sm); }
.steps { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.steps h2 { font-size: 1.7rem; }
.steps ol, .numbered { counter-reset: s; display: grid; gap: 18px; margin-top: 22px; }
.steps li, .numbered li { counter-increment: s; position: relative; padding-left: 58px; min-height: 42px; }
.steps li::before, .numbered li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.steps li b, .numbered li b { display: block; color: var(--ink); }
.steps li span, .numbered li span { color: var(--muted); }
.prop__side { position: sticky; top: 108px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); background: #fff; display: grid; gap: 12px; }
.contact-card h2 { font-size: 1.35rem; margin: 0; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card__price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--navy) !important; line-height: 1; }
.contact-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; padding: 8px; }
.contact-card__meta { font-size: .9rem; text-align: center; padding-top: 12px; border-top: 1px solid var(--line); }
.sticky-cta { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 14, 28, .96); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(94vw, 1500px); max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .15s ease; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #dbe3ef; font-size: .92rem; font-weight: 600; }

/* Panels, story, contact */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel p { color: var(--muted); }
.panel__foot { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink) !important; }
.numbered { margin-top: 28px; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.story__n { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-deep); line-height: 1; margin-bottom: 16px; }
.story p { color: var(--muted); margin: 0; }
.split--flip .split__media { order: 0; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__info h2 { font-size: 1.9rem; }
.contact__info h3 { margin-top: 34px; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.contact__list { display: grid; gap: 18px; margin-top: 24px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--gold); flex: none; }
.contact__list div > span { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact__list a, .contact__list b { font-size: 1.12rem; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; }
.contact .hours { max-width: 360px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form__title { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 0 0 16px; }
.form__title:not(:first-of-type) { margin-top: 32px; }
.form__title--lg { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.01em; text-transform: none; color: var(--navy); font-weight: 600; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field > span { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 7px; }
.field i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfc9bc; border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230c274b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 39, 75, .14); }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 22px 0; font-size: .96rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form .btn { margin-top: 22px; }
.consent + .btn { margin-top: 0; }
.form__note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; }
.notice--ok { background: #e8f4ed; color: #154d35; border: 1px solid #b9dcc8; }
.notice--err { background: #fbeceA; color: #7c261d; border: 1px solid #efc4bd; }

/* Responsive */
@media (max-width: 1080px) {
    .grid, .features, .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .prop__cols { grid-template-columns: minmax(0, 1fr) 320px; }
    .site-nav { gap: 14px; }
    .menu a { padding: 10px 10px; }
}
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 24px 24px; display: none; }
    .nav-open .site-nav { display: flex; }
    .menu { flex-direction: column; align-items: stretch; gap: 2px; }
    .menu a { padding: 13px 14px; font-size: 1.05rem; border-radius: 10px; }
    .menu .current-menu-item > a, .menu .current_page_item > a { box-shadow: inset 3px 0 0 var(--gold); background: var(--paper); }
    .site-header__in { min-height: 70px; }
    .brand img { height: 54px; }
    .topbar__hours { display: none; }
    .split, .split--top, .finance, .contact, .prop__cols { grid-template-columns: 1fr; }
    .split--flip .split__media { order: -1; }
    .stats__in { grid-template-columns: 1fr 1fr; }
    .stats__in > div { padding: 22px 16px; }
    .stats__in > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stats__in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .prop__side { position: static; }
    .hero::after { background: linear-gradient(180deg, rgba(8, 27, 53, .9) 0%, rgba(8, 27, 53, .8) 60%, rgba(8, 27, 53, .7) 100%); }
    .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(12, 39, 75, .1); }
    .single-property .site-footer { padding-bottom: 76px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .grid, .features, .story, .site-footer__grid, .form__grid { grid-template-columns: minmax(0, 1fr); }
    .grid { gap: 20px; }
    .gallery, .gallery--3, .gallery--4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
    .gallery__item { aspect-ratio: 4 / 3; }
    .gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
    .gallery--4 .gallery__item:nth-child(2) { grid-column: auto; }
    .gallery--5 .gallery__item:nth-child(3), .gallery--5 .gallery__item:nth-child(4), .gallery--4 .gallery__item:nth-child(4) { display: none; }
    .gallery--1, .gallery--2 { grid-template-columns: 1fr; }
    .filters { padding: 12px; }
    .chips { width: 100%; }
    .chip { flex: 1; }
    .chip span { padding: 10px 6px; }
    .filters__select { flex: 1 1 100%; }
    .filters__select select { width: 100%; }
    .hero { padding: 52px 0 60px; min-height: 0; }
    .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
    .cta-band__actions { width: 100%; }
    .prop__price { text-align: left; }
    .site-footer__base { flex-direction: column; }
    .topbar__in { gap: 14px; font-size: .8rem; }
    .lightbox__prev { left: 6px; }
    .lightbox__next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
