:root {
    --forest: #12352c;
    --forest-2: #1d4a3d;
    --forest-3: #2d6656;
    --sage: #dfe9e2;
    --ivory: #f7f4ed;
    --sand: #e6dcc8;
    --gold: #b89661;
    --gold-dark: #896c3e;
    --ink: #18231f;
    --muted: #66726d;
    --line: #e5e7e2;
    --white: #ffffff;
    --success: #247b59;
    --danger: #b74a46;
    --shadow-xs: 0 8px 20px rgba(18,53,44,.07);
    --shadow-sm: 0 16px 40px rgba(18,53,44,.10);
    --shadow-lg: 0 32px 80px rgba(18,53,44,.16);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --container: 1240px;
    --header: 82px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--white);
    color: var(--ink);
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

    body.body-lock {
        overflow: hidden
    }

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

button, input, select, textarea {
    font: inherit
}

button {
    color: inherit
}

svg {
    display: block
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto
}

.container {
    width: min(var(--container),calc(100% - 48px));
    margin-inline: auto
}

.container-wide {
    width: min(1460px,calc(100% - 48px));
    margin-inline: auto
}

.section {
    padding: 96px 0
}

.section-sm {
    padding: 64px 0
}

.section-alt {
    background: var(--ivory)
}

.section-dark {
    background: var(--forest);
    color: var(--white)
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 9999;
    background: var(--white);
    color: var(--forest);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-weight: 800;
    transition: top .2s
}

    .skip-link:focus {
        top: 16px
    }

/* Typography */
h1, h2, h3, h4, p {
    margin-top: 0
}

h1, h2, .display {
    font-family: "Iowan Old Style",Baskerville,"Times New Roman",serif;
    font-weight: 500;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(44px,6.2vw,88px);
    line-height: .98;
    margin-bottom: 22px
}

h2 {
    font-size: clamp(34px,4.3vw,58px);
    line-height: 1.04;
    margin-bottom: 18px
}

h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px
}

p {
    margin-bottom: 16px
}

.lead {
    font-size: clamp(18px,2vw,22px);
    line-height: 1.55;
    color: var(--muted);
    max-width: 760px
}

.section-dark .lead, .hero .lead, .page-hero .lead {
    color: rgba(255,255,255,.78)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase
}

    .eyebrow:before {
        content: "";
        width: 30px;
        height: 1px;
        background: currentColor
    }

.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow {
    color: #d9c08e
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--forest);
    font-weight: 800
}

    .text-link:hover .icon {
        transform: translateX(3px)
    }

    .text-link .icon {
        width: 17px;
        transition: transform .2s
    }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 38px
}

    .section-head > div {
        max-width: 800px
    }

    .section-head h2 {
        margin-bottom: 10px
    }

    .section-head p {
        margin: 0;
        color: var(--muted);
        font-size: 18px
    }

/* Buttons */
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.1;
    transition: transform .2s,background .2s,color .2s,border-color .2s,box-shadow .2s
}

    .btn:hover {
        transform: translateY(-1px)
    }

    .btn:focus-visible, .icon-btn:focus-visible, .nav-link:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 3px solid rgba(184,150,97,.35);
        outline-offset: 2px
    }

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(18,53,44,.16)
}

    .btn-primary:hover {
        background: var(--forest-2)
    }

.btn-secondary {
    background: var(--gold);
    color: #16231f
}

    .btn-secondary:hover {
        background: #c6a66d
    }

.btn-light {
    background: var(--white);
    color: var(--forest)
}

.btn-outline {
    border-color: #d9ddd8;
    background: var(--white);
    color: var(--forest)
}

    .btn-outline:hover {
        border-color: var(--forest);
        background: #f8faf8
    }

.btn-ghost {
    color: var(--forest);
    padding-inline: 8px
}

.btn-block {
    width: 100%
}

.icon-btn {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    transition: .2s
}

    .icon-btn:hover {
        border-color: var(--forest);
        background: var(--sage)
    }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header);
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(180deg,rgba(7,24,19,.55),rgba(7,24,19,0));
    transition: height .25s,background .25s,box-shadow .25s,backdrop-filter .25s
}

    .site-header.is-scrolled, .site-header.menu-open, .site-header.solid {
        height: 74px;
        background: rgba(13,43,35,.96);
        box-shadow: 0 8px 30px rgba(0,0,0,.12);
        backdrop-filter: blur(18px)
    }

.navbar {
    display: grid;
    grid-template-columns: 255px minmax(0,1fr) 255px;
    align-items: center;
    gap: 22px
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 228px
}


.desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px
}

.nav-item {
    position: relative
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 54px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap
}

    .nav-link:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 5px;
        height: 1px;
        background: #d9c08e;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s
    }

.nav-item:hover > .nav-link:after, .nav-item.active > .nav-link:after, .nav-item.open > .nav-link:after {
    transform: scaleX(1)
}

