:root {
    --navy: #10233f;
    --gold: #c69a52;
    --cream: #f7f4ee;
    --ink: #172033;
    --muted: #687386;
    --line: #e7e8eb;
    --shadow: 0 18px 45px rgba(16, 35, 63, .12);
    --radius: 20px;
    --max: 1200px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.65
}

h1,
h2,
h3,
h4 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.12;
    margin: 0 0 18px;
    color: var(--navy)
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem)
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.7rem)
}

h3 {
    font-size: 1.55rem
}

p {
    margin: 0 0 18px
}

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

img {
    display: block;
    width: 100%
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto
}

.section {
    padding: 96px 0
}

.section-sm {
    padding: 64px 0
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem
}

.lead {
    font-size: 1.14rem;
    color: var(--muted);
    max-width: 720px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: .25s ease;
    cursor: pointer;
    font-size: .98rem
}

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

.btn-secondary {
    background: #fff;
    color: var(--navy)
}

.btn-outline {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 35, 63, .08)
}

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

.brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 15px
}

.brand-logo {
    width: 115px;
    height: 115px;
    object-fit: contain
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 1.25rem
}

.brand-name {
    color: #c62828;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c62828 0%, #d84315 45%, #f9a825 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
}

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

.nav-links a {
    position: relative;
    padding: 8px 0
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    margin: auto;
    content: '';
    background: var(--gold);
    transition: width .2s ease
}

.nav-links a:hover {
    color: var(--gold)
}

.nav-links a:hover::after {
    width: 100%
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 1.6rem;
    color: var(--navy)
}

.header-cta {
    white-space: nowrap
}

.hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, rgba(9, 25, 48, .9), rgba(9, 25, 48, .25)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=88') center/cover
}

.hero h1,
.hero p {
    color: #fff
}

.hero-copy {
    max-width: 820px;
    padding: 84px 0 150px
}

.hero-copy .lead {
    color: rgba(255, 255, 255, .82);
    max-width: 650px
}

.search-panel {
    margin-top: -76px;
    position: relative;
    z-index: 5
}

.search-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) auto;
    gap: 14px
}

.field label {
    display: block;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    color: var(--muted);
    margin-bottom: 7px
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
    background: #fff
}

.field textarea {
    min-height: 150px;
    padding-top: 13px
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.stat {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--navy);
    font-family: Georgia, serif
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 35, 63, .06)
}

.card-body {
    padding: 28px
}

.icon-card {
    padding: 34px
}

.icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--cream);
    color: var(--gold);
    font-size: 1.35rem;
    margin-bottom: 24px
}

.property-card {
    position: relative
}

.property-card img {
    height: 260px;
    object-fit: cover
}

.badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--navy);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .78rem
}

.price {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 900
}

.address {
    color: var(--muted);
    margin-bottom: 18px
}

.meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .92rem
}

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

.split img {
    height: 610px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0
}

.check {
    display: flex;
    gap: 12px
}

.check span:first-child {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #e8f3ef;
    color: #2f6e5a;
    display: grid;
    place-items: center
}

.band {
    background: var(--navy);
    color: #fff
}

.band h2,
.band h3,
.band p {
    color: #fff
}

.cta {
    background: linear-gradient(rgba(16, 35, 63, .87), rgba(16, 35, 63, .87)), url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=86') center/cover;
    color: #fff;
    border-radius: 28px;
    padding: 70px
}

.cta h2,
.cta p {
    color: #fff
}

.center {
    text-align: center
}

.center .lead {
    margin-left: auto;
    margin-right: auto
}

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

.community-card {
    position: relative;
    height: 390px;
    border-radius: var(--radius);
    overflow: hidden
}

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

.community-overlay {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(transparent 35%, rgba(8, 23, 44, .88))
}

.community-overlay h3,
.community-overlay p {
    color: #fff
}

.page-hero {
    padding: 10px 0 50px;
    color: #fff;
    background: linear-gradient(90deg, rgba(9, 25, 48, .92), rgba(9, 25, 48, .62)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=2000&q=86') center/cover
}

.page-hero h1,
.page-hero p {
    color: #fff
}

.steps {
    display: grid;
    gap: 18px;
    counter-reset: step
}

.step {
    position: relative;
    padding: 28px 28px 28px 84px;
    border: 1px solid var(--line);
    border-radius: 18px
}

.step:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 26px;
    top: 26px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #fff;
    font-weight: 900
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px
}

.contact-card {
    background: var(--cream);
    padding: 38px;
    border-radius: var(--radius)
}

.contact-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(16, 35, 63, .12)
}

.form-card {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

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

.full {
    grid-column: 1/-1
}

.site-footer {
    background: #0b1a30;
    color: rgba(255, 255, 255, .72);
    padding: 72px 0 25px
}

.site-footer h4 {
    color: #fff
}

.site-footer .brand {
    width: 100%;
    margin-bottom: 24px
}

.site-footer .brand-logo {
    width: 300px;
    height: auto;
    max-height: 190px;
    object-fit: contain;
    object-position: left center;
    border-radius: 12px
}

.site-footer .brand-name {
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr .8fr .8fr 1.25fr;
    gap: 42px
}

.footer-links {
    display: grid;
    gap: 10px
}

.footer-links a:hover {
    color: var(--gold)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem
}

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

.mobile-cta {
    display: none
}

@media(max-width:1100px) {
    .brand-logo {
        width: 95px;
        height: 95px
    }

    .nav-wrap {
        min-height: 110px
    }

    .nav-links {
        gap: 16px;
        font-size: .88rem
    }

    .header-cta {
        display: none
    }
}

@media(max-width:980px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        flex-direction: column
    }

    .nav-links.open {
        display: flex
    }

    .menu-btn {
        display: block
    }

    .nav-wrap>.btn {
        display: none
    }

    .search-box {
        grid-template-columns: 1fr 1fr
    }

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

    .split,
    .contact-grid {
        grid-template-columns: 1fr
    }

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

@media(max-width:900px) {
    .menu-btn {
        display: block
    }

    .nav-links {
        position: fixed;
        top: 110px;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 110px);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 26px 30px 36px;
        overflow-y: auto;
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 20px 30px rgba(16, 35, 63, .1)
    }

    .nav-links.open {
        display: flex
    }

    .nav-links a {
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1rem
    }
}

@media(max-width:680px) {
    .container {
        width: min(100% - 28px, var(--max))
    }

    .section {
        padding: 70px 0
    }

    .hero {
        min-height: 680px
    }

    .hero-copy {
        padding: 60px 0 120px
    }

    .nav-wrap {
        min-height: 92px
    }

    .brand-logo {
        width: 78px;
        height: 78px
    }

    .brand-name {
        font-size: 1.05rem
    }

    .site-footer .brand-logo {
        width: 240px;
        max-height: 160px
    }

    .search-box,
    .stats,
    .grid-3,
    .grid-2,
    .form-grid {
        grid-template-columns: 1fr
    }

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

    .footer-bottom {
        flex-direction: column
    }

    .nav-links {
        top: 92px;
        max-height: calc(100vh - 92px)
    }

    .mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999
    }

    .mobile-cta a {
        padding: 14px;
        text-align: center;
        font-weight: 900;
        color: #fff
    }

    .mobile-cta a:first-child {
        background: var(--navy)
    }

    .mobile-cta a:last-child {
        background: var(--gold)
    }

    body {
        padding-bottom: 54px
    }
}