@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
    /* Booking.com–inspired marketplace palette (Sansarhub product UI) */
    --sh-navy: #003580;          /* brand / header blue */
    --sh-navy-deep: #00224f;     /* hover / footer */
    --sh-navy-soft: #ebf3ff;     /* tinted surface */
    --sh-action: #0071c2;        /* links / secondary actions */
    --sh-cta: #febb02;           /* primary search CTA yellow */
    --sh-cta-hover: #e5a800;
    --sh-cta-text: #1a1a1a;
    --sh-red: #d4111e;
    --sh-red-dark: #b50e1a;
    --sh-red-soft: #fdecec;
    --sh-green: #008009;
    --sh-green-dark: #006a07;
    --sh-green-soft: #e6f4e7;
    --sh-ink: #262626;
    --sh-muted: #6b6b6b;
    --sh-line: #e7e7e7;
    --sh-bg: #f5f5f5;
    --sh-surface: #ffffff;
    --sh-radius: 8px;
    --sh-radius-sm: 4px;
    --sh-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    --sh-shadow-lg: 0 2px 8px rgba(0, 0, 0, .12);

    --ef-primary: var(--sh-action);
    --ef-primary-dark: var(--sh-navy);
    --ef-dark: var(--sh-ink);
    --ef-muted: var(--sh-muted);
    --ef-bg: var(--sh-bg);
    --ef-radius: var(--sh-radius);
    --ef-shadow: var(--sh-shadow);
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
    font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--sh-ink);
    background: var(--sh-bg);
    line-height: 1.5;
    font-weight: 400;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .h6,
.navbar-brand, .ef-section-title, .ef-price, .pd-title,
.pd-section-head h2, .pd-price, .home-hero-brand, .home-promise-item h2,
.home-how-step h3, .home-category-name {
    font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0;
    color: #3a3a3a;
    text-shadow: none;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--sh-navy); }

/* ---------- Bootstrap theme overrides ---------- */
.btn {
    font-family: "Outfit", "Manrope", sans-serif;
    font-weight: 500;
    letter-spacing: .01em;
    border-radius: 4px;
    padding: .55rem 1.25rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .35rem .9rem; font-size: .85rem; }
.btn-lg { padding: .7rem 1.6rem; }

.btn-primary {
    --bs-btn-bg: var(--sh-navy);
    --bs-btn-border-color: var(--sh-navy);
    --bs-btn-hover-bg: var(--sh-navy-deep);
    --bs-btn-hover-border-color: var(--sh-navy-deep);
    --bs-btn-active-bg: var(--sh-navy-deep);
    --bs-btn-active-border-color: var(--sh-navy-deep);
    box-shadow: 0 8px 20px rgba(47, 86, 136, .25);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(47, 86, 136, .32); }

.btn-danger, .btn-accent {
    --bs-btn-bg: var(--sh-red);
    --bs-btn-border-color: var(--sh-red);
    --bs-btn-hover-bg: var(--sh-red-dark);
    --bs-btn-hover-border-color: var(--sh-red-dark);
}

.btn-success {
    --bs-btn-bg: var(--sh-green);
    --bs-btn-border-color: var(--sh-green);
    --bs-btn-hover-bg: var(--sh-green-dark);
    --bs-btn-hover-border-color: var(--sh-green-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--sh-navy);
    --bs-btn-border-color: var(--sh-navy);
    --bs-btn-hover-bg: var(--sh-navy);
    --bs-btn-hover-border-color: var(--sh-navy);
    --bs-btn-hover-color: #fff;
}

.btn-outline-secondary {
    border-radius: 4px;
}

.text-primary { color: var(--sh-navy) !important; }
.text-accent { color: var(--sh-red) !important; }
.text-growth { color: var(--sh-green) !important; }

.form-control, .form-select {
    border-radius: var(--sh-radius-sm);
    border-color: rgba(47, 86, 136, .14);
    padding: .65rem .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--sh-navy);
    box-shadow: 0 0 0 .2rem rgba(47, 86, 136, .15);
}

.badge { font-weight: 600; }

/* ---------- Brand mark ---------- */
.sh-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--sh-ink);
    line-height: 1;
}
.sh-brand img {
    height: 42px;
    width: auto;
    display: block;
}
.sh-brand .sh-wordmark span.hub { color: var(--sh-cta, #febb02); }
.sh-brand-sm img { height: 34px; }

/* ---------- Navbar ---------- */
.ef-navbar {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sh-line);
    box-shadow: 0 8px 28px rgba(36, 48, 65, .06);
    min-height: 72px;
    padding-top: .55rem;
    padding-bottom: .55rem;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
    z-index: 1030;
}
.ef-navbar-inner {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.ef-navbar-brand {
    gap: .65rem;
}
.ef-navbar-brand .sh-wordmark {
    font-family: "Outfit", "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: -.02em;
    color: var(--sh-ink);
}
.ef-navbar-links {
    gap: .15rem;
}
.ef-navbar .nav-link {
    font-family: "Outfit", "Manrope", sans-serif;
    font-weight: 500;
    font-size: .92rem;
    color: var(--sh-ink);
    padding: .45rem .8rem !important;
    border-radius: 4px;
    transition: color .15s ease, background .15s ease;
}
.ef-navbar .nav-link:hover,
.ef-navbar .nav-link:focus {
    color: var(--sh-navy);
    background: var(--sh-navy-soft);
}
.ef-navbar-actions {
    margin-left: .25rem;
}
.ef-navbar-login {
    color: var(--sh-navy) !important;
}
.ef-navbar-cta {
    padding: .45rem 1.15rem !important;
    box-shadow: 0 8px 18px rgba(47, 86, 136, .2);
}
.ef-navbar-account {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.ef-navbar-account i {
    font-size: 1.2rem;
}
.ef-navbar-dropdown {
    border-radius: 4px;
    margin-top: .5rem;
    padding: .4rem;
    min-width: 13rem;
}
.ef-navbar-dropdown .dropdown-item {
    border-radius: 4px;
    font-weight: 600;
    font-size: .9rem;
    padding: .55rem .75rem;
}
.ef-navbar-toggler {
    border: 1px solid var(--sh-line);
    border-radius: 4px;
    padding: .45rem .65rem;
    box-shadow: none;
}
.ef-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(47, 86, 136, .12);
}

/* Homepage: transparent header over blue hero; white when scrolled */
.home-page .ef-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}
.home-page .ef-navbar .ef-navbar-brand .sh-wordmark,
.home-page .ef-navbar .nav-link {
    color: #fff;
}
.home-page .ef-navbar .nav-link:hover,
.home-page .ef-navbar .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}
.home-page .ef-navbar-login {
    color: #fff !important;
}
.home-page .ef-navbar-toggler {
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
}
.home-page .ef-navbar-toggler .navbar-toggler-icon {
    filter: invert(1) brightness(1.5);
}
.home-page .ef-navbar.is-solid {
    position: sticky;
    background: #fff;
    border-bottom-color: #e7e7e7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.home-page .ef-navbar.is-solid .ef-navbar-brand .sh-wordmark,
.home-page .ef-navbar.is-solid .nav-link,
.home-page .ef-navbar.is-solid .ef-navbar-login {
    color: #1a1a1a !important;
}
.home-page .ef-navbar.is-solid .nav-link:hover,
.home-page .ef-navbar.is-solid .nav-link:focus {
    color: #003580 !important;
    background: #ebf3ff !important;
}
.home-page .ef-navbar.is-solid .ef-navbar-toggler {
    border-color: #c6c6c6;
}
.home-page .ef-navbar.is-solid .ef-navbar-toggler .navbar-toggler-icon {
    filter: none;
}

/* Home mobile menu + account dropdown must stay clickable and readable */
.home-page .ef-navbar {
    z-index: 1080;
}
.home-page .ef-navbar .navbar-collapse {
    pointer-events: auto;
}
@media (max-width: 991.98px) {
    .home-page .ef-navbar .navbar-collapse.show,
    .home-page .ef-navbar .navbar-collapse.collapsing {
        margin-top: .65rem;
        padding: .75rem;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(15, 40, 70, .18);
        max-height: min(70vh, 32rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .home-page .ef-navbar .navbar-collapse.show .nav-link,
    .home-page .ef-navbar .navbar-collapse.collapsing .nav-link,
    .home-page .ef-navbar .navbar-collapse.show .ef-navbar-login,
    .home-page .ef-navbar .navbar-collapse.collapsing .ef-navbar-login {
        color: #1a1a1a !important;
    }
    .home-page .ef-navbar .navbar-collapse.show .nav-link:hover,
    .home-page .ef-navbar .navbar-collapse.show .nav-link:focus {
        color: #003580 !important;
        background: #ebf3ff !important;
    }
}
.home-page .ef-navbar .dropdown-menu,
.ef-navbar .dropdown-menu {
    z-index: 1090;
    background: #fff;
    pointer-events: auto;
}
.home-page .ef-navbar .dropdown-item,
.ef-navbar .dropdown-item {
    color: #1a1a1a !important;
    pointer-events: auto;
}
.home-page .ef-navbar .dropdown-item:hover,
.home-page .ef-navbar .dropdown-item:focus,
.ef-navbar .dropdown-item:hover,
.ef-navbar .dropdown-item:focus {
    color: #003580 !important;
    background: #ebf3ff !important;
}
.home-page .ef-navbar .ef-navbar-logout,
.ef-navbar .ef-navbar-logout {
    color: #1a1a1a !important;
    border-color: #c6c6c6 !important;
    background: #fff !important;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}
.home-page .ef-navbar .ef-navbar-logout:hover,
.ef-navbar .ef-navbar-logout:hover {
    color: #fff !important;
    background: #495057 !important;
    border-color: #495057 !important;
}
.ef-navbar-logout-form {
    pointer-events: auto;
}

/* ---------- Hero ---------- */
.ef-hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: center;
    color: #fff;
    padding: 5.5rem 0 6.5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 85% 15%, rgba(214, 40, 40, .35), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 90%, rgba(46, 155, 58, .28), transparent 50%),
        linear-gradient(145deg, var(--sh-navy-deep) 0%, var(--sh-navy) 48%, #5a6d88 100%);
}
.ef-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .9;
    pointer-events: none;
}
.ef-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 72px;
    background: linear-gradient(to top, var(--sh-bg), transparent);
    pointer-events: none;
}
.ef-hero .container { position: relative; z-index: 2; }
.ef-hero .sh-hero-brand {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1;
    margin-bottom: .75rem;
    text-shadow: none;
}
.ef-hero .sh-hero-brand .hub { color: #ff6b6b; }
.ef-hero .sh-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    margin-bottom: 1rem;
}
.ef-hero .sh-hero-tag::before,
.ef-hero .sh-hero-tag::after {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--sh-red), var(--sh-green));
    border-radius: 2px;
}
.ef-hero h1 {
    font-weight: 500;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    max-width: 28ch;
    margin-inline: auto;
    color: rgba(255,255,255,.95);
}
.ef-hero .lead {
    opacity: .9;
    max-width: 42ch;
    margin-inline: auto;
    font-size: 1.05rem;
}