.nav-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px
}

.dropdown {
    position: absolute;
    top: 58px;
    left: 50%;
    width: 290px;
    padding: 12px;
    transform: translate(-50%,10px);
    border: 1px solid rgba(18,53,44,.08);
    border-radius: 16px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .18s
}

    .dropdown.mega {
        width: 610px;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 4px
    }

.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%,0)
}

.dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 11px;
    color: var(--forest);
    font-weight: 800
}

    .dropdown a:hover {
        background: var(--ivory)
    }

.dropdown small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800
}

    .header-contact:hover {
        background: var(--white);
        color: var(--forest)
    }

.saved-link {
    position: relative;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%
}

.saved-count {
    position: absolute;
    top: -5px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--gold);
    color: var(--forest);
    font-size: 10px;
    font-weight: 900
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--white);
    cursor: pointer
}

    .menu-toggle .icon {
        width: 22px;
        height: 22px
    }

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 999;
    padding: 94px 22px 28px;
    background: var(--forest);
    color: var(--white);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2,.7,.2,1)
}

    .mobile-panel.open {
        transform: translateX(0)
    }

.mobile-nav > a, .mobile-accordion > button {
    width: 100%;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 2px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    background: none;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    text-align: left
}

.mobile-accordion > button {
    cursor: pointer
}

    .mobile-accordion > button span {
        font-size: 28px;
        font-weight: 300;
        transition: transform .2s
    }

.mobile-accordion.open > button span {
    transform: rotate(45deg)
}

.mobile-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s
}

    .mobile-sub > div {
        overflow: hidden
    }

.mobile-accordion.open .mobile-sub {
    grid-template-rows: 1fr
}

.mobile-sub a {
    display: block;
    padding: 12px 18px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08)
}

.mobile-actions {
    display: grid;
    gap: 12px;
    margin-top: 28px
}

/* Hero */
.hero {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    isolation: isolate
}

    .hero:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg,rgba(5,22,17,.78) 0%,rgba(5,22,17,.53) 44%,rgba(5,22,17,.18) 100%)
    }

    .hero:after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 230px;
        z-index: -1;
        background: linear-gradient(0deg,rgba(5,22,17,.45),transparent)
    }

.hero-inner {
    width: min(760px,100%);
    padding: 150px 0 230px
}

.hero h1 {
    max-width: 760px
}

.hero .lead {
    font-size: clamp(18px,2.1vw,24px);
    max-width: 700px
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 26px;
    margin-top: 30px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 700
}

    .hero-trust span {
        display: inline-flex;
        align-items: center;
        gap: 8px
    }

    .hero-trust .icon {
        width: 17px
    }

.hero-search-wrap {
    position: absolute;
    left: 50%;
    bottom: 42px;
    width: min(1240px,calc(100% - 48px));
    transform: translateX(-50%);
    z-index: 3
}

.search-panel {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-lg);
    color: var(--ink)
}

.search-tabs {
    display: flex;
    gap: 5px;
    margin: 0 0 13px
}

    .search-tabs button {
        min-width: 86px;
        padding: 9px 16px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--muted);
        font-weight: 800;
        cursor: pointer
    }

        .search-tabs button.active {
            background: var(--forest);
            color: var(--white)
        }

.search-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end
}

.field {
    min-width: 0
}

    .field label {
        display: block;
        margin: 0 0 7px;
        color: #52615b;
        font-size: 12px;
        font-weight: 850;
        letter-spacing: .02em
    }

.input-wrap {
    position: relative
}

.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #dfe3df;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    outline: none;
    transition: border-color .2s,box-shadow .2s
}

.field textarea {
    min-height: 130px;
    resize: vertical
}

    .field input:focus, .field select:focus, .field textarea:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px rgba(184,150,97,.12)
    }

.search-submit {
    min-width: 138px;
    height: 50px
}

/* Cards and grids */
.grid {
    display: grid;
    gap: 24px
}

.grid-2 {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.grid-3 {
    grid-template-columns: repeat(3,minmax(0,1fr))
}

.grid-4 {
    grid-template-columns: repeat(4,minmax(0,1fr))
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-xs)
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px
}

.property-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: transform .25s,box-shadow .25s,border-color .25s
}

    .property-card:hover {
        transform: translateY(-5px);
        border-color: #d7dcd6;
        box-shadow: var(--shadow-sm)
    }

.property-media {
    position: relative;
    height: 265px;
    overflow: hidden;
    background: var(--sage)
}

    .property-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s
    }

.property-card:hover .property-media img {
    transform: scale(1.035)
}

.property-badges {
    position: absolute;
    left: 14px;
    top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    z-index: 2
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--forest);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase
}

    .badge.dark {
        background: var(--forest);
        color: var(--white)
    }

    .badge.gold {
        background: var(--gold);
        color: #16231f
    }

