/* =====================================================
   HOMELY REAL ESTATE
   MAIN STYLESHEET
===================================================== */

:root {

    --black: #080808;
    --black-soft: #101010;
    --black-card: #111111;

    --gold: #d9a441;
    --gold-light: #f0c15d;
    --gold-dark: #a97920;

    --white: #ffffff;
    --white-soft: #e8e8e8;
    --gray: #999999;
    --gray-dark: #202020;

    --border: rgba(217, 164, 65, 0.45);

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: 1300px;

    --radius: 8px;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );
    color: #111;
    border-radius: 5px;
    font-weight: 700;
    transition: .3s ease;
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(217, 164, 65, .2);
}

.full-btn {
    width: 100%;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 34px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: 1.5px;
}

.logo-text small {
    color: var(--gold);
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 4px;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.main-nav a {
    color: #f0f0f0;
    font-size: 14px;
    transition: .25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.35);
    color: white;
    border-radius: 7px;
    transition: .25s;
}

.icon-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.signin-btn,
.list-property-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.signin-btn {
    border: 1px solid rgba(255,255,255,.25);
}

.list-property-btn {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.list-property-btn:hover {
    background: var(--gold);
    color: #111;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 5px;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    min-height: 620px;
    position: relative;
    display: flex;
    align-items: center;

    background-image:
        url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.9) 0%,
            rgba(0,0,0,.75) 38%,
            rgba(0,0,0,.2) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.7),
            transparent 45%
        );
}

.hero-content {
    position: relative;
    padding-top: 90px;
}

.hero-copy {
    max-width: 600px;
    margin-bottom: 28px;
}

.hero-copy h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero-copy h1 span {
    color: var(--gold);
}

.hero-copy p {
    max-width: 500px;
    color: #e0e0e0;
    margin-top: 20px;
    font-size: 16px;
}


/* SEARCH */

.property-search {
    position: relative;
    background: rgba(10,10,10,.92);
    border: 1px solid var(--gold);
    border-radius: 9px;
    padding: 0 28px 20px;
    max-width: 1305px;
}

.search-tabs {
    display: flex;
    margin-left: -28px;
    margin-bottom: 20px;
}

.search-tab {
    min-width: 140px;
    height: 47px;
    border: none;
    background: transparent;
    color: white;
    font-weight: 600;
}

.search-tab.active {
    border: 1px solid var(--gold);
    border-bottom-color: var(--black);
    background: var(--black);
    color: var(--gold);
    border-radius: 8px 8px 0 0;
}

.search-form {
    display: grid;
    grid-template-columns:
        1.15fr
        1fr
        1fr
        .8fr
        .8fr
        auto;
    gap: 18px;
    align-items: end;
}

.form-group label {
    display: block;
    color: #d8d8d8;
    font-size: 12px;
    margin-bottom: 7px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper input,
.select-wrapper select {
    width: 100%;
    height: 42px;
    padding: 0 35px 0 14px;
    border-radius: 5px;
    border: 1px solid rgba(217,164,65,.55);
    background: #111;
    color: white;
    outline: none;
}

.select-wrapper select {
    appearance: none;
}

.select-wrapper i {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 11px;
    pointer-events: none;
}

.search-submit {
    height: 44px;
    padding: 0 22px;
    border: none;
    background: linear-gradient(
        135deg,
        #efc567,
        #d6a23d
    );
    color: #111;
    font-weight: 700;
    border-radius: 5px;
}

.advanced-search {
    border: none;
    background: transparent;
    color: var(--gold);
    margin-top: 17px;
    font-size: 13px;
}

.advanced-search i {
    margin-right: 7px;
}

.popular-locations {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: white;
    font-size: 14px;
}

.popular-locations a {
    border: 1px solid rgba(217,164,65,.6);
    border-radius: 30px;
    padding: 6px 16px;
    color: var(--gold);
    font-size: 12px;
}


/* =====================================================
   FEATURED
===================================================== */

.featured-section {
    padding: 45px 0 80px;
    background: #090909;
    border-top: 1px solid rgba(217,164,65,.4);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 35px;
    font-weight: 500;
}

.section-header p {
    color: #ddd;
    font-size: 14px;
}

.view-all {
    color: var(--gold);
    font-size: 14px;
}

.view-all i {
    margin-left: 7px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* PROPERTY CARD */

.property-card {
    overflow: hidden;
    border: 1px solid rgba(217,164,65,.55);
    border-radius: 7px;
    background: #0d0d0d;
    transition: .3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0,0,0,.4);
}

.property-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--gold);
    background: rgba(0,0,0,.75);
    color: var(--gold);
    font-size: 11px;
}

.favorite-btn {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: rgba(0,0,0,.75);
    color: var(--gold);
}

.favorite-btn.active {
    background: var(--gold);
    color: #111;
}

.property-info {
    padding: 14px 16px 16px;
}

.property-price {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
}

.property-price small {
    color: #aaa;
    font-size: 11px;
    font-weight: 400;
}

.property-info h3 {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 500;
}

.property-location {
    margin-top: 4px;
    color: #b8b8b8;
    font-size: 12px;
}

.property-location i {
    color: var(--gold);
    margin-right: 4px;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #262626;
}

.property-meta span {
    color: #ddd;
    font-size: 11px;
}

.property-meta i {
    color: var(--gold);
    margin-right: 4px;
}


/* =====================================================
   CTA
===================================================== */

