:root {
    --forest: #173f35;
    --forest-dark: #0c2922;
    --forest-soft: #e5eee9;
    --cream: #f4f0e8;
    --paper: #fbfaf7;
    --white: #ffffff;

    --text: #202522;
    --text-soft: #69716d;
    --text-muted: #929995;

    --line: #dddeda;
    --dark-line: rgba(255, 255, 255, 0.15);

    --container: 1380px;

    --font-body: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button {
    cursor: pointer;
}

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

.wide-container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}

.section-label {
    color: var(--forest);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Demo bar */

.demo-bar {
    position: relative;
    z-index: 1200;
    background: #071b16;
    color: rgba(255, 255, 255, 0.65);
}

.demo-bar-inner {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
}

.demo-bar a {
    color: #d0eadc;
    display: inline-flex;
    gap: 8px;
    font-weight: 700;
}

/* Header */

.site-header {
    position: absolute;
    top: 39px;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 22px 0;
    color: var(--white);
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(12, 41, 34, 0.96);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #d4ede1;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1;
}

.brand-copy small {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.navigation > a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.navigation > a:hover {
    color: var(--white);
}

.header-cta {
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 17px;
}

.menu-button {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 1px;
    margin: 6px auto;
    background: var(--white);
}

/* Hero */

.hero-section {
    position: relative;
    min-height: 850px;
    color: var(--white);
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 19, 0.91),
            rgba(5, 24, 19, 0.50) 58%,
            rgba(5, 24, 19, 0.18)
        ),
        linear-gradient(
            to top,
            rgba(5, 24, 19, 0.65),
            transparent 48%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 220px;
}

.hero-label {
    color: #cfdfd7;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 900px;
    margin-top: 25px;
    font-family: var(--font-heading);
    font-size: clamp(67px, 8vw, 116px);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.hero-content h1 span {
    display: block;
    color: #cfe5da;
}

.hero-content p {
    max-width: 570px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
}

.property-search-panel {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 4;
    transform: translateX(-50%);
}

.search-tabs {
    width: fit-content;
    display: flex;
    background: rgba(9, 39, 31, 0.92);
}

.search-tab {
    min-width: 90px;
    padding: 14px 19px;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 700;
}

.search-tab.active {
    background: var(--white);
    color: var(--forest);
}

.property-search-form {
    padding: 17px;
    background: var(--white);
    color: var(--text);
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.search-field {
    padding: 0 22px;
    border-right: 1px solid var(--line);
}

.search-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.search-field select {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
}

.search-button {
    min-width: 195px;
    border: none;
    background: var(--forest);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 11px;
    font-weight: 700;
}

/* Results */

.property-results-section {
    padding: 125px 0;
}

.results-header {
    margin-bottom: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.results-header h2,
.neighbourhood-heading h2,
.services-introduction h2,
.agents-heading h2,
.property-request-content h2,
.contact-content h2 {
    max-width: 780px;
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.results-controls > span {
    color: var(--text-soft);
    font-size: 11px;
}

.results-controls select {
    min-height: 43px;
    padding: 0 13px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
}

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

.property-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(20, 55, 45, 0.11);
}

.property-card.filtered-out {
    display: none;
}

.property-image {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.property-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.035);
}

.property-tags {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    gap: 8px;
}

.property-tags span {
    padding: 7px 10px;
    background: rgba(12, 41, 34, 0.88);
    color: var(--white);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.save-property-button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--forest);
    display: grid;
    place-items: center;
    font-size: 20px;
}

.save-property-button.saved {
    background: var(--forest);
    color: var(--white);
}

.property-card-content {
    padding: 27px;
}

.property-location {
    color: var(--forest);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-card h3 {
    margin-top: 8px;
    font-family: var(--font-heading);
    font-size: 25px;
    line-height: 1.18;
}

.property-features {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--text-soft);
    font-size: 10px;
}

.property-card-footer {
    margin-top: 25px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.property-card-footer strong {
    color: var(--forest-dark);
    font-family: var(--font-heading);
    font-size: 21px;
}

.property-card-footer a {
    display: inline-flex;
    gap: 17px;
    color: var(--forest);
    font-size: 10px;
    font-weight: 700;
}

.no-results {
    padding: 70px 25px;
    border: 1px solid var(--line);
    text-align: center;
}

.no-results h3 {
    font-family: var(--font-heading);
    font-size: 27px;
}

.no-results p {
    margin: 12px auto 25px;
    max-width: 540px;
    color: var(--text-soft);
}

.no-results a {
    display: inline-flex;
    gap: 20px;
    color: var(--forest);
    font-weight: 700;
}

/* Neighbourhoods */

.neighbourhood-section {
    padding: 125px 0;
    background: var(--cream);
}

.neighbourhood-heading {
    margin-bottom: 50px;
}

.neighbourhood-grid {
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 330px 330px;
    gap: 17px;
}

.neighbourhood-card {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.neighbourhood-large {
    grid-row: 1 / 3;
}

.neighbourhood-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.neighbourhood-card:hover img {
    transform: scale(1.04);
}

.neighbourhood-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7, 30, 24, 0.9),
        rgba(7, 30, 24, 0.06) 65%
    );
}

.neighbourhood-card > div {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    z-index: 2;
}

.neighbourhood-card > div > span {
    color: #cde2d7;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.neighbourhood-card h3 {
    margin-top: 5px;
    font-family: var(--font-heading);
    font-size: 30px;
}

.neighbourhood-card p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

.neighbourhood-filter {
    margin-top: 17px;
    padding: 0 0 5px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: var(--white);
    display: inline-flex;
    gap: 18px;
    font-size: 9px;
}

/* Services */

.services-section {
    padding: 140px 0;
}

.services-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 100px;
}