.ef-searchbar {
    background: var(--sh-surface);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
    padding: 1.15rem 1.25rem;
    color: var(--sh-ink);
    margin-top: 2rem;
    border: 1px solid rgba(255,255,255,.4);
}
.ef-search-tabs .btn {
    border-radius: 4px;
    font-size: .9rem;
}
.ef-search-tabs .btn-check:checked + .btn {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: #fff;
}

/* ---------- Values (Trust / Service / Growth) ---------- */
.sh-values {
    margin-top: -2.5rem;
    position: relative;
    z-index: 3;
}
.sh-value-card {
    background: var(--sh-surface);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    padding: 1.5rem 1.25rem;
    text-align: center;
    height: 100%;
    border-top: 3px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease;
}
.sh-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-shadow-lg);
}
.sh-value-card.trust { border-top-color: var(--sh-navy); }
.sh-value-card.service { border-top-color: var(--sh-red); }
.sh-value-card.growth { border-top-color: var(--sh-green); }
.sh-value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: .85rem;
}
.sh-value-icon.trust { background: var(--sh-navy); }
.sh-value-icon.service { background: var(--sh-red); }
.sh-value-icon.growth { background: var(--sh-green); }
.sh-value-card h3 {
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.sh-value-card p {
    color: var(--sh-muted);
    font-size: .9rem;
    margin: 0;
}

/* ---------- Sections ---------- */
.ef-section { padding: 3.75rem 0; }
.ef-section-title {
    font-weight: 500;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    color: var(--sh-ink);
}
.ef-section-sub { color: var(--sh-muted); }
.sh-section-kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sh-red);
    margin-bottom: .4rem;
}

/* ---------- Property cards ---------- */
.ef-card {
    border: none;
    border-radius: var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow);
    background: var(--sh-surface);
    transition: transform .22s ease, box-shadow .22s ease;
}
.ef-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-shadow-lg);
}
.ef-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sh-navy-soft);
}
.ef-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.ef-card:hover .ef-card-media img { transform: scale(1.07); }
.ef-badges {
    position: absolute;
    top: .7rem;
    left: .7rem;
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
}
.ef-purpose {
    position: absolute;
    bottom: .7rem;
    left: .7rem;
    background: rgba(36, 48, 65, .82);
    color: #fff;
    backdrop-filter: blur(4px);
}
.ef-price { color: var(--sh-ink); font-weight: 500; }
.stretched-link-title { color: #3a3a3a; font-weight: 500; }
.stretched-link-title:hover { color: #0071c2; }
.ef-card-photo {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
}
.ef-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ef-badges,
.ef-purpose { pointer-events: none; z-index: 3; }
.ef-specs li { color: var(--sh-muted); }

/* ---------- Category / location tiles ---------- */
.ef-category {
    display: block;
    text-align: center;
    padding: 1.4rem 1rem;
    background: var(--sh-surface);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    color: var(--sh-ink);
    border: 1px solid transparent;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ef-category:hover {
    transform: translateY(-4px);
    color: var(--sh-navy);
    border-color: rgba(47, 86, 136, .18);
    box-shadow: var(--sh-shadow-lg);
}
.ef-category i {
    font-size: 1.75rem;
    color: var(--sh-navy);
}

/* ---------- Stats ---------- */
.ef-stat {
    background: var(--sh-surface);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    padding: 1.5rem;
    text-align: center;
}
.ef-stat .num {
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--sh-ink);
}
.sh-stat-band {
    background: linear-gradient(120deg, var(--sh-navy-deep), var(--sh-navy) 55%, #1e4d9c);
    color: #fff;
    border-radius: var(--sh-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--sh-shadow-lg);
}
.sh-stat-band .num { color: #fff; }
.sh-stat-band .label { opacity: .85; font-size: .9rem; }

/* ---------- CTA panels ---------- */
.sh-cta-panel {
    border-radius: var(--sh-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--sh-shadow);
}
.sh-cta-panel.owner {
    background: linear-gradient(135deg, var(--sh-navy-soft), #fff 60%);
    border: 1px solid rgba(47, 86, 136, .08);
}
.sh-cta-panel.news {
    background: linear-gradient(135deg, var(--sh-green-soft), #fff 60%);
    border: 1px solid rgba(46, 155, 58, .12);
}

/* ---------- Footer (light, hero-style atmosphere) ---------- */
.ef-footer {
    position: relative;
    overflow: hidden;
    background: #fff;
    color: #3a3a3a;
    border-top: 1px solid rgba(0, 113, 194, .1);
    margin-top: 0 !important;
    padding: 0;
    min-height: 420px;
}
.ef-footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.ef-footer-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 90% 10%, rgba(0, 113, 194, .12), transparent 55%),
        radial-gradient(ellipse 55% 50% at 8% 85%, rgba(254, 187, 2, .09), transparent 50%),
        linear-gradient(165deg, #f3f7fc 0%, #e8f0f8 48%, #dce8f4 100%);
}
.ef-footer-grid {
    position: absolute;
    inset: -15%;
    background-image:
        linear-gradient(rgba(0, 113, 194, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 113, 194, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(700px) rotateX(58deg) translateY(-6%);
    transform-origin: center top;
    animation: home-grid-drift 24s linear infinite;
    opacity: .55;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 55%, transparent 88%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 55%, transparent 88%);
}
.ef-footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}
.ef-footer-orb--a {
    width: min(42vw, 320px);
    height: min(42vw, 320px);
    top: -12%;
    right: -2%;
    background: radial-gradient(circle, rgba(0, 113, 194, .11) 0%, rgba(254, 187, 2, .055) 45%, transparent 70%);
    animation: home-orb-float 11s ease-in-out infinite;
}
.ef-footer-orb--b {
    width: min(34vw, 260px);
    height: min(34vw, 260px);
    left: 4%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(0, 53, 128, .08) 0%, rgba(0, 113, 194, .05) 50%, transparent 70%);
    animation: home-orb-float 13s ease-in-out infinite reverse;
}
.ef-footer-radar {
    position: absolute;
    right: 4%;
    top: 12%;
    width: min(34vw, 260px);
    height: min(34vw, 260px);
    opacity: .55;
}
.ef-footer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 194, .12);
    animation: home-ring-pulse 7s ease-out infinite;
}
.ef-footer-ring.r2 { inset: 16%; animation-delay: 1.3s; border-color: rgba(254, 187, 2, .16); }
.ef-footer-ring.r3 { inset: 32%; animation-delay: 2.6s; border-color: rgba(0, 113, 194, .14); }
.ef-footer-web {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .38;
}
.ef-footer-web-lines line {
    stroke: rgba(0, 113, 194, .2);
    stroke-width: 1.1;
}
.ef-footer-web-nodes circle {
    fill: #0071c2;
    opacity: .5;
}
.ef-footer-web-nodes circle:nth-child(3n) { fill: #febb02; opacity: .55; }
.ef-footer-skyline {
    position: absolute;
    left: 38%;
    right: 0;
    bottom: 0;
    height: 18%;
    display: flex;
    align-items: flex-end;
    gap: .3rem;
    opacity: .12;
    padding-right: 1rem;
}
.ef-footer-skyline span {
    flex: 1 1 0;
    min-width: 10px;
    background: linear-gradient(180deg, #0071c2, #003580);
    border-radius: 2px 2px 0 0;
}
.ef-footer-skyline span:nth-child(1) { height: 42%; }
.ef-footer-skyline span:nth-child(2) { height: 68%; }
.ef-footer-skyline span:nth-child(3) { height: 52%; }
.ef-footer-skyline span:nth-child(4) { height: 88%; }
.ef-footer-skyline span:nth-child(5) { height: 46%; }
.ef-footer-skyline span:nth-child(6) { height: 72%; }
.ef-footer-skyline span:nth-child(7) { height: 58%; }
.ef-footer-skyline span:nth-child(8) { height: 95%; }
.ef-footer-skyline span:nth-child(9) { height: 40%; }
.ef-footer-skyline span:nth-child(10) { height: 64%; }
.ef-footer-skyline span:nth-child(11) { height: 50%; }
.ef-footer-skyline span:nth-child(12) { height: 78%; }
.ef-footer-pins {
    position: absolute;
    inset: 0;
    opacity: .42;
}
.ef-footer-pin {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(0, 113, 194, .12);
    box-shadow: 0 4px 12px rgba(0, 34, 79, .06);
    color: #3f5f86;
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
}
.ef-footer-pin i { color: #0071c2; font-size: .78rem; }
.ef-footer-pin.p1 { top: 18%; left: 58%; }
.ef-footer-pin.p2 { top: 30%; right: 6%; }
.ef-footer-pin.p3 { bottom: 22%; left: 62%; }
.ef-footer-pin.p4 { top: 52%; right: 16%; }
.ef-footer-pin.p4 i { color: #008009; }
.ef-footer-inner {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 1.5rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ef-footer-inner::before {
    content: "";
    position: absolute;
    inset: 0 -.5rem;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, .42) 0%,
        rgba(255, 255, 255, .28) 45%,
        rgba(255, 255, 255, .14) 100%);
    border-radius: 0;
}
.ef-footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) 2fr;
    gap: 2.75rem 3rem;
    padding-bottom: 2.75rem;
    flex: 1;
}
.ef-footer-brand-block { max-width: 26rem; }
.ef-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #003580 !important;
    margin-bottom: 1rem;
    text-decoration: none;
}
.ef-footer-logo img {
    height: 40px;
    width: auto;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
    border: 1px solid rgba(0, 113, 194, .12);
}
.ef-footer-wordmark {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003580;
}
.ef-footer-wordmark span { color: #febb02; }
.ef-footer-tagline {
    margin: 0 0 1.25rem;
    font-size: .95rem;
    line-height: 1.6;
    color: #4a5563;
    max-width: 36ch;
}
.ef-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ef-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: .55rem;
    font-size: .92rem;
    color: #3f4b5a;
}
.ef-footer-contact-list i {
    margin-top: .15rem;
    color: #0071c2;
}
.ef-footer-contact-list a {
    color: #3f4b5a;
}
.ef-footer-contact-list a:hover { color: #0071c2 !important; }
.ef-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}
.ef-footer-heading {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0071c2;
    margin: 0 0 1rem;
}
.ef-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ef-footer-col li { margin-bottom: .55rem; }
.ef-footer-col a {
    color: #262626;
    font-size: .95rem;
    font-weight: 500;
}
.ef-footer-col a:hover { color: #0071c2 !important; }
.ef-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem 1.25rem;
    padding: 1.25rem 0 1.1rem;
    border-top: 1px solid rgba(0, 113, 194, .1);
}
.ef-footer-copy {
    margin: 0;
    font-size: .86rem;
    color: #5a6472;
}
.ef-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.ef-social {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(0, 113, 194, .16);
    color: #003580 !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ef-social:hover {
    background: #0071c2 !important;
    border-color: #0071c2 !important;
    color: #fff !important;
    transform: none;
}

@media (max-width: 991.98px) {
    .ef-footer { min-height: 0; }
    .ef-footer-inner {
        min-height: 0;
        padding-top: 3.25rem;
    }
    .ef-footer-main {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .ef-footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ef-footer-pins { display: none; }
}
@media (max-width: 575.98px) {
    .ef-footer-inner { padding-top: 2.75rem; }
    .ef-footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem 1rem;
    }
    .ef-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .ef-footer-radar { opacity: .45; }
}

/* ---------- Detail / gallery ---------- */
.ef-gallery-main {
    border-radius: var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow);
    aspect-ratio: 16/10;
    background: var(--sh-navy-soft);
}
.ef-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.ef-thumb {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 2px solid transparent;
}
.ef-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ef-thumb.active { border-color: var(--sh-navy); }
.ef-spec-box {
    background: #fff;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
}
.ef-amenity {
    background: var(--sh-navy-soft);
    border-radius: 4px;
    padding: .35rem .8rem;
    font-size: .875rem;
}
#ef-map { height: 320px; border-radius: var(--sh-radius); }

/* ---------- Auth ---------- */
.ef-auth-card {
    max-width: 460px;
    margin: 3rem auto;
    border: none;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
    overflow: hidden;
}
.ef-auth-card .card-body { padding: 2rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .ef-hero .sh-hero-brand {
        animation: sh-rise .7s ease both;
    }
    .ef-hero h1 {
        animation: sh-rise .7s ease .08s both;
    }
    .ef-hero .lead {
        animation: sh-rise .7s ease .16s both;
    }
    .ef-searchbar {
        animation: sh-rise .75s ease .24s both;
    }
    .sh-value-card {
        animation: sh-rise .6s ease both;
    }
    .sh-value-card:nth-child(2) { animation-delay: .08s; }
    .sh-value-card:nth-child(3) { animation-delay: .16s; }
}
@keyframes sh-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .ef-hero { min-height: auto; padding: 4rem 0 5rem; }
    .sh-brand img { height: 36px; }
}

