:root {
    --ink: #172d2b;
    --muted: #667672;
    --cream: #fbfaf7;
    --white: #fff;
    --deep: #112d2b;
    --teal: #146b62;
    --gold: #cf9a53;
    --line: #e5e9e5;
    --shade: #f2f5f1;
    --radius: 20px;
    --shadow: 0 12px 40px rgba(13, 47, 41, .08)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65
}

h1,
h2,
h3,
h4,
.brand {
    font-family: Manrope, sans-serif;
    line-height: 1.23;
    letter-spacing: -.045em
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    font-weight: 800
}

h2 {
    font-size: clamp(1.95rem, 3vw, 3.1rem);
    font-weight: 800
}

h3 {
    font-size: 1.27rem
}

p {
    color: var(--muted)
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    max-width: 100%
}

.container {
    width: min(1180px, calc(100% - 42px));
    margin: auto
}

.eyebrow {
    display: inline-block;
    color: #b07d3d;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: 14px
}

.section {
    padding: 88px 0
}

.section-tight {
    padding: 60px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 33px
}

.section-head h2 {
    margin: 0;
    max-width: 680px
}

.section-head p {
    max-width: 420px;
    margin: 8px 0 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 19px;
    font-weight: 700;
    line-height: 1.4;
    transition: .2s;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--teal);
    color: #fff
}

.btn-dark {
    background: var(--deep);
    color: #fff
}

.btn-white {
    background: #fff;
    color: var(--ink)
}

.btn-outline {
    border-color: #d1ddd7;
    background: transparent;
    color: var(--ink)
}

.btn-ghost {
    border-color: #ffffff60;
    color: #fff;
    background: #ffffff10
}

.btn-sm {
    padding: 9px 14px;
    font-size: .86rem
}

.muted {
    color: var(--muted)
}

.topbar {
    background: var(--deep);
    color: #e2efeb;
    font-size: .78rem
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0
}

.topbar a {
    color: #fff
}

.nav-wrap {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 3px 18px rgba(8, 40, 35, .05)
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.065em;
    white-space: nowrap
}

.brand-symbol {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 11px 11px 4px 11px;
    background: var(--teal);
    color: #fff;
    margin-right: 7px;
    font-size: 1.2rem;
    letter-spacing: 0
}

.brand span:last-child {
    color: var(--teal)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 700;
    font-size: .9rem
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal)
}

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 8px 12px;
    font-size: 1.4rem
}

.hero {
    position: relative;
    min-height: 645px;
    display: flex;
    align-items: center;
    background: #183c37;
    isolation: isolate;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 34, 30, .93) 0%, rgba(8, 38, 35, .73) 48%, rgba(9, 40, 38, .22) 100%), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1800&q=85') center/cover
}

.hero-content {
    padding: 90px 0 125px;
    color: #fff
}

.hero h1 {
    max-width: 770px;
    margin: 0 0 19px
}

.hero h1 em {
    font-style: normal;
    color: #e9c08e
}

.hero p {
    color: #e2e9e4;
    max-width: 540px;
    font-size: 1.12rem;
    margin-bottom: 28px
}

.hero-badges {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    color: #f4e9d9;
    font-size: .84rem;
    flex-wrap: wrap
}

.hero-badges span::before {
    content: '✓';
    color: #e8c28a;
    margin-right: 8px
}

.search-panel {
    background: #fff;
    border: 1px solid #e9eee9;
    border-radius: 18px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin: -65px auto 0;
    position: relative;
    z-index: 3
}

.search-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px
}

.search-tabs button {
    border: 0;
    background: #f2f5f2;
    padding: 10px 21px;
    border-radius: 8px;
    font-weight: 700;
    color: #657772
}

.search-tabs button.active {
    background: var(--deep);
    color: #fff
}

.search-fields {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr .85fr auto;
    gap: 12px;
    align-items: end
}

.field label {
    display: block;
    font-size: .76rem;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 7px
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #dce5df;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    min-height: 46px;
    padding: 10px 12px;
    outline: 0
}

.field textarea {
    min-height: 125px;
    resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px #146b6220
}

.grid {
    display: grid;
    gap: 24px
}

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

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

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

.property-card,
.info-card,
.agent-card,
.blog-card {
    background: #fff;
    border: 1px solid #e7ece7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(20, 50, 41, .035);
    transition: .2s
}

.property-card:hover,
.info-card:hover,
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.card-photo {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #d8e4dc
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s
}

.property-card:hover .card-photo img {
    transform: scale(1.045)
}

.tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: .75rem;
    font-weight: 800
}

.tag.sale {
    background: #e4f2e9;
    color: #17674b
}

.tag.rent {
    background: #fff1d9;
    color: #97641d
}

.heart {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #ffffffed;
    border: 0;
    border-radius: 50%;
    font-size: 1.25rem;
    color: #314642
}

.heart.saved {
    color: #c15351
}

.property-body {
    padding: 21px
}

.price {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.05em;
    color: var(--deep)
}

.property-body h3 {
    margin: 5px 0 3px
}

.location {
    font-size: .87rem;
    color: var(--muted)
}

.meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
    margin-top: 19px;
    padding-top: 15px;
    color: #526660;
    font-weight: 700;
    font-size: .83rem
}

.link {
    color: var(--teal);
    font-weight: 800
}

.link:hover {
    text-decoration: underline
}

.features {
    background: var(--shade)
}

.feature-icon {
    font-size: 1.65rem;
    background: #e3efea;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    margin-bottom: 17px
}

.info-card {
    padding: 28px
}

.info-card p {
    margin: 7px 0 0
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center
}

.rounded-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 24px
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 26px 0
}

.stats strong {
    font-family: Manrope, sans-serif;
    font-size: 2rem;
    display: block;
    color: var(--deep);
    letter-spacing: -.07em
}

.stats span {
    color: var(--muted);
    font-size: .82rem
}

.area-card {
    height: 260px;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
    color: #fff;
    background: #203a36
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.area-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0b2b29d9, transparent 75%)
}

.area-card div {
    position: absolute;
    bottom: 18px;
    left: 20px;
    z-index: 1
}

.area-card h3 {
    margin: 0
}

.area-card p {
    color: #e6e9e6;
    margin: 3px 0 0
}

.cta {
    background: var(--deep);
    color: #fff;
    border-radius: 25px;
    padding: 54px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden
}

.cta:before {
    content: "";
    position: absolute;
    right: -80px;
    top: -100px;
    width: 360px;
    height: 360px;
    border: 1px solid #ffffff24;
    border-radius: 50%
}

.cta p {
    color: #bfd1ca;
    max-width: 580px
}

.cta h2 {
    margin: 0 0 10px
}

.footer {
    background: #0b2422;
    color: #eef5f1;
    padding: 65px 0 20px
}

.footer p,
.footer small {
    color: #b0c6bd
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 45px
}

.footer h4 {
    font-size: .95rem;
    letter-spacing: 0;
    margin-bottom: 14px
}

.footer a {
    display: block;
    color: #c7d6d0;
    margin: 9px 0;
    font-size: .87rem
}

.footer a:hover {
    color: #fff
}

.footer .brand {
    margin-bottom: 12px;
    display: inline-block
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #ffffff20;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: .8rem;
    color: #a4beb5
}

.page-hero {
    background: var(--deep);
    color: #fff;
    padding: 77px 0 75px;
    position: relative;
    overflow: hidden
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid #ffffff18;
    border-radius: 50%;
    right: -50px;
    top: -120px
}

.page-hero h1 {
    font-size: clamp(2.3rem, 4.4vw, 4.1rem);
    margin: 0 0 9px
}

.page-hero p {
    color: #c9dad4;
    max-width: 650px;
    margin: 0
}

.breadcrumbs {
    color: #d6e2dc;
    font-size: .85rem;
    margin-bottom: 18px
}

.breadcrumbs a:hover {
    text-decoration: underline
}

.filter-layout {
    display: grid;
    grid-template-columns: 255px 1fr;
    gap: 30px
}

.sidebar {
    background: #fff;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    align-self: start;
    position: sticky;
    top: 95px
}

.sidebar h3 {
    margin-bottom: 18px
}

.sidebar .field {
    margin-bottom: 16px
}

.listing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px
}

.listing-top select {
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: 8px
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 345px;
    gap: 31px;
    align-items: start
}

.detail-main-photo {
    height: 460px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin: 12px 0 30px
}

.thumbs img {
    height: 140px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px
}

.detail-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: start
}

.detail-head h2 {
    margin: 0 0 6px
}

.detail-price {
    font-size: 2rem;
    font-family: Manrope;
    font-weight: 800;
    white-space: nowrap
}

.pillrow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0
}

.pill {
    background: #edf3ee;
    border-radius: 50px;
    padding: 7px 13px;
    font-size: .86rem;
    font-weight: 700
}

.white-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    margin: 20px 0
}