.luxury-cta {
    padding: 100px 0;
    background:
        linear-gradient(
            rgba(0,0,0,.75),
            rgba(0,0,0,.9)
        ),
        url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=85")
        center / cover;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: auto;
}

.cta-content h2 {
    margin-top: 14px;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 55px);
}

.cta-content h2 span {
    color: var(--gold);
}

.cta-content p {
    color: #ccc;
    margin: 15px auto 25px;
}


/* =====================================================
   INNER HERO
===================================================== */

.inner-hero {
    min-height: 460px;
    position: relative;
    display: flex;
    align-items: center;

    background:
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=85")
        center / cover;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.9),
            rgba(0,0,0,.4)
        );
}

.inner-hero .container {
    position: relative;
    padding-top: 70px;
}

.inner-hero h1 {
    margin-top: 12px;
    max-width: 750px;
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
}

.inner-hero h1 span {
    color: var(--gold);
}

.inner-hero p {
    max-width: 620px;
    color: #ddd;
    margin-top: 20px;
}


/* =====================================================
   ABOUT
===================================================== */

.about-story {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    height: 540px;
    border: 1px solid var(--gold);
    padding: 8px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin: 15px 0;
    font-family: var(--serif);
    font-size: 48px;
    line-height: 1.1;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content p {
    color: #aaa;
    margin-bottom: 18px;
}

.values-section {
    padding: 90px 0;
    background: #0c0c0c;
}

.centered {
    justify-content: center;
    text-align: center;
}

.values-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.value-card {
    padding: 35px 25px;
    background: #111;
    border: 1px solid #292929;
    border-radius: 7px;
    text-align: center;
    transition: .3s;
}

.value-card:hover {
    border-color: var(--gold);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.value-card h3 {
    margin-top: 18px;
}

.value-card p {
    margin-top: 8px;
    color: #999;
    font-size: 14px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
}

.contact-info h2 {
    margin: 15px 0;
    font-family: var(--serif);
    font-size: 50px;
}

.contact-info h2 span {
    color: var(--gold);
}

.contact-info > p {
    color: #999;
    max-width: 500px;
}

.contact-details {
    margin-top: 35px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.contact-item span {
    display: block;
    color: #888;
    font-size: 12px;
}

.contact-item a,
.contact-item p {
    color: white;
    margin-top: 3px;
}

.contact-form-card {
    padding: 35px;
    background: #101010;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
}

.contact-form-card h3 {
    font-family: var(--serif);
    font-size: 30px;
}

.contact-form-card > p {
    color: #888;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #333;
    background: #090909;
    color: white;
    border-radius: 5px;
    padding: 12px 14px;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
}

.form-field textarea {
    resize: vertical;
}


/* =====================================================
   RENTAL LISTINGS
===================================================== */

.listing-page {
    padding: 140px 0 90px;
}

.listing-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 40px;
}

.listing-heading h1 {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: clamp(40px,5vw,60px);
    line-height: 1.05;
}

.listing-heading h1 span {
    color: var(--gold);
}

.listing-heading p {
    max-width: 600px;
    color: #999;
    margin-top: 12px;
}

.filter-toggle {
    display: none;
}

.listing-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 35px;
}

.filter-sidebar {
    height: max-content;
    padding: 25px;
    background: #101010;
    border: 1px solid #2c2c2c;
    border-radius: 7px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #282828;
    margin-bottom: 22px;
}

.filter-header h3 {
    font-family: var(--serif);
    font-size: 20px;
}

.filter-header button {
    display: none;
    background: transparent;
    border: none;
    color: white;
}

.filter-group {
    margin-bottom: 23px;
}

.filter-group label {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-bottom: 8px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    height: 42px;
    border: 1px solid #333;
    background: #080808;
    color: white;
    padding: 0 12px;
    border-radius: 5px;
    outline: none;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-buttons button {
    padding: 7px 13px;
    border: 1px solid #333;
    background: transparent;
    color: #bbb;
    border-radius: 4px;
}

.filter-buttons button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.listings-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.listings-topbar p {
    color: #999;
    font-size: 14px;
}

.listings-topbar strong {
    color: white;
}

.listings-topbar select {
    background: #111;
    border: 1px solid #333;
    color: white;
    padding: 9px 12px;
    border-radius: 5px;
}

.rental-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 40px;
}

.pagination button {
    min-width: 40px;
    height: 40px;
    border: 1px solid #333;
    background: #111;
    color: white;
    border-radius: 5px;
}

.pagination button:hover,
.pagination .pagination-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #111;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background: #050505;
    border-top: 1px solid #252525;
}

.footer-grid {
    padding: 70px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 50px;
}

.footer-brand p {
    max-width: 350px;
    color: #777;
    margin-top: 18px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    color: var(--gold);
    margin-bottom: 5px;
}