/* ============================================================
   Homepage
   ============================================================ */
.home-page { background: var(--sh-bg); }

.home-hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: flex-end;
    padding: 7.5rem 0 4.5rem;
    overflow: hidden;
    color: #fff;
    background: #0d3d7a;
}
.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.home-hero-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 50% at 88% 12%, rgba(254, 187, 2, .18), transparent 55%),
        radial-gradient(ellipse 55% 45% at 12% 70%, rgba(80, 170, 255, .28), transparent 52%),
        linear-gradient(155deg, #1a5fb4 0%, #0f4c9a 38%, #0a3a78 72%, #082f62 100%);
}
.home-hero-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(700px) rotateX(58deg) translateY(-8%);
    transform-origin: center top;
    animation: home-grid-drift 22s linear infinite;
    opacity: .85;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 55%, transparent 88%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 55%, transparent 88%);
}
@keyframes home-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 56px, 56px 0; }
}
.home-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}
.home-hero-orb--a {
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    top: -10%;
    right: -4%;
    background: radial-gradient(circle, rgba(255, 210, 120, .28) 0%, rgba(0, 140, 220, .18) 45%, transparent 70%);
    animation: home-orb-float 10s ease-in-out infinite;
}
.home-hero-orb--b {
    width: min(36vw, 300px);
    height: min(36vw, 300px);
    left: 8%;
    bottom: 18%;
    background: radial-gradient(circle, rgba(90, 180, 255, .28) 0%, rgba(254, 187, 2, .1) 42%, transparent 70%);
    animation: home-orb-float 12s ease-in-out infinite reverse;
}
.home-hero-orb--c {
    width: min(28vw, 220px);
    height: min(28vw, 220px);
    top: 36%;
    right: 28%;
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, transparent 68%);
    animation: home-orb-float 14s ease-in-out infinite;
}
@keyframes home-orb-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}
.home-hero-radar {
    position: absolute;
    right: 6%;
    top: 18%;
    width: min(42vw, 360px);
    height: min(42vw, 360px);
}
.home-hero-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    animation: home-ring-pulse 6s ease-out infinite;
}
.home-hero-ring.r2 { inset: 14%; animation-delay: 1.2s; border-color: rgba(254, 187, 2, .18); }
.home-hero-ring.r3 { inset: 28%; animation-delay: 2.4s; border-color: rgba(150, 210, 255, .22); }
@keyframes home-ring-pulse {
    0% { transform: scale(.72); opacity: .85; }
    100% { transform: scale(1.18); opacity: 0; }
}
.home-hero-skyline {
    position: absolute;
    left: 42%;
    right: -2%;
    bottom: 0;
    height: 22%;
    display: flex;
    align-items: flex-end;
    gap: .35rem;
    opacity: .28;
    padding-bottom: 0;
}
.home-hero-skyline span {
    display: block;
    flex: 1 1 auto;
    min-width: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.12));
    border-radius: 2px 2px 0 0;
    animation: home-skyline-glow 5s ease-in-out infinite;
}
.home-hero-skyline span:nth-child(1) { height: 42%; }
.home-hero-skyline span:nth-child(2) { height: 68%; animation-delay: .2s; }
.home-hero-skyline span:nth-child(3) { height: 52%; animation-delay: .4s; }
.home-hero-skyline span:nth-child(4) { height: 88%; animation-delay: .1s; }
.home-hero-skyline span:nth-child(5) { height: 60%; animation-delay: .5s; }
.home-hero-skyline span:nth-child(6) { height: 74%; animation-delay: .3s; }
.home-hero-skyline span:nth-child(7) { height: 46%; animation-delay: .6s; }
.home-hero-skyline span:nth-child(8) { height: 92%; animation-delay: .15s; }
.home-hero-skyline span:nth-child(9) { height: 58%; animation-delay: .45s; }
.home-hero-skyline span:nth-child(10) { height: 70%; animation-delay: .25s; }
.home-hero-skyline span:nth-child(11) { height: 50%; animation-delay: .55s; }
.home-hero-skyline span:nth-child(12) { height: 80%; animation-delay: .35s; }
.home-hero-skyline span:nth-child(13) { height: 64%; animation-delay: .5s; }
.home-hero-skyline span:nth-child(14) { height: 44%; animation-delay: .7s; }
@keyframes home-skyline-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.35); }
}
.home-hero-web {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .9;
}
.home-hero-web-lines line {
    stroke: rgba(255, 255, 255, .28);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 8 10;
    animation: home-web-dash 7s linear infinite;
}
.home-hero-web-lines line:nth-child(odd) {
    animation-duration: 9s;
    stroke: rgba(150, 210, 255, .45);
}
.home-hero-web-lines line:nth-child(3n) {
    animation-duration: 5.5s;
    stroke: rgba(254, 187, 2, .4);
}
@keyframes home-web-dash {
    to { stroke-dashoffset: -120; }
}
.home-hero-web-nodes circle {
    fill: #fff;
    opacity: .85;
    transform-origin: center;
    transform-box: fill-box;
    animation: home-node-pulse 3.2s ease-in-out infinite;
}
.home-hero-web-nodes .n2,
.home-hero-web-nodes .n8,
.home-hero-web-nodes .n13,
.home-hero-web-nodes .n19 { animation-delay: .4s; fill: #febb02; }
.home-hero-web-nodes .n4,
.home-hero-web-nodes .n10,
.home-hero-web-nodes .n15 { animation-delay: .9s; fill: #9ad0ff; }
.home-hero-web-nodes .n6,
.home-hero-web-nodes .n14,
.home-hero-web-nodes .n18 { animation-delay: 1.4s; }
.home-hero-web-nodes .n16,
.home-hero-web-nodes .n20 { animation-delay: 1.8s; fill: #febb02; }
@keyframes home-node-pulse {
    0%, 100% { opacity: .45; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1.35); }
}
.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.home-hero-pins {
    position: absolute;
    inset: 0;
}
.home-hero-pin {
    position: absolute;
    min-width: 42px;
    height: 42px;
    padding: 0 .85rem 0 .55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .32);
    color: #febb02;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 22px rgba(0, 20, 50, .25);
    animation: home-pin-bob 4.5s ease-in-out infinite;
}
.home-hero-pin em {
    font-style: normal;
    font-size: .78rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: .01em;
    white-space: nowrap;
}
.home-hero-pin::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    border: 1px solid rgba(254, 187, 2, .35);
    animation: home-pin-ring 2.8s ease-out infinite;
}
.home-hero-pin.p1 { top: 16%; left: 56%; animation-delay: 0s; }
.home-hero-pin.p2 { top: 26%; left: 72%; animation-delay: .5s; color: #fff; }
.home-hero-pin.p3 { top: 40%; left: 62%; animation-delay: 1s; }
.home-hero-pin.p4 { top: 32%; left: 84%; animation-delay: 1.5s; color: #fff; }
.home-hero-pin.p5 { top: 50%; left: 76%; animation-delay: 2s; }
.home-hero-pin.p6 { top: 58%; left: 58%; animation-delay: 2.4s; color: #9ad0ff; }
.home-hero-pin.p7 { top: 20%; left: 78%; animation-delay: 2.8s; color: #fff; }
@keyframes home-pin-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes home-pin-ring {
    0% { transform: scale(.7); opacity: .8; }
    100% { transform: scale(1.35); opacity: 0; }
}
.home-hero-chips {
    position: absolute;
    right: 4%;
    top: 58%;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    z-index: 1;
}
.home-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(0, 34, 79, .35);
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .92);
    font-size: .8rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    animation: home-chip-fade 5.5s ease-in-out infinite;
}
.home-hero-chip i { color: #febb02; }
.home-hero-chip.c2 { animation-delay: .7s; }
.home-hero-chip.c3 { animation-delay: 1.4s; }
.home-hero-chip.c4 { animation-delay: 2.1s; }
@keyframes home-chip-fade {
    0%, 100% { opacity: .7; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-6px); }
}
.home-hero-dots {
    position: absolute;
    inset: 0;
}
.home-hero-dots span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    animation: home-dot-twinkle 3.8s ease-in-out infinite;
}
.home-hero-dots span:nth-child(1) { top: 12%; left: 48%; }
.home-hero-dots span:nth-child(2) { top: 22%; left: 63%; animation-delay: .4s; background: #febb02; }
.home-hero-dots span:nth-child(3) { top: 30%; left: 91%; animation-delay: .8s; }
.home-hero-dots span:nth-child(4) { top: 44%; left: 52%; animation-delay: 1.1s; }
.home-hero-dots span:nth-child(5) { top: 48%; left: 88%; animation-delay: 1.5s; background: #9ad0ff; }
.home-hero-dots span:nth-child(6) { top: 62%; left: 70%; animation-delay: .6s; }
.home-hero-dots span:nth-child(7) { top: 68%; left: 93%; animation-delay: 1.8s; background: #febb02; }
.home-hero-dots span:nth-child(8) { top: 14%; left: 84%; animation-delay: 2.1s; }
.home-hero-dots span:nth-child(9) { top: 36%; left: 96%; animation-delay: .9s; }
.home-hero-dots span:nth-child(10) { top: 72%; left: 55%; animation-delay: 2.4s; }
@keyframes home-dot-twinkle {
    0%, 100% { opacity: .25; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.35); }
}
.home-hero-scan {
    position: absolute;
    left: -10%;
    right: -10%;
    height: 28%;
    top: -30%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .12), transparent);
    animation: home-scan 8s ease-in-out infinite;
}
@keyframes home-scan {
    0% { top: -30%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: .7; }
    100% { top: 95%; opacity: 0; }
}
.home-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 40, 90, .72) 0%, rgba(8, 40, 90, .35) 42%, rgba(8, 40, 90, .12) 72%, transparent 100%),
        linear-gradient(to top, rgba(6, 30, 70, .78) 0%, rgba(6, 30, 70, .2) 40%, transparent 68%);
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 991.98px) {
    .home-hero-pin.p4,
    .home-hero-pin.p5,
    .home-hero-pin.p6,
    .home-hero-pin.p7,
    .home-hero-chips,
    .home-hero-radar { display: none; }
}
@media (max-width: 575.98px) {
    .home-hero-pins,
    .home-hero-skyline { display: none; }
    .home-hero-web { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero-grid,
    .home-hero-orb--a,
    .home-hero-orb--b,
    .home-hero-orb--c,
    .home-hero-web-lines line,
    .home-hero-web-nodes circle,
    .home-hero-pin,
    .home-hero-pin::after,
    .home-hero-ring,
    .home-hero-chip,
    .home-hero-dots span,
    .home-hero-skyline span,
    .home-hero-scan {
        animation: none !important;
    }
}
.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 960px;
}
.home-hero-copy {
    margin-bottom: 1.6rem;
}
.home-hero-brand {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: clamp(3rem, 8vw, 5.2rem);
    line-height: .92;
    margin: 0 0 .85rem;
    letter-spacing: -.04em;
    text-shadow: none;
    color: #fff;
}
.home-hero-brand span { color: #febb02; }
.home-hero h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    max-width: 22ch;
    margin: 0 0 .75rem;
    color: rgba(255, 255, 255, .96);
    text-shadow: none;
}
.home-hero-sub {
    font-size: 1.05rem;
    max-width: 40ch;
    opacity: 1;
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
}
.home-search {
    background: rgba(255, 255, 255, .98);
    color: var(--sh-ink);
    border-radius: 22px;
    padding: 1.05rem 1.15rem 1.2rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(8px);
}
.home-search-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.home-tab {
    border: 1px solid rgba(47, 86, 136, .14);
    border-radius: 4px;
    padding: .42rem 1rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--sh-navy);
    cursor: pointer;
    background: #fff;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-check:checked + .home-tab {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: #fff;
}
.home-search-fields {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: .55rem;
}
.home-field { position: relative; }
.home-field.grow { min-width: 0; }
.home-field i {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sh-muted);
    z-index: 2;
}
.home-field input.form-control { padding-left: 2.4rem; }
.home-field .form-control,
.home-field .form-select {
    height: 52px;
    border-radius: 4px;
    border-color: rgba(47, 86, 136, .14);
}
.home-search-btn {
    height: 52px;
    border-radius: 14px !important;
    padding-inline: 1.35rem;
    white-space: nowrap;
}

