/* Wrapped in @layer legacy: these rules lose to prestige-ds.css regardless
   of specificity. Rules are deleted from here as the design system covers them. */
@layer legacy {
/* ==========================================================================
   Prestige Properties — public marketing site layer (site.css)
   Loaded after prestige.css. Palette: green / white / black.
   ========================================================================== */
:root { --pp-green:#0F7A3B; --pp-dark:#075E2B; --pp-ink:#0d1512; --pp-muted:#5b6460; --pp-line:#E5E7EB; }

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* Brand wordmark */
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--pp-ink); }
.brand-name em { color: var(--pp-green); font-style: normal; }
.footer-brand .brand-name, .footer-brand .brand-name em { color: #fff; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 92px 0 70px; overflow: hidden; background: #f6faf7; border-bottom: 1px solid var(--pp-line); }
.hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 44px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--pp-line); box-shadow: 0 6px 18px rgba(9,30,20,.06);
    font-size: 12.5px; font-weight: 700; color: var(--pp-dark); margin-bottom: 20px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pp-green); box-shadow: 0 0 0 4px rgba(15,122,59,.18); }
.hero-copy h1 { font-size: clamp(42px, 5vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: 0; }
.hero-copy h1 .accent { color: var(--pp-green); }
.hero-copy p { font-size: 18px; max-width: 58ch; color: var(--pp-muted); margin-top: 14px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--pp-muted); font-size: 13px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; background: linear-gradient(140deg, var(--pp-green), var(--pp-dark)); }
.hero-trust .stars { color: #f59e0b; }
.hero-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; max-width: 620px; }
.hero-kpis div { padding: 16px 18px; border: 1px solid var(--pp-line); border-radius: 8px; background: #fff; }
.hero-kpis strong { display: block; color: var(--pp-ink); font-size: 26px; font-weight: 800; line-height: 1; }
.hero-kpis span { display: block; margin-top: 6px; color: var(--pp-muted); font-size: 12.5px; font-weight: 700; }

.hero-showcase { display: grid; gap: 16px; }
.hero-property-frame { position: relative; display: block; min-height: 390px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.8); box-shadow: 0 22px 52px rgba(9,30,20,.18); background: #dfe9e4; }
.hero-property-frame img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; display: block; }
.hero-property-frame.empty { display: grid; place-items: center; align-content: center; gap: 10px; padding: 36px; text-align: center; background: #fff; border-color: var(--pp-line); color: var(--pp-muted); }
.hero-property-frame.empty i { width: 72px; height: 72px; border-radius: 8px; display: grid; place-items: center; background: #E8F7EF; color: var(--pp-dark); font-size: 28px; }
.hero-property-frame.empty strong { color: var(--pp-ink); font-size: 18px; }
.hero-property-overlay { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 5px; padding: 24px; color: #fff; background: linear-gradient(180deg, rgba(6,22,14,0), rgba(6,22,14,.86)); }
.hero-property-overlay span { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #a7d7bd; }
.hero-property-overlay strong { font-size: 22px; font-weight: 800; line-height: 1.2; }
.hero-property-overlay small { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.86); font-size: 13px; }
.hero-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-proof-grid div { min-height: 112px; padding: 16px; border: 1px solid var(--pp-line); border-radius: 8px; background: #fff; }
.hero-proof-grid i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #E8F7EF; color: var(--pp-dark); margin-bottom: 11px; }
.hero-proof-grid strong { display: block; font-size: 14px; color: var(--pp-ink); margin-bottom: 3px; }
.hero-proof-grid span { display: block; color: var(--pp-muted); font-size: 12.5px; line-height: 1.45; }
@media (max-width: 900px){
    .hero { padding: 64px 0 46px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-kpis { grid-template-columns: 1fr; }
    .hero-property-frame, .hero-property-frame img { min-height: 300px; }
    .hero-proof-grid { grid-template-columns: 1fr; }
}

/* hero visual card */
.hero-visual { position: relative; }
.hero-visual .hv-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(9,30,20,.22); border: 1px solid rgba(255,255,255,.5); aspect-ratio: 4/3.4; background:
    linear-gradient(160deg, #0a2417, #0f7a3b 140%); }
.hero-visual .hv-card .hv-sky { position: absolute; inset: 0; background:
    radial-gradient(600px 240px at 70% -10%, rgba(127,214,162,.5), transparent 60%); }
.hero-visual .hv-city { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; display: flex; align-items: flex-end; gap: 8px; padding: 0 26px 26px; }
.hero-visual .hv-city b { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(232,247,239,.7)); box-shadow: inset 0 0 0 1px rgba(15,122,59,.15); }
.hero-visual .hv-badge { position: absolute; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 16px 34px rgba(9,30,20,.18); display: flex; align-items: center; gap: 12px; }
.hero-visual .hv-badge i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--pp-green); color: #fff; }
.hero-visual .hv-badge strong { display: block; font-size: 14px; color: var(--pp-ink); }
.hero-visual .hv-badge span { font-size: 12px; color: var(--pp-muted); }
.hero-visual .hv-badge.top { top: 22px; left: -18px; }
.hero-visual .hv-badge.bottom { bottom: 26px; right: -14px; }
@media (max-width: 860px){ .hero-visual { display: none; } }

/* ---------------------------------------------------------------- bands */
.trust-band { background: #fff; border-top: 1px solid var(--pp-line); border-bottom: 1px solid var(--pp-line); padding: 26px 0; }
.trust-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-band .tb-item { display: flex; align-items: center; gap: 12px; color: var(--pp-muted); font-weight: 700; font-size: 14px; }
.trust-band .tb-item i { color: var(--pp-green); font-size: 20px; }

.stats-band { padding: 56px 0; background: linear-gradient(150deg, #0a2417, #075E2B); color: #fff; }
.stats-band .stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
@media (max-width: 720px){ .stats-band .stat-row { grid-template-columns: repeat(2,1fr); } }
.stats-band .sb strong { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.stats-band .sb span { color: #a7d7bd; font-weight: 600; font-size: 14px; }

/* section head */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; margin: 8px 0 12px; }
.section-head p { color: var(--pp-muted); font-size: 16px; }

/* feature cards v2 */
.feature-card { padding: 28px; border-radius: 18px; border: 1px solid var(--pp-line); box-shadow: 0 1px 3px rgba(9,30,20,.05); transition: transform .18s, box-shadow .18s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(9,30,20,.09); }
.feature-card .feature-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; background: #E8F7EF; color: var(--pp-dark); font-size: 22px; }
.feature-card h2 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--pp-muted); }
.feature-card .fc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--pp-green); font-weight: 700; font-size: 14px; }

/* how it works timeline */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: repeat(2,1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--pp-line); }
.step .step-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--pp-green), var(--pp-dark)); margin-bottom: 14px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--pp-muted); font-size: 14px; }

