:root {
    --bw-red: #d32f2f;
    --bw-red-dark: #a91e1e;
    --bw-yellow: #ffd600;
    --bw-yellow-2: #ffe76b;
    --bw-lemon: #fff59d;
    --bw-lemon-soft: #fffde7;
    --bw-dark: #1f1f1f;
    --bw-navy: #17212b;
    --bw-text: #242424;
    --bw-muted: #676d73;
    --bw-border: #e4e6e8;
    --bw-bg: #f7f8fa;
    --bw-white: #ffffff;
    --bw-radius: 18px;
    --bw-shadow: 0 16px 42px rgba(18,24,30,.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bw-bg);
    color: var(--bw-text);
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

.bw-header {
    min-height: 86px;
    background: var(--bw-white);
    border-bottom: 1px solid var(--bw-border);
    display: flex;
    align-items: center;
    gap: 28px;
    padding:
        12px
        clamp(18px,4vw,70px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.bw-brand-wrap {
    min-width: 285px;
}

.bw-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.bw-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bw-yellow);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: var(--bw-red);
    overflow: hidden;
}

.bw-house {
    font-size: 30px;
    font-weight: 900;
}

.bw-building {
    font-size: 19px;
    margin:
        0 0 6px -6px;
}

.bw-brand-text {
    display: flex;
    flex-direction: column;
}

.bw-brand-text strong {
    color: var(--bw-red);
    font-size: 22px;
    letter-spacing: -.5px;
}

.bw-brand-text small {
    color: var(--bw-dark);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.25px;
}

.bw-group-entity {
    margin:
        4px 0 0 58px;
    color: var(--bw-muted);
    font-size: 9px;
}

.bw-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.bw-nav a {
    border-radius: 9px;
    padding: 9px 11px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.bw-nav a:hover,
.bw-nav a.is-active {
    background: var(--bw-lemon);
}

.bw-header-actions {
    display: flex;
    gap: 8px;
}

.bw-menu-toggle {
    display: none;
    border: 0;
    background: var(--bw-yellow);
    border-radius: 8px;
    min-width: 42px;
    min-height: 42px;
    font-size: 20px;
}

.bw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    padding: 10px 15px;
    font-weight: 900;
    text-decoration: none;
}

.bw-btn-red {
    background: var(--bw-red);
    color: #fff;
}

.bw-btn-light {
    background: var(--bw-lemon);
    color: var(--bw-dark);
}

.bw-main {
    max-width: 1550px;
    margin: auto;
}

.bw-hero,
.bw-page-hero,
.bw-ai-hero {
    padding:
        clamp(42px,6vw,90px)
        clamp(20px,6vw,94px);
}

.bw-hero {
    background:
        radial-gradient(
            circle at 82% 10%,
            rgba(255,255,255,.82),
            transparent 34%
        ),
        linear-gradient(
            112deg,
            var(--bw-yellow),
            var(--bw-yellow-2) 58%,
            var(--bw-lemon)
        );
}

.bw-page-hero,
.bw-ai-hero {
    background:
        linear-gradient(
            120deg,
            var(--bw-yellow),
            var(--bw-lemon)
        );
}

.bw-hero-copy {
    max-width: 820px;
    margin-bottom: 34px;
}

.bw-kicker {
    display: inline-block;
    color: var(--bw-red);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.bw-kicker-dark {
    color: var(--bw-dark);
}

.bw-kicker-yellow {
    color: var(--bw-yellow);
}

.bw-hero h1,
.bw-page-hero h1,
.bw-ai-hero h1 {
    max-width: 970px;
    margin: 10px 0 14px;
    color: var(--bw-dark);
    font-size:
        clamp(
            38px,
            5vw,
            72px
        );
    line-height: 1.01;
    letter-spacing: -2.2px;
}

.bw-page-hero h1,
.bw-ai-hero h1 {
    font-size:
        clamp(
            35px,
            4vw,
            58px
        );
}

.bw-hero h1 span {
    display: block;
    color: var(--bw-red);
}

.bw-hero p,
.bw-page-hero p,
.bw-ai-hero p {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.6;
}

.bw-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.bw-trust-row span {
    border-radius: 30px;
    background: rgba(255,255,255,.76);
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 800;
}

.bw-contained {
    padding:
        24px
        clamp(20px,5vw,72px)
        0;
}

.bw-search-box {
    background: #fff;
    border-radius: var(--bw-radius);
    padding: 18px;
    box-shadow: var(--bw-shadow);
}

.bw-search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.bw-search-tabs button {
    border: 0;
    border-radius: 8px;
    background: #f0f2f4;
    padding: 8px 13px;
    font-weight: 800;
    font-size: 12px;
}

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

.bw-location-row {
    display: grid;
    grid-template-columns:
        34px
        minmax(200px,1fr)
        auto
        auto;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--bw-dark);
    border-radius: 12px;
    padding: 7px;
}

.bw-location-symbol {
    text-align: center;
    color: var(--bw-red);
    font-size: 22px;
}

.bw-location-row input {
    width: 100%;
    min-height: 44px;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-size: 14px;
}

.bw-gps,
.bw-search-submit {
    min-height: 43px;
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 900;
}

.bw-gps {
    background: var(--bw-lemon);
}

.bw-search-submit {
    background: var(--bw-red);
    color: #fff;
}

.bw-status {
    min-height: 21px;
    margin-top: 6px;
    color: var(--bw-muted);
    font-size: 12px;
}

.bw-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.bw-search-tags span {
    border: 1px solid var(--bw-border);
    border-radius: 20px;
    padding: 5px 9px;
    color: var(--bw-muted);
    font-size: 10px;
}

.bw-section {
    margin:
        32px
        clamp(20px,5vw,72px);
}

.bw-grid {
    display: grid;
    gap: 16px;
}

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

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

.bw-card {
    background: #fff;
    border: 1px solid var(--bw-border);
    border-radius: var(--bw-radius);
    padding: 21px;
    box-shadow:
        0 7px 24px
        rgba(20,25,30,.04);
}

.bw-icon {
    width: 45px;
    height: 45px;
    border-radius: 11px;
    background: var(--bw-lemon);
    color: var(--bw-red);
    display: grid;
    place-items: center;
    font-size: 19px;
    font-weight: 900;
}

.bw-card h3 {
    margin: 15px 0 7px;
    font-size: 17px;
}

.bw-card p {
    margin: 0;
    color: var(--bw-muted);
    line-height: 1.55;
    font-size: 13px;
}

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

.bw-section-head h2 {
    margin: 5px 0 0;
}

.bw-section-head a {
    color: var(--bw-red);
    text-decoration: none;
    font-weight: 900;
}

.bw-empty {
    min-height: 220px;
    border: 1px dashed #c9ced3;
    border-radius: var(--bw-radius);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 30px;
}

.bw-empty-icon {
    color: var(--bw-red);
    font-size: 64px;
}

.bw-empty h3 {
    margin: 0 0 8px;
}

.bw-empty p {
    max-width: 760px;
    margin: 0;
    color: var(--bw-muted);
    line-height: 1.55;
}

.bw-passport {
    margin:
        35px
        clamp(20px,5vw,72px);
    border-radius: 22px;
    background: var(--bw-lemon-soft);
    padding: 28px;
}

.bw-passport .bw-grid {
    margin-top: 18px;
}

.bw-connect {
    margin:
        35px
        clamp(20px,5vw,72px);
    border-radius: 22px;
    background: var(--bw-navy);
    color: #fff;
    padding: 30px;
}

.bw-connect h2 {
    margin: 7px 0 10px;
    font-size: 32px;
}

.bw-connect > p {
    max-width: 820px;
    color: #d6dde3;
    line-height: 1.6;
}

.bw-connect-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.bw-connect-actions button,
.bw-property-actions button {
    min-height: 43px;
    border: 0;
    border-radius: 9px;
    background: var(--bw-red);
    color: #fff;
    padding: 10px 15px;
    font-weight: 900;
}

.bw-connect-actions button:nth-child(even),
.bw-property-actions button:nth-child(even) {
    background: var(--bw-yellow);
    color: var(--bw-dark);
}

.bw-safety-note,
.bw-ai-note {
    margin-top: 17px;
    color: #cbd3da;
    font-size: 12px;
    line-height: 1.5;
}

.bw-map-layout {
    display: grid;
    grid-template-columns:
        minmax(0,1.1fr)
        minmax(360px,.9fr);
    gap: 20px;
}

.bw-map-layout .bw-section {
    margin: 0;
}

.bw-map {
    min-height: 530px;
    border: 1px solid var(--bw-border);
    border-radius: var(--bw-radius);
    position: relative;
    background:
        linear-gradient(
            rgba(255,255,255,.86),
            rgba(255,255,255,.86)
        ),
        repeating-linear-gradient(
            45deg,
            #e9edf0,
            #e9edf0 8px,
            #e1e6e9 8px,
            #e1e6e9 16px
        );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px;
}

.bw-map-provider {
    position: absolute;
    left: 18px;
    top: 18px;
    border-radius: 30px;
    background: #fff;
    padding: 7px 11px;
    font-size: 10px;
    font-weight: 900;
}

.bw-map-pin {
    color: var(--bw-red);
    font-size: 72px;
}

.bw-map p {
    max-width: 530px;
    color: var(--bw-muted);
}

.bw-map-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.bw-map-tags span {
    background: #fff;
    border-radius: 20px;
    padding: 6px 9px;
    font-size: 10px;
}

.bw-property-layout {
    display: grid;
    grid-template-columns:
        minmax(0,1.7fr)
        minmax(300px,.7fr);
    gap: 20px;
}

.bw-property-media,
.bw-property-actions {
    border: 1px solid var(--bw-border);
    border-radius: var(--bw-radius);
    background: #fff;
}

.bw-property-media {
    min-height: 440px;
    background:
        linear-gradient(
            135deg,
            #f0f2f3,
            #fff
        );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px;
}

.bw-property-media p {
    max-width: 650px;
    color: var(--bw-muted);
    line-height: 1.6;
}

.bw-property-actions {
    align-self: start;
    padding: 22px;
}

.bw-property-actions button {
    width: 100%;
    margin-top: 9px;
}

.bw-ai-box {
    display: grid;
    grid-template-columns:
        minmax(0,1fr)
        auto;
    gap: 9px;
    max-width: 950px;
    margin-top: 25px;
}

.bw-ai-box textarea {
    min-height: 115px;
    border: 2px solid var(--bw-dark);
    border-radius: 12px;
    padding: 14px;
    resize: vertical;
}

.bw-ai-box button {
    border: 0;
    border-radius: 12px;
    background: var(--bw-red);
    color: #fff;
    padding: 15px 20px;
    font-weight: 900;
}

.bw-ai-note {
    color: var(--bw-muted);
    max-width: 850px;
}

.bw-journey {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 12px;
}

.bw-journey-step {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--bw-border);
    border-radius: 14px;
    background: #fff;
    padding: 17px;
}