.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--forest);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    cursor: pointer
}

    .favorite-btn .icon {
        width: 19px
    }

    .favorite-btn.active {
        background: var(--forest);
        color: var(--white)
    }

        .favorite-btn.active .icon {
            fill: currentColor
        }

.property-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px
}

.property-price {
    margin-bottom: 6px;
    color: var(--forest);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.02em
}

.property-title {
    font-family: inherit;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 8px
}

    .property-title a:hover {
        color: var(--forest-3)
    }

.property-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 14px
}

    .property-location .icon {
        width: 15px;
        height: 15px
    }

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: #52615b;
    font-size: 13px;
    font-weight: 750
}

    .property-specs span {
        display: inline-flex;
        align-items: center;
        gap: 6px
    }

    .property-specs .icon {
        width: 16px;
        height: 16px
    }

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px
}

    .property-footer .text-link {
        font-size: 14px
    }

.availability {
    font-size: 12px;
    color: var(--success);
    font-weight: 800
}

/* Location, category, service cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px
}

.location-card {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 24px;
    color: var(--white);
    isolation: isolate
}

    .location-card:after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(0deg,rgba(6,25,20,.86),rgba(6,25,20,.08) 75%)
    }

    .location-card img {
        position: absolute;
        inset: 0;
        z-index: -2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s
    }

    .location-card:hover img {
        transform: scale(1.045)
    }

.location-card-content {
    padding: 24px
}

.location-card h3 {
    font-family: "Iowan Old Style",Baskerville,serif;
    font-size: 30px;
    margin: 0 0 4px
}

.location-card p {
    margin: 0;
    color: rgba(255,255,255,.76)
}

.location-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 17px;
    font-size: 13px;
    font-weight: 800
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px
}

.category-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    transition: .2s
}

    .category-card:hover {
        border-color: var(--gold);
        transform: translateY(-2px);
        box-shadow: var(--shadow-xs)
    }

.category-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--ivory);
    color: var(--forest)
}

.category-card h3 {
    font-family: inherit;
    font-size: 16px;
    margin: 0 0 2px
}

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.service-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(255,255,255,.06)
}

.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    color: #e4c991
}

.service-card h3 {
    font-family: inherit;
    font-size: 21px;
    margin-bottom: 10px
}

.service-card p {
    color: rgba(255,255,255,.7)
}

.service-card .text-link {
    color: var(--white)
}

/* Split, stats and CTA */
.split {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: 72px;
    align-items: center
}

.media-panel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--sage)
}

    .media-panel img {
        width: 100%;
        height: 100%;
        min-height: 520px;
        object-fit: cover
    }

.media-note {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 21px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-sm)
}

    .media-note strong {
        display: block;
        color: var(--forest);
        font-size: 26px
    }

.check-list {
    display: grid;
    gap: 15px;
    margin: 25px 0 30px;
    padding: 0;
    list-style: none
}

    .check-list li {
        display: flex;
        gap: 11px;
        align-items: flex-start
    }

    .check-list .icon {
        width: 19px;
        margin-top: 3px;
        color: var(--success)
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: rgba(255,255,255,.12)
}

.stat {
    padding: 32px;
    background: var(--forest)
}

    .stat strong {
        display: block;
        font-family: "Iowan Old Style",Baskerville,serif;
        font-size: 44px;
        font-weight: 500;
        line-height: 1;
        color: #e7ce9b
    }

    .stat span {
        display: block;
        margin-top: 8px;
        color: rgba(255,255,255,.7);
        font-size: 14px
    }

.cta-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 52px;
    border-radius: 30px;
    background: linear-gradient(135deg,var(--forest),#205646);
    color: var(--white);
    overflow: hidden
}

    .cta-card:after {
        content: "";
        position: absolute;
        right: -90px;
        bottom: -140px;
        width: 360px;
        height: 360px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 50%;
        box-shadow: 0 0 0 45px rgba(255,255,255,.04),0 0 0 90px rgba(255,255,255,.025)
    }

    .cta-card > div, .cta-card > a {
        position: relative;
        z-index: 1
    }

    .cta-card h2 {
        max-width: 700px;
        margin: 0 0 10px;
        font-size: clamp(32px,4vw,52px)
    }

    .cta-card p {
        margin: 0;
        color: rgba(255,255,255,.72);
        font-size: 18px
    }

/* Testimonials and team */
.testimonial-card {
    padding: 30px
}

.stars {
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 18px
}

.quote {
    font-family: "Iowan Old Style",Baskerville,serif;
    font-size: 25px;
    line-height: 1.4;
    letter-spacing: -.015em
}

.person {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px
}

.avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    font-weight: 900
}

.person strong {
    display: block
}

.person span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px
}

.agent-card {
    overflow: hidden
}