.footer-column a,
.footer-column p {
    color: #888;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid #333;
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: #666;
    font-size: 12px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* =====================================================
   MOBILE NAV
===================================================== */

.mobile-nav {
    display: none;
    background: #090909;
    border-top: 1px solid #222;
    padding: 20px 24px;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.mobile-nav-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mobile-nav-buttons a {
    border: 1px solid #333;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .search-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-submit {
        width: 100%;
    }

    .property-grid {
        grid-template-columns: repeat(2,1fr);
    }

}


@media (max-width: 900px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav.open {
        display: block;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-content {
        padding-top: 140px;
    }

    .search-form {
        grid-template-columns: repeat(2,1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }

    .values-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--gold);
        color: var(--gold);
        background: transparent;
        padding: 10px 15px;
        border-radius: 5px;
    }

    .filter-sidebar {
        display: none;
    }

    .filter-sidebar.open {
        display: block;
        position: fixed;
        z-index: 2000;
        inset: 0;
        overflow-y: auto;
        border-radius: 0;
    }

    .filter-header button {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .header-inner {
        height: 70px;
    }

    .logo-text span {
        font-size: 20px;
    }

    .logo-text small {
        font-size: 7px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .property-search {
        padding: 0 15px 18px;
    }

    .search-tabs {
        margin-left: -15px;
    }

    .search-tab {
        min-width: 90px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .popular-locations {
        align-items: flex-start;
    }

    .popular-locations > span {
        width: 100%;
    }

    .section-header,
    .listing-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .property-grid,
    .rental-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 220px;
    }

    .about-content h2,
    .contact-info h2 {
        font-size: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

}
 
/* =====================================================
   PROPERTY TYPES
===================================================== */

.property-types-section {
    padding: 95px 0;
    background: #090909;
}

.property-types-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 16px;
}

.property-type-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    border-radius: 7px;
}

.property-type-card.large {
    grid-row: span 2;
}

.property-type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.property-type-card:hover img {
    transform: scale(1.06);
}

.property-type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.9),
        rgba(0,0,0,.05)
    );
}

.property-type-content {
    position: absolute;
    bottom: 22px;
    left: 22px;
}

.property-type-content span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

.property-type-content h3 {
    font-family: var(--serif);
    font-size: 25px;
    margin-top: 4px;
}

.property-type-content p {
    color: #bbb;
    font-size: 12px;
}

.property-type-card > i {
    position: absolute;
    right: 20px;
    bottom: 22px;
    color: var(--gold);
}


/* =====================================================
   NEIGHBORHOODS
===================================================== */

.neighborhoods-section {
    padding: 95px 0;
    background: #0d0d0d;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 16px;
}

.neighborhood-card {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    border: 1px solid #292929;
}

.neighborhood-large {
    grid-row: span 2;
}

.neighborhood-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.neighborhood-card:hover img {
    transform: scale(1.06);
}

.neighborhood-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.9),
        rgba(0,0,0,.05)
    );
}

.neighborhood-content {
    position: absolute;
    bottom: 22px;
    left: 22px;
}

.neighborhood-content span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
}

.neighborhood-content h3 {
    font-family: var(--serif);
    font-size: 27px;
}

.neighborhood-content p {
    color: #bbb;
    font-size: 12px;
}


/* =====================================================
   WHY US
===================================================== */

.why-us-section {
    padding: 110px 0;
    background: #080808;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-image {
    position: relative;
    height: 600px;
}

.why-us-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-card {
    position: absolute;
    right: -25px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 25px;
    background: #111;
    border: 1px solid var(--gold);
}

.experience-card strong {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 42px;
    line-height: 1;
}

.experience-card span {
    color: #ddd;
    font-size: 12px;
}

.why-us-content h2 {
    font-family: var(--serif);
    font-size: 52px;
    line-height: 1.05;
    margin: 14px 0 20px;
}

.why-us-content h2 span {
    color: var(--gold);
}

.why-us-content .intro {
    color: #999;
    max-width: 560px;
}

.why-us-items {
    margin: 35px 0;
}

.why-us-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.why-us-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.why-us-item h3 {
    font-size: 15px;
}

.why-us-item p {
    color: #777;
    font-size: 13px;
    margin-top: 3px;
}


/* =====================================================
   PROCESS
===================================================== */

.process-section {
    padding: 100px 0;
    background: #0d0d0d;
}

.process-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
}

.process-card {
    text-align: center;
    max-width: 280px;
    margin: auto;
}

.process-number {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 14px;
}

.process-icon {
    width: 72px;
    height: 72px;
    margin: 12px auto 18px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 22px;
}

.process-card h3 {
    font-family: var(--serif);
    font-size: 23px;
}

.process-card p {
    margin-top: 8px;
    color: #777;
    font-size: 13px;
}

.process-line {
    width: 90px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}


/* =====================================================
   INVESTMENT BANNER
===================================================== */

.investment-banner {
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: center;

    background:
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90")
        center / cover fixed;
}

.investment-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.92),
            rgba(0,0,0,.45),
            rgba(0,0,0,.7)
        );
}

.investment-content {
    position: relative;
}

.investment-content h2 {
    margin: 15px 0;
    max-width: 750px;
    font-family: var(--serif);
    font-size: clamp(42px,5vw,65px);
    line-height: 1.05;
}

.investment-content h2 span {
    color: var(--gold);
}

.investment-content p {
    max-width: 500px;
    color: #bbb;
    margin-bottom: 25px;
}


/* =====================================================
   AGENT
===================================================== */

.agents-section {
    padding: 100px 0;
}

.agent-featured-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 430px;
    background: #101010;
    border: 1px solid #292929;
}

.agent-photo {
    height: 100%;
}

.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-info {
    padding: 55px;
}

.agent-info h2 {
    font-family: var(--serif);
    color: white;
    font-size: 45px;
    margin: 10px 0;
}

.agent-description {
    max-width: 650px;
    color: #888;
}

.agent-stats {
    display: flex;
    gap: 45px;
    margin: 35px 0;
}

.agent-stats div {
    display: flex;
    flex-direction: column;
}

