:root {
    --home-surface: #f7f6f2;
    --home-card: #ffffff;
    --home-line: #e4e1d8;
    --home-line-dark: #d6d1c6;
    --home-charcoal: #111827;
    --home-muted: #6b7280;
    --home-light: #9ca3af;
    --home-primary: #0f766e;
    --home-accent: #16a6a1;
    --home-navy: #14253d;
    --home-land: #17351d;
    --home-rent: #382116;
    --home-serif: "Playfair Display", Georgia, serif;
    --home-sans: "Plus Jakarta Sans", Arial, sans-serif;
}

body.home-redesign {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--home-charcoal);
    background: var(--home-surface);
    font-family: var(--home-sans);
    letter-spacing: 0;
}

.home-redesign *,
.home-redesign *::before,
.home-redesign *::after { box-sizing: border-box; }
.home-redesign img { display: block; max-width: 100%; }
.home-redesign button,
.home-redesign a { font: inherit; }
.home-redesign a { color: inherit; text-decoration: none; }
.home-redesign h1,
.home-redesign h2,
.home-redesign h3,
.home-redesign p { margin: 0; }
.home-mobile-only { display: none !important; }
.home-container { width: min(100% - 48px, 1320px); margin-inline: auto; }

.home-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 720px;
    min-height: 660px;
    max-height: 760px;
    overflow: hidden;
    color: #fff;
    background: #071317;
}
.home-hero__media,
.home-hero__media img,
.home-hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__media { z-index: 0; background: #111827; pointer-events: none; }
.home-hero__media img { object-fit: cover; object-position: center; }
.home-hero__overlay {
    background:
        linear-gradient(135deg, rgba(5,20,24,.78) 0%, rgba(5,20,24,.5) 45%, rgba(5,20,24,.22) 100%),
        linear-gradient(90deg, rgba(5,20,24,.86) 0%, rgba(5,20,24,.42) 50%, transparent 100%),
        linear-gradient(180deg, transparent 72%, rgba(5,20,24,.3) 86%, var(--home-surface) 100%);
}
.home-navbar { position: relative; z-index: 5; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.15); backdrop-filter: blur(6px); }
.home-navbar__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.home-logo > img { display: block; width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 5px 16px rgba(0,0,0,.2); }
.home-logo__desktop { display: flex; align-items: baseline; gap: 8px; }
.home-logo__desktop b { font-size: 20px; font-weight: 700; }
.home-logo__desktop b span, .home-logo__mobile b span { color: var(--home-accent); }
.home-logo__desktop em { color: rgba(255,255,255,.58); font-size: 9px; font-style: normal; letter-spacing: 0; }
.home-logo__mobile,
.home-logo__seal { display: none; }
.home-navbar__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.home-navbar__links a { padding: 10px 0 8px; color: rgba(255,255,255,.84); font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-navbar__links a:hover { color: #fff; }
.home-navbar__links .is-active { position: relative; color: #fff; border-bottom: 2px solid var(--home-accent); }
.home-navbar__links .is-active::before { content: ""; width: 6px; height: 6px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--home-accent); }
.home-navbar__actions { display: flex; align-items: center; gap: 16px; }
.home-language { display: flex; padding: 4px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.1); }
.home-language button { padding: 3px 10px; border: 0; border-radius: 999px; color: rgba(255,255,255,.85); background: transparent; font-size: 11px; cursor: pointer; }
.home-language .is-active { color: var(--home-charcoal); background: #fff; }
.home-login { padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; font-size: 12px; }
.home-round-button { display: none; }

.home-hero__content { position: relative; z-index: 3; flex: 1; display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 32px; padding-block: 70px 78px; }
.home-hero__copy { max-width: 650px; align-self: center; }
.home-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 20px !important; color: rgba(255,255,255,.9); font-size: 11px; text-transform: uppercase; }
.home-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--home-accent); }
.home-kicker b { font-weight: 700; }
.home-hero__copy h1 { color: #f7f5ef; font-family: var(--home-serif); font-size: 76px; font-weight: 500; line-height: 1.04; }
.home-hero__copy h1 em { color: var(--home-accent); font-weight: 400; }
.home-hero__copy > p:last-child { max-width: 610px; margin-top: 24px; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.7; }
.home-hero__categories { display: flex; align-items: center; justify-content: flex-end; align-self: end; gap: 22px; padding-bottom: 10px; }
.home-hero__categories a { display: flex; align-items: center; gap: 7px; font-family: var(--home-serif); font-size: 29px; font-weight: 500; white-space: nowrap; }
.home-hero__categories a span { color: var(--home-accent); font-family: var(--home-sans); font-size: 19px; transition: transform .2s ease; }
.home-hero__categories a:hover span { transform: translateX(4px); }
.home-hero__categories i { width: 1px; height: 24px; background: rgba(255,255,255,.2); }
.home-scroll-cue { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 3px; padding-bottom: 22px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.home-scroll-cue span { color: var(--home-accent); font-size: 15px; }

.home-main { overflow: hidden; background: var(--home-surface); }
.home-explore-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 76px; padding-bottom: 36px; }
.home-section-kicker,
.home-listing-section__header p,
.home-enclaves header p { color: var(--home-primary); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.home-explore-intro h2 { margin-top: 10px; font-family: var(--home-serif); font-size: 62px; font-weight: 400; line-height: 1.08; }
.home-explore-intro > p { width: 430px; padding-bottom: 8px; color: var(--home-muted); font-size: 17px; line-height: 1.7; }

.home-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 58px; }
.home-category { position: relative; display: block; min-height: 520px; aspect-ratio: 1 / 1.38; overflow: hidden; border: 1px solid rgba(0,0,0,.05); border-radius: 24px; color: #fff; box-shadow: 0 5px 14px rgba(17,24,39,.1); transition: transform .35s ease, box-shadow .35s ease; }
.home-category:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(17,24,39,.2); }
.home-category picture,
.home-category picture img,
.home-category__wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-category picture img { object-fit: cover; transition: transform .6s ease; }
.home-category:hover picture img { transform: scale(1.03); }
.home-category__wash { background: linear-gradient(to top, var(--category-color) 0%, color-mix(in srgb, var(--category-color) 74%, transparent) 45%, transparent 100%); }
.home-category--land { --category-color: var(--home-land); }
.home-category--flat { --category-color: var(--home-navy); }
.home-category--rent { --category-color: var(--home-rent); }
.home-category__badges { position: absolute; z-index: 1; top: 24px; right: 24px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-category__badges span { padding: 6px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: color-mix(in srgb, var(--category-color) 76%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 14px rgba(4,25,29,.16); font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-shadow: 0 1px 2px rgba(0,0,0,.28); text-transform: uppercase; }
.home-category__badges span:first-child { background: color-mix(in srgb, var(--category-color) 62%, transparent); }
.home-category__content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 32px; }
.home-category__content h3 { color: #fff; font-family: var(--home-serif); font-size: 38px; font-weight: 400; }
.home-category__content p { max-width: 330px; margin-top: 8px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.65; }
.home-category__action { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.home-category__action strong { color: #fff; font-size: 13px; font-weight: 600; }
.home-category__action i { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.14); font-size: 19px; }

.home-trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 30px; border: 1px solid var(--home-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 6px rgba(17,24,39,.04); }
.home-trust-strip span { display: flex; gap: 8px; color: var(--home-primary); font-size: 12px; }
.home-trust-strip span b { color: var(--home-charcoal); font-weight: 600; }
.home-trust-strip > i { width: 1px; height: 14px; background: var(--home-line); }

.home-listing-section { padding-top: 62px; padding-bottom: 44px; }
.home-listing-section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 17px; border-bottom: 1px solid var(--home-line); }
.home-listing-section__header p { margin-bottom: 6px; }
.home-listing-section__header h2 { font-family: var(--home-serif); font-size: 29px; font-weight: 600; line-height: 1.25; }
.home-listing-section__header > a { display: flex; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.home-property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.home-property-card { min-width: 0; overflow: hidden; border: 1px solid var(--home-line); border-radius: 10px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.home-property-card:hover { border-color: var(--home-line-dark); box-shadow: 0 10px 24px rgba(17,24,39,.08); }
.home-property-card__media { position: relative; height: 208px; overflow: hidden; background: #f3f4f6; }
.home-property-card__media picture,
.home-property-card__media img { width: 100%; height: 100%; }
.home-property-card__media img { object-fit: cover; transition: transform .4s ease; }
.home-property-card:hover .home-property-card__media img { transform: scale(1.04); }
.home-property-card__media > span { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border: 1px solid var(--home-line); border-radius: 4px; color: #172b1a; background: rgba(250,248,245,.95); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.home-property-card__body { padding: 22px; }
.home-property-card__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-property-card__price strong { font-size: 20px; font-weight: 700; }
.home-property-card__price small { color: var(--home-muted); font-size: 10px; }
.home-property-card__body h3 { margin-top: 5px; font-family: var(--home-serif); font-size: 17px; font-weight: 600; }
.home-property-card__location { display: flex; align-items: center; gap: 4px; margin-top: 5px !important; color: var(--home-muted); font-size: 11px; }
.home-property-card__location i { color: var(--home-light); font-size: 14px; }
.home-property-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 12px; padding: 12px 0; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home-property-card__specs div { min-width: 0; padding: 0 7px; text-align: center; }
.home-property-card__specs div + div { border-left: 1px solid var(--home-line); }
.home-property-card__specs dt { color: var(--home-light); font-size: 9px; text-transform: uppercase; }
.home-property-card__specs dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 10px; font-weight: 600; }
.home-property-card__specs div:last-child dd { color: var(--home-primary); }
.home-property-card__link { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 10px; font-weight: 600; }
.home-property-card__link i { font-size: 14px; }

.home-enclaves { padding-top: 54px; padding-bottom: 60px; border-top: 1px solid var(--home-line); }
.home-enclaves header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.home-enclaves header h2 { margin-top: 5px; font-family: var(--home-serif); font-size: 28px; font-weight: 600; }
.home-enclaves header > span { max-width: 420px; color: var(--home-muted); font-size: 10px; line-height: 1.6; }
.home-enclaves > div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.home-enclaves a { display: flex; min-height: 86px; flex-direction: column; justify-content: center; padding: 13px 15px; border: 1px solid var(--home-line); border-radius: 9px; background: #fff; }
.home-enclaves small { color: var(--home-light); font-size: 8px; text-transform: uppercase; }
.home-enclaves b { margin-top: 4px; font-family: var(--home-serif); font-size: 14px; }
.home-enclaves span { margin-top: 3px; color: var(--home-muted); font-size: 9px; }

.home-services { display: none; }
.home-advisory { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 52px; margin-bottom: 78px; padding: 34px 42px; border: 1px solid var(--home-line); border-radius: 10px; background: #fff; }
.home-advisory__copy > p { display: flex; align-items: center; gap: 8px; color: var(--home-primary); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.home-advisory__copy > p i { font-size: 16px; }
.home-advisory__copy h2 { margin-top: 16px; font-family: var(--home-serif); font-size: 30px; font-weight: 500; line-height: 1.12; }
.home-advisory__copy > span { display: block; max-width: 730px; margin-top: 12px; color: var(--home-muted); font-size: 10px; line-height: 1.6; }
.home-advisory__action { padding-left: 36px; border-left: 1px solid var(--home-line); }
.home-advisory__action > div { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.home-advisory__action > div > i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--home-primary); background: #f0fdfa; }
.home-advisory__action span { display: flex; flex-direction: column; }
.home-advisory__action span b { font-size: 10px; }
.home-advisory__action span small { margin-top: 2px; color: var(--home-muted); font-size: 8px; }
.home-advisory__action > a,
.home-advisory__action > button { display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 5px; cursor: pointer; font-size: 10px; font-weight: 700; }
.home-advisory__action > a { color: #fff; background: #111827; }
.home-advisory__action > a i { font-size: 16px; }
.home-advisory__action > button { margin-top: 8px; color: var(--home-charcoal); background: #e9e7e1; }

.home-footer { display: block; padding: 0; border-top: 1px solid var(--home-line); color: var(--home-muted); background: #fff; }
.home-footer__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 70px; padding-top: 48px; padding-bottom: 42px; }
.home-footer__grid section { display: flex; align-items: flex-start; flex-direction: column; }
.home-footer__brand { display: flex; align-items: center; gap: 8px; color: var(--home-charcoal); }
.home-footer__brand img { width: 28px; height: 28px; border-radius: 7px; }
.home-footer__brand b { font-size: 13px; }
.home-footer__brand em { color: var(--home-primary); font-family: var(--home-serif); font-size: 12px; }
.home-footer__grid section:first-child p { max-width: 330px; margin-top: 15px; font-size: 9px; line-height: 1.6; }
.home-footer__grid section:first-child > span { margin-top: 13px; padding: 4px 8px; border: 1px solid var(--home-line); border-radius: 4px; background: #f2f0ea; font-size: 8px; }
.home-footer h3 { margin: 0 0 14px; color: var(--home-charcoal); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.home-footer__grid section > a:not(.home-footer__brand),
.home-footer address,
.home-footer__grid section > small { margin-bottom: 7px; font-size: 9px; font-style: normal; }
.home-footer #contact > a { color: var(--home-primary); font-weight: 700; }
.home-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--home-line); font-size: 8px; }
.home-footer__bottom nav { display: flex; gap: 25px; }

@media (max-width: 1120px) {
    .home-navbar__links { gap: 15px; }
    .home-navbar__links a { font-size: 11px; }
    .home-logo__desktop em { display: none; }
    .home-hero__copy h1 { font-size: 62px; }
    .home-category { min-height: 460px; }
    .home-trust-strip span { font-size: 10px; }
}

@media (max-width: 720px) {
    body.home-redesign { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); background: #fbf9f6; }
    .home-desktop-only { display: none !important; }
    .home-mobile-only { display: initial !important; }
    .home-container { width: 100%; }

    .home-hero { height: 580px; min-height: 580px; max-height: 640px; }
    .home-hero__media img { object-position: center; }
    .home-hero__overlay { background: linear-gradient(180deg, rgba(5,20,24,.84) 0%, rgba(15,61,60,.38) 48%, rgba(7,19,24,.97) 100%); }
    .home-navbar { border: 0; background: transparent; backdrop-filter: none; }
    .home-navbar__inner { height: 64px; padding: env(safe-area-inset-top, 0px) 16px 0; }
    .home-logo { gap: 9px; }
    .home-logo > img { width: 32px; height: 32px; }
    .home-logo__desktop { display: none; }
    .home-logo__mobile { display: flex; flex-direction: column; }
    .home-logo__mobile b { font-size: 18px; line-height: 1; }
    .home-logo__mobile small { margin-top: 3px; color: #5eead4; font-size: 8px; font-weight: 700; text-transform: uppercase; }
    .home-navbar__links,
    .home-language,
    .home-login { display: none; }
    .home-navbar__actions { gap: 8px; }
    .home-round-button { display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); }
    .home-round-button i { font-size: 18px; }

    .home-hero__content { display: flex; flex: 1; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 16px; padding: 46px 20px 38px; }
    .home-hero__copy { align-self: stretch; }
    .home-kicker { margin-bottom: 10px !important; font-size: 10px; }
    .home-kicker span { width: 6px; height: 6px; }
    .home-hero__copy h1.home-mobile-only { display: block !important; font-size: 36px; line-height: 1.17; }
    .home-hero__copy > p:last-child { max-width: 370px; margin-top: 14px; font-size: 13px; line-height: 1.62; }
    .home-hero__categories { width: 100%; align-self: auto; gap: 0; padding: 10px 7px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
    .home-hero__categories a { flex: 1; justify-content: center; gap: 5px; padding: 6px 0; font-family: var(--home-sans); font-size: 13px; font-weight: 600; }
    .home-hero__categories a span { font-size: 13px; }
    .home-hero__categories i { height: 20px; }
    .home-hero__trust { position: relative; z-index: 3; padding: 12px 10px 22px; color: rgba(255,255,255,.62); font-size: 9px; text-align: center; white-space: nowrap; }
    .home-hero__trust i { padding: 0 6px; color: rgba(255,255,255,.3); font-style: normal; }

    .home-explore-intro { display: block; padding: 28px 20px 12px; }
    .home-section-kicker { font-size: 10px; }
    .home-explore-intro h2 { margin-top: 7px; font-size: 27px; font-weight: 500; line-height: 1.2; }
    .home-explore-intro > p { width: auto; padding: 0; margin-top: 7px; font-size: 13px; line-height: 1.55; }

    .home-category-grid { display: flex; flex-direction: column; gap: 20px; padding: 7px 16px 0; }
    .home-category { width: 100%; min-height: 0; height: 320px; aspect-ratio: auto; border-radius: 24px; }
    .home-category__wash { background: linear-gradient(to bottom, color-mix(in srgb, var(--category-color) 45%, transparent), color-mix(in srgb, var(--category-color) 82%, transparent) 53%, var(--category-color)); }
    .home-category__badges { top: 20px; right: 20px; left: 20px; }
    .home-category__badges span { padding: 5px 10px; font-size: 9px; }
    .home-category__content { padding: 20px; }
    .home-category__content h3 { font-size: 38px; line-height: 1; }
    .home-category__content p { margin-top: 8px; font-size: 12px; line-height: 1.5; }
    .home-category__action { margin-top: 13px; padding-top: 12px; }
    .home-category__action strong { font-size: 12px; }
    .home-category__action i { width: 36px; height: 36px; font-size: 17px; }

    .home-trust-strip { width: auto; margin: 20px 16px 0; display: block; padding: 10px 13px; border-radius: 12px; text-align: center; }
    .home-trust-strip span { display: inline; color: var(--home-charcoal); font-size: 10px; line-height: 1.8; }
    .home-trust-strip span:first-child,
    .home-trust-strip span:nth-of-type(n+4),
    .home-trust-strip > i { display: none; }
    .home-trust-strip span:nth-of-type(2)::after { content: " • "; color: var(--home-muted); }
    .home-trust-strip span:nth-of-type(2) b::before { content: "✓ "; color: var(--home-primary); }
    .home-trust-strip span:nth-of-type(2) b { color: var(--home-primary); }

    .home-mobile-enclaves { display: flex !important; flex-direction: column; gap: 10px; padding: 22px 16px 0; }
    .home-mobile-enclaves > div { display: flex; align-items: center; justify-content: space-between; color: var(--home-muted); font-size: 10px; text-transform: uppercase; }
    .home-mobile-enclaves > div a { color: var(--home-primary); font-weight: 600; text-transform: none; }
    .home-mobile-enclaves nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
    .home-mobile-enclaves nav::-webkit-scrollbar { display: none; }
    .home-mobile-enclaves nav span { flex: none; padding: 7px 12px; border: 1px solid var(--home-line); border-radius: 999px; background: #fff; font-size: 10px; font-weight: 600; }

    .home-listing-section { padding: 30px 16px 0; }
    .home-listing-section__header { align-items: flex-start; margin-bottom: 11px; padding: 0; border: 0; }
    .home-listing-section__header p { display: none; }
    .home-listing-section__header h2 { font-size: 22px; }
    .home-listing-section__header small { display: block !important; margin-top: 2px; color: var(--home-muted); font-size: 10px; }
    .home-listing-section__header > a { padding-top: 5px; color: var(--home-primary); font-size: 10px; text-transform: none; }
    .home-property-grid { display: flex; flex-direction: column; gap: 11px; }
    .home-property-card--desktop-extra { display: none; }
    .home-property-card { border-radius: 10px; }
    .home-property-card__media { height: 155px; }
    .home-property-card__media > span { top: 8px; left: 8px; padding: 4px 7px; font-size: 8px; }
    .home-property-card__body { padding: 11px 12px 10px; }
    .home-property-card__price strong { font-size: 18px; }
    .home-property-card__price small { font-size: 8px; }
    .home-property-card__body h3 { margin-top: 3px; font-size: 14px; }
    .home-property-card__location { margin-top: 2px !important; font-size: 8px; }
    .home-property-card__location i { font-size: 11px; }
    .home-property-card__specs { margin: 9px 0 8px; padding: 7px 0; }
    .home-property-card__specs dt { font-size: 7px; }
    .home-property-card__specs dd { margin-top: 2px; font-size: 8px; }
    .home-property-card__link { min-height: 29px; justify-content: center; border-radius: 4px; color: #fff; background: var(--home-primary); font-size: 9px; }
    .home-property-card__link i { font-size: 12px; }

    .home-services { display: block; padding: 31px 16px 0; }
    .home-services h2 { font-family: var(--home-serif); font-size: 20px; }
    .home-services > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 11px; }
    .home-services article { display: flex; min-height: 92px; flex-direction: column; gap: 3px; padding: 11px; border: 1px solid var(--home-line); border-radius: 10px; background: #fff; }
    .home-services article i { color: var(--home-primary); font-size: 19px; }
    .home-services article b { font-size: 11px; }
    .home-services article span { color: var(--home-muted); font-size: 9px; line-height: 1.3; }

    .home-advisory { display: flex; width: auto; margin: 22px 16px 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 15px; border: 0; border-radius: 11px; color: #fff; background: var(--home-navy); }
    .home-advisory__copy > p { color: #5eead4; font-size: 9px; }
    .home-advisory__copy h2.home-mobile-only { display: block !important; margin-top: 8px; font-size: 16px; line-height: 1.3; }
    .home-advisory__action { padding: 0; border: 0; }
    .home-advisory__action > a { min-height: 39px; background: #0d9488; font-size: 11px; }
    .home-advisory__action > a span { display: block; }

    .home-footer { margin-top: 30px; background: #efeeeb; }
    .home-footer__grid { display: flex; flex-direction: column; gap: 14px; padding: 28px 16px 10px; }
    .home-footer__brand em { display: none; }
    .home-footer__brand b { color: var(--home-primary); font-size: 15px; }
    .home-footer__grid section:first-child p { max-width: none; margin-top: 5px; font-size: 10px; }
    .home-footer__grid section:first-child > span { display: none; }
    .home-footer #contact { padding-top: 11px; border-top: 1px solid var(--home-line); }
    .home-footer #contact > b { display: block !important; color: var(--home-muted); font-size: 8px; text-transform: uppercase; }
    .home-footer address { margin-top: 5px; font-size: 9px; }
    .home-footer #contact > a { margin: 1px 0 0; font-size: 11px; }
    .home-footer #contact > small { display: none; }
    .home-footer__bottom { display: block; padding: 5px 16px 25px; border: 0; font-size: 8px; }
    .home-footer__bottom nav { margin-top: 8px; gap: 8px; flex-wrap: wrap; }
    .home-footer__bottom nav a + a::before { content: "•"; margin-right: 8px; }

    .home-bottom-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; height: calc(56px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); display: flex !important; align-items: stretch; justify-content: space-around; border-top: 1px solid var(--home-line); background: rgba(251,249,246,.96); backdrop-filter: blur(16px); }
    .home-bottom-nav a { display: flex; width: 60px; align-items: center; justify-content: center; flex-direction: column; gap: 1px; color: var(--home-muted); font-size: 9px; }
    .home-bottom-nav a i { font-size: 19px; }
    .home-bottom-nav .is-active { color: var(--home-primary); font-weight: 700; }
}

@media (max-width: 360px) {
    .home-hero__copy h1.home-mobile-only { font-size: 32px; }
    .home-hero__trust { font-size: 8px; }
    .home-category__badges span { padding-inline: 8px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-redesign *,
    .home-redesign *::before,
    .home-redesign *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

/* Property Lagbe-inspired homepage refinements. The category trio above remains unchanged. */
html:has(body.home-redesign) {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body.home-redesign {
    --home-surface: #f7f9f7;
    --home-line: #dfe6e2;
    --home-line-dark: #cad6d0;
    --home-charcoal: #17211f;
    --home-muted: #66716d;
    --home-primary: #116b63;
    --home-accent: #2aa49a;
    --home-serif: "Instrument Serif", "Playfair Display", Georgia, serif;
    --home-sans: "Manrope", "Plus Jakarta Sans", Arial, sans-serif;
}

.home-hero,
.home-listing-section,
.home-enclaves,
.home-services,
.home-advisory,
.home-footer {
    scroll-margin-top: 68px;
    scroll-snap-align: start;
}

.home-navbar {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    border-bottom-color: rgba(255,255,255,.12);
    background: linear-gradient(180deg, rgba(7,20,24,.58), rgba(7,20,24,.16));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}

.home-navbar__inner { height: 68px; }
.home-navbar.is-scrolled {
    border-bottom-color: rgba(17,107,99,.13);
    background: rgba(239,246,242,.94);
    box-shadow: 0 8px 28px rgba(28,52,47,.09);
}
.home-navbar.is-scrolled .home-logo,
.home-navbar.is-scrolled .home-navbar__links a,
.home-navbar.is-scrolled .home-login { color: var(--home-charcoal); }
.home-navbar.is-scrolled .home-logo__desktop em { color: var(--home-muted); }
.home-navbar.is-scrolled .home-navbar__links .is-active { color: var(--home-primary); }
.home-navbar.is-scrolled .home-language { border-color: #cedbd6; background: rgba(255,255,255,.65); }
.home-navbar.is-scrolled .home-language button { color: var(--home-muted); }
.home-navbar.is-scrolled .home-language .is-active { color: #fff; background: var(--home-primary); }
.home-navbar.is-scrolled .home-login { border-color: #c8d6d0; background: rgba(255,255,255,.62); }

.home-listing-section {
    position: relative;
    isolation: isolate;
    min-height: min(760px, calc(100svh - 68px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 64px;
}
.home-listing-section::before {
    position: absolute;
    z-index: -1;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    content: "";
}
#featured-land::before { background: #eaf2ed; }
#featured-flats::before { background: #edf3f8; }
#featured-rentals::before { background: #f3eeea; }
.home-listing-section__header {
    align-items: center;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom-color: rgba(49,78,70,.14);
}
.home-listing-section__header p { margin-bottom: 7px; }
.home-listing-section__header h2 { font-size: 36px; font-weight: 400; line-height: 1.08; }
.home-listing-section__header > a {
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(17,107,99,.22);
    border-radius: 6px;
    color: var(--home-primary);
    background: rgba(255,255,255,.55);
}

.home-property-card {
    height: 100%;
    border-color: rgba(36,65,57,.14);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(38,58,52,.07);
}
.home-property-card:hover { box-shadow: 0 18px 42px rgba(38,58,52,.13); }
.home-property-card__media > span {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(17,107,99,.9);
    box-shadow: 0 4px 14px rgba(12,49,44,.18);
}
.home-property-card__body h3 { font-size: 19px; font-weight: 400; line-height: 1.2; }
.home-property-card__location { min-height: 32px; line-height: 1.45; }
.home-property-card__link { color: var(--home-primary); }

#featured-land .home-property-grid {
    height: 500px;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
#featured-land .home-property-card:first-child { grid-row: 1 / 3; }
#featured-land .home-property-card:first-child .home-property-card__media { height: 248px; }
#featured-land .home-property-card:not(:first-child) {
    display: grid;
    grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
}
#featured-land .home-property-card:not(:first-child) .home-property-card__media { height: 100%; }
#featured-land .home-property-card:not(:first-child) .home-property-card__body { padding: 17px; }
#featured-land .home-property-card:not(:first-child) .home-property-card__price strong { font-size: 16px; }
#featured-land .home-property-card:not(:first-child) .home-property-card__body h3 { font-size: 16px; }
#featured-land .home-property-card:not(:first-child) .home-property-card__specs { margin: 10px 0 8px; padding: 8px 0; }

#featured-flats .home-property-grid { gap: 22px; }
#featured-flats .home-property-card__media { height: 248px; }
#featured-flats .home-property-card:nth-child(2) { transform: translateY(16px); }
#featured-flats .home-property-card:nth-child(2):hover { transform: translateY(10px); }

#featured-rentals .home-property-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}
#featured-rentals .home-property-card {
    display: grid;
    min-height: 220px;
    grid-column: span 6;
    grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
}
#featured-rentals .home-property-card:last-child {
    min-height: 184px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(240px, 28%) minmax(0, 1fr);
}
#featured-rentals .home-property-card__media { height: 100%; }
#featured-rentals .home-property-card__body { padding: 18px 20px; }
#featured-rentals .home-property-card__specs { margin: 12px 0 9px; padding: 9px 0; }

.home-services {
    position: relative;
    isolation: isolate;
    display: block;
    padding-top: 66px;
    padding-bottom: 66px;
}
.home-services::before {
    position: absolute;
    z-index: -1;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #e4eee9;
    content: "";
}
.home-services h2 { font-family: var(--home-serif); font-size: 36px; font-weight: 400; }
.home-services > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.home-services article {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid rgba(17,107,99,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.7);
}
.home-services article i { color: var(--home-primary); font-size: 25px; }
.home-services article b { font-size: 14px; }
.home-services article span { color: var(--home-muted); font-size: 11px; line-height: 1.55; }

.home-advisory {
    margin-top: 54px;
    margin-bottom: 54px;
    border-color: rgba(255,255,255,.09);
    color: #f5faf7;
    background: #173630;
    box-shadow: 0 18px 44px rgba(20,48,42,.16);
}
.home-advisory__copy > p { color: #72d1c5; }
.home-advisory__copy > span,
.home-advisory__action span small { color: rgba(245,250,247,.7); }
.home-advisory__action { border-left-color: rgba(255,255,255,.16); }
.home-advisory__action > a { background: #278f85; }
.home-advisory__action > button { color: #173630; background: #dceae4; }

.home-footer {
    border-top-color: #cbd9d3;
    background: #dfeae5;
}
.home-footer__bottom { border-top-color: #c5d4ce; }
.home-footer__grid section:first-child > span { background: rgba(255,255,255,.48); }

@media (max-width: 1120px) and (min-width: 721px) {
    .home-navbar__inner { gap: 14px; }
    .home-navbar__links { gap: 13px; }
    .home-navbar__actions { gap: 9px; }
    .home-language { display: none; }
    #featured-land .home-property-card:not(:first-child) { grid-template-columns: 40% minmax(0, 1fr); }
    #featured-rentals .home-property-card { grid-template-columns: 38% minmax(0, 1fr); }
}

@media (max-width: 720px) {
    html:has(body.home-redesign) { scroll-snap-type: none; }
    .home-hero,
    .home-listing-section,
    .home-enclaves,
    .home-services,
    .home-advisory,
    .home-footer { scroll-margin-top: 60px; }

    .home-navbar { background: linear-gradient(180deg, rgba(7,20,24,.7), transparent); backdrop-filter: none; }
    .home-navbar.is-scrolled { background: rgba(236,245,240,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .home-navbar__inner { height: 60px; gap: 8px; }
    .home-logo { min-width: 0; }
    .home-logo__mobile { min-width: 0; }
    .home-navbar__actions { display: flex; flex: 0 0 auto; margin-left: auto; }
    .home-round-button { display: grid !important; flex: 0 0 36px; }
    .home-navbar.is-scrolled .home-logo__mobile small { color: var(--home-primary); }
    .home-navbar.is-scrolled .home-round-button { border-color: #c9d8d1; color: var(--home-charcoal); background: rgba(255,255,255,.7); }
    .home-navbar__links {
        position: fixed;
        top: 60px;
        right: 12px;
        left: 12px;
        display: none;
        max-height: calc(100svh - 76px);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        overflow-y: auto;
        padding: 10px;
        border: 1px solid #d6e2dc;
        border-radius: 8px;
        background: rgba(246,250,248,.98);
        box-shadow: 0 18px 46px rgba(20,48,42,.18);
    }
    .home-navbar__links.is-open { display: flex; }
    .home-navbar__links a,
    .home-navbar__links .is-active {
        padding: 11px 12px;
        border: 0;
        border-radius: 5px;
        color: var(--home-charcoal);
        font-size: 13px;
    }
    .home-navbar__links .is-active { color: var(--home-primary); background: #e5f0eb; }
    .home-navbar__links .is-active::before { display: none; }
    .home-hero__categories { overflow: hidden; }
    .home-hero__categories a { min-width: 0; font-size: 12px; }

    .home-listing-section {
        width: 100%;
        min-height: 0;
        padding: 42px 0 44px;
    }
    .home-listing-section__header { margin: 0 16px 18px; }
    .home-listing-section__header h2 { max-width: 260px; font-size: 27px; line-height: 1.05; }
    .home-listing-section__header small { max-width: 255px; margin-top: 7px; font-size: 11px; line-height: 1.45; }
    .home-listing-section__header > a { min-height: 32px; padding: 0; border: 0; background: transparent; }

    #featured-land .home-property-grid,
    #featured-flats .home-property-grid,
    #featured-rentals .home-property-grid {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        padding: 0 16px 10px;
        scroll-padding-inline: 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    #featured-land .home-property-grid::-webkit-scrollbar,
    #featured-flats .home-property-grid::-webkit-scrollbar,
    #featured-rentals .home-property-grid::-webkit-scrollbar { display: none; }
    #featured-land .home-property-card,
    #featured-flats .home-property-card,
    #featured-rentals .home-property-card,
    #featured-rentals .home-property-card:last-child {
        display: block;
        min-height: 0;
        flex: 0 0 min(82vw, 330px);
        grid-row: auto;
        grid-column: auto;
        grid-template-columns: none;
        transform: none;
        scroll-snap-align: start;
    }
    #featured-land .home-property-card:not(:first-child) {
        display: block;
        grid-template-columns: none;
    }
    .home-property-card--desktop-extra { display: block; }
    #featured-land .home-property-card .home-property-card__media,
    #featured-flats .home-property-card .home-property-card__media,
    #featured-rentals .home-property-card .home-property-card__media { height: 180px; }
    .home-property-card__body { padding: 14px; }
    .home-property-card__body h3 { font-size: 17px; }
    .home-property-card__location { min-height: 28px; font-size: 9px; }
    .home-property-card__specs { margin: 12px 0 9px; padding: 9px 0; }
    .home-property-card__link { min-height: 34px; }

    .home-services { width: calc(100% - 32px); padding: 36px 0; }
    .home-services h2 { font-size: 28px; }
    .home-services > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
    .home-services article { min-height: 112px; padding: 14px; border-radius: 8px; }
    .home-services article b { font-size: 12px; }
    .home-services article span { font-size: 9px; }

    .home-advisory { margin-top: 24px; margin-bottom: 24px; background: #173630; }
    .home-footer { margin-top: 0; background: #dfeae5; }
    .home-bottom-nav { background: rgba(239,246,242,.97); }
}

/* Reference-aligned hero and listing cards. The category trio is intentionally untouched. */
.home-hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
    background: #111827;
}
.home-hero__media img { object-position: center 45%; }
.home-hero__overlay {
    background: linear-gradient(180deg, rgba(17,24,39,.72) 0%, rgba(17,24,39,.12) 38%, rgba(17,24,39,.4) 60%, rgba(17,24,39,.94) 100%);
}
.home-navbar {
    color: #fff;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.home-navbar__inner { height: 68px; }
.home-navbar__links { gap: 2px; }
.home-navbar__links a {
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}
.home-navbar__links .is-active {
    border: 0;
    color: #fff;
    background: rgba(255,255,255,.16);
}
.home-navbar__links .is-active::before { display: none; }
.home-login {
    height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(31,41,55,.92);
    font-size: 14px;
    font-weight: 600;
}
.home-hero__content {
    width: min(100% - 48px, 1320px);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    padding-top: clamp(100px, 16svh, 150px);
    padding-right: clamp(24px, 3vw, 40px);
    padding-bottom: clamp(36px, 5vw, 56px);
    padding-left: clamp(24px, 3vw, 40px);
}
.home-hero__copy {
    width: 100%;
    max-width: 1080px;
    align-self: auto;
}
.home-hero__copy > .home-kicker {
    max-width: none;
    margin-top: 0;
    gap: 14px;
    margin-bottom: 24px !important;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .14em;
}
.home-kicker span {
    width: 36px;
    height: 1px;
    border-radius: 0;
    background: #fff;
}
.home-hero__copy h1 {
    max-width: 1080px;
    color: #fff;
    font-size: clamp(48px, min(8.6vw, 12svh), 124px);
    font-weight: 400;
    line-height: 1.02;
}
.home-hero__lower {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 28px 48px;
    margin-top: clamp(20px, 4svh, 44px);
    padding-top: clamp(16px, 3svh, 28px);
    border-top: 1px solid rgba(255,255,255,.28);
}
.home-hero__lower > p {
    max-width: 480px;
    color: #e5e7eb;
    font-size: 17px;
    line-height: 1.6;
}
.home-hero__categories {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-self: auto;
    justify-content: end;
    gap: 0;
    padding: 0;
}
.home-hero__categories a {
    min-width: 120px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 26px;
    border-left: 1px solid rgba(255,255,255,.28);
    font-size: 0;
}
.home-hero__categories a > span {
    color: #fff;
    font-family: var(--home-serif);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.1;
}
.home-hero__categories a > small {
    margin-top: 4px;
    color: rgba(255,255,255,.7);
    font-family: var(--home-sans);
    font-size: 12px;
    font-weight: 700;
}
.home-location-rail {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.home-location-rail > div {
    min-height: 68px;
    display: flex;
    align-items: baseline;
    gap: 10px 34px;
    overflow-x: auto;
    scrollbar-width: none;
}
.home-location-rail > div::-webkit-scrollbar { display: none; }
.home-location-rail b {
    flex: none;
    color: var(--home-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.home-location-rail a {
    flex: none;
    color: #374151;
    font-family: var(--home-serif);
    font-size: 20px;
}
.home-location-rail a:hover { color: var(--home-primary); }

.home-listing-section { min-height: min(760px, calc(100svh - 68px)); }
#featured-land .home-property-grid,
#featured-flats .home-property-grid,
#featured-rentals .home-property-grid {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 16px;
}
#featured-land .home-property-card,
#featured-land .home-property-card:first-child,
#featured-land .home-property-card:not(:first-child),
#featured-flats .home-property-card,
#featured-flats .home-property-card:nth-child(2),
#featured-rentals .home-property-card,
#featured-rentals .home-property-card:last-child {
    min-height: 0;
    height: 100%;
    display: flex;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 24px;
    transform: none;
}
.home-property-card--land {
    --property-dark: #1f2d1b;
    --property-accent: #4d6b3c;
    --property-soft: #e1e8d6;
    --property-card-bg: #fbfcf8;
    --property-shadow: rgba(31,45,27,.4);
}
.home-property-card--flat {
    --property-dark: #132033;
    --property-accent: #2f4d7a;
    --property-soft: #dce4f0;
    --property-card-bg: #fafbfe;
    --property-shadow: rgba(19,32,51,.4);
}
.home-property-card--rent {
    --property-dark: #2e1a12;
    --property-accent: #a2532f;
    --property-soft: #f3e3d6;
    --property-card-bg: #fff;
    --property-shadow: rgba(46,26,18,.4);
}
.home-property-card {
    overflow: visible;
    border-color: var(--property-soft);
    background: var(--property-card-bg);
    box-shadow: 0 14px 34px -22px var(--property-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.home-property-card:hover {
    border-color: var(--property-soft);
    box-shadow: 0 18px 40px -22px var(--property-shadow);
    transform: translateY(-3px) !important;
}
#featured-land .home-property-card .home-property-card__media,
#featured-flats .home-property-card .home-property-card__media,
#featured-rentals .home-property-card .home-property-card__media,
#featured-land .home-property-card:first-child .home-property-card__media,
#featured-land .home-property-card:not(:first-child) .home-property-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: var(--property-soft);
}
.home-property-card__media > a,
.home-property-card__media picture,
.home-property-card__media img { display: block; width: 100%; height: 100%; }
.home-property-card__media img { object-fit: cover; }
.home-property-card__badges {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    max-width: calc(100% - 68px);
}
.home-property-card__badges span {
    overflow: hidden;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--property-dark);
    background: rgba(255,255,255,.95);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.home-property-card__badges span + span { color: #fff; background: var(--property-accent); }
.home-property-card__save {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #1f2937;
    background: rgba(255,255,255,.95);
    cursor: pointer;
}
.home-property-card__save i { font-size: 18px; }
.home-property-card__save.is-saved { color: var(--home-primary); }
.home-property-card__save.is-saved i { font-variation-settings: "FILL" 1; }
.home-property-card__media > .home-property-card__status {
    position: absolute;
    z-index: 2;
    top: auto;
    right: auto;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 24px);
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    color: var(--property-dark);
    background: rgba(255,255,255,.95);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
}
.home-property-card__media > .home-property-card__status i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #16a34a; }
#featured-land .home-property-card .home-property-card__body,
#featured-flats .home-property-card .home-property-card__body,
#featured-rentals .home-property-card .home-property-card__body,
#featured-land .home-property-card:not(:first-child) .home-property-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 8px 6px;
}
.home-property-card__body h3,
#featured-land .home-property-card:not(:first-child) .home-property-card__body h3 {
    margin: 0;
    font-family: var(--home-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}
.home-property-card__body h3 a:hover { color: var(--home-primary); }
.home-property-card__location {
    min-height: 0;
    margin-top: 4px !important;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}
.home-property-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
}
.home-property-card__facts span {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--property-dark);
    background: var(--property-soft);
    font-size: 12px;
    font-weight: 700;
}
.home-property-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--property-soft);
}
.home-property-card__meta small { color: #6b7280; font-size: 10px; }
.home-property-card__meta a { display: flex; align-items: center; gap: 4px; color: var(--property-dark); font-size: 11px; font-weight: 700; }
.home-property-card__meta i { font-size: 14px; }

@media (max-width: 720px) {
    .home-hero { min-height: calc(100svh - 56px); }
    .home-hero__content {
        width: 100%;
        min-height: calc(100svh - 56px);
        padding: 120px 20px 18px;
    }
    .home-hero__copy h1 {
        max-width: 360px;
        font-size: clamp(48px, 13.4vw, 54px);
        line-height: 1.02;
    }
    .home-login,
    .home-round-button:not(.home-menu-button) { display: none !important; }
    .home-language { display: flex; }
    .home-language button { padding: 4px 8px; }
    .home-navbar.is-scrolled .home-language { display: flex; }
    .home-kicker { margin-bottom: 25px !important; font-size: 11px; }
    .home-hero__lower {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 42px;
        padding-top: 27px;
    }
    .home-hero__lower > p {
        max-width: 350px;
        font-size: 15px;
        line-height: 1.7;
    }
    .home-hero__categories {
        width: calc(100% + 20px);
        justify-content: stretch;
    }
    .home-hero__categories a {
        min-width: 0;
        justify-content: flex-start;
        padding: 4px 12px;
    }
    .home-hero__categories a:first-child { padding-left: 10px; }
    .home-hero__categories a > span { font-size: clamp(27px, 9vw, 36px); }
    .home-hero__categories a > small { font-size: 10px; }
    .home-location-rail > div {
        width: 100%;
        min-height: 56px;
        gap: 22px;
        padding: 0 16px;
    }
    .home-location-rail b { font-size: 9px; }
    .home-location-rail a { font-size: 17px; }

    #featured-land .home-property-grid,
    #featured-flats .home-property-grid,
    #featured-rentals .home-property-grid {
        display: flex;
        gap: 16px;
    }
    #featured-land .home-property-card,
    #featured-flats .home-property-card,
    #featured-rentals .home-property-card,
    #featured-rentals .home-property-card:last-child {
        flex: 0 0 min(74vw, 300px);
        padding: 8px;
        border-radius: 20px;
    }
    #featured-land .home-property-card .home-property-card__media,
    #featured-flats .home-property-card .home-property-card__media,
    #featured-rentals .home-property-card .home-property-card__media {
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 15px;
    }
    .home-property-card__body h3,
    #featured-land .home-property-card:not(:first-child) .home-property-card__body h3 { font-size: 15px; }
    .home-property-card__location { font-size: 11px; }
    .home-property-card__facts span { padding: 5px 8px; font-size: 10px; }
}

/* High-contrast site footer */
.home-footer,
body.home-redesign .home-footer {
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #fff;
    background: #111a2a;
}
.home-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 56px; padding-bottom: 48px; }
.home-footer__grid section { min-width: 0; overflow-wrap: anywhere; }
.home-footer__brand { flex-wrap: wrap; color: #fff; }
.home-footer__brand img { width: 34px; height: 34px; }
.home-footer__brand b { color: #fff; font-size: 20px; line-height: 28px; }
.home-footer__brand em { color: rgba(255,255,255,.78); font-size: 14px; line-height: 22px; }
.home-footer__grid section:first-child p {
    max-width: 390px;
    margin-top: 18px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 24px;
}
.home-footer__grid section:first-child > span {
    margin-top: 16px;
    padding: 7px 10px;
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08);
    font-size: 12px;
    line-height: 18px;
}
.home-footer h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0;
}
.home-footer__grid section > a:not(.home-footer__brand),
.home-footer address,
.home-footer__grid section > small {
    margin-bottom: 10px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 22px;
}
.home-footer__grid section > a:not(.home-footer__brand):hover,
.home-footer #contact > a { color: #fff; }
.home-footer #contact > a { font-size: 15px; }
.home-footer__bottom {
    flex-wrap: wrap;
    padding-top: 22px;
    padding-bottom: 26px;
    border-top-color: rgba(255,255,255,.14);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    line-height: 20px;
}
.home-footer__bottom nav { gap: 24px; }
.home-footer__bottom nav a { color: #fff; font-size: 13px; font-weight: 600; }

@media (max-width: 720px) {
    body.home-redesign .home-footer { margin-top: 0; background: #111a2a; }
    .home-footer__grid { gap: 24px; padding: 36px 16px 18px; }
    .home-footer__brand b { color: #fff; font-size: 19px; }
    .home-footer__grid section:first-child p { margin-top: 12px; font-size: 14px; line-height: 23px; }
    .home-footer #contact { padding-top: 20px; border-top-color: rgba(255,255,255,.14); }
    .home-footer #contact > b { color: rgba(255,255,255,.72); font-size: 12px; line-height: 18px; }
    .home-footer address { margin-top: 8px; font-size: 14px; line-height: 22px; }
    .home-footer #contact > a { margin-top: 4px; font-size: 15px; line-height: 23px; }
    .home-footer__bottom { padding: 16px 16px 30px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 20px; }
    .home-footer__bottom nav { margin-top: 14px; gap: 10px 16px; }
    .home-footer__bottom nav a { color: #fff; font-size: 12px; }
    .home-footer__bottom nav a + a::before { color: rgba(255,255,255,.45); }
}

.home-advisory__action > .home-audit-link { margin-top: 8px; color: #173630; background: #dceae4; }

.home-services article a, .home-services article address { font-size: 12px; overflow-wrap: anywhere; font-style: normal; line-height: 1.5; }
.home-services article a { color: var(--home-primary); }
.home-advisory__action address { font-style: normal; font-size: 12px; line-height: 1.5; }

.home-advisory__action { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-advisory__action > div { margin-bottom: 0; }
.home-advisory__action > .home-advisory-whatsapp { min-height: 46px; padding: 12px 16px; font-size: 14px; box-sizing: border-box; }
.home-advisory__action > .home-advisory-email { min-height: 0; width: auto; justify-content: flex-start; color: #e4f5f0; background: transparent; padding: 0; font-size: 13px; font-weight: 500; }
.home-advisory-email span { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 720px) {
    .home-hero__content { padding-top: max(88px, 12svh); padding-bottom: 24px; }
    .home-hero__copy h1 { font-size: clamp(36px, min(13.4vw, 8svh), 54px); }
    .home-hero__lower { margin-top: 24px; padding-top: 20px; gap: 18px; }
}
@media (max-width: 720px) and (max-height: 650px) {
    .home-hero__copy h1 { font-size: 36px; }
    .home-hero__lower { margin-top: 16px; padding-top: 16px; gap: 14px; }
    .home-hero__lower > p { font-size: 14px; line-height: 1.55; }
}

/* Keep service content readable instead of squeezing four columns onto phones. */
.home-services article { min-width: 0; height: auto; }
.home-services article :is(b, span, address, a) { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 721px) and (max-width: 1000px) {
    .home-services > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
    .home-services > div { grid-template-columns: minmax(0, 1fr); }
    .home-services article { padding: 18px; }
}

/* Two layers crossfade without moving the page or its text. */
.home-hero__media img { opacity: 0; transition: opacity 1100ms ease-in-out; }
.home-hero__media img.is-active { opacity: 1; }
.home-hero__overlay { z-index: 1; pointer-events: none; }
.home-hero__pause { position: absolute; z-index: 4; right: 20px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff70; border-radius: 50%; color: #fff; background: #10232080; cursor: pointer; backdrop-filter: blur(6px); }
.home-hero__pause .material-symbols-outlined { font-size: 21px; }
.home-hero__pause:hover { background: #102320c0; }
.home-hero__pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media(max-width:720px) { .home-hero__pause { right: 12px; top: 76px; bottom: auto; } }
@media(prefers-reduced-motion:reduce) { .home-hero__media img { transition: none; } }