.agent-portrait {
    position: relative;
    height: 320px;
    display: grid;
    place-items: end center;
    background: linear-gradient(150deg,var(--sage),#c6d6cd);
    overflow: hidden
}

    .agent-portrait:before {
        content: "";
        position: absolute;
        width: 210px;
        height: 210px;
        top: 55px;
        border-radius: 50%;
        background: var(--forest-2);
        opacity: .9
    }

.agent-initials {
    position: relative;
    z-index: 1;
    font-family: "Iowan Old Style",Baskerville,serif;
    font-size: 96px;
    line-height: 1;
    color: #e8d4aa;
    transform: translateY(-36px)
}

.agent-portrait:after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: -65px;
    height: 190px;
    border-radius: 90px 90px 0 0;
    background: var(--forest)
}

.agent-body {
    padding: 22px
}

    .agent-body h3 {
        font-size: 21px;
        margin-bottom: 4px
    }

.agent-role {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800
}

.agent-speciality {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px
}

/* Listing pages */
.page-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 150px 0 72px;
    color: var(--white);
    background-size: cover;
    background-position: center;
    isolation: isolate
}

    .page-hero:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg,rgba(5,23,18,.82),rgba(5,23,18,.35))
    }

    .page-hero.compact {
        min-height: 385px;
        padding-bottom: 60px
    }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

    .breadcrumbs a,
    .breadcrumbs span {
        color: inherit;
    }

        .breadcrumbs a:hover {
            color: var(--white)
        }

.site-header.solid .breadcrumbs a:hover,
.detail-top .breadcrumbs a:hover {
    color: var(--forest) !important;
}

.page-hero h1 {
    max-width: 950px;
    margin-bottom: 16px
}

.listing-layout {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr);
    gap: 32px;
    align-items: start
}

.filters {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-xs)
}

.filters-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

    .filters-head h2 {
        font-family: inherit;
        font-size: 20px;
        margin: 0;
        font-weight: 850;
        letter-spacing: 0
    }

.filter-stack {
    display: grid;
    gap: 16px
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 20px
}

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px
}

.results-count {
    font-weight: 850
}

    .results-count span {
        color: var(--muted);
        font-weight: 500
    }

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.sort-select {
    min-height: 46px;
    padding: 10px 38px 10px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 750
}

.mobile-filter-btn {
    display: none
}

.listing-results .property-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.empty-state {
    grid-column: 1/-1;
    padding: 64px 24px;
    border: 1px dashed #ccd4cf;
    border-radius: 22px;
    background: var(--ivory);
    text-align: center
}

    .empty-state .category-icon {
        margin: 0 auto 18px
    }

.load-more-wrap {
    text-align: center;
    margin-top: 34px
}

.filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7,25,20,.55);
    opacity: 0;
    visibility: hidden;
    transition: .2s
}

    .filter-overlay.open {
        opacity: 1;
        visibility: visible
    }

.filter-drawer {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(420px,100%);
    padding: 74px 22px 28px;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s
}

.filter-overlay.open .filter-drawer {
    transform: translateX(0)
}

.filter-drawer-close {
    position: absolute;
    right: 20px;
    top: 18px
}

/* Detail page */
.detail-top {
    padding-top: 120px
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px
}

    .detail-header h1 {
        font-size: clamp(38px,4.4vw,62px);
        max-width: 900px;
        margin-bottom: 12px
    }

.detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted)
}

.detail-actions {
    display: flex;
    gap: 9px
}

.gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
    grid-template-rows: repeat(2, minmax(0, 250px));
    gap: 12px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--sage);
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    outline: 0;
    background: var(--sage);
    cursor: pointer;
}

    .gallery-item:first-child {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .gallery-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .gallery-item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-item:nth-child(n + 4) {
        display: none;
    }

    .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center;
        transition: transform 0.4s ease;
    }

    .gallery-item::after {
        position: absolute;
        inset: 0;
        content: "";
        pointer-events: none;
        background: rgba(6, 34, 28, 0);
        transition: background 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.035);
    }

    .gallery-item:hover::after {
        background: rgba(6, 34, 28, 0.08);
    }

.gallery-more {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(12, 47, 39, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0c2f27;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(8, 35, 29, 0.18);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .gallery-more:hover {
        transform: translateY(-2px);
        background: #ffffff;
        color: #0c2f27;
        box-shadow: 0 16px 38px rgba(8, 35, 29, 0.24);
    }

/* One-image gallery */
.gallery--1 {
    display: block;
    height: 500px;
}

    .gallery--1 .gallery-item:first-child {
        display: block;
        height: 100%;
    }

/* Two-image gallery */
.gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 500px;
}

    .gallery--2 .gallery-item:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery--2 .gallery-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

@media (max-width: 991.98px) {
    .gallery {
        grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
        grid-template-rows: repeat(2, minmax(0, 210px));
        border-radius: 18px;
    }

    .gallery--1,
    .gallery--2 {
        height: 420px;
    }

    .gallery--2 {
        grid-template-rows: 420px;
    }
}

@media (max-width: 767.98px) {
    .gallery,
    .gallery--1,
    .gallery--2 {
        display: block;
        height: 390px;
        border-radius: 16px;
    }

    .gallery-item {
        display: none;
    }

        .gallery-item:first-child {
            display: block;
            width: 100%;
            height: 100%;
        }

    .gallery-more {
        right: 14px;
        bottom: 14px;
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }
}
.property-lightbox[hidden] {
    display: none;
}

.property-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.property-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 15, 0.95);
    backdrop-filter: blur(10px);
}