.agent-stats strong {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 27px;
}

.agent-stats span {
    color: #777;
    font-size: 11px;
}

.agent-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.agent-contact {
    color: var(--gold);
    font-size: 14px;
}

.agent-contact i {
    margin-right: 7px;
}


/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials-section {
    padding: 100px 0;
    background: #0d0d0d;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 45px;
}

.testimonial-card {
    padding: 32px;
    background: #111;
    border: 1px solid #292929;
    border-radius: 7px;
}

.featured-testimonial {
    border-color: var(--gold);
}

.stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 13px;
}

.testimonial-card > p {
    margin: 20px 0 28px;
    color: #bbb;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 13px;
}

.testimonial-author span {
    color: #777;
    font-size: 11px;
}


/* =====================================================
   INSIGHTS
===================================================== */

.insights-section {
    padding: 100px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.insight-card {
    overflow: hidden;
    background: #101010;
    border: 1px solid #292929;
}

.insight-image {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-image span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    background: rgba(0,0,0,.8);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 9px;
    letter-spacing: 1px;
}

.insight-content {
    padding: 22px;
}

.insight-content small {
    color: #666;
    font-size: 10px;
}

.insight-content h3 {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    margin: 9px 0 18px;
}

.insight-content a {
    color: var(--gold);
    font-size: 12px;
}

.insight-content a i {
    margin-left: 5px;
}


/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter-section {
    padding: 80px 0;
    background: #0d0d0d;
}

.newsletter-box {
    padding: 55px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;

    background:
        linear-gradient(
            135deg,
            #151515,
            #0c0c0c
        );

    border: 1px solid var(--gold);
}

.newsletter-box h2 {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 38px;
}

.newsletter-box h2 span {
    color: var(--gold);
}

.newsletter-box p {
    max-width: 600px;
    color: #888;
    margin-top: 8px;
}

.newsletter-form {
    display: flex;
    min-width: 430px;
    border: 1px solid #444;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 18px;
    background: #090909;
    color: white;
}

.newsletter-form button {
    border: none;
    background: var(--gold);
    color: #111;
    padding: 0 22px;
    font-weight: 700;
}

.newsletter-form button i {
    margin-left: 7px;
}


/* =====================================================
   FINAL CTA BUTTONS
===================================================== */

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.outline-gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 5px;
    font-weight: 600;
}

.outline-gold-btn:hover {
    background: var(--gold);
    color: #111;
}

/* =====================================================
   HOMELY HERO
===================================================== */

:root {
    --gold: #d9a441;
    --gold-light: #f0c66b;
    --black: #080808;
    --serif: Georgia, "Times New Roman", serif;
}


/* HERO */

.home-hero {
    position: relative;
    min-height: 720px;
    color: #fff;
    overflow: visible;

    background: #080808;
}


.hero-bg {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90");

    background-position: center;
    background-size: cover;

    z-index: 0;
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.94) 0%,
            rgba(0,0,0,.78) 35%,
            rgba(0,0,0,.25) 70%,
            rgba(0,0,0,.55) 100%
        );

    z-index: 1;
}


/* HEADER */

.hero-header {
    position: relative;
    z-index: 20;

    height: 82px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}


.hero-container {
    width: min(1290px, calc(100% - 50px));
    margin: auto;
}


.hero-header .hero-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* LOGO */

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    color: white;
    text-decoration: none;

    min-width: 190px;
}


.logo-mark {
    color: var(--gold);
    font-size: 34px;
}


.logo-text {
    display: flex;
    flex-direction: column;
}


.logo-text strong {
    color: var(--gold);

    font-family: var(--serif);

    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1;
}


.logo-text span {
    margin-top: 4px;

    color: #c8c8c8;

    font-size: 9px;
    letter-spacing: 4px;
}


/* NAVIGATION */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}


.main-navigation a {
    color: #eee;

    font-size: 14px;

    text-decoration: none;

    transition: .25s;
}


.main-navigation a:hover {
    color: var(--gold);
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


.header-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color: #eee;

    background: rgba(0,0,0,.3);

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 8px;

    cursor: pointer;

    transition: .25s;
}


.header-icon:hover {
    color: var(--gold);
    border-color: var(--gold);
}


.sign-in-btn,
.list-property-btn {
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;
}


.sign-in-btn {
    color: #fff;

    border: 1px solid rgba(255,255,255,.2);
}


.list-property-btn {
    color: var(--gold);

    border: 1px solid var(--gold);
}


.list-property-btn:hover {
    color: #111;
    background: var(--gold);
}


/* MOBILE MENU */

.mobile-menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    background: transparent;

    color: white;

    border: 1px solid #444;

    border-radius: 6px;
}


/* HERO CONTENT */

.hero-content-wrapper {
    position: relative;
    z-index: 5;

    padding-top: 65px;
}


.hero-content {
    max-width: 650px;
}


.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 15px;
}


.hero-eyebrow span {
    width: 35px;
    height: 1px;

    background: var(--gold);
}


.hero-content h1 {
    margin: 0;

    font-family: var(--serif);

    font-size: clamp(50px, 5vw, 72px);

    line-height: 1.02;

    font-weight: 400;

    letter-spacing: -2px;
}


.hero-content h1 span {
    color: var(--gold);
}