.services-introduction {
    position: sticky;
    top: 125px;
}

.services-introduction > p {
    margin-top: 22px;
    color: var(--text-soft);
}

.service-list article {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 20px;
}

.service-list article > span {
    color: var(--forest);
    font-size: 10px;
    font-weight: 700;
}

.service-list h3 {
    font-family: var(--font-heading);
    font-size: 25px;
}

.service-list p {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 12px;
}

/* Agents */

.agents-section {
    padding: 125px 0;
    background: var(--forest-dark);
    color: var(--white);
}

.agents-heading {
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.agents-heading .section-label {
    color: #bcd7ca;
}

.agents-heading h2 {
    color: var(--white);
}

.agents-heading > p {
    max-width: 410px;
    color: rgba(255, 255, 255, 0.57);
}

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

.agent-card {
    background: rgba(255, 255, 255, 0.05);
}

.agent-image {
    height: 410px;
    overflow: hidden;
}

.agent-image img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.85);
    transition: transform 0.65s ease;
}

.agent-card:hover img {
    transform: scale(1.04);
}

.agent-information {
    padding: 24px;
}

.agent-information > span {
    color: #abcaba;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.agent-information h3 {
    margin-top: 6px;
    font-family: var(--font-heading);
    font-size: 21px;
}

.agent-information a {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--dark-line);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
}

/* Request */

.property-request-section {
    padding: 140px 0;
    background: var(--forest-soft);
}

.property-request-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 100px;
    align-items: start;
}

.property-request-content > p {
    margin-top: 22px;
    color: var(--text-soft);
}

.property-request-form {
    padding: 42px;
    background: var(--white);
}

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

.request-field {
    margin-bottom: 20px;
}

.request-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-soft);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.request-field input,
.request-field select,
.request-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--line);
    outline: none;
    background: transparent;
    color: var(--text);
}

.request-field input,
.request-field select {
    height: 49px;
}

.request-field textarea {
    min-height: 105px;
    padding-top: 12px;
    resize: vertical;
}

.property-request-form button {
    width: 100%;
    min-height: 57px;
    border: none;
    background: var(--forest);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 11px;
    font-weight: 700;
}

.form-message {
    min-height: 18px;
    margin-top: 12px;
    color: var(--forest);
    font-size: 10px;
    text-align: center;
}

/* Contact */

.contact-section {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.contact-map {
    position: relative;
    overflow: hidden;
    background: #d7ddd8;
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 63, 53, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 63, 53, 0.11) 1px, transparent 1px);
    background-size: 55px 55px;
    transform: rotate(-8deg) scale(1.25);
}