.property-lightbox__panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: min(1280px, 100%);
    height: min(850px, calc(100vh - 48px));
}

.property-lightbox__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    color: #ffffff;
}

.property-lightbox__counter {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.property-lightbox__close,
.property-lightbox__navigation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
}

.property-lightbox__content {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
    flex: 1;
    min-height: 0;
    gap: 18px;
}

.property-lightbox__image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

    .property-lightbox__image-container img {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 14px;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    }

body.property-lightbox-open {
    overflow: hidden;
}
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 370px;
    gap: 54px;
    align-items: start
}

.detail-main h2 {
    font-size: 34px;
    margin-top: 46px
}

.detail-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line)
}

.detail-price {
    color: var(--forest);
    font-size: 34px;
    font-weight: 900
}

.detail-status {
    color: var(--success);
    font-weight: 800
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    margin: 28px 0
}

.overview-item {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--ivory)
}

    .overview-item .icon {
        margin-bottom: 10px;
        color: var(--gold-dark)
    }

    .overview-item strong {
        display: block;
        font-size: 20px
    }

    .overview-item span {
        color: var(--muted);
        font-size: 13px
    }

.description {
    font-size: 18px;
    color: #3d4b45
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px 20px;
    padding: 0;
    list-style: none
}

    .amenities-grid li {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .amenities-grid .icon {
        width: 18px;
        color: var(--success)
    }

.map-card {
    min-height: 330px;
    display: grid;
    place-items: center;
    margin-top: 24px;
    border-radius: 20px;
    background: linear-gradient(145deg,#dce6df,#c6d5cc);
    overflow: hidden;
    position: relative;
    text-align: center
}

    .map-card:before, .map-card:after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(18,53,44,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(18,53,44,.08) 1px,transparent 1px);
        background-size: 38px 38px;
        transform: rotate(-8deg) scale(1.2)
    }

    .map-card:after {
        inset: 60px;
        border: 5px solid rgba(18,53,44,.15);
        border-radius: 50%;
        background: none
    }

.map-pin {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    background: var(--forest);
    color: var(--white);
    transform: rotate(-45deg);
    box-shadow: var(--shadow-sm)
}

    .map-pin .icon {
        transform: rotate(45deg)
    }

.detail-sidebar {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 18px
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm)
}

.sidebar-agent {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 19px;
    margin-bottom: 19px;
    border-bottom: 1px solid var(--line)
}

    .sidebar-agent .avatar {
        width: 60px;
        height: 60px
    }

    .sidebar-agent h3 {
        font-family: inherit;
        font-size: 18px;
        margin: 0 0 3px
    }

    .sidebar-agent p {
        margin: 0;
        color: var(--muted);
        font-size: 13px
    }

.contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 20px
}

.form-stack {
    display: grid;
    gap: 13px
}

.form-message {
    display: none;
    padding: 11px 13px;
    border-radius: 10px;
    background: #e8f5ee;
    color: #226348;
    font-size: 13px;
    font-weight: 750
}

    .form-message.show {
        display: block
    }

.reference-box {
    padding: 17px;
    border-radius: 14px;
    background: var(--ivory);
    font-size: 13px;
    color: var(--muted)
}

    .reference-box strong {
        color: var(--ink)
    }

/* General content pages */
.content-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 64px;
    align-items: start
}

.prose {
    font-size: 18px;
    color: #394740
}

    .prose h2 {
        margin-top: 48px
    }

    .prose h3 {
        margin-top: 30px;
        font-family: inherit;
        font-size: 22px;
        font-weight: 850;
        letter-spacing: 0
    }

    .prose ul, .prose ol {
        padding-left: 22px
    }

    .prose li {
        margin-bottom: 9px
    }

    .prose blockquote {
        margin: 32px 0;
        padding: 24px 28px;
        border-left: 4px solid var(--gold);
        background: var(--ivory);
        font-family: "Iowan Old Style",Baskerville,serif;
        font-size: 25px
    }

.side-nav {
    position: sticky;
    top: 100px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px
}

    .side-nav strong {
        display: block;
        margin-bottom: 11px
    }

    .side-nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
        color: var(--muted);
        font-size: 14px;
        font-weight: 700
    }