.hero-content p {
    max-width: 530px;

    margin-top: 24px;

    color: #ddd;

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   SEARCH BOX
===================================================== */

.property-search-box {
    position: relative;

    margin-top: 35px;

    width: 100%;

    padding: 0 27px 20px;

    background: rgba(8,8,8,.94);

    border: 1px solid rgba(217,164,65,.8);

    border-radius: 8px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.5);

    backdrop-filter: blur(12px);
}


/* TABS */

.search-tabs {
    display: flex;

    gap: 5px;

    margin-left: -27px;

    margin-bottom: 18px;
}


.search-tab {
    position: relative;

    padding: 16px 40px;

    color: #ddd;

    background: transparent;

    border: 0;

    font-size: 15px;

    cursor: pointer;
}


.search-tab.active {
    color: var(--gold);

    border: 1px solid var(--gold);

    border-top: none;

    border-radius: 0 0 7px 7px;

    font-weight: 700;
}


/* FORM */

.property-search-form {
    display: grid;

    grid-template-columns:
        1.2fr
        1.05fr
        1.15fr
        .8fr
        .8fr
        auto;

    gap: 16px;

    align-items: end;
}


.search-field label {
    display: block;

    margin-bottom: 8px;

    color: #ccc;

    font-size: 11px;
}


.search-select {
    position: relative;
}


.search-select input,
.search-select select {
    width: 100%;

    height: 43px;

    padding: 0 38px 0 14px;

    color: #eee;

    background: #0d0d0d;

    border: 1px solid #555;

    border-radius: 5px;

    outline: none;

    font-size: 12px;

    appearance: none;
}


.search-select input::placeholder {
    color: #ddd;
}


.search-select input:focus,
.search-select select:focus {
    border-color: var(--gold);
}


.search-select i {
    position: absolute;

    right: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--gold);

    font-size: 10px;

    pointer-events: none;
}


/* SEARCH BUTTON */

.property-search-button {
    height: 43px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    white-space: nowrap;

    color: #111;

    background: linear-gradient(
        135deg,
        #e9b94f,
        #c9912d
    );

    border: none;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s;
}


.property-search-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(217,164,65,.25);
}


/* ADVANCED SEARCH */

.advanced-search-btn {
    margin-top: 18px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--gold);

    background: none;

    border: none;

    font-size: 12px;

    cursor: pointer;
}


.advanced-search-btn:hover {
    color: white;
}


/* POPULAR LOCATIONS */

.popular-locations {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 14px;
}


.popular-title {
    color: white;

    font-size: 13px;

    margin-right: 5px;
}


.popular-locations a {
    padding: 8px 17px;

    color: var(--gold);

    background: rgba(0,0,0,.35);

    border: 1px solid rgba(217,164,65,.65);

    border-radius: 30px;

    text-decoration: none;

    font-size: 11px;

    transition: .25s;
}


.popular-locations a:hover {
    color: #111;

    background: var(--gold);
}
/* =====================================================
   FEATURED PROPERTIES
===================================================== */

.featured-properties-section {
    padding: 75px 0 95px;

    background: #080808;

    border-top: 1px solid rgba(217,164,65,.4);
}


.featured-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 25px;
}


.featured-heading .eyebrow {
    display: block;

    color: var(--gold);

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 8px;
}


.featured-heading h2 {
    margin: 0;

    color: var(--gold);

    font-family: var(--serif);

    font-size: 40px;

    font-weight: 400;
}


.featured-heading p {
    margin-top: 5px;

    color: #aaa;

    font-size: 13px;
}


.featured-view-all {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--gold);

    text-decoration: none;

    font-size: 13px;

    transition: .25s;
}


.featured-view-all:hover {
    gap: 15px;
}


/* PROPERTY GRID */

.featured-properties-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


/* PROPERTY CARD */

.property-card {
    overflow: hidden;

    background: #0d0d0d;

    border: 1px solid #795c22;

    border-radius: 7px;

    transition:
        transform .3s,
        border-color .3s,
        box-shadow .3s;
}


.property-card:hover {
    transform: translateY(-5px);

    border-color: var(--gold);

    box-shadow:
        0 15px 35px rgba(0,0,0,.45);
}


/* IMAGE */

.property-image {
    position: relative;

    height: 170px;

    overflow: hidden;
}


.property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s;
}


.property-card:hover .property-image img {
    transform: scale(1.06);
}


/* STATUS */

.property-status {
    position: absolute;

    top: 10px;
    left: 10px;

    padding: 6px 12px;

    color: #fff;

    background: rgba(5,5,5,.82);

    border: 1px solid var(--gold);

    border-radius: 20px;

    font-size: 10px;
}


/* FAVORITE */

.property-favorite {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: var(--gold);

    background: rgba(5,5,5,.8);

    border: 1px solid var(--gold);

    border-radius: 50%;

    cursor: pointer;

    transition: .25s;
}


.property-favorite:hover,
.property-favorite.active {
    color: #111;

    background: var(--gold);
}


/* PROPERTY INFO */

.property-info {
    padding: 16px 17px 18px;
}


.property-price {
    color: var(--gold);

    font-size: 19px;

    font-weight: 700;

    margin-bottom: 7px;
}


.property-price small {
    font-size: 13px;

    font-weight: 400;
}


.property-info h3 {
    margin: 0;

    color: white;

    font-size: 15px;

    font-weight: 500;
}


.property-location {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 7px;

    color: #aaa;

    font-size: 12px;
}


.property-location i {
    color: var(--gold);
}


.property-features {
    display: flex;

    justify-content: space-between;

    gap: 8px;

    margin-top: 18px;

    padding-top: 13px;

    border-top: 1px solid #292929;
}