.home-promise { margin-top: -2.1rem; position: relative; z-index: 3; padding-bottom: .5rem; }
.home-promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home-promise-item {
    background: #fff;
    border-radius: 4px;
    padding: 1.35rem 1.25rem;
    box-shadow: var(--sh-shadow-lg);
    border-top: 3px solid transparent;
}
.home-promise-item.trust { border-top-color: var(--sh-navy); }
.home-promise-item.service { border-top-color: var(--sh-red); }
.home-promise-item.growth { border-top-color: var(--sh-green); }
.home-promise-item .icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem; margin-bottom: .7rem;
}
.home-promise-item.trust .icon { background: var(--sh-navy); }
.home-promise-item.service .icon { background: var(--sh-red); }
.home-promise-item.growth .icon { background: var(--sh-green); }
.home-promise-item h2 {
    font-family: "Outfit", sans-serif;
    font-size: .95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .3rem;
    color: var(--sh-ink);
}
.home-promise-item p { margin: 0; color: var(--sh-muted); font-size: .9rem; }

/* How it works */
.home-how {
    position: relative;
    background:
        linear-gradient(180deg, rgba(47, 86, 136, .035), transparent 40%),
        var(--sh-bg);
}
.home-how-head {
    text-align: left;
    max-width: 40rem;
    margin: 0 0 2.5rem;
}
.home-how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    position: relative;
    counter-reset: none;
}
.home-how-steps::before {
    content: "";
    position: absolute;
    top: 2.15rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 86, 136, .12), rgba(214, 40, 40, .28), rgba(46, 155, 58, .28));
    z-index: 0;
}
.home-how-step {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid rgba(47, 86, 136, .08);
    border-radius: 4px;
    padding: 1.5rem 1.35rem 1.4rem;
    box-shadow: 0 14px 36px rgba(36, 48, 65, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.home-how-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(36, 48, 65, .1);
}
.home-how-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}
.home-how-num {
    font-family: "Outfit", "Manrope", sans-serif;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .08em;
    color: rgba(47, 86, 136, .35);
}
.home-how-icon {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 10px 22px rgba(36, 48, 65, .18);
}
.home-how-icon.search { background: linear-gradient(145deg, #5a6d88, var(--sh-navy)); }
.home-how-icon.visit { background: linear-gradient(145deg, #e04a4a, var(--sh-red)); }
.home-how-icon.close { background: linear-gradient(145deg, #3bb348, var(--sh-green)); }
.home-how-step h3 {
    font-family: "Outfit", "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 .45rem;
    color: var(--sh-ink);
}
.home-how-step p {
    margin: 0;
    color: var(--sh-muted);
    font-size: .95rem;
    line-height: 1.5;
}
.home-how-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .home-how-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .home-how-steps::before {
        display: none;
    }
    .home-how-step {
        padding: 1.25rem 1.15rem;
    }
}

/* Categories */
.home-categories {
    background: linear-gradient(180deg, transparent, rgba(47, 86, 136, .035), transparent);
}
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.home-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    min-height: 168px;
    padding: 1.25rem 1.15rem;
    border-radius: 4px;
    color: var(--sh-ink) !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(47, 86, 136, .08);
    box-shadow: var(--sh-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-category-card::after { display: none; }
.home-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-shadow-lg);
    border-color: rgba(47, 86, 136, .18);
    color: var(--sh-navy) !important;
}
.home-category-card.tone-0,
.home-category-card.tone-1,
.home-category-card.tone-2,
.home-category-card.tone-3 {
    background: #fff;
}
.home-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: var(--sh-navy-soft);
    color: var(--sh-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.home-category-name {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--sh-ink);
}
.home-category-cta {
    margin-top: auto;
    font-size: .85rem;
    font-weight: 500;
    color: var(--sh-muted);
}

/* Featured — single scrollable row */
.home-featured-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: calc(-1 * var(--bs-gutter-x, .75rem));
    padding-right: var(--bs-gutter-x, .75rem);
    padding-bottom: .35rem;
}
.home-featured-scroll::-webkit-scrollbar {
    display: none;
}
.home-featured-scroll:focus-visible {
    outline: 2px solid var(--sh-navy);
    outline-offset: 2px;
}
.home-featured-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.1rem;
    width: max-content;
}
.home-featured-track > .col {
    flex: 0 0 min(300px, 78vw);
    width: min(300px, 78vw);
    max-width: min(300px, 78vw);
    scroll-snap-align: start;
}
.home-featured-track .ef-card { height: 100%; }

/* Locations (middle band) */
.home-locations {
    background: #fff;
    border-block: 1px solid rgba(47, 86, 136, .06);
}
.home-location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.home-location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 170px;
    padding: 1.2rem;
    border-radius: 8px;
    color: #fff !important;
    overflow: hidden;
    background-color: #0f4c9a;
    border: 0;
    box-shadow: var(--sh-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.home-location-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.home-location-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 34, 79, .08) 0%, rgba(0, 34, 79, .35) 45%, rgba(0, 26, 61, .82) 100%);
    pointer-events: none;
}
.home-location-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 360px;
}
.home-location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-shadow-lg);
    color: #fff !important;
}
.home-location-card:hover .home-location-photo {
    transform: scale(1.04);
    transition: transform .35s ease;
}
.home-location-pin {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--sh-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.home-location-card strong,
.home-location-count,
.home-location-link {
    position: relative;
    z-index: 2;
}
.home-location-card strong {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
}
.home-location-card.featured strong { font-size: 1.65rem; }
.home-location-count {
    font-size: .88rem;
    color: rgba(255,255,255,.88);
    margin: .2rem 0 .55rem;
}
.home-location-link {
    font-size: .85rem;
    font-weight: 500;
    color: #fff;
}

/* Property tabs */
.home-prop-tabs {
    gap: .45rem;
    padding: .35rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--sh-shadow);
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}
.home-prop-tabs .nav-link {
    border: 0;
    border-radius: 4px;
    color: var(--sh-navy);
    font-weight: 500;
    font-size: .9rem;
    padding: .55rem 1.05rem;
    background: transparent;
}
.home-prop-tabs .nav-link:hover { background: var(--sh-navy-soft); color: var(--sh-navy); }
.home-prop-tabs .nav-link.active {
    background: var(--sh-navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(47, 86, 136, .25);
}
.home-prop-panes .tab-pane { outline: none; }

@media (prefers-reduced-motion: no-preference) {
    .home-hero-brand { animation: sh-rise .7s ease both; }
    .home-hero h1 { animation: sh-rise .7s ease .08s both; }
    .home-hero-sub { animation: sh-rise .7s ease .12s both; }
    .home-search { animation: sh-rise .75s ease .18s both; }
}

@media (max-width: 991.98px) {
    .home-search-fields { grid-template-columns: 1fr 1fr; }
    .home-search-btn { grid-column: 1 / -1; }
    .home-promise-grid { grid-template-columns: 1fr; }
    .home-location-grid { grid-template-columns: repeat(2, 1fr); }
    .home-location-card.featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 220px;
    }
}
@media (max-width: 767.98px) {
    .home-hero {
        min-height: min(85vh, 720px);
        padding: 6.25rem 0 3.25rem;
        align-items: flex-end;
    }
    .home-hero-brand { font-size: clamp(2.5rem, 12vw, 3.4rem); }
    .home-hero h1 { max-width: none; }
    .home-search {
        border-radius: 4px;
        padding: .9rem;
    }
    .home-search-fields { grid-template-columns: 1fr; }
    .home-prop-tabs {
        border-radius: 4px;
        justify-content: flex-start !important;
        overflow-x: auto;
        flex-wrap: nowrap !important;
    }
    .home-location-grid { grid-template-columns: 1fr 1fr; }
    .ef-navbar-brand .sh-wordmark { font-size: 1.05rem; }
}