.map-grid::before,
.map-grid::after {
    content: "";
    position: absolute;
    border: 22px solid rgba(23, 63, 53, 0.15);
    border-radius: 50%;
}

.map-grid::before {
    width: 500px;
    height: 500px;
    top: 70px;
    left: 90px;
}

.map-grid::after {
    width: 270px;
    height: 270px;
    right: 50px;
    bottom: 20px;
}

.map-marker {
    position: absolute;
    padding: 8px 12px;
    border-radius: 30px;
    background: var(--white);
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 12px 30px rgba(24, 58, 48, 0.18);
    font-size: 9px;
    font-weight: 700;
}

.map-marker span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--forest);
}

.marker-one {
    top: 30%;
    left: 24%;
}

.marker-two {
    top: 52%;
    right: 22%;
}

.marker-three {
    left: 43%;
    bottom: 20%;
}

.contact-content {
    padding: 100px 7vw;
    background: var(--cream);
}

.contact-details {
    margin: 45px 0;
}

.contact-details div {
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.contact-details span,
.contact-details strong {
    display: block;
}

.contact-details span {
    color: var(--forest);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-details strong {
    margin-top: 5px;
    font-size: 12px;
}

.contact-content > a {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--forest);
    display: inline-flex;
    gap: 23px;
    color: var(--forest);
    font-size: 11px;
    font-weight: 700;
}

/* Footer */

.site-footer {
    padding: 85px 0 24px;
    background: #071b16;
    color: var(--white);
}

.footer-grid {
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 50px;
}

.footer-about p {
    max-width: 360px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column > span {
    margin-bottom: 9px;
    color: #bad4c7;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.49);
    font-size: 10px;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid var(--dark-line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 9px;
}

.footer-bottom a {
    display: inline-flex;
    gap: 8px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    min-height: 48px;
    padding: 7px 16px 7px 7px;
    border-radius: 50px;
    background: #25d366;
    color: #07190e;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 800;
}

.floating-whatsapp span {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    display: grid;
    place-items: center;
}

/* Responsive */

@media (max-width: 1000px) {
    .menu-button {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 100px;
        left: 24px;
        right: 24px;
        padding: 25px;
        background: rgba(12, 41, 34, 0.99);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .navigation.open {
        display: flex;
    }

    .property-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .services-layout,
    .property-request-layout,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .services-introduction {
        position: static;
    }

    .agent-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agent-card:last-child {
        grid-column: 1 / 3;
    }

    .contact-map {
        min-height: 500px;
    }

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

    .footer-column:last-child {
        grid-column: 2 / 4;
    }
}

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

    .demo-bar-inner {
        min-height: 49px;
        font-size: 8px;
    }

    .site-header {
        top: 49px;
    }

    .site-header.scrolled {
        top: 0;
    }

    .hero-section {
        min-height: 980px;
    }

    .hero-content {
        padding-top: 165px;
    }

    .hero-content h1 {
        font-size: 59px;
    }

    .property-search-panel {
        bottom: 25px;
    }

    .search-tabs {
        width: 100%;
    }

    .search-tab {
        flex: 1;
        min-width: 0;
        padding-inline: 8px;
    }

    .property-search-form {
        grid-template-columns: 1fr;
    }

    .search-field {
        padding: 13px 5px;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .search-button {
        min-height: 55px;
    }

    .property-results-section,
    .neighbourhood-section,
    .services-section,
    .agents-section,
    .property-request-section {
        padding: 82px 0;
    }

    .results-header,
    .agents-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .results-controls {
        width: 100%;
        justify-content: space-between;
    }

    .property-grid,
    .agent-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 330px;
    }

    .neighbourhood-grid {
        padding: 0 14px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 380px);
    }

    .neighbourhood-large {
        grid-row: auto;
    }

    .services-layout,
    .property-request-layout {
        gap: 55px;
    }

    .agent-card:last-child {
        grid-column: auto;
    }

    .request-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .property-request-form {
        padding: 27px 19px;
    }

    .contact-map {
        min-height: 420px;
    }

    .contact-content {
        padding: 75px 24px;
    }

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

    .footer-about {
        grid-column: 1 / 3;
    }

    .footer-column:last-child {
        grid-column: 1 / 3;
    }

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

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
    }
}