/* showcase (featured listings) */
.showcase-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px){ .testi-grid { grid-template-columns: 1fr; } }
.testi { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--pp-line); }
.testi .stars { color: #f59e0b; margin-bottom: 12px; }
.testi p { color: var(--pp-ink); font-size: 15px; line-height: 1.6; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi .who .av { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(140deg, var(--pp-green), var(--pp-dark)); }
.testi .who strong { display: block; font-size: 14px; }
.testi .who span { color: var(--pp-muted); font-size: 12.5px; }

/* CTA band */
.cta-band { margin-top: 0; background: linear-gradient(150deg, var(--pp-dark), var(--pp-green)); color: #fff; }
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 52px 0; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.86); margin-top: 6px; }
.cta-band .btn-primary { background: #fff; color: var(--pp-dark); border-color: #fff; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
@media (max-width: 720px){ .cta-band .cta-inner { flex-direction: column; text-align: center; } }

/* --------------------------------------------------------------- footer */
.site-footer { background: #06160e; color: #b9c9c0; padding: 0; margin-top: 0; border: 0; display: block; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .9fr 1.3fr; gap: 34px; padding: 56px 0 40px; }
@media (max-width: 980px){ .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .site-footer .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: #8fa79b; margin: 14px 0 18px; font-size: 14px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cfe0d6; transition: .15s; }
.footer-social a:hover { background: var(--pp-green); color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a, .footer-contact span { display: block; color: #a7bab0; font-size: 14px; margin-bottom: 11px; }
.footer-col a:hover { color: #7fd6a2; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--pp-green); width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: #7d938a; font-size: 13px; }

/* --------------------------------------------------- page hero (inner) */
.page-hero { padding: 64px 0 40px; background: radial-gradient(700px 300px at 80% -20%, rgba(15,122,59,.10), transparent 60%), linear-gradient(180deg,#fff,#f6faf7); border-bottom: 1px solid var(--pp-line); }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.page-hero p { color: var(--pp-muted); font-size: 17px; margin-top: 8px; max-width: 60ch; }
.page-hero .breadcrumbs { display: flex; gap: 8px; align-items: center; color: var(--pp-muted); font-size: 13px; margin-bottom: 14px; }
.page-hero .breadcrumbs a:hover { color: var(--pp-green); }

/* --------------------------------------------------------- legal pages */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 48px 0 64px; }
@media (max-width: 860px){ .legal-wrap { grid-template-columns: 1fr; } .legal-toc { position: static !important; } }
.legal-toc { position: sticky; top: 90px; align-self: start; border: 1px solid var(--pp-line); border-radius: 16px; padding: 20px; background: #fff; }
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--pp-muted); margin-bottom: 12px; }
.legal-toc a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--pp-ink); font-size: 13.5px; font-weight: 600; }
.legal-toc a:hover { background: #E8F7EF; color: var(--pp-dark); }
.legal-doc { background: #fff; border: 1px solid var(--pp-line); border-radius: 18px; padding: 40px; box-shadow: 0 1px 3px rgba(9,30,20,.05); }
.legal-doc .updated { color: var(--pp-muted); font-size: 13px; margin-bottom: 24px; }
.legal-doc h2 { font-size: 21px; margin: 30px 0 12px; scroll-margin-top: 90px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p, .legal-doc li { color: #33413b; line-height: 1.75; font-size: 15px; }
.legal-doc p { margin-bottom: 14px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 20px; }
.legal-doc li { margin-bottom: 8px; }

/* --------------------------------------------------------------- FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--pp-line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-size: 16px; font-weight: 700; color: var(--pp-ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q i { color: var(--pp-green); transition: transform .2s; flex: none; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--pp-muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 320px; }

/* -------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; padding: 48px 0 64px; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--pp-line); border-radius: 16px; background: #fff; }
.contact-card .cc-ic { width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center; background: #E8F7EF; color: var(--pp-dark); font-size: 20px; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { color: var(--pp-muted); font-size: 14px; }
.contact-card a { color: var(--pp-green); font-weight: 700; font-size: 14px; }
.contact-form { background: #fff; border: 1px solid var(--pp-line); border-radius: 18px; padding: 32px; box-shadow: 0 1px 3px rgba(9,30,20,.05); }

.section { padding: 72px 0; }
.section.tint { background: #f6faf7; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px){ .grid-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Public homepage revamp
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 78px;
    padding: 16px 38px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.2) blur(10px);
}
.site-header .brand-name { font-size: 20px; }
.site-header .brand-mark { box-shadow: 0 8px 18px rgba(15, 122, 59, .22); }
.site-nav { gap: 24px; }
.site-nav a { color: #33413b; font-weight: 750; }

.home-hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: flex-end;
    padding: 86px 0 34px;
    color: #fff;
    overflow: hidden;
    background: #07170f;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(3, 14, 9, .86) 0%, rgba(3, 14, 9, .64) 45%, rgba(3, 14, 9, .26) 100%),
        linear-gradient(180deg, rgba(3, 14, 9, .08), rgba(3, 14, 9, .72)),
        var(--hero-bg, linear-gradient(145deg, #092316, #0F7A3B));
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
}
.home-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
}
.home-hero-content {
    max-width: 780px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: #e6fff0;
    font-size: 13px;
    font-weight: 800;
}
.home-hero h1 {
    max-width: 820px;
    margin: 22px 0 16px;
    color: #fff;
    font-size: clamp(46px, 7.4vw, 92px);
    line-height: .98;
    letter-spacing: 0;
    font-weight: 850;
}
.home-hero p {
    max-width: 660px;
    color: rgba(255,255,255,.86);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.58;
}
.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.hero-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 700;
}
.hero-meta-row strong {
    color: #fff;
    font-size: 16px;
}

.hero-search-panel {
    display: grid;
    grid-template-columns: minmax(210px, 1.25fr) repeat(3, minmax(150px, .8fr)) auto;
    gap: 0;
    align-items: stretch;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    color: var(--pp-ink);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}
.hero-search-panel label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    min-height: 66px;
    padding: 8px 16px;
    border-right: 1px solid var(--pp-line);
}
.hero-search-panel label span {
    color: #111;
    font-size: 12px;
    font-weight: 850;
}
.hero-search-panel input,
.hero-search-panel select {
    width: 100%;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pp-muted);
    font: inherit;
    font-size: 14px;
    box-shadow: none;
}
.hero-search-panel input:focus,
.hero-search-panel select:focus {
    border: 0;
    box-shadow: none;
}
.hero-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 138px;
    min-height: 66px;
    border: 0;
    border-radius: 8px;
    background: var(--pp-green);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}
.hero-bottom-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.hero-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-pills a {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.hero-feature-link {
    width: min(100%, 360px);
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(3,14,9,.42);
    color: #fff;
}
.hero-feature-link span {
    color: #a7d7bd;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}
.hero-feature-link strong {
    font-size: 15px;
}
.hero-feature-link small {
    color: rgba(255,255,255,.78);
}

.home-trust-strip {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid var(--pp-line);
}
.home-trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.home-trust-strip div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pp-muted);
    font-size: 13.5px;
    font-weight: 750;
}
.home-trust-strip i {
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
}

.home-section {
    padding: 70px 0;
}
.home-section.tint-soft {
    background: #f6faf7;
}
.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}
.home-section-head.centered {
    display: block;
    max-width: 700px;
    margin: 0 auto 32px;
    text-align: center;
}
.home-section-head h2,
.assurance-copy h2,
.home-final-cta h2 {
    margin: 6px 0 8px;
    color: var(--pp-ink);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 850;
}
.home-section-head p,
.assurance-copy p,
.home-final-cta p {
    max-width: 650px;
    color: var(--pp-muted);
    font-size: 16px;
    line-height: 1.65;
}

.home-type-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.type-tile {
    display: grid;
    gap: 9px;
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(9,30,20,.05);
}
.type-tile i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
    font-size: 18px;
}
.type-tile strong {
    color: var(--pp-ink);
    font-size: 16px;
}
.type-tile span {
    color: var(--pp-muted);
    font-size: 13px;
    font-weight: 700;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.area-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #dfe9e4;
    color: #fff;
    box-shadow: 0 12px 30px rgba(9,30,20,.1);
}
.area-card img,
.area-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}
.area-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #0a2417, #0F7A3B);
    color: #fff;
    font-size: 36px;
}
.area-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,22,14,.04), rgba(6,22,14,.82));
}
.area-card div:last-child {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 4px;
}
.area-card strong {
    font-size: 22px;
    font-weight: 850;
}
.area-card small {
    color: rgba(255,255,255,.84);
    font-weight: 700;
}

.featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assurance-section {
    background: #fff;
}
.assurance-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 38px;
    align-items: center;
}
.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #33413b;
    font-weight: 700;
    line-height: 1.5;
}
.check-list i {
    margin-top: 3px;
    color: var(--pp-green);
}
.assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.assurance-card {
    min-height: 178px;
    padding: 22px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #F8FAF9;
}
.assurance-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
    margin-bottom: 18px;
}
.assurance-card strong {
    display: block;
    color: var(--pp-ink);
    font-size: 18px;
    margin-bottom: 6px;
}
.assurance-card span {
    color: var(--pp-muted);
    line-height: 1.55;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.journey-step {
    padding: 24px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
}
.journey-step span {
    display: inline-flex;
    color: var(--pp-green);
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 14px;
}
.journey-step h3 {
    color: var(--pp-ink);
    font-size: 18px;
    margin-bottom: 8px;
}
.journey-step p {
    color: var(--pp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.audience-panel {
    padding: 28px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
}
.audience-panel.dark {
    background: #06160e;
    color: #fff;
    border-color: #06160e;
}
.audience-panel > i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
    margin-bottom: 18px;
}
.audience-panel.dark > i {
    background: rgba(255,255,255,.1);
    color: #7fd6a2;
}
.audience-panel h2 {
    color: inherit;
    font-size: 22px;
    margin-bottom: 10px;
}
.audience-panel p {
    color: var(--pp-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}
.audience-panel.dark p {
    color: #a7bab0;
}
.audience-panel a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pp-green);
    font-weight: 850;
}
.audience-panel.dark a {
    color: #7fd6a2;
}

.home-final-cta {
    padding: 64px 0;
    background: #06160e;
    color: #fff;
}
.home-final-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.home-final-cta h2 {
    color: #fff;
    max-width: 680px;
}
.home-final-cta p {
    color: #b9c9c0;
}
.home-final-cta .eyebrow {
    color: #7fd6a2;
}
.home-final-cta .btn-primary {
    background: #fff;
    color: var(--pp-dark);
    border-color: #fff;
}
.home-final-cta .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.45);
}

.market-filter {
    margin: 28px 0 26px;
    display: grid;
    grid-template-columns: minmax(190px, 1.3fr) repeat(4, minmax(130px, .8fr)) auto;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(9,30,20,.05);
}
.market-filter input,
.market-filter select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    padding: 9px 11px;
    font: inherit;
    color: var(--pp-ink);
}
.market-filter .btn {
    min-height: 42px;
}
.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--pp-muted);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .hero-search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-search-panel label:nth-child(2) {
        border-right: 0;
    }
    .hero-search-button {
        grid-column: 1 / -1;
    }
    .home-type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .market-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .home-hero {
        min-height: auto;
        padding: 72px 0 32px;
    }
    .home-trust-strip .container,
    .area-grid,
    .featured-grid,
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .assurance-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }
    .hero-search-panel,
    .home-type-grid,
    .home-trust-strip .container,
    .area-grid,
    .featured-grid,
    .assurance-grid,
    .journey-grid,
    .audience-grid,
    .market-filter {
        grid-template-columns: 1fr;
    }
    .hero-search-panel label {
        min-height: 58px;
        border-right: 0;
        border-bottom: 1px solid var(--pp-line);
    }
    .hero-search-panel label:last-of-type {
        border-bottom: 0;
    }
    .hero-search-button {
        width: 100%;
    }
    .home-section-head,
    .home-final-cta .container {
        align-items: flex-start;
        flex-direction: column;
    }
    .home-section {
        padding: 52px 0;
    }
}

@media (max-width: 520px) {
    .home-hero {
        padding-top: 54px;
    }
    .hero-meta-row,
    .hero-pills {
        align-items: stretch;
        flex-direction: column;
    }
    .hero-pills a,
    .hero-meta-row span,
    .hero-feature-link {
        width: 100%;
    }
    .area-card,
    .area-card img,
    .area-placeholder {
        min-height: 220px;
    }
}

/* ==========================================================================
   Public inner-page revamp
   ========================================================================== */
.inner-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 78px 0 52px;
    overflow: hidden;
    color: #fff;
    background: #06160e;
}
.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(3,14,9,.88), rgba(3,14,9,.58) 54%, rgba(3,14,9,.34)),
        linear-gradient(180deg, rgba(3,14,9,.1), rgba(3,14,9,.76)),
        var(--inner-bg, linear-gradient(140deg, #06160e, #0F7A3B));
    background-size: cover;
    background-position: center;
}
.inner-hero .container {
    position: relative;
    z-index: 1;
}
.inner-hero .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    font-weight: 700;
}
.inner-hero .breadcrumbs a {
    color: rgba(255,255,255,.88);
}
.inner-hero .breadcrumbs i {
    font-size: 9px;
    opacity: .7;
}
.inner-hero .eyebrow {
    color: #7fd6a2;
}
.inner-hero h1 {
    max-width: 900px;
    margin: 8px 0 14px;
    color: #fff;
    font-size: clamp(38px, 5.4vw, 72px);
    line-height: 1;
    letter-spacing: 0;
    font-weight: 850;
}
.inner-hero p {
    max-width: 720px;
    color: rgba(255,255,255,.84);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.62;
}
.inner-hero-metrics,
.inner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.inner-hero-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 800;
}
.inner-hero-metrics strong {
    color: #fff;
}
.inner-actions .btn-outline,
.inner-hero .btn-outline {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    color: #fff;
}
.inner-actions .btn-primary,
.inner-hero .btn-primary {
    background: #fff;
    color: var(--pp-dark);
    border-color: #fff;
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(340px, .75fr);
    gap: 40px;
    align-items: center;
}
.story-layout h2,
.faq-aside h2,
.contact-form h2 {
    margin: 6px 0 12px;
    color: var(--pp-ink);
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: 0;
}
.story-layout p,
.faq-aside p,
.contact-form p {
    color: var(--pp-muted);
    line-height: 1.7;
    font-size: 16px;
}
.story-card-stack {
    display: grid;
    gap: 12px;
}
.story-card-stack article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(9,30,20,.05);
}
.story-card-stack i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
}
.story-card-stack strong {
    display: block;
    color: var(--pp-ink);
    margin-bottom: 4px;
}
.story-card-stack span {
    color: var(--pp-muted);
    font-size: 14px;
    line-height: 1.55;
}

.contact-showcase,
.faq-layout,
.agent-profile-shell {
    display: grid;
    grid-template-columns: minmax(300px, .42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.contact-rail {
    display: grid;
    gap: 14px;
}
.contact-rail-card,
.agent-profile-card {
    padding: 26px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(9,30,20,.05);
}
.contact-rail-card i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
    margin-bottom: 16px;
}
.contact-rail-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.contact-rail-card p {
    color: var(--pp-muted);
    line-height: 1.65;
}
.contact-form.elevated {
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 16px 42px rgba(9,30,20,.08);
}

.faq-layout {
    grid-template-columns: minmax(280px, .38fr) minmax(0, .62fr);
}
.faq-aside {
    position: sticky;
    top: 112px;
    padding: 26px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
}
.faq-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.faq-topic-grid span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background: #F8FAF9;
    color: var(--pp-ink);
    font-size: 13px;
    font-weight: 800;
}
.faq-topic-grid i {
    color: var(--pp-green);
}
.faq-list.enhanced {
    max-width: none;
}
.faq-list.enhanced .faq-q {
    align-items: flex-start;
}
.faq-list.enhanced .faq-q span {
    display: grid;
    gap: 3px;
}
.faq-list.enhanced .faq-q small {
    color: var(--pp-green);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.legal-hero {
    min-height: 340px;
}
.legal-wrap {
    padding-top: 56px;
}

.agent-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.agent-directory-card {
    overflow: hidden;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(9,30,20,.05);
}
.agent-cover {
    height: 150px;
    background: #E8F7EF;
}
.agent-cover img,
.agent-cover span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    object-fit: cover;
    color: var(--pp-dark);
    font-size: 32px;
}
.agent-card-main {
    padding: 22px;
}
.agent-card-main .agent-avatar {
    margin-top: -48px;
    border: 4px solid #fff;
}
.agent-card-main h2 {
    font-size: 20px;
    margin: 12px 0 6px;
}
.agent-card-main p {
    color: var(--pp-muted);
    line-height: 1.55;
    min-height: 48px;
}
.agent-card-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}
.agent-card-stats span {
    padding: 10px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #F8FAF9;
    color: var(--pp-muted);
    font-size: 12.5px;
}
.agent-card-stats strong {
    display: block;
    color: var(--pp-ink);
    font-size: 17px;
}
.agent-profile-shell {
    padding: 48px 0 68px;
}
.agent-profile-card {
    position: sticky;
    top: 112px;
}
.agent-avatar.lg {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    font-size: 28px;
}
.agent-profile-card h2 {
    font-size: 24px;
    margin: 14px 0 8px;
}
.agent-profile-card > p {
    color: var(--pp-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.agent-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-assurance-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 32px;
}
.property-assurance-row div {
    padding: 18px;
    border: 1px solid var(--pp-line);
    border-radius: 8px;
    background: #fff;
}
.property-assurance-row i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #E8F7EF;
    color: var(--pp-dark);
    margin-bottom: 12px;
}
.property-assurance-row strong {
    display: block;
    margin-bottom: 4px;
}
.property-assurance-row span {
    color: var(--pp-muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .story-layout,
    .contact-showcase,
    .faq-layout,
    .agent-profile-shell {
        grid-template-columns: 1fr;
    }
    .faq-aside,
    .agent-profile-card {
        position: static;
    }
    .agent-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .inner-hero {
        min-height: 360px;
        padding: 58px 0 40px;
    }
    .inner-hero h1 {
        font-size: clamp(34px, 11vw, 50px);
    }
    .inner-hero-metrics,
    .inner-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .inner-hero-metrics span,
    .inner-actions .btn {
        width: 100%;
    }
    .agent-directory-grid,
    .agent-listing-grid,
    .property-assurance-row,
    .faq-topic-grid {
        grid-template-columns: 1fr;
    }
}

/* brand logo image (falls back to "P" text if the file is missing) */
.brand-mark.has-logo { background: #fff; padding: 3px; overflow: hidden; }
.brand-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Property market availability */
.availability-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid transparent;
    white-space: nowrap;
}
.availability-available { color: var(--pp-dark); background: #E8F7EF; border-color: #bfe6cf; }
.availability-locked { color: #A15C07; background: #FFFAEB; border-color: #f1d49a; }
.availability-sold { color: #B42318; background: #FDECEC; border-color: #f0c2c2; }
.property-card .property-media .availability-badge {
    position: absolute;
    right: 12px;
    top: 46px;
    z-index: 3;
    box-shadow: 0 6px 16px rgba(6,22,14,.12);
}
.property-summary-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.availability-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--pp-line);
    background: #F8FAF9;
    color: var(--pp-muted);
    font-size: 13.5px;
    line-height: 1.45;
}
.availability-note i {
    margin-top: 2px;
    color: var(--pp-dark);
}

}
