:root {
    --navy: #071827;
    --navy2: #0d2436;
    --gold: #d7b57f;
    --ivory: #f6f3ed;
    --white: #fff;
    --ink: #25313c;
    --muted: #54626d;
    --line: rgba(7, 24, 39, .13);
    --shadow: 0 20px 60px rgba(7, 24, 39, .11);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7
}

body.menu-open {
    overflow: hidden
}

img {
    max-width: 100%;
    height: auto
}

a {
    color: inherit
}

h1,
h2,
h3 {
    font-family: var(--serif);
    line-height: 1.12;
    color: var(--navy);
    font-weight: 500
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.3rem);
    margin: .3em 0
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: .3em 0 .55em
}

h3 {
    font-size: 1.5rem;
    margin: .4em 0
}

.hausen-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto
}

.narrow {
    max-width: 760px
}

.section {
    padding: clamp(72px, 9vw, 125px) 0
}

.section-muted {
    background: var(--ivory)
}

.center {
    text-align: center
}

.align-end {
    text-align: right
}

.skip-link {
    position: absolute;
    left: -9999px
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    background: #fff;
    padding: 10px;
    z-index: 9999
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

.site-header {
    position: absolute;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    transition: .25s
}

.site-header.is-scrolled,
.body:not(.home) .site-header {
    position: fixed;
    background: rgba(7, 24, 39, .97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12)
}

.header-inner {
    height: 92px;
    display: flex;
    align-items: center;
    gap: 32px
}

.brand {
    display: flex;
    width: 92px;
    height: 76px;
    overflow: hidden;
    align-items: center;
    justify-content: center
}

.brand img {
    width: 88px;
    height: 74px;
    object-fit: cover;
    object-position: center
}

.site-nav {
    margin-left: auto
}

.hausen-menu {
    display: flex;
    align-items: center;
    gap: 27px;
    list-style: none;
    margin: 0;
    padding: 0
}

.hausen-menu a {
    text-decoration: none;
    font-size: .83rem;
    letter-spacing: .05em;
    text-transform: uppercase
}

.hausen-menu a:hover,
.hausen-menu .current-menu-item>a {
    color: var(--gold)
}

.header-cta,
.hp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--navy);
    padding: 13px 21px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
    transition: .2s
}

.header-cta:hover,
.hp-button:hover {
    background: #e7c993;
    border-color: #e7c993;
    transform: translateY(-1px)
}

.hp-button-dark {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

.hp-button-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .65)
}

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    padding: 8px
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 1px;
    background: #fff;
    margin: 7px 0
}

.home-hero {
    min-height: 780px;
    height: 100vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url('../images/hero-santiago.webp') center/cover no-repeat
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 39, .93), rgba(7, 24, 39, .63) 55%, rgba(7, 24, 39, .28))
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    max-width: 1180px
}

.hero-content h1 {
    max-width: 900px;
    color: #fff
}

.hero-content p {
    max-width: 700px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .86)
}

.eyebrow {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 700;
    font-size: .72rem
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 110px);
    align-items: start
}

.lead {
    font-size: 1.2rem;
    color: #4d5a64
}

.text-link {
    color: var(--navy);
    font-weight: 750;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px
}

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

.service-card {
    background: #fff;
    padding: 38px;
    border: 1px solid var(--line);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: .2s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.service-card a {
    margin-top: auto;
    text-decoration: none;
    font-weight: 750;
    color: var(--navy)
}

.service-number {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 1.4rem
}

.method-section {
    background: var(--navy);
    color: rgba(255, 255, 255, .74)
}

.light h2,
.method-section h3 {
    color: #fff
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .15)
}

.method-grid>div {
    padding: 38px;
    background: var(--navy2)
}

.method-grid b {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.5rem
}

.method-grid.light-cards {
    background: var(--line)
}

.method-grid.light-cards>div {
    background: #fff
}

.method-grid.light-cards h3 {
    color: var(--navy)
}