.white-panel h3 {
    margin-bottom: 15px
}

.detail-aside {
    position: sticky;
    top: 96px
}

.checklist {
    padding-left: 20px;
    color: var(--muted)
}

.checklist li {
    margin-bottom: 9px
}

.notice {
    background: #fff9e9;
    border: 1px solid #f2e6c1;
    padding: 13px 16px;
    border-radius: 10px;
    color: #806427;
    font-size: .84rem
}

.agent-card img {
    height: 230px;
    width: 100%;
    object-fit: cover
}

.agent-card .agent-body {
    padding: 19px
}

.agent-card p {
    margin: 4px 0 12px
}

.quote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px
}

.quote p {
    font-size: 1.05rem;
    color: #425a54
}

.quote strong {
    display: block;
    margin-top: 15px
}

.blog-card img {
    width: 100%;
    height: 205px;
    object-fit: cover
}

.blog-card .blog-body {
    padding: 22px
}

.blog-card small {
    color: #a17a41;
    font-weight: 800
}

.blog-card h3 {
    margin: 9px 0
}

.form-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 38px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px
}

.form-grid .wide {
    grid-column: 1/-1
}

.contact-box {
    background: var(--shade);
    padding: 30px;
    border-radius: 18px
}

.contact-box p {
    margin: 8px 0 21px
}

.accordion {
    border-bottom: 1px solid var(--line)
}

.accordion button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 800;
    text-align: left;
    padding: 19px 0
}

.accordion .answer {
    padding: 0 0 18px;
    color: var(--muted)
}

.empty {
    text-align: center;
    background: #fff;
    border: 1px dashed #c9d9ce;
    border-radius: 16px;
    padding: 56px 20px
}

.badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0
}

.subtle {
    background: #f4f6f3
}

.article {
    max-width: 790px;
    margin: auto
}

.article h2 {
    font-size: 1.6rem;
    margin-top: 30px
}

.article p {
    font-size: 1.04rem
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 60;
    background: var(--teal);
    color: #fff;
    padding: 12px 18px;
    border-radius: 100px;
    box-shadow: 0 8px 24px #123b3270;
    font-weight: 800
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    background: var(--deep);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    z-index: 90;
    box-shadow: var(--shadow)
}

.small {
    font-size: .84rem
}

.rule {
    height: 1px;
    background: var(--line);
    margin: 25px 0
}

.mobile-visible {
    display: none
}

@media(max-width:1050px) {
    .nav-links {
        gap: 15px
    }

    .nav-actions .btn {
        display: none
    }

    .search-fields {
        grid-template-columns: repeat(2, 1fr)
    }

    .search-fields .btn {
        width: 100%
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .detail-grid {
        grid-template-columns: 1fr 310px
    }
}

@media(max-width:780px) {
    .nav {
        min-height: 69px
    }

    .menu-toggle {
        display: block
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 69px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: var(--shadow)
    }

    .nav-links.open {
        display: flex
    }

    .nav-links a {
        padding: 11px 0;
        border-bottom: 1px solid var(--line)
    }

    .topbar .container>span:last-child {
        display: none
    }

    .hero {
        min-height: 580px
    }

    .hero-content {
        padding: 65px 0 115px
    }

    .section {
        padding: 62px 0
    }

    .grid-3,
    .split,
    .filter-layout,
    .detail-grid,
    .form-layout {
        grid-template-columns: 1fr
    }

    .sidebar,
    .detail-aside {
        position: static
    }

    .grid-2 {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px
    }

    .rounded-img {
        height: 340px
    }

    .cta {
        padding: 35px;
        display: block
    }

    .cta .btn {
        margin-top: 10px
    }

    .section-head {
        align-items: start;
        flex-direction: column
    }

    .detail-main-photo {
        height: 340px
    }
}

@media(max-width:520px) {
    .container {
        width: min(100% - 30px, 1180px)
    }

    .search-fields,
    .grid-4,
    .form-grid,
    .stats {
        grid-template-columns: 1fr
    }

    .search-panel {
        padding: 18px;
        margin-top: -45px
    }

    .hero-badges {
        gap: 12px
    }

    .hero h1 {
        font-size: 2.6rem
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-bottom {
        flex-direction: column
    }

    .detail-head {
        display: block
    }

    .detail-price {
        margin-top: 12px
    }

    .thumbs img {
        height: 85px
    }

    .page-hero {
        padding: 55px 0
    }

    .cta {
        padding: 28px
    }

    .form-grid .wide {
        grid-column: auto
    }
}