.property-features span {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #ddd;

    font-size: 10px;

    white-space: nowrap;
}


.property-features i {
    color: var(--gold);

    font-size: 11px;
}
/* =====================================================
   HERO + PROPERTY RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .main-navigation {
        gap: 18px;
    }

    .main-navigation a {
        font-size: 12px;
    }

    .property-search-form {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .property-search-button {
        width: 100%;
    }

    .featured-properties-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }

    .sign-in-btn,
    .list-property-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
        place-items: center;
    }

    .hero-content-wrapper {
        padding-top: 45px;
    }

    .property-search-form {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .hero-container {
        width: min(
            100% - 30px,
            1290px
        );
    }

    .home-hero {
        min-height: auto;
        padding-bottom: 35px;
    }

    .hero-header {
        height: 70px;
    }

    .site-logo {
        min-width: auto;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text span {
        font-size: 7px;
    }

    .logo-mark {
        font-size: 27px;
    }

    .header-icon {
        width: 38px;
        height: 38px;
    }

    .header-actions {
        gap: 5px;
    }

    .hero-content {
        padding: 15px 0;
    }

    .hero-content h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .property-search-box {
        padding: 0 16px 18px;
    }

    .search-tabs {
        margin-left: -16px;
    }

    .search-tab {
        padding: 14px 25px;
    }

    .property-search-form {
        grid-template-columns: 1fr;
    }

    .popular-locations {
        margin-top: 15px;
    }

    .popular-title {
        width: 100%;
    }

    .featured-properties-section {
        padding: 55px 0 70px;
    }

    .featured-heading {
        display: block;
    }

    .featured-heading h2 {
        font-size: 34px;
    }

    .featured-view-all {
        margin-top: 15px;
    }

    .featured-properties-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 220px;
    }

}

/* =====================================================
   ABOUT PAGE
===================================================== */

.about-hero {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;

    background-image:
        url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center;
}


.about-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.92),
            rgba(0,0,0,.55),
            rgba(0,0,0,.25)
        );
}


.about-hero-content {
    position: relative;

    max-width: 680px;

    padding: 80px 0;

    color: white;
}


.section-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;
}


.about-hero h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(52px, 6vw, 76px);

    line-height: 1.05;

    font-weight: 400;
}


.about-hero h1 span,
.about-story h2 span,
.about-why h2 span,
.about-mission h2 span,
.about-cta h2 span {
    color: var(--gold);
}


.about-hero p {
    max-width: 570px;

    margin-top: 25px;

    color: #ddd;

    font-size: 16px;

    line-height: 1.8;
}


/* =====================================================
   STORY
===================================================== */

.about-story {
    padding: 100px 0;

    background: #080808;
}


.about-story-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 75px;

    align-items: center;
}


.about-story-image {
    position: relative;

    height: 570px;
}


.about-story-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 5px;
}


.image-caption {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    padding: 20px;

    background: rgba(5,5,5,.85);

    border-left: 2px solid var(--gold);

    backdrop-filter: blur(8px);
}


.image-caption span {
    display: block;

    color: var(--gold);

    font-size: 9px;

    letter-spacing: 3px;
}


.image-caption strong {
    display: block;

    margin-top: 5px;

    color: white;

    font-family: Georgia, serif;

    font-size: 18px;
}


.about-story-content h2,
.about-why-content h2 {
    margin: 0 0 22px;

    color: white;

    font-family: Georgia, serif;

    font-size: 46px;

    line-height: 1.15;

    font-weight: 400;
}


.about-story-content p,
.about-why-content p {
    margin-bottom: 18px;

    color: #aaa;

    font-size: 14px;

    line-height: 1.85;
}


/* =====================================================
   BUTTONS
===================================================== */

.about-primary-btn,
.about-secondary-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 22px;

    margin-top: 15px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 12px;

    transition: .25s;
}


.about-primary-btn {
    color: #111;

    background: var(--gold);
}


.about-primary-btn:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


.about-secondary-btn {
    color: var(--gold);

    border: 1px solid var(--gold);
}


.about-secondary-btn:hover {
    color: #111;

    background: var(--gold);
}


/* =====================================================
   VALUES
===================================================== */

.about-values {
    padding: 100px 0;

    background: #0d0d0d;

    border-top: 1px solid #242424;
}


.section-heading.centered {
    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-heading h2 {
    margin: 0;

    color: white;

    font-family: Georgia, serif;

    font-size: 44px;

    font-weight: 400;
}


.section-heading p {
    margin-top: 12px;

    color: #999;

    font-size: 14px;

    line-height: 1.7;
}


.values-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.value-card {
    position: relative;

    min-height: 290px;

    padding: 30px 25px;

    background: #101010;

    border: 1px solid #2d2d2d;

    transition: .3s;
}


.value-card:hover {
    border-color: var(--gold);

    transform: translateY(-5px);
}


.value-number {
    position: absolute;

    top: 20px;
    right: 20px;

    color: #333;

    font-family: Georgia, serif;

    font-size: 28px;
}


.value-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    color: var(--gold);

    border: 1px solid #795c22;

    border-radius: 50%;
}


.value-card h3 {
    margin: 0 0 12px;

    color: white;

    font-family: Georgia, serif;

    font-size: 22px;

    font-weight: 400;
}


.value-card p {
    margin: 0;

    color: #999;

    font-size: 13px;

    line-height: 1.75;
}