/* Property detail page continues below */
.pd-page { background: var(--sh-bg); }
.pd-gallery-wrap {
    background: linear-gradient(180deg, #23436c 0%, #2f5688 55%, var(--sh-bg) 100%);
    padding: 1.25rem 0 2rem;
}
.pd-breadcrumb { color: rgba(255,255,255,.7); }
.pd-breadcrumb a { color: #fff; font-weight: 600; }
.pd-breadcrumb a:hover { color: #ffd0d0; }
.pd-breadcrumb span { margin: 0 .35rem; opacity: .6; }

.pd-gallery { position: relative; }
.pd-carousel {
    border-radius: var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow-lg);
    background: #23436c;
}
.pd-carousel-open {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    position: relative;
}
.pd-carousel-img {
    width: 100%;
    height: min(62vh, 560px);
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.pd-carousel-zoom-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 34, 79, .72);
    color: #fff;
    font-size: 1.05rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}
.pd-carousel-open:hover .pd-carousel-zoom-hint,
.pd-carousel-open:focus-visible .pd-carousel-zoom-hint {
    opacity: 1;
}
.pd-carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: .75rem 1.25rem;
    background: linear-gradient(transparent, rgba(8,31,74,.75));
    color: #fff;
    font-size: .9rem;
}
.pd-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--sh-navy);
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.pd-carousel .carousel-control-prev,
.pd-carousel .carousel-control-next {
    width: 4.5rem;
    opacity: 1;
}
.pd-photo-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: rgba(8,31,74,.72);
    color: #fff;
    border-radius: 4px;
    padding: .35rem .85rem;
    font-size: .82rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}
.pd-thumbs {
    display: flex;
    gap: .55rem;
    margin-top: .85rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-width: thin;
}
.pd-thumb {
    flex: 0 0 auto;
    width: 88px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: .75;
    transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; transform: translateY(-2px); }
.pd-thumb.active {
    opacity: 1;
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--sh-red);
}

.pd-header { padding: 1.75rem 0 1rem; }
.pd-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .02em;
    padding: .3rem .7rem;
    border-radius: 4px;
    background: var(--sh-navy-soft);
    color: var(--sh-navy);
}
.pd-badge-purpose { background: var(--sh-navy); color: #fff; }
.pd-badge-featured { background: #fff3cd; color: #8a6d00; }
.pd-badge-verified { background: var(--sh-green-soft); color: var(--sh-green-dark); }
.pd-badge-muted { background: #eef1f6; color: var(--sh-muted); }
.pd-title {
    font-family: "Outfit", "Manrope", sans-serif;
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    color: var(--sh-ink);
    margin-bottom: .5rem;
    line-height: 1.2;
}
.pd-location {
    color: var(--sh-muted);
    font-weight: 500;
}
.pd-location i { color: var(--sh-red); }
.pd-ref { opacity: .8; }

.pd-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: .75rem;
    background: #fff;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    padding: 1rem 1.15rem;
    margin-bottom: 1.75rem;
}
.pd-fact {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem .25rem;
}
.pd-fact i {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--sh-navy-soft);
    color: var(--sh-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pd-fact strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    color: var(--sh-ink);
    line-height: 1.2;
}
.pd-fact span {
    font-size: .75rem;
    color: var(--sh-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 500;
}

.pd-section {
    background: #fff;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    padding: 1.5rem 1.5rem 1.6rem;
    margin-bottom: 1.25rem;
}
.pd-section-head { margin-bottom: 1rem; }
.pd-section-head h2 {
    font-family: inherit;
    font-weight: 500;
    font-size: 1.2rem;
    color: #4a4a4a;
    margin: 0;
}
.pd-lead {
    font-size: 1.02rem;
    font-weight: 400;
    color: #3a3a3a;
    margin-bottom: 1rem;
}
.pd-description {
    color: var(--sh-ink);
    line-height: 1.75;
    white-space: pre-line;
    font-size: 1rem;
}
.pd-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.25rem;
}
.pd-detail-item {
    background: var(--sh-bg);
    border-radius: 4px;
    padding: .85rem 1rem;
}
.pd-detail-item .label {
    display: block;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sh-muted);
    margin-bottom: .2rem;
}
.pd-detail-item .value {
    font-weight: 500;
    color: var(--sh-ink);
}
.pd-amenities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .65rem .9rem;
}
.pd-amenities li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 400;
    color: #3a3a3a;
}
.pd-amenities i { color: var(--sh-green, #008009); }
.pd-map {
    height: 320px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--sh-line);
}
.pd-panel { border-top: 3px solid var(--sh-navy); }
.pd-comment {
    border: 1px solid var(--sh-line);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: .75rem;
}
.pd-comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .85rem;
    color: var(--sh-muted);
    margin-bottom: .4rem;
}
.pd-stars { color: #c9a227; font-weight: 500; }
.pd-rating { color: var(--sh-muted); font-size: 1rem; font-weight: 600; }

.pd-sidebar { position: sticky; top: 5.5rem; }
.pd-price-card {
    background: #fff;
    border-radius: calc(var(--sh-radius) + 2px);
    box-shadow: var(--sh-shadow-lg);
    padding: 1.5rem;
    border: 1px solid rgba(47, 86, 136, .06);
}
.pd-price {
    font-family: inherit;
    font-weight: 500;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    color: #3a3a3a;
    line-height: 1.15;
}
.pd-price small {
    display: block;
    font-size: .9rem;
    font-weight: 400;
    color: var(--sh-muted);
    margin-top: .15rem;
}
.pd-currency { font-size: .85rem; margin-right: .15rem; opacity: .85; }
.pd-price-note {
    font-size: .88rem;
    color: var(--sh-muted);
    margin: .35rem 0 0;
}
.pd-price-drop { color: var(--sh-red); font-weight: 600; }
.pd-sidebar-specs {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem .75rem;
    font-size: .9rem;
    color: var(--sh-ink);
}
.pd-sidebar-specs i { color: var(--sh-navy); margin-right: .25rem; }
.pd-agent {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.15rem;
    padding: .85rem;
    background: var(--sh-navy-soft);
    border-radius: 4px;
}
.pd-agent-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sh-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.pd-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    font-size: .88rem;
    font-weight: 500;
}
.pd-share-label {
    width: 100%;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sh-muted);
}
.pd-share a { color: var(--sh-muted); }
.pd-share a:hover { color: var(--sh-navy); }
.pd-meta {
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--sh-muted);
    text-align: center;
}
.btn-outline-danger.active,
.btn-outline-danger[aria-pressed="true"] {
    background: var(--sh-red);
    border-color: var(--sh-red);
    color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
    .pd-carousel { animation: sh-rise .55s ease both; }
    .pd-header { animation: sh-rise .55s ease .08s both; }
    .pd-price-card { animation: sh-rise .55s ease .12s both; }
}