.info-card {
    padding: 28px
}

    .info-card .category-icon {
        margin-bottom: 19px
    }

    .info-card h3 {
        font-family: inherit;
        font-size: 20px
    }

    .info-card p {
        color: var(--muted)
    }

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px
}

.contact-panel {
    padding: 34px;
    border-radius: 26px;
    background: var(--forest);
    color: var(--white)
}

    .contact-panel p {
        color: rgba(255,255,255,.7)
    }

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 30px
}

.contact-item {
    display: flex;
    gap: 13px
}

    .contact-item .category-icon {
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,.1);
        color: #e4c991
    }

.contact-form {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow-xs)
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px
}

    .form-grid .full {
        grid-column: 1/-1
    }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px
}

.blog-card {
    overflow: hidden
}

.blog-media {
    height: 230px;
    overflow: hidden
}

    .blog-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

.blog-card:hover .blog-media img {
    transform: scale(1.035)
}

.blog-body {
    padding: 22px
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700
}

.blog-body h3 {
    font-family: "Iowan Old Style",Baskerville,serif;
    font-size: 27px;
    font-weight: 500
}

.blog-body p {
    color: var(--muted)
}

.accordion {
    border-top: 1px solid var(--line)
}

.accordion-item {
    border-bottom: 1px solid var(--line)
}

.accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border: 0;
    background: none;
    text-align: left;
    font-weight: 850;
    font-size: 18px;
    cursor: pointer
}

    .accordion-button span:last-child {
        font-size: 26px;
        font-weight: 300;
        transition: transform .2s
    }

.accordion-item.open .accordion-button span:last-child {
    transform: rotate(45deg)
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s
}

    .accordion-content > div {
        overflow: hidden
    }

.accordion-item.open .accordion-content {
    grid-template-rows: 1fr
}

.accordion-content p {
    padding: 0 0 22px;
    margin: 0;
    color: var(--muted)
}

.calculator-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-sm)
}

.result-panel {
    margin-top: 22px;
    padding: 26px;
    border-radius: 18px;
    background: var(--forest);
    color: var(--white);
    text-align: center
}

    .result-panel strong {
        display: block;
        font-family: "Iowan Old Style",Baskerville,serif;
        font-size: 50px;
        color: #e5cd9b
    }

.jobs-list {
    display: grid;
    gap: 14px
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white)
}

    .job-card h3 {
        font-family: inherit;
        font-size: 18px;
        margin: 0 0 4px
    }

    .job-card p {
        margin: 0;
        color: var(--muted);
        font-size: 14px
    }

.logo-list {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px
}

.logo-tile {
    min-height: 110px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    color: var(--forest);
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center
}

/* Newsletter & footer */
.newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 42px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14)
}

    .newsletter h2 {
        font-size: 38px;
        margin-bottom: 6px
    }

    .newsletter p {
        margin: 0;
        color: rgba(255,255,255,.68)
    }

.newsletter-form {
    display: flex;
    gap: 9px;
    width: min(470px,100%)
}

    .newsletter-form input {
        flex: 1;
        min-width: 0;
        min-height: 50px;
        padding: 12px 16px;
        border: 1px solid rgba(255,255,255,.24);
        border-radius: 999px;
        background: rgba(255,255,255,.08);
        color: var(--white);
        outline: none
    }

        .newsletter-form input::placeholder {
            color: rgba(255,255,255,.55)
        }

.footer {
    padding: 74px 0 28px;
    background: #0c2b23;
    color: var(--white)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4,1fr);
    gap: 36px;
    padding: 52px 0
}

.footer-logo {
    display: block;
    width: 225px;
    margin-bottom: 18px
}

.footer-about {
    max-width: 330px;
    color: rgba(255,255,255,.64)
}

.footer h4 {
    margin-bottom: 15px;
    color: #e5cd9b;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.footer a {
    display: block;
    margin: 9px 0;
    color: rgba(255,255,255,.7);
    font-size: 14px
}

    .footer a:hover {
        color: var(--white)
    }

.social-row {
    display: flex;
    gap: 8px;
    margin-top: 18px
}

    .social-row a {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        margin: 0;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 50%;
        font-size: 12px;
        font-weight: 850
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    font-size: 12px
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

    .footer-legal a {
        margin: 0
    }

.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    display: grid;
    gap: 9px
}

.floating-action {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-sm)
}

    .floating-action.whatsapp {
        background: #1f9d63
    }

/* Modal, toast and utilities */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5,22,17,.72);
    opacity: 0;
    visibility: hidden;
    transition: .2s
}

    .modal.open {
        opacity: 1;
        visibility: visible
    }

.modal-dialog {
    position: relative;
    width: min(980px,100%);
    max-height: 90vh;
    overflow: auto;
    padding: 18px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-lg)
}

