/* ==========================================================================
   ZRE Website 2.0 — header, footer, listing pages, quiz, cards.
   Scoped under .zre-hp so the RealHomes theme is untouched.
   Brand: navy #0a1f36 / accent #0b2a4a / gold #f0c674. Rounded corners throughout.
   ========================================================================== */

/* Resets the theme might override ------------------------------------- */
.zre-hp button, .zre-hp input, .zre-hp textarea, .zre-hp select { font: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; margin: 0; }
.zre-hp button { cursor: pointer; }
.zre-hp ul, .zre-hp ol { margin: 0; padding: 0; }
.zre-hp li { list-style: none; margin: 0; padding: 0; }
.zre-hp h1, .zre-hp h2, .zre-hp h3, .zre-hp h4, .zre-hp h5, .zre-hp h6 { font-family: inherit; color: inherit; text-transform: none; }
.zre-hp fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.zre-hp legend { padding: 0; }
.zre-hp .zre-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zre-hp .zre-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zre-hp [hidden] { display: none !important; }
.zre-hp :focus-visible { outline: 2px solid #0b5cad; outline-offset: 2px; }
body.zre-listing-page { margin: 0; background: #fff; }

/* Shared buttons -------------------------------------------------------- */
.zre-hp .zre-btn--navy { background: var(--zre-accent); color: #fff; }
.zre-hp .zre-btn--navy:hover { color: #fff; }
.zre-hp .zre-btn--line { background: #fff; border-color: var(--zre-line); color: var(--zre-ink); }
.zre-hp .zre-btn--line:hover { color: var(--zre-ink); border-color: #86868b; }
.zre-hp .zre-btn--block { display: flex; width: 100%; min-height: 50px; font-size: 17px; }
.zre-hp .zre-btn--lg { min-height: 54px; padding: 0 34px; font-weight: 600; }
.zre-hp .zre-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 980px; border: 1px solid var(--zre-line); background: #fff; color: var(--zre-ink); font-size: 14px; line-height: 1; }
.zre-hp .zre-pill:hover { color: var(--zre-ink); text-decoration: none; border-color: #86868b; }
.zre-hp .zre-pill--icon { min-height: 48px; font-size: 15px; }
.zre-hp .zre-muted { color: var(--zre-muted); }

/* Header ---------------------------------------------------------------- */
.zre-hp .zre-hdr { position: sticky; top: 0; z-index: 999; background: rgba(251, 251, 253, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid #e5e5ea; }
body.admin-bar .zre-hp .zre-hdr { top: 32px; }
.zre-hp .zre-hdr__in { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 16px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; }
.zre-hp .zre-hdr__brand { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--zre-ink); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.zre-hp .zre-hdr__brand:hover { color: var(--zre-ink); text-decoration: none; }
.zre-hp .zre-hdr__brand { gap: 10px; }
.zre-hp .zre-hdr__brand img { width: 30px; height: 30px; }
.zre-hp .zre-wordmark { font-size: 16px; font-weight: 400; letter-spacing: -.01em; color: #6e6e73; white-space: nowrap; }
.zre-hp .zre-wordmark strong { font-weight: 700; color: var(--zre-navy); }
.zre-hp .zre-hdr__panel { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.zre-hp .zre-hdr__menu { display: flex; align-items: center; justify-content: center; flex: 1; gap: 0 6px; }
.zre-hp .zre-hdr__item { position: relative; display: flex; align-items: center; }
.zre-hp .zre-hdr__link { display: block; padding: 15px 4px 15px 10px; font-size: 13px; color: var(--zre-ink); white-space: nowrap; }
.zre-hp .zre-hdr__item:not(.zre-hdr__item--has-sub) .zre-hdr__link { padding-right: 10px; }
.zre-hp .zre-hdr__link:hover { color: var(--zre-ink); text-decoration: none; opacity: .7; }
.zre-hp .zre-hdr__toggle { display: flex; align-items: center; justify-content: center; width: 24px; height: 44px; border: 0; background: transparent; color: #6e6e73; padding: 0; }
.zre-hp .zre-hdr__toggle svg { transition: transform .2s ease; }
.zre-hp .zre-hdr__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.zre-hp .zre-hdr__sub { position: absolute; top: 100%; left: -6px; min-width: 260px; padding: 10px; background: #fff; border: 1px solid #e5e5ea; border-radius: 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.zre-hp .zre-hdr__item--has-sub:hover > .zre-hdr__sub,
.zre-hp .zre-hdr__item--has-sub:focus-within > .zre-hdr__sub,
.zre-hp .zre-hdr__item--has-sub.is-open > .zre-hdr__sub { opacity: 1; visibility: visible; transform: none; }
.zre-hp .zre-hdr__sub a { display: block; padding: 11px 14px; border-radius: 12px; font-size: 15px; color: var(--zre-ink); }
.zre-hp .zre-hdr__sub a:hover { background: #f5f5f7; text-decoration: none; color: var(--zre-ink); }
.zre-hp .zre-hdr__sub3 a { padding-left: 28px; font-size: 14px; color: var(--zre-muted); }
.zre-hp .zre-hdr__actions { display: flex; align-items: center; gap: 10px; }
.zre-hp .zre-hdr__search { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; color: var(--zre-ink); }
.zre-hp .zre-hdr__search:hover { color: var(--zre-ink); text-decoration: none; opacity: .7; }
.zre-hp .zre-hdr__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Ask ZAI pill (replaces the search icon on desktop; search stays in the phone menu) */
.zre-hp .zre-hdr__zai { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px 0 10px; border: 1px solid #d2d2d7; border-radius: 980px; background: #fff; color: var(--zre-ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.zre-hp .zre-hdr__zai img { width: 18px; height: 18px; }
.zre-hp .zre-hdr__zai:hover { color: var(--zre-ink); text-decoration: none; border-color: var(--zre-navy); }
.zre-hp .zre-hdr__zai + .zre-btn { margin-left: 2px; }
.zre-hp .zre-hdr__actions:has(.zre-hdr__zai) .zre-hdr__search { display: none; }
.zre-hp .zre-hdr__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--zre-ink); align-items: center; justify-content: center; padding: 0; }
.zre-hp .zre-hdr__burger path { transition: transform .2s ease; transform-origin: center; }
.zre-hp .zre-hdr__burger[aria-expanded="true"] .zre-hdr__burger-top { transform: translateY(4px) rotate(45deg); }
.zre-hp .zre-hdr__burger[aria-expanded="true"] .zre-hdr__burger-bot { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
	.zre-hp .zre-hdr__burger { display: flex; }
	.zre-hp .zre-hdr__panel { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 52px); overflow-y: auto; padding: 8px 16px 24px; background: #fff; border-bottom: 1px solid #e5e5ea; box-shadow: 0 24px 40px rgba(0, 0, 0, .08); }
	.zre-hp .zre-hdr.is-open .zre-hdr__panel { display: flex; }
	.zre-hp .zre-hdr__menu { flex-direction: column; align-items: stretch; }
	.zre-hp .zre-hdr__item { flex-wrap: wrap; border-bottom: 1px solid #f0f0f2; }
	.zre-hp .zre-hdr__link { flex: 1; padding: 16px 0; font-size: 19px; font-weight: 600; }
	.zre-hp .zre-hdr__toggle { width: 48px; height: 56px; }
	.zre-hp .zre-hdr__sub { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.zre-hp .zre-hdr__item--has-sub:hover > .zre-hdr__sub, .zre-hp .zre-hdr__item--has-sub:focus-within > .zre-hdr__sub { display: none; }
	.zre-hp .zre-hdr__item--has-sub.is-open > .zre-hdr__sub { display: block; }
	.zre-hp .zre-hdr__sub a { padding: 12px 0; font-size: 17px; color: #424245; }
	.zre-hp .zre-hdr__actions { margin-top: 20px; justify-content: space-between; }
	.zre-hp .zre-hdr__search-label { position: static; width: auto; height: auto; clip: auto; font-size: 15px; }
	.zre-hp .zre-hdr__actions .zre-btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
	.zre-hp .zre-hdr__actions { flex-wrap: wrap; gap: 12px; }
	.zre-hp .zre-hdr__actions:has(.zre-hdr__zai) .zre-hdr__search { display: flex; flex-basis: 100%; justify-content: flex-start; }
	.zre-hp .zre-hdr__zai { min-height: 44px; padding: 0 20px 0 14px; font-size: 15px; }
}
@media (max-width: 782px) { body.admin-bar .zre-hp .zre-hdr { top: 46px; } }

/* Footer (navy) --------------------------------------------------------- */
.zre-hp .zre-foot { background: var(--zre-navy); color: var(--zre-on-navy); padding: 72px 16px 36px; font-size: 14px; }
.zre-hp .zre-foot__in { max-width: 1040px; margin: 0 auto; }
.zre-hp .zre-foot a { color: #c9d1dc; }
.zre-hp .zre-foot a:hover { color: #fff; }
.zre-hp .zre-foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.zre-hp .zre-foot__brand { display: flex; flex-direction: column; gap: 14px; }
.zre-hp .zre-foot__brand a { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.zre-hp .zre-foot__brand a:hover { text-decoration: none; color: #fff; }
.zre-hp .zre-foot__brand img { width: 40px; height: 40px; }
.zre-hp .zre-foot__groups { display: flex; flex-direction: column; gap: 12px; }
.zre-hp .zre-foot__groups > div { display: flex; flex-wrap: wrap; gap: 10px; }
.zre-hp .zre-foot__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--zre-gold); }
.zre-hp .zre-foot__pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 980px; border: 1px solid rgba(255, 255, 255, .4); color: #fff !important; font-size: 15px; font-weight: 600; }
.zre-hp .zre-foot__pill--solid { background: #fff; border-color: #fff; color: var(--zre-navy) !important; }
.zre-hp .zre-foot__pill:hover { text-decoration: none; opacity: .9; }
.zre-hp .zre-foot__cols { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.zre-hp .zre-foot__col { display: flex; flex-direction: column; gap: 10px; }
.zre-hp .zre-foot__head { margin-bottom: 6px; font-weight: 600; color: #fff; }
.zre-hp .zre-foot__base { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 13px; }
.zre-hp .zre-foot__social { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Breadcrumb bar -------------------------------------------------------- */
.zre-hp .zre-crumbs { border-bottom: 1px solid #f0f0f2; }
.zre-hp .zre-crumbs__in { max-width: 1180px; margin: 0 auto; padding: 6px 16px; min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.zre-hp .zre-crumbs__path { font-size: 13px; color: var(--zre-muted); }
.zre-hp .zre-crumbs__path a { color: var(--zre-muted); }
.zre-hp .zre-crumbs__here { color: var(--zre-ink); }

/* Gallery --------------------------------------------------------------- */
.zre-hp .zre-gal { max-width: 1180px; margin: 0 auto; padding: 24px 16px 0; }
.zre-hp .zre-gal__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 226px 226px; gap: 8px; border-radius: 24px; overflow: hidden; }
.zre-hp .zre-gal__item { display: block; padding: 0; border: 0; background: #ececf0; height: 100%; min-height: 0; overflow: hidden; }
.zre-hp .zre-gal__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zre-hp .zre-gal__item:hover img { transform: scale(1.02); }
.zre-hp .zre-gal__main { grid-row: span 2; }
.zre-hp .zre-gal__grid--c1 { grid-template-columns: 1fr; grid-template-rows: 520px; }
.zre-hp .zre-gal__grid--c1 .zre-gal__main { grid-row: auto; }
.zre-hp .zre-gal__grid--c2 { grid-template-columns: 1fr 1fr; grid-template-rows: 460px; }
.zre-hp .zre-gal__grid--c2 .zre-gal__main { grid-row: auto; }
.zre-hp .zre-gal__grid--c3 { grid-template-columns: 2fr 1fr; }
.zre-hp .zre-gal__grid--c4 .zre-gal__item:last-child { grid-column: span 2; }
.zre-hp .zre-gal__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #f5f5f7; color: var(--zre-muted); font-size: 15px; grid-column: 1 / -1; }
.zre-hp .zre-gal__empty img { width: 64px; height: 64px; opacity: .35; }
.zre-hp .zre-gal__bar { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* Body layout ----------------------------------------------------------- */
.zre-hp .zre-l__body { max-width: 1180px; margin: 0 auto; padding: 32px 16px 0; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.zre-hp .zre-l__main { flex: 999 1 560px; min-width: 0; }
.zre-hp .zre-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zre-hp .zre-chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 980px; background: #f5f5f7; color: var(--zre-ink); }
.zre-hp .zre-chip--blue { background: #eef4fb; color: var(--zre-accent); }
.zre-hp .zre-chip--navy { background: var(--zre-navy); color: var(--zre-gold); }
.zre-hp .zre-l__h1 { margin: 16px 0 0; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; color: var(--zre-ink); }
.zre-hp .zre-l__h1 span { color: var(--zre-soft); }
.zre-hp .zre-l__address { margin-top: 14px; font-size: 19px; color: var(--zre-muted); }
.zre-hp .zre-l__section { margin-top: 56px; scroll-margin-top: 80px; }
.zre-hp .zre-l__h2 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--zre-ink); }
.zre-hp .zre-l__sub { margin: 32px 0 12px; }
.zre-hp .zre-l__lead { margin-top: 8px; font-size: 16px; color: var(--zre-muted); }
.zre-hp .zre-l__small { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--zre-muted); }

/* Description: keeps the listing's own text (and its SEO headings). */
.zre-hp .zre-l__content { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #424245; }
.zre-hp .zre-l__content > * + * { margin-top: 14px; }
.zre-hp .zre-l__content h2, .zre-hp .zre-l__content h3, .zre-hp .zre-l__content h4, .zre-hp .zre-l__content h5, .zre-hp .zre-l__content h6 { margin-top: 24px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--zre-ink); }
.zre-hp .zre-l__content > :first-child { margin-top: 0; }
.zre-hp .zre-l__content ul, .zre-hp .zre-l__content ol { padding-left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px 20px; }
.zre-hp .zre-l__content li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.45; }
.zre-hp .zre-l__content li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--zre-accent); }
.zre-hp .zre-l__content strong { color: var(--zre-ink); }
.zre-hp .zre-l__content img { border-radius: 18px; }

/* Facts */
.zre-hp .zre-facts { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border-top: 1px solid #e5e5ea; border-bottom: 1px solid #e5e5ea; }
.zre-hp .zre-facts > div { padding: 20px 0; }
.zre-hp .zre-facts__v { font-size: 28px; font-weight: 700; color: var(--zre-ink); }
.zre-hp .zre-facts__l { margin-top: 2px; font-size: 13px; color: var(--zre-muted); }

/* Rows (details / how it earns) */
.zre-hp .zre-rows { margin-top: 20px; border: 1px solid #e5e5ea; border-radius: 22px; overflow: hidden; }
.zre-hp .zre-rows__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 16px 22px; border-bottom: 1px solid #f0f0f2; font-size: 15px; }
.zre-hp .zre-rows__row:last-child { border-bottom: 0; }
.zre-hp .zre-rows__row p:first-child { color: var(--zre-muted); }
.zre-hp .zre-rows__row p:last-child { font-weight: 600; text-align: right; }

/* Income band */
.zre-hp .zre-band { margin-top: 28px; background: var(--zre-navy); color: #f5f5f7; border-radius: 28px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; }
.zre-hp .zre-band__yield { flex: 1 1 200px; }
.zre-hp .zre-band__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--zre-on-navy); }
.zre-hp .zre-band__big { margin-top: 6px; font-size: clamp(64px, 7vw, 96px); line-height: .95; font-weight: 700; letter-spacing: -.05em; color: var(--zre-gold); }
.zre-hp .zre-band__grid { flex: 2 1 320px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.zre-hp .zre-band__v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-band__l { margin-top: 4px; font-size: 13px; color: var(--zre-on-navy); }
.zre-hp .zre-band__note { flex: 1 1 100%; font-size: 13px; color: var(--zre-on-navy); }

/* Income table */
.zre-hp .zre-table { border: 1px solid #e5e5ea; border-radius: 22px; overflow: hidden; }
.zre-hp .zre-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; padding: 14px 22px; border-top: 1px solid #f0f0f2; font-size: 15px; }
.zre-hp .zre-table__row > span:not(:first-child) { text-align: right; }
.zre-hp .zre-table__row small { color: var(--zre-muted); font-size: 13px; }
.zre-hp .zre-table__head { border-top: 0; padding: 12px 22px; background: #f5f5f7; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--zre-muted); }
.zre-hp .zre-table__total { border-top: 1px solid #e5e5ea; font-weight: 700; background: #fbfbfd; }

/* Calculator */
.zre-hp .zre-calc { margin-top: 56px; background: #f5f5f7; border-radius: 28px; padding: 32px; }
.zre-hp .zre-calc__title { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--zre-ink); }
.zre-hp .zre-calc__prompt { margin-top: 8px; font-size: 16px; color: var(--zre-muted); }
.zre-hp .zre-calc__occ { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.zre-hp .zre-calc__occ button { min-height: 44px; padding: 0 18px; border-radius: 980px; border: 1px solid var(--zre-line); background: #fff; color: var(--zre-ink); font-size: 15px; font-weight: 600; }
.zre-hp .zre-calc__occ button[aria-checked="true"] { border-color: var(--zre-ink); background: var(--zre-ink); color: #fff; }
.zre-hp .zre-calc__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.zre-hp .zre-calc__grid > div { background: #fff; border-radius: 18px; padding: 18px; }
.zre-hp .zre-calc__grid p:first-child { font-size: 13px; color: var(--zre-muted); }
.zre-hp .zre-calc__grid p:last-child { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--zre-ink); }
.zre-hp .zre-calc__grid .zre-calc__accent { color: var(--zre-accent) !important; }

/* Why / checks / docs / floorplan / video / map */
.zre-hp .zre-why { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.zre-hp .zre-why > div { border: 1px solid #e5e5ea; border-radius: 20px; padding: 22px; }
.zre-hp .zre-why__t { font-size: 18px; font-weight: 600; color: var(--zre-ink); }
.zre-hp .zre-why__b { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--zre-muted); }
.zre-hp .zre-checks { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.zre-hp .zre-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.zre-hp .zre-checks svg { flex: 0 0 20px; margin-top: 2px; }
.zre-hp .zre-docs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.zre-hp .zre-fp { margin-top: 20px; display: grid; gap: 16px; }
.zre-hp .zre-fp__item { margin: 0; background: #f5f5f7; border-radius: 22px; padding: 16px; }
.zre-hp .zre-fp__item img { width: 100%; max-height: 640px; object-fit: contain; border-radius: 12px; background: #fff; }
.zre-hp .zre-fp__item figcaption { margin-top: 10px; font-size: 14px; color: var(--zre-muted); }
.zre-hp .zre-fp__request { margin-top: 20px; min-height: 200px; border-radius: 22px; background: #f5f5f7; border: 1px dashed var(--zre-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; color: var(--zre-muted); font-size: 16px; }
.zre-hp .zre-video { position: relative; display: block; width: 100%; margin-top: 20px; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.zre-hp .zre-video img, .zre-hp .zre-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.zre-hp .zre-video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--zre-navy); display: flex; align-items: center; justify-content: center; }
.zre-hp .zre-map { display: block; width: 100%; height: 340px; margin-top: 20px; border: 0; border-radius: 22px; background: #ececf0; }
.zre-hp .zre-snap { margin-top: 56px; background: #f5f5f7; border-radius: 24px; padding: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.zre-hp .zre-snap__title { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.zre-hp .zre-snap a { font-size: 15px; }

/* Ask ZAI bar */
.zre-hp .zre-zai-bar { margin-top: 40px; display: flex; align-items: center; gap: 12px; border: 1px solid #e5e5ea; border-radius: 980px; padding: 6px 6px 6px 18px; scroll-margin-top: 90px; }
.zre-hp .zre-zai-bar img { width: 26px; height: 26px; }
.zre-hp .zre-zai-bar input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; color: var(--zre-ink); outline: none; padding: 0; }
.zre-hp .zre-zai-bar button { flex: 0 0 46px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--zre-navy); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }

/* Side card */
.zre-hp .zre-side { flex: 1 1 340px; min-width: 0; position: sticky; top: 72px; border: 1px solid #e5e5ea; border-radius: 24px; padding: 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, .06); background: #fff; }
body.admin-bar .zre-hp .zre-side { top: 104px; }
.zre-hp .zre-side__label { font-size: 13px; color: var(--zre-muted); }
.zre-hp .zre-side__price { margin-top: 4px; font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--zre-ink); }
.zre-hp .zre-side__was { margin-top: 4px; font-size: 14px; color: var(--zre-muted); }
.zre-hp .zre-side__nums { margin-top: 18px; padding: 16px 0; border-top: 1px solid #f0f0f2; border-bottom: 1px solid #f0f0f2; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.zre-hp .zre-side__nums div { display: flex; justify-content: space-between; gap: 12px; }
.zre-hp .zre-side__nums span { color: var(--zre-muted); }
.zre-hp .zre-side__yield { color: var(--zre-accent); }
.zre-hp .zre-side__actions { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.zre-hp .zre-side__link { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 15px; }
.zre-hp .zre-side__alert { min-height: 44px; border: 0; border-top: 1px solid #f0f0f2; background: transparent; font-size: 15px; color: var(--zre-link); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0 0; }
.zre-hp .zre-side__agent { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid #f0f0f2; }
.zre-hp .zre-side__agent img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.zre-hp .zre-side__agent > div { flex: 1; }
.zre-hp .zre-side__agent-name { font-size: 15px; font-weight: 600; }
.zre-hp .zre-side__agent-role { font-size: 13px; color: var(--zre-muted); }
.zre-hp .zre-side__agent a { font-size: 14px; }
.zre-hp .zre-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--zre-navy); color: var(--zre-gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.zre-hp .zre-avatar--lg { width: 96px; height: 96px; font-size: 30px; }

/* Mini forms */
.zre-hp .zre-mini { background: #f5f5f7; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.zre-hp .zre-mini__title { font-size: 15px; font-weight: 600; }
.zre-hp .zre-mini label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: #424245; }
.zre-hp .zre-mini input { height: 46px; border: 1px solid var(--zre-line); border-radius: 12px; padding: 0 12px; font-size: 16px; font-weight: 400; color: var(--zre-ink); background: #fff; }
.zre-hp .zre-mini__send { min-height: 48px; border: 0; border-radius: 12px; background: var(--zre-accent); color: #fff; font-size: 15px; font-weight: 600; }
.zre-hp .zre-mini__note { font-size: 12px; line-height: 1.45; color: var(--zre-muted); }
.zre-hp .zre-mini__note:empty { display: none; }
.zre-hp .zre-mini__done { padding: 12px 14px; border-radius: 12px; background: #eef4fb; font-size: 14px; text-align: center; }
.zre-hp .zre-form__error { padding: 10px 12px; border-radius: 12px; background: #fff3f2; color: #a1271f; font-size: 14px; }
.zre-hp form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* Contact */
.zre-hp .zre-contact { margin-top: 112px; background: #f5f5f7; padding: 96px 16px; scroll-margin-top: 52px; }
.zre-hp .zre-contact__in { max-width: 1180px; margin: 0 auto; }
.zre-hp .zre-contact__title { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; color: var(--zre-ink); }
.zre-hp .zre-contact__title span { color: var(--zre-soft); }
.zre-hp .zre-contact__grid { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.zre-hp .zre-agent { flex: 1 1 300px; min-width: 0; background: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; }
.zre-hp .zre-agent__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.zre-hp .zre-agent__name { margin-top: 20px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-agent__role { margin-top: 2px; font-size: 15px; color: var(--zre-muted); }
.zre-hp .zre-agent__lines { margin-top: 24px; display: flex; flex-direction: column; border-top: 1px solid #f0f0f2; }
.zre-hp .zre-agent__lines a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid #f0f0f2; color: var(--zre-ink); }
.zre-hp .zre-agent__lines a:hover { text-decoration: none; color: var(--zre-ink); }
.zre-hp .zre-agent__lines span { font-size: 13px; color: var(--zre-muted); }
.zre-hp .zre-agent__lines strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.zre-hp .zre-agent__btns { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; }
.zre-hp .zre-agent__btns .zre-btn { flex: 1; min-height: 48px; font-size: 15px; }
.zre-hp .zre-enquiry { flex: 2 1 520px; min-width: 0; background: #fff; border-radius: 28px; padding: 32px; }
.zre-hp .zre-topics legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.zre-hp .zre-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.zre-hp .zre-topic { position: relative; }
.zre-hp .zre-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zre-hp .zre-topic span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 980px; border: 1px solid var(--zre-line); background: #fff; color: var(--zre-ink); font-size: 14px; cursor: pointer; }
.zre-hp .zre-topic input:checked + span { border-color: var(--zre-accent); background: var(--zre-accent); color: #fff; }
.zre-hp .zre-topic input:focus-visible + span { outline: 2px solid #0b5cad; outline-offset: 2px; }
.zre-hp .zre-enquiry label { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--zre-ink); }
.zre-hp .zre-enquiry__two { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 14px; }
.zre-hp .zre-enquiry input[type="text"], .zre-hp .zre-enquiry input[type="tel"], .zre-hp .zre-enquiry input[type="email"] { height: 54px; border: 1px solid var(--zre-line); border-radius: 14px; padding: 0 16px; font-size: 17px; font-weight: 400; color: var(--zre-ink); background: #fbfbfd; }
.zre-hp .zre-enquiry textarea { border: 1px solid var(--zre-line); border-radius: 14px; padding: 14px 16px; font-size: 17px; font-weight: 400; line-height: 1.5; color: var(--zre-ink); background: #fbfbfd; resize: vertical; }
.zre-hp .zre-enquiry .zre-check { flex-direction: row; align-items: center; gap: 10px; min-height: 44px; margin-top: 16px; font-size: 15px; font-weight: 400; color: #424245; cursor: pointer; }
.zre-hp .zre-check input { width: 20px; height: 20px; accent-color: var(--zre-accent); }
.zre-hp .zre-enquiry__send { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.zre-hp .zre-enquiry__send p { flex: 1 1 220px; font-size: 12px; line-height: 1.5; color: var(--zre-muted); }
.zre-hp .zre-enquiry .zre-form__error { margin-top: 14px; }
.zre-hp .zre-sent { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.zre-hp .zre-sent__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--zre-navy); color: var(--zre-gold); display: flex; align-items: center; justify-content: center; }
.zre-hp .zre-sent__title { margin-top: 8px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-sent__text { max-width: 380px; font-size: 17px; line-height: 1.5; color: var(--zre-muted); }

/* Similar + cards */
.zre-hp .zre-similar { max-width: 1180px; margin: 0 auto; padding: 96px 16px 80px; }
.zre-hp .zre-similar__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.zre-hp .zre-similar__head a { font-size: 17px; }
.zre-hp .zre-cards { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px 20px; }
.zre-hp .zre-card { display: block; color: var(--zre-ink); }
.zre-hp .zre-card:hover { color: var(--zre-ink); text-decoration: none; }
.zre-hp .zre-card__media { position: relative; display: block; height: 220px; border-radius: 18px; overflow: hidden; background: #f5f5f7; }
.zre-hp .zre-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zre-hp .zre-card:hover .zre-card__media img { transform: scale(1.03); }
.zre-hp .zre-card__badge { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 980px; background: var(--zre-navy); color: var(--zre-gold); font-size: 13px; font-weight: 600; }
.zre-hp .zre-card__badge--light { background: rgba(255, 255, 255, .92); color: var(--zre-ink); }
.zre-hp .zre-card__suburb { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--zre-soft); }
.zre-hp .zre-card__price { display: block; margin-top: 2px; font-size: 19px; font-weight: 600; }
.zre-hp .zre-card__meta { display: block; margin-top: 2px; font-size: 14px; color: var(--zre-muted); }
.zre-hp .zre-l__disclaimer { background: #f5f5f7; }
.zre-hp .zre-l__disclaimer p { max-width: 1180px; margin: 0 auto; padding: 14px 16px 0; font-size: 12px; color: var(--zre-muted); }
.zre-hp .zre-l__disclaimer p:last-child { padding-bottom: 24px; }

/* Lightbox */
.zre-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; }
.zre-lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.zre-lightbox__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; z-index: 2; }
.zre-lightbox__count { margin: 0; font: 600 14px Inter, -apple-system, sans-serif; color: #fff; }
.zre-lightbox__close, .zre-lightbox__nav { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.zre-lightbox__stage { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 64px 16px 24px; }
.zre-lightbox__stage img { flex: 1; min-width: 0; max-height: 100%; object-fit: contain; border-radius: 12px; }

/* Mobile action bar */
.zre-hp .zre-mbar { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 998; gap: 8px; padding: 8px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: 1px solid #e5e5ea; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.zre-hp .zre-mbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 16px; background: #f0f0f2; color: var(--zre-ink); font-size: 15px; font-weight: 600; }
.zre-hp .zre-mbar__btn:hover { text-decoration: none; color: var(--zre-ink); }
.zre-hp .zre-mbar__btn img { width: 18px; height: 18px; }
.zre-hp .zre-mbar__btn--primary { flex: 1.3; background: var(--zre-accent); color: #fff; }
.zre-hp .zre-mbar__btn--primary:hover { color: #fff; }

.zre-hp .zre-l__mprice { display: none; }
/* Phones and tablets: the price card drops below the content, so show the action bar and an early price line. */
@media (max-width: 979px) {
	body.zre-listing-page { padding-bottom: 84px; }
	.zre-hp .zre-mbar { display: flex; max-width: 560px; margin: 0 auto; }
	.zre-hp .zre-side { position: static; }
	.zre-hp .zre-l__mprice { display: block; margin-top: 14px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--zre-ink); }
}
@media (max-width: 734px) {
	.zre-hp .zre-hide-m { display: none !important; }
	.zre-hp .zre-gal__grid { grid-template-columns: 1fr; grid-template-rows: 300px; }
	.zre-hp .zre-gal__main { grid-row: auto; }
	.zre-hp .zre-gal__item:not(.zre-gal__main) { display: none; }
	.zre-hp .zre-gal__bar { justify-content: flex-start; }
	.zre-hp .zre-band, .zre-hp .zre-calc, .zre-hp .zre-agent, .zre-hp .zre-enquiry { padding: 24px; }
	.zre-hp .zre-contact { padding: 64px 16px; margin-top: 72px; }
	.zre-hp .zre-table__row { padding: 12px 16px; }
}

/* Press strip (homepage) ----------------------------------------------- */
.zre-hp .zre-press { background: #fff; border-bottom: 1px solid #e5e5ea; padding: 26px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 56px; }
.zre-hp .zre-press__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--zre-muted); }
.zre-hp .zre-press__logo { width: auto; height: 26px; filter: grayscale(1); opacity: .85; }
.zre-hp .zre-press__logo--2 { height: 38px; }

/* Quiz (homepage) ------------------------------------------------------- */
.zre-hp .zre-quiz { max-width: 1416px; margin: 108px auto 0; padding: 0 12px; display: flex; flex-wrap: wrap; gap: 12px; scroll-margin-top: 60px; }
.zre-hp .zre-quiz__intro { flex: 1 1 380px; background: var(--zre-navy); color: #f5f5f7; border-radius: 28px; padding: 56px 40px; display: flex; flex-direction: column; }
.zre-hp .zre-quiz__eyebrow { font-size: 15px; font-weight: 600; color: var(--zre-gold); }
.zre-hp .zre-quiz__title { margin-top: 8px; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.zre-hp .zre-quiz__sub { margin-top: 14px; font-size: 19px; line-height: 1.45; color: var(--zre-on-navy); }
.zre-hp .zre-quiz__bars { margin-top: auto; padding-top: 40px; display: flex; gap: 6px; }
.zre-hp .zre-quiz__bars span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.zre-hp .zre-quiz__bars span.is-on { background: var(--zre-gold); }
.zre-hp .zre-quiz__card { flex: 2 1 520px; min-width: 0; background: #f5f5f7; border-radius: 28px; padding: 40px; min-height: 520px; }
.zre-hp .zre-quiz__step { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--zre-muted); }
.zre-hp .zre-quiz__q { margin-top: 8px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-quiz__opts { margin-top: 24px; display: grid; gap: 10px; }
.zre-hp .zre-quiz__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 64px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--zre-line); background: #fff; color: var(--zre-ink); text-align: left; font-size: 17px; font-weight: 600; }
.zre-hp .zre-quiz__opt small { font-size: 14px; font-weight: 400; color: var(--zre-muted); }
.zre-hp .zre-quiz__opt[aria-pressed="true"] { border: 2px solid var(--zre-navy); background: #eef4fb; }
.zre-hp .zre-quiz__back { margin-top: 18px; border: 0; background: none; color: var(--zre-link); font-size: 15px; padding: 8px 0; }
.zre-hp .zre-quiz__result-name { margin-top: 8px; font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-quiz__why { margin-top: 12px; font-size: 17px; line-height: 1.55; color: #424245; }
.zre-hp .zre-quiz__stats { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.zre-hp .zre-quiz__stats div { background: #fff; border-radius: 16px; padding: 16px; }
.zre-hp .zre-quiz__stats strong { display: block; font-size: 24px; letter-spacing: -.02em; }
.zre-hp .zre-quiz__stats span { font-size: 13px; color: var(--zre-muted); }
.zre-hp .zre-quiz__power { margin-top: 16px; font-size: 14px; color: var(--zre-muted); }
.zre-hp .zre-quiz__lead { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; align-items: end; }
.zre-hp .zre-quiz__lead label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: #424245; }
.zre-hp .zre-quiz__lead input { height: 48px; border: 1px solid var(--zre-line); border-radius: 12px; padding: 0 12px; font-size: 16px; background: #fff; }
.zre-hp .zre-quiz__lead button { min-height: 48px; border: 0; border-radius: 12px; background: var(--zre-accent); color: #fff; font-size: 15px; font-weight: 600; }
.zre-hp .zre-quiz__lead .zre-form__error { grid-column: 1 / -1; }
.zre-hp .zre-quiz__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 15px; }
.zre-hp .zre-quiz__actions button { border: 0; background: none; color: var(--zre-link); padding: 8px 0; }
@media (max-width: 734px) { .zre-hp .zre-quiz__intro, .zre-hp .zre-quiz__card { padding: 28px 24px; } .zre-hp .zre-quiz__card { min-height: 0; } }

/* Comfortable tap size for small text links */
.zre-hp .zre-similar__head a, .zre-hp .zre-snap a, .zre-hp .zre-side__agent a, .zre-hp .zre-enquiry__send p a { display: inline-flex; align-items: center; min-height: 44px; }
