/* ==========================================================================
   Global: tokens, base, icons
   ========================================================================== */

:root {
    --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;

    --primary: #c2552f;
    --primary-hover: #a8461f;
    --primary-soft: #f6e4d9;
    --primary-ring: rgba(194, 85, 47, .22);
    --accent: #2f5d50;
    --accent-soft: #e2ece6;

    --ink: #1d1b17;
    --text: #4a453d;
    --muted: #8a8275;
    --line: #e7dfd2;
    --line-strong: #d8ccb9;
    --surface: #f2ebe0;
    --paper: #f7f2ea;
    --white: #fffcf7;

    --radius-sm: .625rem;
    --radius: .875rem;
    --radius-lg: 1.375rem;

    --shadow-sm: 0 1px 2px rgba(29, 27, 23, .06);
    --shadow: 0 .75rem 2rem -.875rem rgba(29, 27, 23, .22);
    --shadow-lg: 0 1.875rem 4.375rem -1.75rem rgba(40, 28, 16, .38);

    --header-h: 4.75rem;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Textures */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='none' stroke='%23c2552f' stroke-opacity='.22'%3E%3Cpath d='M16 1 31 16 16 31 1 16Z'/%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3Ccircle cx='0' cy='0' r='5'/%3E%3Ccircle cx='32' cy='0' r='5'/%3E%3Ccircle cx='0' cy='32' r='5'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

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

/* Fluid root size: all spacing, type and components are in rem, so the whole
   layout keeps its proportions from phones up to 2560px displays. */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
@media (min-width: 1600px) {
    html { font-size: clamp(100%, calc(.25rem + .7vw), 137.5%); }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #087cf0; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }

.wrap {
    width: 100%;
    max-width: 92.5rem;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 4rem);
}
.svg-sprite { display: none; }

/* ---------- Icons ---------- */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: .8125rem; height: .8125rem; stroke-width: 2; }
.icon{transform-box:fill-box;transform-origin:center;will-change:transform}a:hover .icon-bell,button:hover .icon-bell,a:focus-visible .icon-bell,button:focus-visible .icon-bell{animation:la-bell .5s ease-in-out}a:hover .icon-edit,button:hover .icon-edit{animation:la-pen .55s ease-in-out}a:hover .icon-check,a:hover .icon-check-circle,a:hover .icon-shield-check,button:hover .icon-check,button:hover .icon-check-circle,button:hover .icon-shield-check{animation:la-check .45s cubic-bezier(.2,.8,.2,1)}a:hover .icon-plus,button:hover .icon-plus{animation:la-plus .4s ease}a:hover .icon-arrow-right,a:hover .icon-arrow-up-right,button:hover .icon-arrow-right{animation:la-arrow .42s ease}@keyframes la-bell{0%,100%{transform:rotate(0)}20%{transform:rotate(-10deg)}45%{transform:rotate(10deg)}70%{transform:rotate(-7deg)}}@keyframes la-pen{0%,100%{transform:translate(0) rotate(0)}30%{transform:translate(-1px,1.5px) rotate(-3deg)}65%{transform:translate(1.5px,-1px) rotate(3deg)}}@keyframes la-check{0%{opacity:.35;transform:scale(.65)}65%{opacity:1;transform:scale(1.16)}100%{transform:scale(1)}}@keyframes la-plus{50%{transform:rotate(90deg) scale(1.12)}}@keyframes la-arrow{50%{transform:translate(2px,-2px)}}@media(prefers-reduced-motion:reduce){.icon{animation:none!important;transition:none!important}}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Primary menu dropdowns (home hero + inner header)
   ========================================================================== */
.nav-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    line-height: 1.5;
    cursor: pointer;
}
.nav-caret {
    width: .375rem;
    height: .375rem;
    margin-top: -.1875rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    opacity: .7;
    transform: rotate(45deg);
    transition: transform .2s, margin .2s;
}

.nav-drop {
    --drop-ink: #141414;
    --drop-muted: #8a8a8f;
    --drop-hover: #f3f3f4;
    --drop-line: #ececee;

    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 60;
    width: max-content;   /* grow with the longest link instead of letting text spill out */
    min-width: 13.5rem;
    max-width: calc(100vw - 2rem);
    padding: 1rem;
    border-radius: .875rem;
    background: #fff;
    box-shadow: 0 1rem 2.5rem -1rem rgba(20, 24, 32, .28), 0 0 0 1px rgba(20, 24, 32, .04);
    color: var(--drop-ink);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, .375rem);
    transition: opacity .18s, transform .18s, visibility .18s;
}
/* Hover bridge so the pointer can travel from the trigger to the panel */
.nav-drop::before { content: ""; position: absolute; inset: -.875rem 0 100%; }

.nav-drop-groups { display: flex; gap: 1.5rem; }
.nav-drop-group { flex: 1 1 auto; min-width: 9.5rem; }
.nav-drop-title {
    margin: 0 .625rem .5rem;
    padding: .25rem 0 .75rem;
    border-bottom: 1px solid var(--drop-line);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--drop-ink);
}
.nav-drop ul { margin: 0; padding: 0; list-style: none; }
.nav-drop ul a,
.nav-drop-all {
    display: block;
    padding: .4375rem .625rem;
    border-radius: .5rem;
    font-size: .875rem;
    line-height: 1.4;
    color: var(--drop-ink);
    white-space: nowrap;
    transition: background-color .15s;
}
.nav-drop ul a:hover,
.nav-drop ul a:focus-visible { background: var(--drop-hover); }

.nav-drop-all {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--drop-line);
    border-radius: 0;
    font-weight: 500;
}
.nav-drop-all:hover { text-decoration: underline; text-underline-offset: .1875rem; }

.nav-item.is-open .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item.is-open .nav-caret { margin-top: .1875rem; transform: rotate(225deg); }

@media (min-width: 992px) {
    .nav-item .nav-link { height: 2.75rem; }
    /* Panels open directly beneath their own trigger, left edges aligned */
    .nav-drop { top: calc(100% + .25rem); left: 0; right: auto; transform: translateY(.375rem); }
    .nav-item.is-open .nav-drop { transform: none; }
}

@media (hover: hover) and (min-width: 992px) {
    .nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: none; }
    .nav-item:hover .nav-caret { margin-top: .1875rem; transform: rotate(225deg); }
}

/* ---------- Mobile menu: full-height side drawer ---------- */
.menu-head,
.menu-backdrop,
.menu-help,
.menu-contact { display: none; }
.menu-foot { display: contents; }