.modal-close {
    position: absolute;
    right: 26px;
    top: 26px;
    z-index: 2
}

.modal-image {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 16px
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 1300;
    max-width: min(430px,calc(100% - 32px));
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 750;
    transform: translate(-50%,30px);
    opacity: 0;
    visibility: hidden;
    transition: .25s
}

    .toast.show {
        transform: translate(-50%,0);
        opacity: 1;
        visibility: visible
    }

.pagination-note {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    margin-top: 15px
}

.hidden {
    display: none !important
}

.center {
    text-align: center
}

.mt-0 {
    margin-top: 0 !important
}

.mb-0 {
    margin-bottom: 0 !important
}

/* Responsive */
@media (max-width:1180px) {
    :root {
        --container: 1080px
    }

    .navbar {
        grid-template-columns: 220px 1fr 190px
    }

    .brand {
        width: 205px
    }

    .desktop-nav {
        gap: 20px
    }

    .header-contact {
        padding-inline: 14px
    }

    .search-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr auto
    }

        .search-grid .purpose-field {
            display: none
        }

    .property-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(4,1fr);
        gap: 24px
    }
}

@media (max-width:1024px) {
    :root {
        --header: 74px
    }

    .container, .container-wide {
        width: min(100% - 40px,var(--container))
    }

    .desktop-nav, .header-contact {
        display: none
    }

    .navbar {
        grid-template-columns: 1fr auto
    }

    .nav-actions {
        gap: 9px
    }

    .menu-toggle {
        display: grid
    }

    .hero {
        min-height: 840px
    }

    .hero-inner {
        padding-top: 130px
    }

    .hero-search-wrap {
        bottom: 30px
    }

    .search-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .search-submit {
        grid-column: 1/-1;
        width: 100%
    }

    .purpose-field {
        display: block !important
    }

    .property-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .location-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .split {
        gap: 42px
    }

    .stats-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .agent-grid, .blog-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .listing-layout {
        grid-template-columns: 1fr
    }

    .filters {
        display: none
    }

    .mobile-filter-btn {
        display: inline-flex
    }

    .listing-results .property-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .detail-layout {
        grid-template-columns: 1fr
    }

    .detail-sidebar {
        position: static
    }

    .footer-grid {
        grid-template-columns: 2fr repeat(2,1fr)
    }

        .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) {
            margin-top: 12px
        }

    .content-grid {
        grid-template-columns: 1fr
    }

    .side-nav {
        position: static
    }

    .logo-list {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media (max-width:768px) {
    .container, .container-wide {
        width: min(100% - 32px,var(--container))
    }

    .section {
        padding: 72px 0
    }

    .section-sm {
        padding: 48px 0
    }

    h1 {
        font-size: clamp(42px,12vw,68px)
    }

    h2 {
        font-size: clamp(32px,9vw,46px)
    }

    .lead {
        font-size: 17px
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px
    }

        .section-head .btn {
            width: 100%
        }

    .site-header {
        height: 70px
    }

        .site-header.is-scrolled, .site-header.menu-open, .site-header.solid {
            height: 68px
        }

    .brand {
        width: 190px
    }

    .saved-link {
        width: 41px;
        height: 41px
    }

    .hero {
        min-height: 900px;
        align-items: flex-start
    }

    .hero-inner {
        padding: 126px 0 410px
    }

    .hero:before {
        background: linear-gradient(90deg,rgba(5,22,17,.82),rgba(5,22,17,.52))
    }

    .hero h1 {
        font-size: clamp(44px,12vw,66px)
    }

    .hero-search-wrap {
        bottom: 24px;
        width: calc(100% - 32px)
    }

    .search-panel {
        padding: 13px;
        border-radius: 18px
    }

    .search-tabs {
        overflow-x: auto;
        padding-bottom: 2px
    }

        .search-tabs button {
            min-width: 78px;
            white-space: nowrap
        }

    .search-grid {
        grid-template-columns: 1fr
    }

    .search-submit {
        grid-column: auto
    }

    .hero-trust {
        gap: 10px 18px
    }

    .grid-2, .grid-3, .grid-4, .property-grid, .location-grid, .category-grid, .agent-grid, .blog-grid {
        grid-template-columns: 1fr
    }

    .property-media {
        height: 280px
    }

    .location-card {
        min-height: 290px
    }

    .split {
        grid-template-columns: 1fr
    }

    .media-panel, .media-panel img {
        min-height: 390px
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .stat {
        padding: 24px
    }

        .stat strong {
            font-size: 38px
        }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px 28px
    }

    .page-hero {
        min-height: 460px;
        padding: 125px 0 55px
    }

        .page-hero.compact {
            min-height: 360px
        }

    .results-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .toolbar-actions {
        width: 100%;
        justify-content: space-between
    }

    .sort-select {
        flex: 1;
        min-width: 0
    }

    .listing-results .property-grid {
        grid-template-columns: 1fr
    }

    .detail-top {
        padding-top: 96px
    }

    .detail-header {
        flex-direction: column
    }

    .detail-actions {
        width: 100%
    }

        .detail-actions .btn, .detail-actions .icon-btn {
            flex: 1
        }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 270px 140px
    }

    .gallery-item:first-child {
        grid-column: 1/-1;
        grid-row: auto
    }

    .detail-price-row {
        align-items: flex-start;
        flex-direction: column
    }

    .overview-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .amenities-grid {
        grid-template-columns: 1fr
    }

    .contact-actions {
        grid-template-columns: 1fr 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .form-grid {
        grid-template-columns: 1fr
    }

        .form-grid .full {
            grid-column: auto
        }

    .newsletter {
        grid-template-columns: 1fr
    }

    .newsletter-form {
        width: 100%
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

        .footer-grid > div:first-child {
            grid-column: 1/-1
        }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .logo-list {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .job-card {
        align-items: flex-start;
        flex-direction: column
    }

        .job-card .btn {
            width: 100%
        }
}

@media (max-width:480px) {
    .container, .container-wide {
        width: calc(100% - 24px)
    }

    .section {
        padding: 60px 0
    }

    .section-sm {
        padding: 42px 0
    }

    .brand {
        width: 168px
    }

    .nav-actions {
        gap: 7px
    }

    .saved-link, .menu-toggle {
        width: 40px;
        height: 40px
    }

    .mobile-panel {
        padding-inline: 16px
    }

    .hero {
        min-height: 930px
    }

    .hero-inner {
        padding-top: 112px
    }

    .hero-search-wrap {
        width: calc(100% - 24px);
        bottom: 12px
    }

    .search-panel {
        padding: 11px
    }

    .search-tabs button {
        padding-inline: 13px
    }

    .field input, .field select {
        min-height: 48px
    }

    .btn {
        min-height: 47px;
        padding-inline: 18px
    }

    .property-media {
        height: 245px
    }

    .property-content {
        padding: 18px
    }

    .property-price {
        font-size: 20px
    }

    .property-footer {
        align-items: flex-start;
        flex-direction: column
    }

        .property-footer .text-link {
            width: 100%;
            justify-content: space-between
        }

    .stats-grid {
        grid-template-columns: 1fr
    }

    .cta-card {
        padding: 30px 22px
    }

    .location-card {
        min-height: 260px
    }

    .category-card {
        padding: 16px
    }

    .section-head p {
        font-size: 16px
    }

    .page-hero {
        min-height: 410px;
        padding-top: 110px
    }

        .page-hero h1 {
            font-size: 43px
        }

    .breadcrumbs {
        font-size: 12px
    }

    .toolbar-actions {
        align-items: stretch;
        flex-direction: column
    }

    .mobile-filter-btn, .sort-select {
        width: 100%
    }

    .detail-header h1 {
        font-size: 40px
    }

    .detail-actions {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

        .detail-actions .btn {
            grid-column: 1/-1
        }

    .gallery {
        grid-template-rows: 240px 105px;
        gap: 8px
    }

    .overview-grid {
        grid-template-columns: 1fr 1fr
    }

    .overview-item {
        padding: 16px
    }

    .detail-price {
        font-size: 28px
    }

    .sidebar-card {
        padding: 20px
    }

    .contact-actions {
        grid-template-columns: 1fr
    }

    .newsletter-form {
        flex-direction: column
    }

        .newsletter-form .btn {
            width: 100%
        }

    .footer-grid {
        grid-template-columns: 1fr
    }

        .footer-grid > div:first-child {
            grid-column: auto
        }

    .footer {
        padding-top: 52px
    }

    .footer-grid {
        padding: 40px 0
    }

    .floating-actions {
        right: 13px;
        bottom: 13px
    }

    .floating-action {
        width: 48px;
        height: 48px
    }

    .logo-list {
        grid-template-columns: 1fr 1fr
    }

    .calculator-card {
        padding: 24px 18px
    }

    .result-panel strong {
        font-size: 42px
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

.brand-composed {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 50px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.brand-name {
    color: var(--white);
    font-size: clamp(20px, 1.8vw, 29px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-tagline {
    margin-top: 7px;
    padding-left: 2px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 5px;
    text-transform: uppercase;
    white-space: nowrap;
}


@media (max-width: 767px) {
    .brand-composed {
        gap: 8px;
    }

    .brand-mark {
        width: 34px;
        height: 40px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-tagline {
        margin-top: 5px;
        font-size: 7px;
        letter-spacing: 3.5px;
    }
}

@media (max-width: 374px) {
    .brand-name {
        font-size: 16px;
    }

    .brand-tagline {
        letter-spacing: 2.8px;
    }
}