@media (max-width: 991.98px) {
    .pd-sidebar { position: static; }
    .pd-carousel-img { height: 42vh; min-height: 240px; }
    .pd-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .pd-facts { grid-template-columns: 1fr 1fr; }
    .pd-section { padding: 1.15rem; }
}


/* ===== Booking.com–inspired marketplace UI ===== */
:root {
    --sh-navy: #003580;
    --sh-navy-deep: #00224f;
    --sh-navy-soft: #ebf3ff;
    --sh-action: #0071c2;
    --sh-cta: #febb02;
    --sh-cta-hover: #e5a800;
    --sh-cta-text: #1a1a1a;
    --sh-ink: #262626;
    --sh-muted: #6b6b6b;
    --sh-line: #e7e7e7;
    --sh-bg: #f5f5f5;
    --sh-radius: 8px;
    --sh-radius-sm: 4px;
}

/* Header: soft blue at top; white when scrolled */
.ef-navbar {
    background: #0f4c9a !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    min-height: 64px;
    transition: background .22s ease, box-shadow .22s ease, color .22s ease !important;
}
.ef-navbar .ef-navbar-brand .sh-wordmark,
.ef-navbar .nav-link,
.ef-navbar-login,
.ef-navbar-account {
    color: #fff !important;
}
.ef-navbar .ef-navbar-brand .sh-wordmark .hub {
    color: #febb02 !important;
}
.ef-navbar .nav-link {
    font-weight: 500 !important;
    border-radius: 4px !important;
    border-bottom: 0 !important;
    padding: .45rem .7rem !important;
}
.ef-navbar .nav-link:hover,
.ef-navbar .nav-link:focus {
    background: rgba(255, 255, 255, .14) !important;
    color: #fff !important;
}
.ef-navbar-cta {
    background: #febb02 !important;
    border-color: #febb02 !important;
    color: #1a1a1a !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}
.ef-navbar-cta:hover {
    background: #e5a800 !important;
    border-color: #e5a800 !important;
    color: #1a1a1a !important;
}
.ef-navbar-toggler {
    border-color: rgba(255, 255, 255, .45) !important;
    background: transparent !important;
}
.ef-navbar-toggler .navbar-toggler-icon {
    filter: invert(1) brightness(1.5);
}
.ef-navbar-dropdown {
    border-radius: 8px !important;
    border: 1px solid #e7e7e7 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
}

.ef-navbar.is-solid {
    background: #fff !important;
    border-bottom: 1px solid #e7e7e7 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06) !important;
}
.ef-navbar.is-solid .ef-navbar-brand .sh-wordmark,
.ef-navbar.is-solid .nav-link,
.ef-navbar.is-solid .ef-navbar-login,
.ef-navbar.is-solid .ef-navbar-account {
    color: #1a1a1a !important;
}
.ef-navbar.is-solid .ef-navbar-brand .sh-wordmark .hub {
    color: #febb02 !important;
}
.ef-navbar.is-solid .nav-link:hover,
.ef-navbar.is-solid .nav-link:focus {
    background: #ebf3ff !important;
    color: #003580 !important;
}
.ef-navbar.is-solid .ef-navbar-toggler {
    border-color: #c6c6c6 !important;
}
.ef-navbar.is-solid .ef-navbar-toggler .navbar-toggler-icon {
    filter: none;
}
.ef-navbar.is-solid .ef-navbar-cta {
    background: #0071c2 !important;
    border-color: #0071c2 !important;
    color: #fff !important;
}

.home-page .ef-navbar {
    position: absolute;
    background: transparent !important;
    border-bottom: 0 !important;
}
.home-page .ef-navbar.is-solid {
    position: sticky;
    background: #fff !important;
    border-bottom: 1px solid #e7e7e7 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06) !important;
}
@media (max-width: 991.98px) {
    .home-page .ef-navbar .navbar-collapse,
    .ef-navbar .navbar-collapse {
        background: #0f4c9a !important;
        border-radius: 8px !important;
        border: 0 !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .18) !important;
        margin-top: .5rem;
        padding: .75rem !important;
    }
    .ef-navbar.is-solid .navbar-collapse,
    .home-page .ef-navbar.is-solid .navbar-collapse {
        background: #fff !important;
        border: 1px solid #e7e7e7 !important;
    }
    .ef-navbar.is-solid .navbar-collapse .nav-link,
    .ef-navbar.is-solid .navbar-collapse .ef-navbar-login,
    .ef-navbar.is-solid .navbar-collapse .ef-navbar-account {
        color: #1a1a1a !important;
    }
}

/* Buttons */
.btn {
    border-radius: 4px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    font-family: inherit !important;
}
.btn-primary {
    background: #0071c2 !important;
    border-color: #0071c2 !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover,
a.btn-primary:focus {
    background: #005999 !important;
    border-color: #005999 !important;
    color: #fff !important;
}
.btn-outline-primary {
    color: #0071c2 !important;
    border-color: #0071c2 !important;
    background: #fff !important;
}
.btn-outline-primary:hover {
    background: #ebf3ff !important;
    color: #003580 !important;
}

/* Yellow search CTA (Booking signature) */
.home-search-btn,
.btn-search {
    background: #febb02 !important;
    border-color: #febb02 !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.home-search-btn:hover,
.btn-search:hover {
    background: #e5a800 !important;
    border-color: #e5a800 !important;
    color: #1a1a1a !important;
}

/* Compact search panel */
.home-search {
    background: #fff !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 16px rgba(0,0,0,.16) !important;
    padding: .85rem !important;
}
.home-search-tabs {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: .75rem;
    gap: 0;
}
.home-tab {
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    color: #6b6b6b !important;
    font-weight: 500 !important;
    background: transparent !important;
    padding: .5rem .85rem !important;
}
.btn-check:checked + .home-tab {
    color: #0071c2 !important;
    border-bottom-color: #0071c2 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.home-field .form-control,
.home-field .form-select {
    border: 1px solid #bdbdbd !important;
    border-radius: 4px !important;
    height: 48px;
    font-size: 14px;
}
.home-field .form-control:focus,
.home-field .form-select:focus {
    border-color: #0071c2 !important;
    box-shadow: 0 0 0 1px #0071c2 !important;
}
.home-search-btn { height: 48px; min-width: 120px; }

/* Hero content on blue marketplace background */
.home-hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 920px;
}
.home-hero-brand {
    font-weight: 500 !important;
    color: #fff !important;
    text-shadow: none !important;
    letter-spacing: 0 !important;
}
.home-hero-brand span { color: #febb02 !important; font-weight: 500 !important; }
.home-hero h1 {
    font-weight: 500 !important;
    color: #fff !important;
    text-shadow: none !important;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem) !important;
}
.home-hero-sub { color: rgba(255, 255, 255, .9) !important; font-weight: 400; }

/* Listing cards — practical marketplace cards */
.ef-card {
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #fff !important;
    overflow: hidden;
}
.ef-card:hover {
    border-color: #0071c2 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.1) !important;
    transform: none !important;
}
.ef-card-media img { transition: none !important; }
.ef-card:hover .ef-card-media img { transform: none !important; }
.ef-price {
    color: #3a3a3a !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
}
.ef-card .card-title,
.ef-card .card-title a,
.stretched-link-title {
    color: #3a3a3a !important;
    font-weight: 500 !important;
    font-size: .95rem !important;
}
.ef-card .card-title a:hover,
.stretched-link-title:hover {
    text-decoration: underline;
    color: #0071c2 !important;
}
/* Clickable listing photos (featured scroll + all cards) */
.ef-card { position: relative; }
.ef-card-media { position: relative; }
.ef-card-photo {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}
.ef-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ef-badges,
.ef-purpose {
    z-index: 3;
    pointer-events: none;
}
.home-featured-scroll .ef-card-photo,
.home-prop-panes .ef-card-photo {
    cursor: pointer;
}
.ef-card .card-footer {
    background: #fff !important;
    border-top: 1px solid #e7e7e7 !important;
}
.ef-purpose, .pd-badge-purpose {
    background: #003580 !important;
    color: #fff !important;
    border-radius: 4px !important;
}
.badge { border-radius: 4px !important; font-weight: 500 !important; }

/* Sections */
.ef-section-title {
    font-weight: 500 !important;
    color: #0071c2 !important;
    font-size: 1.35rem !important;
}
.sh-section-kicker {
    color: #6b6b6b !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
}
.home-section-intro { text-align: left !important; }
.home-prop-tabs {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e7e7e7 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 0 !important;
}
.home-prop-tabs .nav-link {
    border-radius: 0 !important;
    font-weight: 500 !important;
    color: #6b6b6b !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    box-shadow: none !important;
}
.home-prop-tabs .nav-link.active {
    color: #0071c2 !important;
    border-bottom-color: #0071c2 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-category-card,
.sh-cta-panel,
.ef-spec-box,
.pd-section,
.pd-price-card,
.pd-facts {
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #fff !important;
}
.home-category-card:hover {
    border-color: #0071c2 !important;
    transform: none !important;
    box-shadow: none !important;
}
.home-location-card {
    border-radius: 8px !important;
    box-shadow: none !important;
}
.home-location-card:hover { transform: none !important; }

/* Detail — calm titles (price, amenities, section heads) */
.pd-title,
.pd-section-head h2,
.pd-price,
.pd-lead,
.pd-detail-item .value,
.pd-fact strong,
.pd-amenities,
.pd-amenities li,
.pd-sidebar-specs,
.sh-cta-panel h3,
.home-how-step h3,
.home-category-name,
.ef-stat .num {
    font-weight: 500 !important;
    color: #3a3a3a !important;
    text-shadow: none !important;
}
.home-location-card strong {
    color: #fff !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}
.pd-section-head h2,
.sh-cta-panel h3 {
    color: #4a4a4a !important;
}
.ef-section-title {
    color: #0071c2 !important;
}
.pd-detail-item .label,
.pd-fact span {
    font-weight: 400 !important;
    color: #6b6b6b !important;
}
.pd-amenities i {
    color: #008009 !important;
    font-weight: 400 !important;
}
.pd-badge { border-radius: 4px !important; font-weight: 500 !important; }
.pd-price small { font-weight: 400 !important; color: #6b6b6b !important; }
a { color: inherit; }
a:hover { color: #0071c2 !important; }
.text-primary { color: #0071c2 !important; }

.form-control, .form-select {
    border-radius: 4px !important;
    border-color: #bdbdbd !important;
}
.form-control:focus, .form-select:focus {
    border-color: #0071c2 !important;
    box-shadow: 0 0 0 1px #0071c2 !important;
}

/* Homepage stats strip */
.home-stats { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.home-stats-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 34, 79, .05);
}
.home-stats-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.2rem 1.15rem;
    border-right: 1px solid #eef1f6;
    min-width: 0;
}
.home-stats-item:last-child { border-right: 0; }
.home-stats-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #ebf3ff;
    color: #0071c2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    font-size: 1.15rem;
}
.home-stats-num {
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.15;
    color: #003580;
}
.home-stats-label {
    font-size: .86rem;
    color: #6b6b6b;
    font-weight: 400;
    line-height: 1.25;
}
@media (max-width: 991.98px) {
    .home-stats-band { grid-template-columns: 1fr 1fr; }
    .home-stats-item:nth-child(2) { border-right: 0; }
    .home-stats-item:nth-child(1),
    .home-stats-item:nth-child(2) {
        border-bottom: 1px solid #eef1f6;
    }
}
@media (max-width: 575.98px) {
    .home-stats-item { padding: 1rem .9rem; }
    .home-stats-num { font-size: 1.35rem; }
}
.sh-brand .hub,
.ef-footer-logo .hub,
.home-hero-brand span { color: #febb02; }

.sh-value-card, .home-how-step {
    box-shadow: none !important;
}


/* ===== Client testimonials ===== */
.home-testimonials {
    background:
        linear-gradient(180deg, #f7f9fc 0%, #fff 48%, #fff 100%);
    border-top: 1px solid #e7e7e7;
    overflow: hidden;
}
.home-testimonials-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.home-testimonials-head {
    text-align: left;
    max-width: 36rem;
}
.home-testimonials-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: calc(-1 * var(--bs-gutter-x, .75rem));
    padding-right: var(--bs-gutter-x, .75rem);
    padding-bottom: .35rem;
}
.home-testimonials-scroll::-webkit-scrollbar {
    display: none;
}
.home-testimonials-scroll:focus-visible {
    outline: 2px solid #0071c2;
    outline-offset: 2px;
}
.home-testimonials-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.1rem;
    width: max-content;
}
.home-scroll-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .45rem;
    margin-top: 1.1rem;
    min-height: 1.25rem;
}
.home-scroll-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9d4e2;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, width .2s ease;
}
.home-scroll-dot:hover {
    background: #8aa4c4;
}
.home-scroll-dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: #0071c2;
}
.home-testimonial {
    flex: 0 0 min(340px, 82vw);
    width: min(340px, 82vw);
    max-width: min(340px, 82vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.2rem 1.3rem 1.2rem;
    background: #fff;
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 34, 79, .06);
    position: relative;
    min-height: 250px;
}
.home-testimonial-rating {
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    margin-bottom: .7rem;
    color: #febb02;
    font-size: 1rem;
    line-height: 1;
}
.home-testimonial-rating .bi-star {
    color: #e2d3a0;
}
.home-testimonial-quote {
    margin: 0 0 1.25rem;
    color: #3a3a3a;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 400;
    flex: 1;
}
.home-testimonial-client {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1f6;
    margin-top: auto;
}
.home-testimonial-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 52px;
    background: #e8eef6;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d5e0ec;
}
.home-testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-testimonial-photo--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #003580, #0071c2);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: none;
    border-color: transparent;
}
.home-testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}
.home-testimonial-name {
    font-size: .95rem;
    font-weight: 500;
    color: #262626;
    line-height: 1.25;
}
.home-testimonial-company {
    font-size: .84rem;
    color: #6b6b6b;
    font-weight: 400;
    line-height: 1.25;
}
.home-testimonial-role {
    font-size: .78rem;
    color: #6b6b6b;
    font-weight: 400;
}
@media (max-width: 575.98px) {
    .home-testimonial {
        flex-basis: min(300px, 86vw);
        width: min(300px, 86vw);
        max-width: min(300px, 86vw);
        min-height: 230px;
    }
}