@media (max-width: 991.98px) {
    .menu-drawer {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 90;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: min(22.5rem, 88vw);
        height: 100vh;
        height: 100dvh;
        max-height: none;
        padding: 0;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        box-shadow: -1.5rem 0 3rem -1.5rem rgba(0, 0, 0, .35);
        opacity: 1;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .32s cubic-bezier(.2, .7, .2, 1), visibility .32s;
    }
    .menu-drawer.is-open { visibility: visible; transform: none; }

    .menu-head {
        display: flex;
        flex: none;
        align-items: center;
        justify-content: space-between;
        height: 4rem;
        padding: 0 .75rem 0 1.25rem;
        border-bottom: 1px solid var(--menu-line);
    }
    .menu-logo { font-size: 1.25rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: inherit; }
    .menu-close {
        display: grid;
        place-items: center;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: none;
        color: inherit;
        cursor: pointer;
        transition: background-color .15s;
    }
    .menu-close .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.8; }
    .menu-close:hover { background: var(--menu-hover); }

    .menu-drawer .nav-list {
        flex: 1 1 auto;
        gap: .125rem;
        min-height: 0;
        padding: .75rem;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .menu-drawer .nav-link { padding: .8125rem .75rem; font-size: 1rem; border-radius: .625rem; transition: background-color .15s; }
    .menu-drawer .nav-link:hover { background: var(--menu-hover); }

    /* Open dropdown and current page read a little stronger */
    .menu-drawer .nav-item.is-open > .nav-link,
    .menu-drawer .nav-link[aria-current] { font-weight: 600; background: var(--menu-hover); }
    .menu-drawer .nav-item.is-open .nav-caret { opacity: 1; }

    .menu-drawer .nav-drop {
        margin: .375rem 0 .625rem 1.25rem;
        padding: .125rem 0 .125rem .625rem;
        border-left: 1px solid var(--menu-line);
    }
    .menu-drawer .nav-drop-title {
        font-size: .6875rem;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
    .menu-drawer .nav-drop ul a { font-size: .9375rem; }

    .menu-foot {
        display: block;
        flex: none;
        padding: 1.125rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--menu-line);
    }
    .menu-help { display: block; margin: 0 0 .5rem; font-size: .8125rem; opacity: .6; }
    .menu-contact {
        display: block;
        width: fit-content;
        padding: .1875rem 0;
        font-size: .9375rem;
        font-weight: 500;
        color: inherit;
    }
    .menu-contact:hover { text-decoration: underline; text-underline-offset: .1875rem; }

    .menu-login {
        display: flex;
        width: 100%;
        height: 2.875rem;
        margin-top: 1rem;
    }

    .menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 89;
        display: block;
        background: rgba(10, 12, 16, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .32s, visibility .32s;
    }
    .menu-drawer.is-open ~ .menu-backdrop { opacity: 1; visibility: visible; }

    body.has-menu { overflow: hidden; }
}

/* Inside the mobile menu the dropdown opens inline */
@media (max-width: 991.98px) {
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-link { display: flex; justify-content: space-between; width: 100%; padding: .625rem .75rem; color: inherit; text-align: left; }
    .nav-drop {
        position: static;
        display: none;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: .125rem 0 .5rem .75rem;
        border-radius: 0;
        background: none;
        box-shadow: none;
        color: inherit;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    .nav-drop::before { content: none; }
    .nav-item.is-open .nav-drop { display: block; transform: none; }
    .nav-drop-groups { flex-direction: column; gap: .75rem; }
    .nav-drop ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .25rem; }
    .nav-drop-single ul { grid-template-columns: minmax(0, 1fr); }
    .nav-drop-title { margin: 0 0 .375rem; padding: 0 .625rem; border: 0; font-size: .75rem; font-weight: 500; color: inherit; opacity: .55; }
    .nav-drop ul a,
    .nav-drop-all { color: inherit; white-space: normal; }
    .nav-drop ul a:hover { background: rgba(127, 127, 127, .1); }
    .nav-drop-all { margin-top: .5rem; padding-top: .625rem; border-top-color: rgba(127, 127, 127, .18); }
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.site-footer {
    --f-bg: #121315;
    --f-bar: #0c0d0e;
    --f-text: rgba(255, 255, 255, .62);
    --f-soft: rgba(255, 255, 255, .42);
    --f-strong: #ffffff;
    --f-line: rgba(255, 255, 255, .09);
    --f-accent: #86acd8;
    --f-gutter: clamp(1.25rem, 4vw, 3.5rem);
    --f-ease: cubic-bezier(.2, .7, .2, 1);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(4rem, 7vw, 6.25rem);
    background:
        radial-gradient(120% 60% at 15% 0%, rgba(134, 172, 216, .08), transparent 60%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px .25rem),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px .25rem),
        var(--f-bg);
    font-size: .875rem;
    line-height: 1.65;
    color: var(--f-text);
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grain);
    opacity: .07;
    pointer-events: none;
}
.site-footer a { color: inherit; transition: color .2s; }
.site-footer a:hover { color: var(--f-strong); }

.footer-inner {
    max-width: calc(87.5rem + var(--f-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--f-gutter);
}

/* ---------- Grid: 3 x 2 ---------- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: clamp(2.75rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
}
.footer-block { min-width: 0; }

.footer-heading {
    margin: 0 0 1.25rem;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--f-soft);
}
.footer-heading i { font-style: italic; letter-spacing: 0; text-transform: none; color: var(--f-accent); }

/* Brand */
.footer-logo {
    display: inline-block;
    margin-bottom: 1.125rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--f-strong) !important;
}
.footer-about { max-width: 25rem; margin: 0 0 1.375rem; }
.footer-about strong { font-weight: 600; color: var(--f-strong); }

.footer-contact { display: grid; gap: .625rem; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: grid; grid-template-columns: 1.125rem minmax(0, 1fr); align-items: start; gap: .75rem; }
.footer-contact .icon { width: 1rem; height: 1rem; margin-top: .1875rem; color: var(--f-accent); stroke-width: 1.7; }
.footer-contact a { font-weight: 500; color: var(--f-strong); }

/* Link lists */
.footer-links { display: grid; gap: .5625rem; margin: 0; padding: 0; list-style: none; }
.footer-links.is-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.footer-links a {
    display: inline-block;
    font-weight: 500;
    color: rgba(255, 255, 255, .86);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: color .2s, background-size .3s var(--f-ease);
}
.footer-links a:hover { background-size: 100% 1px; }