.bw-journey-step > span {
    flex:
        0 0
        44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bw-yellow);
    color: var(--bw-red);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.bw-journey-step h3 {
    margin: 0 0 4px;
}

.bw-journey-step p {
    margin: 0;
    color: var(--bw-muted);
}

.bw-footer {
    margin-top: 48px;
    min-height: 120px;
    background: var(--bw-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding:
        30px
        clamp(20px,5vw,72px);
}

.bw-footer > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bw-footer-links {
    flex-direction: row !important;
    gap: 15px !important;
}

.bw-footer a {
    color: #fff;
    text-decoration: none;
}

.bw-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,10,10,.68);
    display: grid;
    place-items: center;
    padding: 18px;
}

.bw-modal {
    width: min(540px,100%);
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    position: relative;
    box-shadow:
        0 30px 80px
        rgba(0,0,0,.25);
}

.bw-modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 30px;
}

.bw-modal h2 {
    margin:
        9px 0 12px;
}

.bw-modal p {
    color: var(--bw-muted);
    line-height: 1.6;
}

.bw-modal-request {
    margin-top: 13px;
    border-radius: 9px;
    background: var(--bw-lemon-soft);
    padding: 10px;
    font-size: 12px;
}

@media (max-width: 1120px) {

    .bw-header {
        flex-wrap: wrap;
    }

    .bw-brand-wrap {
        flex: 1;
    }

    .bw-nav {
        width: 100%;
        order: 4;
        justify-content: flex-start;
    }

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

    .bw-map-layout,
    .bw-property-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .bw-header {
        position: relative;
    }

    .bw-header-actions {
        display: none;
    }

    .bw-menu-toggle {
        display: block;
    }

    .bw-nav {
        display: none;
        flex-direction: column;
    }

    .bw-nav.is-open {
        display: flex;
    }

    .bw-brand-wrap {
        min-width: 0;
    }

    .bw-group-entity {
        margin-left: 0;
        margin-top: 7px;
    }

    .bw-brand-text strong {
        font-size: 19px;
    }

    .bw-location-row {
        grid-template-columns:
            32px
            minmax(0,1fr);
    }

    .bw-gps,
    .bw-search-submit {
        grid-column: auto;
    }

    .bw-grid-3,
    .bw-grid-4,
    .bw-journey {
        grid-template-columns: 1fr;
    }

    .bw-ai-box {
        grid-template-columns: 1fr;
    }

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

    .bw-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .bw-footer-links {
        flex-direction: column !important;
    }
}