/* =====================================================
   WHY HOMELY
===================================================== */

.about-why {
    padding: 100px 0;

    background: #080808;
}


.about-why-grid {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 80px;

    align-items: center;
}


.about-check-list {
    margin-top: 30px;
}


.about-check-list div {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

    color: #ddd;

    font-size: 13px;
}


.about-check-list i {
    color: var(--gold);
}


/* STATS */

.about-stats {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.stat-box {
    min-height: 180px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 25px;

    background: #101010;

    border: 1px solid #292929;

    border-radius: 4px;
}


.stat-box strong {
    color: var(--gold);

    font-family: Georgia, serif;

    font-size: 43px;

    font-weight: 400;
}


.stat-box span {
    margin-top: 7px;

    color: #999;

    font-size: 12px;
}


/* =====================================================
   MISSION
===================================================== */

.about-mission {
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            rgba(0,0,0,.85),
            rgba(0,0,0,.85)
        ),
        url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;

    background-position: center;
}


.mission-content {
    max-width: 800px;

    margin: auto;

    text-align: center;
}


.mission-content h2 {
    margin: 0;

    color: white;

    font-family: Georgia, serif;

    font-size: 50px;

    font-weight: 400;

    line-height: 1.15;
}


.mission-content p {
    max-width: 680px;

    margin: 25px auto 0;

    color: #ccc;

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   CTA
===================================================== */

.about-cta {
    padding: 90px 0;

    background: #0d0d0d;

    border-top: 1px solid #292929;
}


.about-cta-inner {
    max-width: 800px;

    margin: auto;

    text-align: center;
}


.about-cta h2 {
    margin: 0;

    color: white;

    font-family: Georgia, serif;

    font-size: 50px;

    font-weight: 400;
}


.about-cta p {
    max-width: 650px;

    margin: 18px auto;

    color: #999;

    line-height: 1.8;

    font-size: 14px;
}


.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 20px;
}

@media (max-width: 900px) {

    .about-story-grid,
    .about-why-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .about-hero {
        min-height: 450px;
    }

    .about-hero h1 {
        font-size: 48px;
    }

    .about-story,
    .about-values,
    .about-why {
        padding: 70px 0;
    }

    .about-story-image {
        height: 400px;
    }

    .about-story-content h2,
    .about-why-content h2 {
        font-size: 38px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-box {
        min-height: 140px;
    }

    .stat-box strong {
        font-size: 35px;
    }

    .mission-content h2,
    .about-cta h2 {
        font-size: 38px;
    }

    .cta-buttons {
        flex-direction: column;
    }

}

/* =====================================================
   FOOTER — MOBILE RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    /* Main footer */
    .site-footer,
    footer {
        padding: 55px 0 25px;
    }

    /* Footer container */
    .footer-container,
    .footer-inner {
        width: calc(100% - 30px);
        margin: 0 auto;
    }

    /* Footer columns */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }

    /* Brand / logo section */
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-brand img {
        max-width: 180px;
        height: auto;
        margin: 0 auto 18px;
    }

    .footer-brand p {
        max-width: 420px;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.7;
    }

    /* Footer headings */
    .footer-column h3,
    .footer-links h3 {
        margin-bottom: 18px;

        font-size: 14px;
        letter-spacing: 1px;

        color: #d9a441;
    }

    /* Footer links */
    .footer-column ul,
    .footer-links ul {
        padding: 0;
        margin: 0;

        list-style: none;
    }

    .footer-column li,
    .footer-links li {
        margin-bottom: 11px;
    }

    .footer-column a,
    .footer-links a {
        display: inline-block;

        color: #aaa;

        font-size: 12px;
        line-height: 1.5;

        text-decoration: none;

        transition: .25s;
    }

    .footer-column a:hover,
    .footer-links a:hover {
        color: #d9a441;
        transform: translateX(3px);
    }

    /* Contact section */
    .footer-contact {
        grid-column: 1 / -1;

        padding-top: 25px;

        border-top: 1px solid rgba(217, 164, 65, .18);
    }

    .footer-contact-item {
        display: flex;

        align-items: flex-start;

        gap: 12px;

        margin-bottom: 14px;
    }

    .footer-contact-item i {
        flex-shrink: 0;

        width: 30px;
        height: 30px;

        display: grid;
        place-items: center;

        color: #d9a441;

        border: 1px solid rgba(217, 164, 65, .35);

        border-radius: 50%;

        font-size: 11px;
    }

    .footer-contact-item span,
    .footer-contact-item a {
        color: #aaa;

        font-size: 12px;

        line-height: 1.6;

        text-decoration: none;

        word-break: break-word;
    }

    /* Social icons */
    .footer-socials {
        display: flex;

        justify-content: center;

        gap: 10px;

        margin-top: 25px;
    }

    .footer-socials a {
        width: 38px;
        height: 38px;

        display: grid;
        place-items: center;

        color: #d9a441;

        border: 1px solid rgba(217, 164, 65, .45);

        border-radius: 50%;

        font-size: 13px;

        transition: .25s;
    }

    .footer-socials a:hover {
        color: #111;

        background: #d9a441;

        border-color: #d9a441;
    }

    /* Footer bottom */
    .footer-bottom {
        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 12px;

        margin-top: 40px;

        padding-top: 20px;

        text-align: center;

        border-top: 1px solid rgba(255,255,255,.08);
    }

    .footer-bottom p {
        margin: 0;

        color: #777;

        font-size: 10px;

        line-height: 1.6;
    }

    .footer-bottom-links {
        display: flex;

        justify-content: center;

        flex-wrap: wrap;

        gap: 15px;
    }

    .footer-bottom-links a {
        color: #777;

        font-size: 10px;

        text-decoration: none;
    }

    .footer-bottom-links a:hover {
        color: #d9a441;
    }

}