/* Offices */
.footer-offices { display: grid; gap: 1.125rem; margin: 0; padding: 0; list-style: none; }
.footer-offices li { display: grid; gap: 1px; }
.footer-office-meta { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--f-soft); }
.footer-offices strong { font-weight: 600; color: var(--f-strong); }
.footer-offices address { margin: 0; font-style: normal; font-size: .8125rem; line-height: 1.55; }

/* Newsletter */
.footer-note { max-width: 21.25rem; margin: 0 0 1rem; }
.footer-subscribe {
    display: flex;
    align-items: center;
    max-width: 23.75rem;
    height: 3.125rem;
    padding: .3125rem .3125rem .3125rem 1.125rem;
    border: 1px solid var(--f-line);
    border-radius: 62.4375rem;
    background: rgba(255, 255, 255, .04);
    transition: border-color .25s, background-color .25s;
}
.footer-subscribe:focus-within { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .07); }
.footer-subscribe input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .875rem;
    color: var(--f-strong);
}
.footer-subscribe input::placeholder { color: var(--f-soft); }
.footer-subscribe button {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--f-strong);
    color: #121315;
    cursor: pointer;
    transition: transform .3s var(--f-ease);
}
.footer-subscribe button .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.footer-subscribe button:hover { transform: translateX(2px); }

.footer-social { display: flex; gap: .5rem; margin: 1.375rem 0 0; padding: 0; list-style: none; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--f-line);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    transition: background-color .25s, border-color .25s, color .25s;
}
.footer-social .icon { width: 1.0625rem; height: 1.0625rem; }
.footer-social a:hover { border-color: var(--f-strong); background: var(--f-strong); color: #121315; }

/* ---------- Recently listed strip ---------- */
.footer-recent { margin: clamp(3.5rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.footer-recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.footer-more { display: inline-flex; align-items: center; gap: .375rem; margin-bottom: 1.25rem; font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .8) !important; }
.footer-more .icon { width: .875rem; height: .875rem; stroke-width: 1.9; transition: transform .3s var(--f-ease); }
.footer-more:hover { color: var(--f-strong) !important; }
.footer-more:hover .icon { transform: translate(2px, -2px); }

.footer-strip {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: .375rem;
    margin: 0;
    padding: .375rem;
    border: 1px solid var(--f-line);
    border-radius: 1.125rem;
    background: rgba(0, 0, 0, .25);
    list-style: none;
}
.footer-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: .75rem;
}
.footer-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.35) brightness(.85);
    transition: transform .6s var(--f-ease), filter .4s;
}
.footer-thumb span {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    padding: 1.25rem .5rem .4375rem;
    overflow: hidden;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    font-size: .625rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, .8);
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(.375rem);
    transition: opacity .3s, transform .3s var(--f-ease);
}
.footer-thumb span b { font-size: .75rem; font-weight: 600; color: var(--f-strong); }
.footer-thumb:hover img { transform: scale(1.08); filter: none; }
.footer-thumb:hover span { opacity: 1; transform: none; }