.club-callout {
    background: linear-gradient(135deg, #071827, #102e45);
    padding: 90px 0;
    color: rgba(255, 255, 255, .75)
}

.club-callout h2 {
    color: #fff
}

.final-cta {
    text-align: center
}

.final-cta p {
    max-width: 670px;
    margin: 0 auto 28px
}

.page-hero {
    background: linear-gradient(135deg, #071827, #102c40);
    color: rgba(255, 255, 255, .8);
    padding: 190px 0 100px
}

.page-hero.compact {
    padding-bottom: 70px
}

.page-hero h1 {
    color: #fff;
    max-width: 900px
}

.page-hero p {
    max-width: 740px;
    font-size: 1.14rem
}

.club-hero {
    background: radial-gradient(circle at 80% 20%, #233e4d, #071827 58%)
}

.service-list {
    max-width: 1050px
}

.service-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    padding: 55px 0;
    border-bottom: 1px solid var(--line)
}

.service-row p {
    max-width: 700px
}

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

.pillar-grid article,
.feature-panel {
    padding: 38px;
    border: 1px solid var(--line);
    background: #fff
}

.feature-panel ul {
    padding-left: 20px
}

.feature-panel li {
    margin: 13px 0
}

.prose {
    font-size: 1.05rem
}

.prose>* {
    max-width: 760px
}

.prose h2,
.prose h3 {
    margin-top: 1.4em
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px
}

.form-panel {
    background: var(--ivory);
    padding: clamp(25px, 5vw, 55px)
}

.hp-form label {
    display: block;
    font-weight: 700;
    font-size: .84rem;
    margin-bottom: 18px;
    color: var(--navy)
}

.hp-form input,
.hp-form select,
.hp-form textarea,
.property-filters input,
.property-filters select {
    display: block;
    width: 100%;
    border: 1px solid #cbd0d3;
    background: #fff;
    padding: 13px 14px;
    margin-top: 6px;
    font: inherit;
    color: var(--ink)
}

.hp-form input:focus,
.hp-form textarea:focus,
.hp-form select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px
}

.hp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.hp-consent {
    font-weight: 400 !important;
    display: flex !important;
    gap: 8px
}

.hp-consent input {
    width: auto;
    margin: 4px 0
}

.hp-honeypot {
    position: absolute !important;
    left: -9999px
}

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

.property-card {
    border: 1px solid var(--line);
    background: #fff;
    transition: .2s
}

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

.property-image {
    position: relative;
    aspect-ratio: 1.45;
    display: block;
    background: var(--navy);
    overflow: hidden
}

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

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

.property-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--gold);
    letter-spacing: .2em;
    font-family: var(--serif)
}

.property-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 11px;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em
}

.property-card-body {
    padding: 24px
}

.property-card-body h3 {
    font-size: 1.25rem
}

.property-card-body h3 a {
    text-decoration: none
}

.property-meta {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.property-price {
    display: flex;
    flex-direction: column;
    margin: 16px 0
}

.hp-price-main {
    font-family: var(--serif);
    font-size: 1.45rem;
    color: var(--navy)
}

.hp-price-reference {
    font-size: .76rem;
    color: var(--muted)
}

.property-facts {
    display: flex;
    gap: 14px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    font-size: .78rem;
    color: var(--muted)
}

.property-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 25px;
    background: var(--ivory);
    margin-bottom: 40px
}

.property-filters label>span {
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em
}

.pagination {
    margin-top: 40px
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px
}

.page-numbers {
    padding: 8px 13px;
    border: 1px solid var(--line);
    text-decoration: none
}

.single-property .property-top {
    padding-top: 145px
}

.property-top>.hausen-container {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 65px
}

.property-gallery .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important
}

.property-summary {
    padding-top: 25px
}

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

.property-price.large .hp-price-main {
    font-size: 2.3rem
}

.property-facts.large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 25px 0
}

.property-facts.large span {
    display: flex;
    flex-direction: column
}

.property-facts.large b {
    font-size: 1.25rem;
    color: var(--navy)
}

.property-content {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 80px
}

.property-detail-panel {
    background: #fff;
    padding: 34px
}

.property-detail-panel dl {
    margin: 0
}

.property-detail-panel dl>div {
    display: flex
}

.property-detail-panel dt,
.property-detail-panel dd {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    margin: 0
}

.property-detail-panel dt {
    float: left;
    clear: left;
    width: 55%;
    font-weight: 700
}

.property-detail-panel dd {
    text-align: right
}

.price-note {
    font-size: .8rem;
    color: var(--muted)
}

.empty-state {
    text-align: center;
    padding-block: 100px
}

.site-footer {
    background: #04111c;
    color: rgba(255, 255, 255, .68);
    padding: 80px 0 25px
}

.site-footer h2 {
    font-family: var(--sans);
    font-size: .8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em
}

.site-footer a {
    text-decoration: none
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 70px
}

.footer-logo {
    width: 120px;
    height: 105px;
    object-fit: cover
}

.site-footer ul {
    list-style: none;
    padding: 0
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
    margin-top: 50px;
    font-size: .8rem
}

@media(max-width:960px) {
    .header-cta {
        display: none
    }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .site-nav {
        position: fixed;
        inset: 92px 0 0;
        background: var(--navy);
        padding: 35px;
        display: none
    }

    .site-nav.open {
        display: block
    }

    .hausen-menu {
        display: block
    }

    .hausen-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, .1)
    }

    .hausen-menu a {
        display: block;
        padding: 16px 0
    }

    .service-grid,
    .hp-property-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .property-top>.hausen-container,
    .property-content,
    .contact-grid {
        grid-template-columns: 1fr
    }

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

@media(max-width:650px) {
    .hausen-container {
        width: min(100% - 28px, 1200px)
    }

    .home-hero {
        min-height: 720px
    }

    .hero-content h1 {
        font-size: 2.7rem
    }

    .split,
    .service-grid,
    .hp-property-grid,
    .pillar-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .service-row {
        grid-template-columns: 55px 1fr
    }

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

    .property-filters {
        grid-template-columns: 1fr
    }

    .hp-form-row {
        grid-template-columns: 1fr
    }

    .site-footer {
        padding-top: 60px
    }

    .footer-bottom {
        display: block
    }

    .align-end {
        text-align: left
    }

    .property-card-body {
        padding: 20px
    }

    .property-top>.hausen-container {
        gap: 20px
    }

    .single-property .property-top {
        padding-top: 115px
    }
}