/* Homepage values — Trust / Service / Growth */
.home-values {
    margin-top: -2.6rem;
    position: relative;
    z-index: 3;
    padding-bottom: .5rem;
}
.home-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.home-values-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 1.45rem 1.35rem 1.4rem;
    border-radius: 16px;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 34, 79, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.home-values-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 34, 79, .12);
}
.home-values-card--trust {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(0, 113, 194, .14), transparent 55%),
        linear-gradient(165deg, #f4f8ff 0%, #fff 58%);
    border-color: #d7e6f7;
}
.home-values-card--service {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(0, 113, 194, .08), transparent 55%),
        linear-gradient(165deg, #f7faff 0%, #fff 58%);
    border-color: #dde8f5;
}
.home-values-card--growth {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(0, 128, 9, .12), transparent 55%),
        linear-gradient(165deg, #f2faf4 0%, #fff 58%);
    border-color: #d5ead9;
}
.home-values-index {
    position: absolute;
    top: .95rem;
    right: 1.05rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: rgba(0, 53, 128, .28);
}
.home-values-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: -28px;
    bottom: -36px;
    pointer-events: none;
    opacity: .55;
}
.home-values-card--trust .home-values-glow {
    background: radial-gradient(circle, rgba(0, 113, 194, .18), transparent 70%);
}
.home-values-card--service .home-values-glow {
    background: radial-gradient(circle, rgba(254, 187, 2, .18), transparent 70%);
}
.home-values-card--growth .home-values-glow {
    background: radial-gradient(circle, rgba(0, 128, 9, .16), transparent 70%);
}
.home-values-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}
.home-values-card--trust .home-values-icon {
    background: linear-gradient(145deg, #0071c2, #003580);
    color: #fff;
}
.home-values-card--service .home-values-icon {
    background: linear-gradient(145deg, #ffd454, #febb02);
    color: #003580;
}
.home-values-card--growth .home-values-icon {
    background: linear-gradient(145deg, #2ea043, #008009);
    color: #fff;
}
.home-values-title {
    position: relative;
    margin: 0 0 .45rem;
    font-size: 1.18rem;
    font-weight: 500;
    color: #003580;
    line-height: 1.25;
}
.home-values-card--service .home-values-title { color: #003580; }
.home-values-card--growth .home-values-title { color: #0d5c18; }
.home-values-text {
    position: relative;
    margin: 0;
    color: #5a6574;
    font-size: .94rem;
    line-height: 1.55;
    max-width: 28ch;
}
@media (max-width: 991.98px) {
    .home-values {
        margin-top: -1.4rem;
    }
    .home-values-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }
    .home-values-card {
        min-height: 0;
    }
    .home-values-text {
        max-width: none;
    }
}

/* Homepage CTA — owner + newsletter */
.home-cta {
    padding-top: 1.5rem;
}
.home-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}
.home-cta-grid--single {
    grid-template-columns: 1fr;
    max-width: 36rem;
}
.home-cta-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.4rem;
    border-radius: 12px;
    border: 1px solid #e0e6ef;
    background: linear-gradient(160deg, #f7faff 0%, #fff 55%);
    box-shadow: 0 8px 22px rgba(0, 34, 79, .05);
    min-height: 100%;
}
.home-cta-card--news {
    background: linear-gradient(160deg, #f8fbf8 0%, #fff 55%);
    border-color: #dfeadf;
}
.home-cta-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    background: #ebf3ff;
    color: #0071c2;
    font-size: 1.25rem;
}
.home-cta-card--news .home-cta-icon {
    background: #e9f5ec;
    color: #008009;
}
.home-cta-copy {
    flex: 1;
    min-width: 0;
}
.home-cta-title {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0071c2;
    line-height: 1.3;
}
.home-cta-card--news .home-cta-title {
    color: #2f6b3a;
}
.home-cta-text {
    margin: 0 0 1.05rem;
    color: #5f6b7a;
    font-size: .95rem;
    line-height: 1.55;
    max-width: 36ch;
}
.home-cta-btn {
    border-radius: 6px !important;
    font-weight: 500 !important;
    padding: .55rem 1.1rem !important;
}
.home-cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: stretch;
}
.home-cta-input {
    flex: 1 1 180px;
    min-width: 0;
    border-radius: 6px !important;
    border-color: #c9d4e2 !important;
    padding: .6rem .85rem !important;
    background: #fff !important;
}
.home-cta-input:focus {
    border-color: #0071c2 !important;
    box-shadow: 0 0 0 1px #0071c2 !important;
}
.home-cta-form .home-cta-btn {
    flex: 0 0 auto;
    min-width: 7.5rem;
}
.home-cta-success {
    margin: 0 0 .75rem;
    padding: .55rem .75rem;
    border-radius: 6px;
    background: #e9f5ec;
    color: #2f6b3a;
    font-size: .9rem;
}
@media (max-width: 991.98px) {
    .home-cta-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575.98px) {
    .home-cta-card {
        padding: 1.25rem 1.1rem;
    }
    .home-cta-form .home-cta-btn {
        width: 100%;
    }
}

.ef-footer-logo:hover { color: #003580 !important; }

/* Property detail image lightbox */
body.pd-lightbox-open { overflow: hidden; }
.pd-lightbox[hidden] { display: none !important; }
.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 18, 36, .92);
}
.pd-lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}
.pd-lightbox-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
    background: linear-gradient(180deg, rgba(0,0,0,.45), transparent);
    color: #fff;
}
.pd-lightbox-counter {
    font-size: .92rem;
    font-weight: 500;
}
.pd-lightbox-actions {
    display: inline-flex;
    gap: .35rem;
}
.pd-lightbox-btn,
.pd-lightbox-nav {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: background .15s ease;
}
.pd-lightbox-btn:hover,
.pd-lightbox-nav:hover {
    background: rgba(255, 255, 255, .28);
    color: #fff !important;
}
.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
}
.pd-lightbox-prev { left: .75rem; }
.pd-lightbox-next { right: .75rem; }
.pd-lightbox-stage {
    position: relative;
    z-index: 2;
    width: min(96vw, 1200px);
    height: min(78vh, 820px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: default;
}
.pd-lightbox-stage.is-zoomed { cursor: grab; }
.pd-lightbox-stage.is-zoomed:active { cursor: grabbing; }
.pd-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .05s linear;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 4px;
}
.pd-lightbox-hint {
    position: absolute;
    bottom: .85rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .4);
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .pd-lightbox-hint { display: none; }
    .pd-lightbox-stage {
        width: 100vw;
        height: 70vh;
    }
    .pd-lightbox-prev { left: .35rem; }
    .pd-lightbox-next { right: .35rem; }
}