/* ---------- Bottom bar ---------- */
.footer-bar { position: relative; border-top: 1px solid var(--f-line); background: var(--f-bar); }
.footer-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 2rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: .8125rem;
}
.footer-bar p { margin: 0; color: var(--f-text); }
.footer-bar p span { margin-left: .625rem; padding-left: .625rem; border-left: 1px solid var(--f-line); color: var(--f-soft); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-legal a { color: rgba(255, 255, 255, .78); }

/* ---------- Responsive ---------- */
@media (max-width: 1099.98px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 639.98px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-thumb span { display: none; }
    .footer-bar-inner { flex-direction: column; align-items: flex-start; }
    .footer-bar p span { display: block; margin: .25rem 0 0; padding: 0; border: 0; }
    .footer-legal { gap: .5rem 1.25rem; }
}

/* ---------- 2026 light property footer ---------- */
.site-footer {
    --f-blue: #1464e8;
    --f-navy: #071f4d;
    --f-ink: #102044;
    --f-muted: #51617e;
    --f-line: #d8e4f4;
    --f-soft-bg: #edf5ff;
    padding-top: 0;
    background: #f7fbff;
    font-size: .94rem;
    line-height: 1.55;
    color: var(--f-muted);
}
.site-footer::before { background: radial-gradient(circle at 15% 0%, #fff 0 18%, transparent 48%); opacity: .9; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--f-blue); }
.footer-inner { max-width: 100rem; }
.footer-hero { position: relative; overflow: hidden; border-top: 1px solid rgba(7,31,77,.16); border-bottom: 1px solid rgba(20,100,232,.08); background: linear-gradient(105deg,#fff 0%,#f8fbff 46%,#dcecff 100%); }
.footer-hero::after { content:"";position:absolute;right:10%;bottom:-8rem;width:42rem;height:15rem;border-radius:50%;background:rgba(255,255,255,.55);filter:blur(1px);transform:rotate(-4deg);pointer-events:none }
.footer-top-grid { position:relative;z-index:1;display:grid;grid-template-columns:minmax(19rem,1.25fr) minmax(10rem,.62fr) minmax(10rem,.62fr) minmax(22rem,1.3fr);gap:0;padding-top:clamp(2.75rem,5vw,5.25rem);padding-bottom:clamp(2rem,4vw,3.5rem) }
.footer-brand,.footer-nav-block,.footer-property-visual{min-width:0;padding-inline:clamp(1.2rem,2.7vw,2.75rem)}
.footer-brand{position:relative;isolation:isolate;padding-block:1.5rem 1.75rem;border-right:1px solid var(--f-line)}
.footer-brand>*{position:relative;z-index:1}
/* Brand column sits on a soft rounded card: a blue glow behind the logo and faint nested arches (the jharokha motif) fading downwards */
.footer-brand::before{content:"";position:absolute;z-index:-2;inset:0 1rem 0 .25rem;border:1px solid #e1ecfb;border-radius:1.75rem;background:radial-gradient(26rem 13rem at 50% 0%,rgba(20,100,232,.15),transparent 70%),radial-gradient(18rem 12rem at 100% 100%,rgba(95,171,255,.12),transparent 70%),linear-gradient(180deg,#fff 0%,#f3f8ff 100%);box-shadow:0 1.75rem 3rem -2.5rem rgba(16,52,112,.4),inset 0 1px 0 #fff}
.footer-brand::after{content:"";position:absolute;z-index:-1;top:0;left:.25rem;right:1rem;height:15rem;border-radius:1.75rem 1.75rem 0 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='200' viewBox='0 0 360 200' fill='none' stroke='%231464e8' stroke-opacity='.16'%3E%3Cpath d='M20 200V150a160 160 0 0 1 320 0v50'/%3E%3Cpath d='M60 200v-46a120 120 0 0 1 240 0v46'/%3E%3Cpath d='M100 200v-42a80 80 0 0 1 160 0v42'/%3E%3C/svg%3E") 50% 1.25rem/min(24rem,92%) auto no-repeat;-webkit-mask-image:linear-gradient(180deg,#000 35%,transparent);mask-image:linear-gradient(180deg,#000 35%,transparent);pointer-events:none}
.footer-nav-block{border-right:1px solid var(--f-line)}
.footer-logo{position:relative;z-index:1;display:flex;overflow:hidden;width:max-content;max-width:calc(100% - 1rem);margin:.85rem auto 1rem;padding:.7rem 1.15rem;border:1px solid rgba(255,255,255,.95);border-radius:1rem;background:rgba(255,255,255,.92);color:var(--f-navy)!important;box-shadow:0 .9rem 2rem -1.25rem rgba(16,52,112,.42),inset 0 1px 0 #fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:footer-logo-float 4s ease-in-out infinite;transition:transform .25s ease,box-shadow .25s ease}
.footer-logo::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 28%,rgba(255,255,255,.9) 48%,transparent 68%);transform:translateX(-135%);animation:footer-logo-sheen 5s ease-in-out infinite;pointer-events:none}
.footer-logo:hover,.footer-logo:focus-visible{animation:none;transform:translateY(-3px) scale(1.015);box-shadow:0 1.25rem 2.35rem -1.15rem rgba(16,52,112,.52),inset 0 1px 0 #fff}
.footer-logo .brand-mark{height:4.7rem}.footer-logo .brand-word{font-size:2rem;color:var(--f-navy)}
.footer-tagline{display:flex;align-items:center;justify-content:center;gap:.65rem;margin:0 0 1.45rem;text-align:center;font-size:.92rem;font-weight:650;letter-spacing:.14em;color:var(--f-ink)}
.footer-tagline i{width:.18rem;height:.18rem;border-radius:50%;background:var(--f-ink)}
@keyframes footer-logo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes footer-logo-sheen{0%,55%{transform:translateX(-135%)}78%,100%{transform:translateX(135%)}}
.footer-about{max-width:30rem;margin:0 0 1.5rem;padding-left:1rem;border-left:3px solid #d7e7ff;font-size:.94rem;line-height:1.72;color:var(--f-muted)}
.footer-promises{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:0;padding:0;list-style:none}
.footer-promises li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;min-height:4.7rem;padding:.72rem .8rem;border:1px solid #dfe9f7;border-radius:1rem;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(244,249,255,.88));box-shadow:0 .75rem 1.5rem -1rem rgba(24,76,146,.32);text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s}
.footer-promises li:hover{border-color:#bfd5f3;box-shadow:0 1rem 1.8rem -1rem rgba(24,76,146,.42);transform:translateY(-2px)}
.footer-promises li>span{display:grid;place-items:center;width:2.45rem;height:2.45rem;border-radius:.8rem;background:linear-gradient(145deg,#2876ee,#3150eb);color:#fff;box-shadow:0 .55rem 1rem -.5rem rgba(20,100,232,.72)}
.footer-promises .icon{width:1.25rem;height:1.25rem}.footer-promises b{font-size:.73rem;line-height:1.3;color:var(--f-ink)}
.footer-heading{position:relative;margin:0 0 1.35rem;padding-bottom:.65rem;font-size:.72rem;font-weight:800;letter-spacing:.2em;color:#0a3b86}
.footer-heading::after{content:"";position:absolute;bottom:0;left:0;width:2.2rem;height:.14rem;border-radius:2rem;background:var(--f-blue)}
.footer-links{gap:.15rem}.footer-links li{min-width:0}.footer-links a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.52rem 0;background:none;font-size:.9rem;font-weight:550;color:var(--f-ink)}
.footer-links a .icon{width:.9rem;height:.9rem;transition:transform .2s}.footer-links a:hover .icon{transform:translateX(3px)}
.footer-property-visual{position:relative;display:flex;align-items:flex-end;align-self:stretch;min-height:24rem;margin-top:calc(clamp(2.75rem,5vw,5.25rem)*-1);margin-right:calc(var(--f-gutter)*-1);margin-bottom:calc(clamp(2rem,4vw,3.5rem)*-1);padding-top:clamp(2.75rem,5vw,5.25rem);padding-right:var(--f-gutter);padding-bottom:clamp(2rem,4vw,3.5rem);background:linear-gradient(90deg,#e5f1ff 0%,rgba(229,241,255,.12) 28%),var(--footer-home) center/cover no-repeat}
.footer-dream-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;width:100%;margin:0 0 0 -1.5rem;padding:1rem 1.2rem;border:1px solid rgba(255,255,255,.85);border-radius:1.2rem;background:rgba(255,255,255,.9);box-shadow:0 1.5rem 3rem -1.7rem rgba(25,68,130,.45);backdrop-filter:blur(12px)}
.footer-dream-icon{display:grid;place-items:center;width:4rem;height:4rem;border-radius:1rem;background:linear-gradient(145deg,#d9ebff,#fff);color:var(--f-blue)}.footer-dream-icon .icon{width:2rem;height:2rem}
.footer-dream-card>span:nth-child(2){display:grid;gap:.4rem}.footer-dream-card b{font-size:1.35rem;line-height:1.05;color:var(--f-navy)}.footer-dream-card small{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.66rem;color:var(--f-muted)}.footer-dream-card small i{width:.18rem;height:.18rem;border-radius:50%;background:var(--f-blue)}
.footer-dream-card em{display:grid;place-items:center;width:2.8rem;height:2.8rem;border-radius:50%;background:var(--f-blue);color:#fff;transition:transform .2s}.footer-dream-card em .icon{width:1.2rem;height:1.2rem}.footer-dream-card:hover em{transform:translateX(3px)}
.footer-info{background:rgba(248,252,255,.97)}
.footer-info-grid{display:grid;grid-template-columns:1.05fr 1.1fr 1.1fr;gap:0;padding-top:2rem;padding-bottom:2rem}
.footer-contact-block,.footer-cities,.footer-newsletter{min-width:0;padding-inline:clamp(1.2rem,3.4vw,3.5rem)}.footer-contact-block{padding-left:0;border-right:1px solid var(--f-line)}.footer-cities{border-right:1px solid var(--f-line)}.footer-newsletter{padding-right:0}
.footer-office-row{display:grid;grid-template-columns:auto 1fr;gap:.7rem;margin-bottom:.8rem}.footer-office-row>span,.footer-contact>li>.icon{display:grid;place-items:center;width:2rem;height:2rem;padding:.48rem;border-radius:50%;background:#e4f0ff;color:var(--f-blue)}
.footer-office-row>div{min-width:0}.footer-office-row b{display:block;font-size:.88rem;color:var(--f-ink)}.footer-office-row address{max-width:25rem;margin:.15rem 0 0;font-style:normal;font-size:.78rem;line-height:1.45}
.footer-contact{gap:.35rem}.footer-contact li{grid-template-columns:2rem 1fr;align-items:center;gap:.7rem}.footer-contact .icon{margin:0}.footer-contact a,.footer-contact span{font-size:.82rem;font-weight:600;color:var(--f-ink)}
.footer-cities ul{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1rem;padding:0;list-style:none}.footer-cities li{animation:footer-city-arrive .48s cubic-bezier(.2,.8,.2,1) both}.footer-cities li:nth-child(2){animation-delay:.04s}.footer-cities li:nth-child(3){animation-delay:.08s}.footer-cities li:nth-child(4){animation-delay:.12s}.footer-cities li:nth-child(5){animation-delay:.16s}.footer-cities li:nth-child(6){animation-delay:.2s}.footer-cities li:nth-child(7){animation-delay:.24s}.footer-cities li:nth-child(8){animation-delay:.28s}.footer-cities li:nth-child(9){animation-delay:.32s}.footer-cities li:nth-child(10){animation-delay:.36s}.footer-cities li a{position:relative;display:block;overflow:hidden;padding:.48rem 1rem;border:1px solid rgba(20,100,232,.08);border-radius:99rem;background:#eaf3ff;font-size:.76rem;color:var(--f-ink);box-shadow:0 .35rem .8rem -.7rem rgba(20,100,232,.45);transition:transform .22s ease,background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease}.footer-cities li a::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.7) 48%,transparent 70%);transform:translateX(-130%);transition:transform .5s ease}.footer-cities li a:hover,.footer-cities li a:focus-visible{border-color:rgba(20,100,232,.3);background:#dcecff;box-shadow:0 .75rem 1.25rem -.8rem rgba(20,100,232,.6);transform:translateY(-3px)}.footer-cities li a:hover::after,.footer-cities li a:focus-visible::after{transform:translateX(130%)}.footer-cities li a[aria-current="true"]{border-color:var(--f-blue);background:var(--f-blue);color:#fff;box-shadow:0 .7rem 1.3rem -.65rem rgba(20,100,232,.7)}
.footer-all-cities{display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:750;color:var(--f-blue)!important;transition:gap .22s ease,transform .22s ease}.footer-all-cities .icon{width:.9rem;height:.9rem;transition:transform .22s ease}.footer-all-cities:hover,.footer-all-cities:focus-visible{gap:.55rem;transform:translateX(2px)}.footer-all-cities:hover .icon,.footer-all-cities:focus-visible .icon{animation:footer-city-arrow .55s ease-in-out}
@keyframes footer-city-arrive{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
@keyframes footer-city-arrow{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
.footer-note{max-width:none;margin:0 0 .85rem;font-size:.83rem;color:var(--f-ink)}
.footer-subscribe{max-width:none;height:3.35rem;padding:.3rem .3rem .3rem 1rem;border-color:#ccdbef;background:#fff;box-shadow:0 .7rem 1.5rem -.9rem rgba(22,70,138,.3)}.footer-subscribe>.icon{flex:0 0 auto;width:1rem;height:1rem;margin-right:.65rem;color:var(--f-blue)}.footer-subscribe:focus-within{border-color:var(--f-blue);background:#fff;box-shadow:0 0 0 .18rem rgba(20,100,232,.12)}.footer-subscribe input{color:var(--f-ink)}.footer-subscribe input::placeholder{color:#8c9ab3}.footer-subscribe button{background:var(--f-blue);color:#fff;box-shadow:0 .5rem 1rem -.4rem rgba(20,100,232,.7)}
.footer-social{margin-top:1rem}.footer-social a{border:0;background:var(--f-blue);color:#fff;box-shadow:0 .5rem 1rem -.6rem rgba(20,100,232,.7)}.footer-social a:hover{background:var(--f-navy);color:#fff}
.footer-bar{border:0;background:linear-gradient(90deg,#0b356e,#051d46)}.footer-bar-inner{display:grid;grid-template-columns:auto 1fr auto;padding-top:1rem;padding-bottom:1rem;color:rgba(255,255,255,.84)}.footer-bar p{color:rgba(255,255,255,.84)}.footer-legal{justify-content:center}.footer-legal a{color:rgba(255,255,255,.8)}.footer-made{display:flex;align-items:center;gap:.55rem}.footer-made>.icon{width:1.25rem;height:1.25rem}.footer-made>span{margin:0;padding:0;border:0;color:#ff5d66}
@media(max-width:1199.98px){.footer-top-grid{grid-template-columns:1.3fr .7fr .7fr}.footer-property-visual{grid-column:1/-1;min-height:20rem;margin:2rem calc(var(--f-gutter)*-1) calc(clamp(2rem,4vw,3.5rem)*-1);padding:2rem var(--f-gutter);background-position:center 58%}.footer-dream-card{max-width:34rem;margin:0}.footer-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-newsletter{grid-column:1/-1;margin-top:1.75rem;padding:1.75rem 0 0;border-top:1px solid var(--f-line)}.footer-bar-inner{grid-template-columns:1fr auto}.footer-made{grid-column:1/-1;justify-content:center}}
@media(max-width:767.98px){.footer-top-grid{grid-template-columns:1fr;padding-top:2.5rem}.footer-brand,.footer-nav-block{padding:0 0 2rem;border:0}.footer-nav-block{padding-top:1.75rem;border-top:1px solid var(--f-line)}.footer-promises{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-promises li{min-height:5.5rem}.footer-property-visual{grid-column:auto;min-height:18rem;margin:0 calc(var(--f-gutter)*-1) calc(clamp(2rem,4vw,3.5rem)*-1);padding:1rem var(--f-gutter) 1.5rem;background-position:62% center}.footer-dream-card{grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;padding:.7rem;border-color:rgba(255,255,255,.72);background:linear-gradient(135deg,rgba(255,255,255,.58),rgba(226,240,255,.32));box-shadow:0 1.4rem 3rem -1.35rem rgba(15,55,112,.55),inset 0 1px 0 rgba(255,255,255,.8);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%)}.footer-dream-icon{width:3rem;height:3rem;background:rgba(239,247,255,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.88)}.footer-dream-card>span:nth-child(2){display:block;min-width:0}.footer-dream-card b{display:block;overflow:hidden;font-size:clamp(.78rem,3.5vw,1rem);line-height:1.15;white-space:nowrap;text-overflow:ellipsis}.footer-dream-card b br{display:none}.footer-dream-card em{width:2.55rem;height:2.55rem;background:rgba(20,100,232,.9);box-shadow:0 .55rem 1.15rem -.55rem rgba(20,100,232,.75)}.footer-dream-card small{display:none}.footer-info-grid{grid-template-columns:1fr}.footer-contact-block,.footer-cities,.footer-newsletter{padding:0 0 1.75rem;border:0}.footer-cities,.footer-newsletter{padding-top:1.75rem;border-top:1px solid var(--f-line)}.footer-newsletter{grid-column:auto;margin:0}.footer-bar-inner{display:flex;align-items:center;text-align:center}.footer-legal{justify-content:center}.footer-made{justify-content:center}.footer-logo .brand-mark{height:3.6rem}.footer-tagline{font-size:.82rem}}
@media(max-width:767.98px){.footer-brand{margin-bottom:2rem;padding:1.5rem 1.25rem 1.75rem}.footer-brand::before{inset:0}.footer-brand::after{left:0;right:0}}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Uploaded logos (admin > Site details): sized by height, never stretched */
.brand-lockup { display: inline-flex; align-items: center; gap: .55rem; color: inherit; white-space: nowrap; }
.brand-mark { display: block; width: 2.15rem; height: 2.15rem; overflow: hidden; flex: 0 0 auto; }
.logo-img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); }
.brand-word { font-family: "Instrument Sans", sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1; letter-spacing: -.035em; text-transform: lowercase; }
.footer-logo .brand-mark { width: auto; height: 3rem; max-width: 100%; }
.footer-logo .brand-word { font-size: 1.35rem; }
.menu-logo .brand-mark { width: 1.9rem; height: 1.9rem; }
.menu-logo .brand-word { font-size: 1.05rem; }

/* Header uses the complete uploaded lockup image (no crop, zoom, or extra word). */
.footer-logo .brand-lockup,
.site-logo .brand-lockup,
.hero-logo .brand-lockup,
.menu-logo .brand-lockup,
.auth-logo .brand-lockup { gap: 0; }
.footer-logo .brand-mark,
.site-logo .brand-mark,
.hero-logo .brand-mark,
.menu-logo .brand-mark,
.auth-logo .brand-mark {
    width: auto;
    overflow: visible;
}
.footer-logo .logo-img,
.site-logo .logo-img,
.hero-logo .logo-img,
.menu-logo .logo-img,
.auth-logo .logo-img {
    width: auto;
    height: 100%;
    object-fit: contain;
    transform: none;
}

/* Footer newsletter: spam trap and result line */
.footer-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.footer-subscribe-status { margin-top: .625rem; color: #7fd6a4; }
.footer-subscribe-status.is-error { color: #ff9a9a; }

/* ==========================================================================
   Account widget — logged-in user dropdown
   ========================================================================== */
.account-widget { position: relative; display: inline-flex; }

/* Avatar trigger button */
.account-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .375rem .75rem .375rem .5rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 62.5rem;
    background: transparent;
    color: var(--c-white, #fff);
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.account-avatar-btn:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.account-avatar-btn .icon { width: 1rem; height: 1rem; flex: none; }
.account-first-name { max-width: 7rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-chevron {
    width: .875rem !important;
    height: .875rem !important;
    flex: none;
    transition: transform .2s;
}
.account-widget.is-open .account-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.account-dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    z-index: 100;
    min-width: 13rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .875rem;
    background: #1c1e22;
    box-shadow: 0 1rem 2.5rem -.5rem rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(.5rem) scale(.97);
    transform-origin: top right;
    transition: opacity .18s, transform .18s;
}
/* Hover bridge: fills the gap between the button and the panel so the pointer
   can travel from one to the other without the hover state dropping */
.account-dropdown::before { content: ""; position: absolute; inset: -.625rem 0 100%; }
.account-widget.is-open .account-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
/* CSS-driven hover on pointer devices — same pattern as .nav-item */
@media (hover: hover) {
    .account-widget:hover .account-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .account-widget:hover .account-chevron { transform: rotate(180deg); }
}

/* Dropdown header (name + email) */
.account-dropdown-header {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    padding: .875rem 1rem .625rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.account-dropdown-name { font-size: .875rem; font-weight: 600; color: #fff; line-height: 1.3; }
.account-dropdown-email { font-size: .75rem; color: rgba(255, 255, 255, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Dropdown items */
.account-dropdown-item {
    display: flex;
    align-items: center;
    gap: .625rem;
    width: 100%;
    padding: .6875rem 1rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: .875rem;
    color: rgba(255, 255, 255, .72);
    cursor: pointer;
    transition: background-color .15s, color .15s;
    text-align: left;
}
.account-dropdown-item:first-of-type { border-radius: 0; }
.account-dropdown-item:last-child { border-radius: 0 0 .875rem .875rem; }
.account-dropdown-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.account-dropdown-item .icon { width: .9375rem; height: .9375rem; flex: none; opacity: .75; }
.account-dropdown-item:hover .icon { opacity: 1; }

.account-logout-form { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.account-dropdown-logout { color: rgba(255, 200, 185, .85); }
.account-dropdown-logout:hover { background: rgba(194, 85, 47, .18); color: #ffb09a; }

/* Mobile: inside .menu-foot the widget stacks naturally */
@media (max-width: 991.98px) {
    .account-widget { display: flex; width: 100%; margin-top: 1rem; }
    .account-avatar-btn { flex: 1; justify-content: center; }
    .account-dropdown {
        left: 0;
        right: 0;
        min-width: 0;
        top: calc(100% + .375rem);
        transform-origin: top center;
    }
}


/* "Log in first" prompt shown when a guest starts a form */
.login-prompt { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(15, 15, 20, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s; }
.login-prompt.is-open { opacity: 1; }
.login-prompt-box { width: 100%; max-width: 24rem; padding: 1.75rem 1.5rem 1.5rem; border-radius: 1.25rem; background: #fff; box-shadow: 0 1.5rem 3rem -1rem rgba(20, 24, 32, .45); text-align: center; color: #141414; transform: translateY(.5rem); transition: transform .18s; }
.login-prompt.is-open .login-prompt-box { transform: none; }
.login-prompt-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto .875rem; border-radius: 50%; background: #f3f3f4; color: #141414; }
.login-prompt-icon .icon { width: 1.25rem; height: 1.25rem; }
.login-prompt-box h2 { margin: 0 0 .375rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.login-prompt-box p { margin: 0 0 1.25rem; font-size: .875rem; line-height: 1.5; color: #6b6b72; }
.login-prompt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.login-prompt-actions a { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; border-radius: .75rem; font-size: .875rem; font-weight: 600; }
.login-prompt-actions .is-primary { background: #141414; color: #fff; }
.login-prompt-actions .is-primary:hover { background: #2a2a2a; }
.login-prompt-actions .is-secondary { border: 1px solid #e4e4e7; color: #141414; }
.login-prompt-actions .is-secondary:hover { background: #f5f5f6; }
.login-prompt-close { display: block; margin: .875rem auto 0; padding: 0; border: 0; background: none; font: inherit; font-size: .8125rem; color: #6b6b72; cursor: pointer; }
.login-prompt-close:hover { color: #141414; }
.account-notification { position: relative; display: inline-grid; place-items: center; color: inherit; text-decoration: none; }
.account-notification .icon { width: 1.1rem; height: 1.1rem; }
.account-notification b { position: absolute; top: -.55rem; right: -.65rem; min-width: 1.05rem; height: 1.05rem; padding: 0 .2rem; border-radius: 1rem; background: #dc2626; color: #fff; font: 700 .625rem/1.05rem sans-serif; text-align: center; }

/* ==========================================================================
   City: header button + city popup (includes/city-picker.php, js/city.js)
   ========================================================================== */
.city-chip {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    height: 2.25rem;
    max-width: 11rem;
    margin-right: auto;
    padding: 0 .75rem 0 .625rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font: 500 .875rem/1 var(--font);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.city-chip:hover, .city-chip:focus-visible { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .16); }
.city-chip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.city-chip .icon { flex: 0 0 auto; width: .9375rem; height: .9375rem; }
.city-chip .icon-chevron-down { width: .75rem; height: .75rem; opacity: .75; }
.city-chip.is-header { margin-left: 1rem; }
.city-chip.is-hero { margin-left: 1.25rem; backdrop-filter: blur(6px); }
@media (max-width: 575.98px) {
    .city-chip { max-width: 8.5rem; height: 2.125rem; padding-inline: .5rem .625rem; font-size: .8125rem; }
    .city-chip.is-header, .city-chip.is-hero { margin-left: .5rem; }
}

.city-picker {
    width: min(100% - 2rem, 34rem);
    max-height: min(100dvh - 2rem, 40rem);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 1.25rem;
    background: #fff;
    color: #141414;
    box-shadow: 0 2.5rem 5rem -1.5rem rgba(10, 12, 20, .45);
}
.city-picker::backdrop { background: rgba(12, 14, 20, .55); backdrop-filter: blur(4px); }
.city-picker[open] { display: flex; animation: city-pop .22s var(--ease); }
@keyframes city-pop { from { opacity: 0; transform: translateY(.75rem) scale(.98); } }
body.has-city-picker { overflow: hidden; }
.city-picker-box { display: flex; flex-direction: column; width: 100%; min-height: 0; margin: 0; padding: 1.5rem 1.5rem 1rem; }
.city-picker-head { display: flex; align-items: flex-start; gap: .875rem; }
.city-picker-head h2 { margin: 0; font: 600 1.375rem/1.2 var(--font); letter-spacing: -.02em; color: #141414; }
.city-picker-head p { margin: .3rem 0 0; font-size: .875rem; line-height: 1.45; color: #6f7277; }
.city-picker-mark { display: grid; flex: 0 0 auto; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .875rem; background: #e8f1fb; color: #2f6fb3; }
.city-picker-mark .icon { width: 1.25rem; height: 1.25rem; }
.city-picker-close { display: grid; flex: 0 0 auto; place-items: center; width: 2.25rem; height: 2.25rem; margin-left: auto; padding: 0; border: 1px solid #e6e6e8; border-radius: 50%; background: #fff; color: #141414; cursor: pointer; }
.city-picker-close:hover { background: #f3f3f4; }
.city-picker-close .icon { width: 1rem; height: 1rem; }
.city-picker-search {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: .625rem;
    height: 3.125rem;
    margin-top: 1.25rem;
    padding: 0 1rem;
    border: 1.5px solid #e1e2e5;
    border-radius: .875rem;
    background: #f9fafa;
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}
.city-picker-search::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -1px;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 28%, rgba(47, 111, 179, .1) 48%, transparent 68%);
    opacity: 0;
    transform: translateX(-35%);
    pointer-events: none;
}
.city-picker-search:focus-within { border-color: #2f6fb3; background: #fff; box-shadow: 0 0 0 4px rgba(47, 111, 179, .1), 0 .55rem 1.3rem -.9rem rgba(47, 111, 179, .55); transform: translateY(-1px); }
.city-picker-search:focus-within::after { animation: city-search-sheen .7s ease-out both; }
.city-picker-search .icon { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; color: #6f7277; transition: color .22s ease, transform .22s ease; }
.city-picker-search:focus-within .icon { color: #2f6fb3; transform: scale(1.08) rotate(-8deg); animation: city-search-icon .5s cubic-bezier(.2, .8, .2, 1); }
.city-picker-search input { flex: 1 1 auto; width: auto; min-width: 0; border: 0; outline: 0; box-shadow: none; appearance: none; background: transparent; font: 400 1rem var(--font); color: #141414; }
.city-picker-search input:focus,
.city-picker-search input:focus-visible { outline: 0; box-shadow: none; }
@keyframes city-search-sheen {
    0% { opacity: 0; transform: translateX(-35%); }
    28% { opacity: 1; }
    100% { opacity: 0; transform: translateX(35%); }
}
@keyframes city-search-icon {
    0% { transform: scale(.85) rotate(0); }
    60% { transform: scale(1.14) rotate(-10deg); }
    100% { transform: scale(1.08) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
    .city-picker-search,
    .city-picker-search .icon { transition: none; }
    .city-picker-search:focus-within,
    .city-picker-search:focus-within .icon { transform: none; animation: none; }
    .city-picker-search:focus-within::after { animation: none; }
}
.city-picker-label { min-height: 1rem; margin: 1.125rem 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6f7277; }
.city-picker-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; min-height: 0; margin: 0; padding: 0 .25rem .25rem 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.city-picker-list li[hidden] { display: none; }
.city-picker-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    min-height: 3.75rem;
    padding: .625rem .875rem;
    border: 1px solid #e6e6e8;
    border-radius: .75rem;
    background: #fff;
    font: inherit;
    text-align: left;
    color: #141414;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, transform .15s;
}
.city-picker-option:hover, .city-picker-option.is-active { border-color: #141414; background: #f9fafa; }
.city-picker-option:active { transform: scale(.98); }
.city-picker-option.is-current { border-color: #2f6fb3; background: #eef5fd; }
.city-picker-option.is-loading { opacity: .6; pointer-events: none; }
.city-picker-name { display: grid; flex: 1; min-width: 0; gap: .125rem; }
.city-picker-name b { overflow: hidden; font-size: .9375rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.city-picker-name small { overflow: hidden; font-size: .75rem; white-space: nowrap; text-overflow: ellipsis; color: #6f7277; }
.city-picker-count { flex: 0 0 auto; padding: .25rem .5rem; border-radius: 999px; background: #f3f3f4; font-size: .6875rem; font-weight: 500; color: #4b4e54; }
.city-picker-option > .icon { flex: 0 0 auto; width: 1rem; height: 1rem; color: #2f6fb3; }
.city-picker-empty { margin: .5rem 0 1rem; padding: 1.25rem; border: 1px dashed #e1e2e5; border-radius: .75rem; font-size: .875rem; text-align: center; color: #6f7277; }
@media (max-width: 479.98px) {
    .city-picker { width: calc(100% - 1.5rem); }
    .city-picker-box { padding: 1.25rem 1rem .75rem; }
    .city-picker-list { grid-template-columns: 1fr; }
    .city-picker-head h2 { font-size: 1.25rem; }
}
/* Header menu labels never break over two lines next to the city button */
.site-menu .nav-link, .hero-menu .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1279.98px) {
    body .site-menu, body .site-menu .nav-list, body .hero-menu .nav-list { gap: 1.125rem; }
    .city-chip { max-width: 8.5rem; }
}
/* Logos keep their full width; on mid-size screens the city button shows the pin and a short name */
.site-logo, .hero-logo { flex-shrink: 0; }
.site-header .site-logo,
.hero-nav .hero-logo {
    display: inline-flex;
    align-items: center;
    padding: .3rem .55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: .6rem;
    background: #fff;
    box-shadow: 0 .45rem 1rem -.65rem rgba(0, 0, 0, .55);
}
.site-header .site-logo .brand-lockup,
.site-header .site-logo .brand-mark,
.hero-nav .hero-logo .brand-lockup,
.hero-nav .hero-logo .brand-mark { max-width: 100%; }
@media (max-width: 575.98px) {
    .site-header .site-logo,
    .hero-nav .hero-logo { padding: .25rem .4rem; border-radius: .5rem; }
    .site-header .site-logo .brand-mark,
    .hero-nav .hero-logo .brand-mark { height: 1.85rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Small laptops: the city button is just the pin (its title and the popup name the city) */
    .city-chip { width: 2.25rem; padding: 0; justify-content: center; }
    .city-chip span, .city-chip .icon-chevron-down { display: none; }
    .city-chip.is-header, .city-chip.is-hero { margin-left: .625rem; }
    /* "body" outranks the same selectors in listings.css / home.css, which load after this file */
    body .site-menu, body .hero-menu { gap: .75rem; }
    body .site-menu .nav-list, body .hero-menu .nav-list { gap: .625rem; }
    body .site-menu .nav-link, body .hero-menu .nav-link { font-size: .875rem; }
    body .site-header-inner { gap: .75rem; padding-inline: 1.5rem; }
    body .site-login { width: 4.75rem; }
}
/* Mobile website entry into the installable HOMZ app. Desktop stays unchanged. */
.mobile-app-install-link,.home-pwa-offer,.home-pwa-help,.home-pwa-launcher{display:none}
@media (max-width:900px){
    .home-pwa-launcher.is-ready{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:850;display:flex;align-items:center;gap:9px;padding:7px 12px 7px 7px;border:1px solid rgba(8,105,247,.18);border-radius:999px;background:#fff;color:#10233f;box-shadow:0 12px 34px rgba(7,29,68,.24);font:800 .78rem/1 'Instrument Sans',sans-serif;cursor:pointer}
    .home-pwa-launcher img{width:40px;height:40px;border-radius:12px;object-fit:cover}
    .home-pwa-offer[open]{display:grid;width:min(91vw,410px);padding:24px;border:0;border-radius:26px;background:#fff;color:#10233f;box-shadow:0 28px 80px rgba(7,29,68,.34);text-align:center}
    .home-pwa-offer::backdrop{background:rgba(7,22,48,.6);backdrop-filter:blur(4px)}
    .home-pwa-offer__close{position:absolute;top:12px;right:12px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:#eef3fa;color:#3e5069;font:400 25px/1 Arial;cursor:pointer}
    .home-pwa-offer__icon{width:82px;height:82px;margin:2px auto 14px;padding:4px;border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(8,105,247,.18)}
    .home-pwa-offer__icon img{width:100%;height:100%;border-radius:20px;object-fit:cover}
    .home-pwa-offer__copy small{color:#0869f7;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
    .home-pwa-offer__copy h2{margin:7px 20px 8px;font-size:1.45rem;line-height:1.18}.home-pwa-offer__copy p{margin:0;color:#65758a;font-size:.9rem;line-height:1.55}
    .mobile-app-install-link.is-ready{display:flex;align-items:center;justify-content:center;width:100%;margin-top:20px;padding:14px 18px;border:0;border-radius:14px;background:#10233f;color:#fff;font:800 .9rem/1 'Instrument Sans',sans-serif;cursor:pointer}
    .mobile-app-install-link.is-open-app{background:#0869f7}
    .home-pwa-help[open]{display:block;width:min(90vw,390px);padding:0;border:0;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(7,29,68,.3)}
    .home-pwa-help::backdrop{background:rgba(7,22,48,.58);backdrop-filter:blur(3px)}
    .home-pwa-help>div{padding:28px;text-align:center;color:#10233f}
    .home-pwa-help img{width:76px;height:76px;border-radius:22px;box-shadow:0 10px 28px rgba(8,105,247,.18)}
    .home-pwa-help h2{margin:18px 0 8px;font-size:24px}.home-pwa-help p{margin:0;color:#5d6c80;line-height:1.6}.home-pwa-help p b{color:#0869f7}
    .home-pwa-help button{width:100%;margin-top:22px;padding:14px;border:0;border-radius:14px;background:#10233f;color:#fff;font-weight:800}
}
