/* ==========================================================================
   ZRE Website — v2.0.0 (homepage sections)
   Everything is scoped under .zre-hp so the RealHomes theme is untouched.
   ========================================================================== */

.zre-hp {
	--zre-ink: #1d1d1f;
	--zre-muted: #6e6e73;
	--zre-soft: #86868b;
	--zre-line: #d2d2d7;
	--zre-grey: #f5f5f7;
	--zre-navy: #0a1f36;
	--zre-accent: #0b2a4a;
	--zre-gold: #f0c674;
	--zre-link: #0b5cad;
	--zre-link-dark: #2997ff;
	--zre-on-navy: #b8c2cf;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	color: var(--zre-ink);
	-webkit-font-smoothing: antialiased;
	line-height: 1.4;
	width: 100%;
}
.zre-hp *, .zre-hp *::before, .zre-hp *::after { box-sizing: border-box; }
.zre-hp h1, .zre-hp h2, .zre-hp h3, .zre-hp p, .zre-hp blockquote { margin: 0; padding: 0; font-family: inherit; text-transform: none; }
.zre-hp img { max-width: 100%; height: auto; display: block; border: 0; }
.zre-hp a { color: var(--zre-link); text-decoration: none; transition: color .15s ease; }
.zre-hp a:hover { color: #08467f; text-decoration: underline; }
.zre-hp blockquote::before, .zre-hp blockquote::after { content: none; }

/* Shared bits */
.zre-hp .zre-kicker { font-size: 17px; font-weight: 600; color: var(--zre-accent); }
.zre-hp .zre-eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--zre-muted); }
.zre-hp .zre-link { display: inline-block; font-size: 17px; color: var(--zre-link); }
.zre-hp .zre-h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: var(--zre-ink); }
.zre-hp .zre-h2 span { color: var(--zre-soft); }
.zre-hp .zre-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.zre-hp .zre-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 980px; font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; border: 1px solid transparent; }
.zre-hp .zre-btn:hover { text-decoration: none; opacity: .9; }
.zre-hp .zre-btn--sm { min-height: 34px; padding: 0 16px; font-size: 12px; }
.zre-hp .zre-btn--dark { background: var(--zre-ink); color: #fff; }
.zre-hp .zre-btn--dark:hover { color: #fff; }
.zre-hp .zre-btn--navy { background: var(--zre-accent); color: #fff; }
.zre-hp .zre-btn--navy:hover { color: #fff; }
.zre-hp .zre-btn--outline { border-color: var(--zre-accent); color: var(--zre-accent); background: transparent; }
.zre-hp .zre-btn--outline-dark { border-color: var(--zre-ink); color: var(--zre-ink); background: transparent; }
.zre-hp .zre-admin-note { margin: 24px auto 0; max-width: 720px; padding: 14px 18px; border: 1px dashed #c4302b; border-radius: 12px; background: #fff7f6; color: #a1271f; font-size: 14px; }

/* Nav ------------------------------------------------------------------- */
.zre-hp .zre-nav { 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; }
.zre-hp .zre-nav__in { max-width: 1040px; margin: 0 auto; padding: 0 16px; min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.zre-hp .zre-nav__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-nav__brand:hover { color: var(--zre-ink); text-decoration: none; }
.zre-hp .zre-nav__brand img { width: 28px; height: 28px; }
.zre-hp .zre-nav__links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.zre-hp .zre-nav__links a { padding: 13px 0; font-size: 13px; color: var(--zre-ink); white-space: nowrap; }

/* Hero ------------------------------------------------------------------ */
.zre-hp .zre-hero { background: var(--zre-grey); padding: 88px 16px 104px; text-align: center; }
.zre-hp .zre-hero .zre-kicker { margin-bottom: 12px; }
.zre-hp .zre-hero__title { margin: 0 auto; max-width: 900px; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; color: var(--zre-ink); }
.zre-hp .zre-hero__sub { margin: 20px auto 0; max-width: 620px; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: var(--zre-muted); }
.zre-hp .zre-hero__search { margin: 48px auto 0; max-width: 1040px; text-align: left; }
.zre-hp .zre-hero__zai { margin-top: 22px; font-size: 17px; color: var(--zre-muted); }

/* ZAI wrapper + trust cards --------------------------------------------- */
.zre-hp .zre-zai { background: var(--zre-grey); padding: 0 16px 96px; scroll-margin-top: 60px; }
.zre-hp .zre-zai--trust-only { padding-top: 72px; }
.zre-hp .zre-zai__plugin { max-width: 1040px; margin: 0 auto; }
.zre-hp .zre-trust { max-width: 1040px; margin: 72px auto 0; text-align: center; }
.zre-hp .zre-trust__title { margin-top: 10px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--zre-ink); }
.zre-hp .zre-trust__title span { color: var(--zre-soft); }
.zre-hp .zre-trust__grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; text-align: left; }
.zre-hp .zre-trust__card { background: #fff; border-radius: 22px; padding: 26px; }
.zre-hp .zre-trust__card--navy { background: var(--zre-navy); color: #f5f5f7; }
.zre-hp .zre-trust__name { margin-top: 14px; font-size: 18px; font-weight: 600; }
.zre-hp .zre-trust__text { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--zre-muted); }
.zre-hp .zre-trust__card--navy .zre-trust__text { color: var(--zre-on-navy); }

/* Invest ---------------------------------------------------------------- */
.zre-hp .zre-invest { max-width: 1440px; margin: 0 auto; padding: 12px; scroll-margin-top: 60px; }
.zre-hp .zre-invest__big { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); gap: 12px; }
.zre-hp .zre-feature { min-height: 620px; padding: 56px 32px 0; text-align: center; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.zre-hp .zre-feature--navy { background: var(--zre-navy); color: #f5f5f7; }
.zre-hp .zre-feature--light { background: var(--zre-grey); color: var(--zre-ink); }
.zre-hp .zre-feature__kicker { font-size: 15px; font-weight: 600; color: var(--zre-accent); }
.zre-hp .zre-feature--navy .zre-feature__kicker { color: var(--zre-gold); }
.zre-hp .zre-feature__title { margin-top: 8px; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: inherit; }
.zre-hp .zre-feature__line { margin-top: 12px; font-size: 21px; color: var(--zre-muted); }
.zre-hp .zre-feature--navy .zre-feature__line { color: var(--zre-on-navy); }
.zre-hp .zre-feature__links { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 17px; }
.zre-hp .zre-feature--navy .zre-feature__links a { color: var(--zre-link-dark); }
.zre-hp .zre-feature__img { margin-top: auto; width: 100%; max-width: 560px; height: 300px; object-fit: cover; border-radius: 20px 20px 0 0; }
.zre-hp .zre-feature__img--top { object-position: center 40%; }
.zre-hp .zre-invest__small { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.zre-hp .zre-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; padding: 40px 32px; background: var(--zre-grey); color: var(--zre-ink); }
.zre-hp .zre-tile:hover { color: var(--zre-ink); text-decoration: none; }
.zre-hp .zre-tile__text { display: block; }
.zre-hp .zre-tile__title { display: block; margin-top: 8px; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-tile__line { display: block; margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--zre-muted); }
.zre-hp .zre-tile__img { margin: 24px 0 18px; width: 100%; height: 200px; object-fit: cover; border-radius: 16px; }

/* Browse ---------------------------------------------------------------- */
.zre-hp .zre-browse { max-width: 1072px; margin: 0 auto; padding: 120px 16px 40px; scroll-margin-top: 60px; }
.zre-hp .zre-browse__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.zre-hp .zre-browse__item { display: block; color: var(--zre-ink); }
.zre-hp .zre-browse__item:hover { color: var(--zre-ink); text-decoration: none; }
.zre-hp .zre-browse__item img { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; background: var(--zre-grey); }
.zre-hp .zre-browse__item .zre-eyebrow { margin-top: 12px; font-size: 12px; color: var(--zre-soft); }
.zre-hp .zre-browse__label { display: block; margin-top: 2px; font-size: 19px; font-weight: 600; }

/* Story ----------------------------------------------------------------- */
.zre-hp .zre-story { background: var(--zre-grey); padding: 120px 16px; margin-top: 80px; }
.zre-hp .zre-story__in { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.zre-hp .zre-story__text { flex: 1 1 400px; min-width: 0; }
.zre-hp .zre-story__title { margin-top: 8px; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; color: var(--zre-ink); }
.zre-hp .zre-story__lead { margin-top: 20px; font-size: 21px; line-height: 1.45; color: var(--zre-muted); }
.zre-hp .zre-story__stats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 48px; }
.zre-hp .zre-stat { font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.zre-hp .zre-stat__label { font-size: 15px; color: var(--zre-muted); }
.zre-hp .zre-story__more { margin-top: 32px; font-size: 17px; }
.zre-hp .zre-story__img { flex: 1 1 380px; min-width: 0; width: 100%; height: 560px; object-fit: cover; object-position: center 20%; border-radius: 28px; }

/* Proof ----------------------------------------------------------------- */
.zre-hp .zre-proof { padding: 140px 16px; text-align: center; }
.zre-hp .zre-proof__quote { margin: 16px auto 0; max-width: 860px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; color: var(--zre-ink); border: 0; font-style: normal; background: none; }
.zre-hp .zre-proof__name { margin-top: 20px; font-size: 17px; color: var(--zre-muted); }

/* Insights -------------------------------------------------------------- */
.zre-hp .zre-insights { max-width: 1440px; margin: 0 auto; padding: 0 12px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 12px; }
.zre-hp .zre-insight { display: block; background: var(--zre-grey); color: var(--zre-ink); padding: 56px 40px; min-height: 360px; }
.zre-hp .zre-insight:hover { color: var(--zre-ink); text-decoration: none; }
.zre-hp .zre-insight--navy { background: var(--zre-navy); color: #f5f5f7; }
.zre-hp .zre-insight--navy:hover { color: #f5f5f7; }
.zre-hp .zre-insight--navy .zre-eyebrow { color: var(--zre-on-navy); }
.zre-hp .zre-insight--navy .zre-link { color: var(--zre-link-dark); }
.zre-hp .zre-insight__title { display: block; margin-top: 10px; font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.zre-hp .zre-insight .zre-link { margin-top: 18px; }

/* CTA ------------------------------------------------------------------- */
.zre-hp .zre-cta { padding: 140px 16px; text-align: center; }
.zre-hp .zre-cta__title { margin: 0 auto; max-width: 760px; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; color: var(--zre-ink); }
.zre-hp .zre-cta__sub { margin: 16px auto 0; max-width: 560px; font-size: 21px; color: var(--zre-muted); }

/* Footer ---------------------------------------------------------------- */
.zre-hp .zre-footer { background: var(--zre-grey); padding: 48px 16px 32px; font-size: 12px; color: var(--zre-muted); }
.zre-hp .zre-footer__in { max-width: 1040px; margin: 0 auto; }
.zre-hp .zre-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--zre-line); }
.zre-hp .zre-footer__col { display: flex; flex-direction: column; gap: 8px; }
.zre-hp .zre-footer__head { margin-bottom: 4px; font-weight: 600; color: var(--zre-ink); }
.zre-hp .zre-footer a { color: #424245; }
.zre-hp .zre-footer__base { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Small screens --------------------------------------------------------- */
@media (max-width: 734px) {
	.zre-hp .zre-nav__links { order: 3; width: 100%; gap: 0 18px; overflow-x: auto; flex-wrap: nowrap; }
	.zre-hp .zre-hero { padding: 64px 16px 72px; }
	.zre-hp .zre-feature { min-height: 520px; padding: 44px 20px 0; }
	.zre-hp .zre-feature__img { height: 240px; }
	.zre-hp .zre-tile { min-height: 0; padding: 32px 24px; }
	.zre-hp .zre-browse { padding-top: 80px; }
	.zre-hp .zre-story { padding: 80px 16px; margin-top: 48px; }
	.zre-hp .zre-story__img { height: 420px; }
	.zre-hp .zre-proof, .zre-hp .zre-cta { padding: 96px 16px; }
	.zre-hp .zre-insight { padding: 40px 24px; min-height: 0; }
	.zre-hp .zre-insight__title { font-size: 28px; }
}

/* v2.0: rounded corners on every tile (matches the design) -------------- */
.zre-hp .zre-feature { border-radius: 28px; overflow: hidden; }
.zre-hp .zre-invest { max-width: 1440px; margin: 0 auto; padding: 12px 12px 0; }
.zre-hp .zre-invest__big { gap: 12px; }
.zre-hp .zre-tile { border-radius: 28px; }
.zre-hp .zre-insight { border-radius: 28px; }
.zre-hp .zre-trust__card { border-radius: 22px; }
.zre-hp .zre-story__img { border-radius: 28px; }

/* v2.0.1: hero with video behind the search bar ------------------------- */
.zre-hp .zre-hero { position: relative; overflow: hidden; }
.zre-hp .zre-hero__in { position: relative; z-index: 1; }
.zre-hp .zre-hero--video { min-height: 760px; padding-top: 120px; padding-bottom: 120px; background-color: var(--zre-navy); background-size: cover; background-position: center; }
.zre-hp .zre-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zre-hp .zre-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 54, .62) 0%, rgba(10, 31, 54, .38) 38%, rgba(10, 31, 54, .55) 70%, rgba(10, 31, 54, .82) 100%); }
.zre-hp .zre-hero--video .zre-kicker { color: var(--zre-gold); }
.zre-hp .zre-hero--video .zre-hero__title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.zre-hp .zre-hero--video .zre-hero__sub, .zre-hp .zre-hero--video .zre-hero__zai { color: rgba(255, 255, 255, .86); text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.zre-hp .zre-hero--video .zre-hero__zai a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.zre-hp .zre-hero__pause { position: absolute; right: 0; bottom: -72px; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(10, 31, 54, .35); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 734px) {
	.zre-hp .zre-hero--video { min-height: 0; padding-top: 72px; padding-bottom: 80px; }
	.zre-hp .zre-hero__video { display: none; }
	.zre-hp .zre-hero__pause { display: none; }
}