/* Homepage section “view all” links */
.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .95rem;
    border-radius: 6px;
    background: #eaf3fb;
    color: #0071c2 !important;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.2;
    text-decoration: none !important;
    border: 1px solid rgba(0, 113, 194, .12);
    box-shadow: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    white-space: nowrap;
}
.home-section-link i {
    font-size: .95em;
    transition: transform .2s ease;
}
.home-section-link:hover,
.home-section-link:focus-visible {
    background: #0071c2 !important;
    border-color: #0071c2 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.home-section-link:hover i,
.home-section-link:focus-visible i {
    transform: translateX(3px);
}
.home-section-link-sm {
    padding: .35rem .75rem;
    font-size: .85rem;
}
@media (max-width: 575.98px) {
    .home-section-link {
        padding: .42rem .8rem;
        font-size: .86rem;
    }
}

/* CMS static page body (Quill HTML) */
.ef-content-body {
    color: #3a3a3a;
    font-size: 1.02rem;
    line-height: 1.7;
}
.ef-content-body h1,
.ef-content-body h2,
.ef-content-body h3 {
    color: #0071c2;
    font-weight: 600;
    margin: 1.6rem 0 .75rem;
    line-height: 1.3;
}
.ef-content-body h1 { font-size: 1.5rem; }
.ef-content-body h2 { font-size: 1.25rem; }
.ef-content-body h3 { font-size: 1.1rem; }
.ef-content-body p { margin: 0 0 1rem; }
.ef-content-body ul,
.ef-content-body ol { margin: 0 0 1rem 1.2rem; padding: 0; }
.ef-content-body li { margin-bottom: .35rem; }
.ef-content-body a { color: #0071c2; text-decoration: underline; }
.ef-content-body a:hover { color: #003580 !important; }

/* Homepage section atmosphere (break flat grey bands) */
.home-page {
    background:
        radial-gradient(ellipse 80% 40% at 10% 20%, rgba(0, 113, 194, .05), transparent 55%),
        radial-gradient(ellipse 70% 35% at 90% 60%, rgba(0, 53, 128, .04), transparent 50%),
        #f3f6fa;
}
.home-locations {
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(0, 113, 194, .07), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
    border-block: 1px solid rgba(0, 113, 194, .08) !important;
}
.home-categories {
    background:
        radial-gradient(circle at 15% 30%, rgba(254, 187, 2, .08), transparent 42%),
        radial-gradient(circle at 85% 70%, rgba(0, 113, 194, .07), transparent 45%),
        linear-gradient(180deg, #f5f8fc 0%, #eef4fb 100%) !important;
}
.home-featured-row {
    position: relative;
    background:
        radial-gradient(ellipse 70% 80% at 0% 50%, rgba(0, 113, 194, .09), transparent 55%),
        radial-gradient(ellipse 60% 70% at 100% 40%, rgba(0, 53, 128, .06), transparent 50%),
        linear-gradient(180deg, #eef5fc 0%, #f8fbff 45%, #ffffff 100%);
    border-top: 1px solid rgba(0, 113, 194, .08);
}
.home-featured-row::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background-image:
        linear-gradient(rgba(0, 113, 194, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 113, 194, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
}
.home-featured-row > .container {
    position: relative;
    z-index: 1;
}
.home-discover {
    position: relative;
    background:
        radial-gradient(ellipse 65% 55% at 80% 0%, rgba(0, 113, 194, .08), transparent 55%),
        radial-gradient(ellipse 50% 45% at 10% 100%, rgba(254, 187, 2, .07), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f4f8fd 55%, #eef4fb 100%);
    border-top: 1px solid rgba(0, 113, 194, .06);
}
.home-discover::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .7), transparent 28%),
        radial-gradient(circle at 75% 65%, rgba(0, 113, 194, .05), transparent 32%);
}
.home-discover > .container {
    position: relative;
    z-index: 1;
}
.home-stats {
    background:
        linear-gradient(180deg, #eef4fb 0%, #f7f9fc 100%);
}
.home-testimonials {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 113, 194, .08), transparent 55%),
        linear-gradient(180deg, #f2f7fc 0%, #ffffff 55%, #ffffff 100%) !important;
}
.home-how {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 113, 194, .07), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%) !important;
}
.home-cta {
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0, 113, 194, .06), transparent 50%),
        radial-gradient(ellipse 50% 70% at 100% 50%, rgba(0, 128, 9, .05), transparent 50%),
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

/* ---------- Agent portfolio ---------- */
.pd-agent-link {
    color: var(--sh-navy);
    font-weight: 700;
    text-decoration: none;
}
.pd-agent-link:hover { text-decoration: underline; }

.ap-page { background: #f5f8fc; min-height: 60vh; }
.ap-hero {
    background:
        radial-gradient(ellipse 70% 80% at 10% 0%, rgba(0, 113, 194, .12), transparent 50%),
        linear-gradient(180deg, #eef4fb 0%, #f5f8fc 100%);
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid rgba(15, 40, 70, .06);
}
.ap-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--sh-muted);
    text-decoration: none;
    font-size: .9rem;
    margin-bottom: 1rem;
}
.ap-back:hover { color: var(--sh-navy); }
.ap-profile {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}
@media (min-width: 768px) {
    .ap-profile {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
    }
}
.ap-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--sh-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 40, 70, .12);
}
.ap-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ap-kicker {
    margin: 0 0 .2rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sh-muted);
}
.ap-name {
    margin: 0 0 .35rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--sh-navy);
}
.ap-phone {
    margin: 0 0 .5rem;
    font-size: .95rem;
}
.ap-phone a { color: inherit; text-decoration: none; }
.ap-phone a:hover { color: var(--sh-navy); }
.ap-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .65rem;
    font-size: .95rem;
}
.ap-stars .bi-star-fill { color: #e6a700; }
.ap-stars .bi-star-fill.is-empty { color: #d5dbe3; }
.ap-stats {
    display: flex;
    gap: .75rem;
}
.ap-stat {
    min-width: 7rem;
    padding: .85rem 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 40, 70, .08);
    text-align: center;
}
.ap-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--sh-navy);
}
.ap-stat span {
    font-size: .78rem;
    color: var(--sh-muted);
}
.ap-section-head { margin: 2rem 0 1rem; }
.ap-section-head h2 {
    margin: .15rem 0 .25rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sh-navy);
}
.ap-section-head p {
    margin: 0;
    color: var(--sh-muted);
    font-size: .95rem;
}
.ap-sold { padding-bottom: .5rem; }
.ap-sold-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .75rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.ap-sold-card {
    flex: 0 0 min(78vw, 240px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 40, 70, .08);
    scroll-snap-align: start;
}
.ap-sold-photo {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #e8eef5;
}
.ap-sold-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ap-sold-badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: rgba(20, 30, 45, .82);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .5rem;
    border-radius: 999px;
}
.ap-sold-body { padding: .75rem .85rem 1rem; }
.ap-sold-body h3 {
    margin: 0 0 .35rem;
    font-size: .95rem;
    font-weight: 700;
}
.ap-sold-body h3 a {
    color: var(--sh-navy);
    text-decoration: none;
}
.ap-sold-body p {
    margin: 0;
    font-size: .88rem;
    color: var(--sh-muted);
}
.ap-listings { padding-bottom: 3rem; }
.ap-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 720px;
}
.ap-feed-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 40, 70, .08);
    box-shadow: 0 6px 20px rgba(15, 40, 70, .04);
}
@media (min-width: 640px) {
    .ap-feed-card { grid-template-columns: 240px 1fr; }
}
.ap-feed-media {
    position: relative;
    display: block;
    min-height: 180px;
    background: #e8eef5;
}
.ap-feed-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.ap-feed-purpose {
    position: absolute;
    left: .7rem;
    bottom: .7rem;
    background: rgba(255, 255, 255, .92);
    color: var(--sh-navy);
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .55rem;
    border-radius: 999px;
}
.ap-feed-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.ap-feed-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sh-navy);
}
.ap-feed-body h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}
.ap-feed-body h3 a {
    color: inherit;
    text-decoration: none;
}
.ap-feed-body h3 a:hover { color: var(--sh-blue, #0071c2); }
.ap-feed-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: .25rem 0 0;
    padding: 0;
    font-size: .86rem;
    color: var(--sh-muted);
}
.ap-feed-type {
    margin-top: auto;
    font-size: .8rem;
    color: var(--sh-muted);
}
.ap-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--sh-muted);
}
.ap-empty i { font-size: 1.8rem; display: block; margin-bottom: .5rem; }
.ap-feed-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1.25rem;
    color: var(--sh-muted);
    font-size: .9rem;
}
.ap-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 113, 194, .2);
    border-top-color: var(--sh-blue, #0071c2);
    border-radius: 50%;
    animation: ap-spin .7s linear infinite;
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-feed-end {
    text-align: center;
    padding: 1rem;
    color: var(--sh-muted);
    font-size: .88rem;
}
#agentFeedSentinel { height: 1px; }

.listing-submit-preview {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.listing-submit-thumb {
    width: 96px;
    padding: 0;
    border: 2px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}
.listing-submit-thumb img {
    display: block;
    width: 100%;
    height: 72px;
    object-fit: cover;
}
.listing-submit-thumb span {
    display: block;
    padding: .2rem .35rem;
    font-size: .7rem;
    color: #5c5c5c;
}
.listing-submit-thumb.is-cover {
    border-color: #003580;
}
.listing-submit-thumb.is-cover span {
    color: #003580;
    font-weight: 600;
}