/* =====================================================
   RESPONSIVE REFINEMENTS
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.mobile-menu-open,
body.filter-open {
    overflow: hidden;
}

main,
section,
.container,
.header-inner,
.footer-grid {
    min-width: 0;
}

@media (max-width: 768px) {

    .container {
        width: calc(100% - 40px);
        max-width: 100%;
    }

    .header-inner {
        height: 72px;
    }

    .site-header .logo img {
        width: 132px !important;
        height: auto;
    }

    .mobile-nav {
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .mobile-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .home-hero {
        min-height: auto;
        padding-bottom: 38px;
    }

    .hero-bg {
        background-position: 58% center;
    }

    .hero-content-wrapper {
        width: calc(100% - 40px);
        padding-top: 92px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 9vw, 56px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .hero-content p {
        max-width: 34rem;
        font-size: 15px;
        line-height: 1.65;
    }

    .property-search-box {
        margin-top: 28px;
        padding: 0 16px 20px;
    }

    .search-tabs {
        width: calc(100% + 32px);
        margin-left: -16px;
    }

    .search-tab {
        flex: 1;
        min-width: 0;
        padding: 14px 12px;
    }

    .property-search-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .property-search-button,
    .full-btn {
        width: 100%;
        min-height: 46px;
    }

    .popular-locations {
        align-items: flex-start;
        gap: 8px;
    }

    .popular-title {
        width: 100%;
    }

    .featured-properties-section,
    .property-types-section,
    .neighborhoods-section,
    .why-us-section,
    .process-section,
    .agents-section,
    .testimonials-section,
    .insights-section {
        padding: 62px 0 70px;
    }

    .featured-heading,
    .section-header,
    .listing-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .featured-heading h2,
    .section-header h2 {
        font-size: clamp(30px, 7vw, 40px);
    }

    .featured-properties-grid,
    .rental-grid,
    .testimonial-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .property-types-grid,
    .neighborhood-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .property-type-card.large,
    .neighborhood-large {
        grid-row: auto;
    }

    .property-type-card,
    .neighborhood-card {
        min-height: 220px;
    }

    .why-us-grid,
    .about-story-grid,
    .about-why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .why-us-image {
        height: min(115vw, 520px);
    }

    .experience-card {
        right: 14px;
        bottom: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 35px;
    }

    .process-line {
        display: none;
    }

    .investment-banner {
        min-height: 430px;
        background-attachment: scroll;
    }

    .investment-content h2 {
        font-size: clamp(38px, 9vw, 58px);
    }

    .agent-featured-card {
        grid-template-columns: 1fr;
    }

    .agent-photo {
        height: min(72vw, 360px);
    }

    .agent-info {
        min-width: 0;
        padding: 35px 28px;
    }

    .agent-info h2 {
        font-size: clamp(34px, 8vw, 45px);
    }

    .agent-stats {
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .agent-buttons,
    .cta-buttons {
        flex-wrap: wrap;
    }

    .testimonial-card,
    .insight-content {
        padding: 24px;
    }

    .newsletter-box {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        padding: 35px 24px;
    }

    .newsletter-box h2 {
        font-size: clamp(30px, 7vw, 38px);
    }

    .newsletter-form {
        width: 100%;
        min-width: 0;
        min-height: 46px;
    }

    .property-features,
    .property-meta {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 14px;
    }

    .property-features span,
    .property-meta span {
        white-space: normal;
    }

    .listing-page {
        padding: 115px 0 65px;
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 10px 16px;
        border: 1px solid var(--gold);
        color: var(--gold);
        background: transparent;
        border-radius: 5px;
    }

    .filter-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .filter-sidebar.open {
        inset: 0;
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
    }

    .listings-topbar {
        flex-wrap: wrap;
        gap: 12px;
    }

    .listings-topbar select {
        width: 100%;
    }

    .about-hero {
        min-height: 480px;
    }

    .about-hero-content {
        padding: 95px 0 60px;
    }

    .about-hero h1 {
        font-size: clamp(42px, 10vw, 60px);
    }

    .about-story,
    .about-values,
    .about-why {
        padding: 65px 0;
    }

    .about-story-image {
        height: min(90vw, 430px);
    }

    .about-story-content h2,
    .about-why-content h2 {
        font-size: clamp(36px, 8vw, 46px);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        padding: 65px 0;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom .container {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-bottom div {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

}

@media (max-width: 480px) {

    .container,
    .hero-content-wrapper {
        width: calc(100% - 30px);
    }

    .hero-content-wrapper {
        padding-top: 84px;
    }

    .property-search-box {
        padding-right: 14px;
        padding-left: 14px;
    }

    .search-tabs {
        width: calc(100% + 28px);
        margin-left: -14px;
    }

    .search-tab {
        padding-right: 8px;
        padding-left: 8px;
    }

    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .cta-buttons,
    .agent-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-buttons a,
    .agent-buttons a {
        width: 100%;
    }

    .pagination {
        gap: 4px;
    }

    .pagination button {
        min-width: 36px;
    }

}