/*********************
START: HERO
*********************/
.hero {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 55%;
}

.hero::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(33, 37, 41, 0.5);
}

.hero--content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    z-index: 1;
}

.hero--content h1 {

    margin-block-start: 343px;
}

.hero--content a.btn--gray-7 {
    margin-block-start: 3rem;
    width: 340px;
    height: 48px;
    padding: 16px 32px;
}

.hero--content>p {
    color: var(--Gray-2);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.14px;
    width: 40%;
    margin-block-start: 131px;
}

.hero .scrollTo {
    cursor: pointer;
    margin-block: 23px 48px;
}

/*********************
END: HERO
*********************/

/*********************
START: RESULTS
*********************/
.results {
    background-color: var(--Gray-1);
    padding-block: 105px 123px;
}

.results--title {
    display: flex;
    justify-content: space-between;
    margin-block-end: 2.5rem;
}

.results--title h2 {
    font-weight: 600;
}

.results--title>div {
    width: 44.25%;
}

.results--title>div p {
    margin-block-start: 1rem;
}

.results ul {
    display: flex;
    justify-content: center;
    column-gap: 24px;
}

.results ul li {
    min-height: 227px;
    border-radius: 2px;
    background: var(--Gray-2);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.results ul li:not(:last-child) {
    width: 27%;
}

.results ul li:last-child {
    width: 46%;
}

.results ul li>img {
    width: 60px;
    height: 66px;
}

.results ul li>div {
    display: flex;
    margin-block: 4.5rem 1rem;
}

.results ul li>div span {
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.results ul li>div span.count {
    margin-inline: 0.3rem;
}

.results ul li p {
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/*********************
END: RESULTS
*********************/

/*********************
START: ABOUT
*********************/
.about {
    position: relative;
}

.about::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about--text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    margin-block: 302px;
}

.about--text p {
    margin-block: 1.5rem 4rem;
    width: 47%;
}

.about--text a.btn {
    display: block;
    width: 242px;
    height: 48px;
}

/*********************
END: ABOUT
*********************/

/*********************
START: PROPERTIES
*********************/
.properties {
    padding-block: 72px 56px;
    background-color: var(--Gray-3);
}

.properties--content {
    position: relative;
}

.properties--content p.text--medium {
    margin-block-start: 1rem;
}

.properties--content>ul {
    margin-block: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
    column-gap: 16px;
}

.properties--content>ul>li {
    position: relative;
}

.properties--content>ul>li::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 2px;
    background: rgba(33, 37, 41, 0.30);
}

.properties--content>ul>li img.imageIndex {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 440/412;
    border-radius: 2px;
}

.properties--content>ul>li div.info {
    border-radius: 2px;
    background: var(--Gray-2);
    padding: 1rem;
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 13px;
}

.properties--content>ul>li div.info h4 {
    color: var(--Gray-9);
    font-size: var(--text-base);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.16px;
}

.properties--content>ul>li div.info p {
    color: var(--Gray-7);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.14px;
    margin-block: 0.5rem 1rem;
}

.properties--content>ul>li div.info>ul {
    display: flex;
    flex-wrap: wrap;
}

.properties--content>ul>li div.info>ul>li:not(:last-child) {
    padding-inline-end: 0.5rem;
    margin-inline-end: 0.5rem;
    border-right: 2px solid #ADB5BD;
}

.properties--content>ul>li div.info>ul>li span {
    color: var(--Gray-7);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.14px;
}

.properties--content a.btn {
    width: 278px;
    padding: 16px 24px;
}

/*********************
END: PROPERTIES
*********************/

/*********************
START: NEIGHBORHOODS
*********************/
.neighborhoods {
    background: var(--Gray-1);
    padding-block: 120px;
}

.neighborhoods--title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-block-end: 3rem;
}

.neighborhoods--title>div p {
    margin-block-start: 1rem;
}

.neighborhoods--title a.btn {
    width: 278px;
    padding: 16px 24px;
}

.neighborhoods--content ul {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
}

.neighborhoods--content ul li {
    position: relative;
}

.neighborhoods--content ul li img {
    width: 100%;
    height: 589px;
    border-radius: 2px;
    object-fit: cover;
}

.neighborhoods--content ul li div {
    border-radius: 2px;
    background: var(--Gray-2);
    padding: 1rem;
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 21px;
    color: var(--Gray-9);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.18px;
}

/*********************
END: NEIGHBORHOODS
*********************/

/*********************
START: WORK WITH US
*********************/
.workUs {
    padding-block: 90px;
    background-color: var(--Gray-3);
}

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

.workUs--text {
    width: 46%;
}

.workUs--text p {
    margin-block: 1.5rem 3.5rem;
    line-height: 140%;
}

.workUs--text .workUs--text__btn {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.workUs--text .workUs--text__btn a.btn {
    width: 49%;
}

.workUs--img {
    width: 50%;
    position: relative;
}

.workUs--img img {
    width: 100%;
    height: auto;
    aspect-ratio: 706/800;
    object-fit: cover;
    border-radius: 4px;
}

/*********************
END: WORK WITH US
*********************/

/*********************
START: 
*********************/
.featured {
    padding-block: 146px 162px;
}

.featured--content p.text--medium {
    margin-block-start: 1rem;
}

.featured .featured-listing.swiper {
    margin-block: 3.5rem;
}

.featured .featured-listing .swiper-wrapper{
    transition-timing-function: linear;
}

.featured .featured-listing .swiper-slide {
    position: relative;
}

.featured .featured-listing .swiper-slide::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 2px;
    background: rgba(33, 37, 41, 0.30);
}

.featured .featured-listing .swiper-slide img.imageIndex {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 446.667 / 416;
    border-radius: 2px;
}

.featured .featured-listing .swiper-slide div.info {
    border-radius: 2px;
    background: var(--Gray-2);
    padding: 1rem;
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 13px;
}

.featured .featured-listing .swiper-slide div.info h4 {
    color: var(--Gray-9);
    font-size: var(--text-base);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.16px;
}

.featured .featured-listing .swiper-slide div.info p {
    color: var(--Gray-7);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.14px;
    margin-block: 0.5rem 1rem;
}

.featured .featured-listing .swiper-slide div.info ul {
    display: flex;
    flex-wrap: wrap;
}

.featured .featured-listing .swiper-slide div.info ul li:not(:last-child){
    padding-inline-end: 0.5rem;
    margin-inline-end: 0.5rem;
    border-right: 2px solid #ADB5BD;
}

.featured .featured-listing .swiper-slide div.info ul li span{
    color: var(--Gray-7);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.14px;
}

.featured a.btn{
    width: 299px;
    padding: 16px 24px;
}
/*********************
END: 
*********************/

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {

    .hero--content>p {
        width: 40%;
    }

    .results ul li>div span {
        font-size: 40px;
    }

    .results ul li p {
        font-size: var(--text-xl);
    }

    .properties--content p.text--medium,
    .neighborhoods--title>div,
    .featured--content p.text--medium {
        width: 66%;
    }

    .properties--content>ul {
        row-gap: 32px;
        column-gap: 32px;
    }

    .neighborhoods--content ul li div {
        font-size: var(--text-lg);
    }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .hero--content>p {
        width: 45%;
    }

    .results ul {
        column-gap: 20px;
    }

    .results ul li>div span {
        font-size: var(--text-4xl);
    }

    .results ul li p {
        font-size: var(--text-lg);
    }

    .properties--content>ul {
        row-gap: 24px;
        column-gap: 24px;
    }

    .properties--content p.text--medium,
    .neighborhoods--title>div,
    .featured--content p.text--medium {
        width: 67%;
    }

    .neighborhoods--content ul li img {
        height: 550px;
    }
}

@media screen and (max-width: 1319px) {
    .hero--content>p {
        width: 43%;
    }

    .results--title>div {
        width: 44%;
    }

    .results ul {
        column-gap: 18px;
    }

    .results ul li>div span {
        font-size: var(--text-3xl);
    }

    .results ul li p {
        font-size: var(--text-lg);
    }

    .about--text{
        margin-block: 280px;
    }

    .about--text p {
        width: 55%;
    }

    .properties--content p.text--medium,
    .neighborhoods--title>div,
    .featured--content p.text--medium {
        width: 77%;
    }

    .neighborhoods--title {
        flex-direction: column;
        align-items: flex-start;
    }

    .neighborhoods--title>div p {
        margin-block: 1rem;
    }

    .neighborhoods--content ul li img {
        height: 530px;
    }
}

@media screen and (max-width: 1200px) {
    .hero--content>p {
        width: 50%;
    }

    .results ul li {
        padding: 1.5rem;
    }

    .results ul li p {
        font-size: var(--text-base);
    }

    .about--text{
        margin-block: 250px;
    }

    .about--text p {
        width: 60%;
    }

    .properties--content>ul {
        margin-block: 2rem;
    }

    .properties--content p.text--medium,
    .neighborhoods--title>div,
    .featured--content p.text--medium {
        width: 91%;
    }

    .properties--content>ul>li div.info p,
    .featured--content .swiper-slide>div.info p {
        margin-block: 0.5rem;
    }

    .neighborhoods--content ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .neighborhoods--content ul li img {
        height: 500px;
    }

    .workUs--img,
    .workUs--text {
        width: 48%;
    }
}

@media screen and (max-width: 992px) {
    .hero--content>p {
        width: 65%;
    }

    .results--title {
        flex-direction: column;
    }

    .results--title>div {
        width: 100%;
        margin-block-start: 2.5rem;
    }

    .results ul {
        column-gap: unset;
    }

    .results ul li {
        padding: 1.5rem 1rem;
        width: auto !important;
        margin: 8px;
        flex-basis: calc(33.33% - 16px);
    }

    .results ul li>div span {
        font-size: var(--text-2xl);
    }

    .about--text{
        margin-block: 220px;
    }

    .about--text p {
        width: 80%;
    }

    .properties--content p.text--medium,
    .neighborhoods--title>div,
    .featured--content p.text--medium {
        width: 100%;
    }

    .properties--content>ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .neighborhoods--content ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: unset;
    }

    .neighborhoods--content ul li {
        margin: 8px;
        flex-basis: calc(50% - 16px);
    }
}

@media screen and (max-width: 768px) {

    .hero--content>p {
        width: 90%;
    }

    .results,
    .properties,
    .neighborhoods,
    .workUs,
    .featured {
        padding-block: 80px;
    }

    .about--text{
        margin-block: 200px;
    }

    .about--text p {
        width: 100%;
    }

    .workUs--content {
        flex-direction: column;
    }

    .workUs--text {
        width: 100%;
    }

    .workUs--img {
        width: 70%;
        margin-block-end: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .hero--content>p {
        width: 100%;
    }

    .results ul {
        flex-wrap: wrap;
    }

    .results ul li {
        flex-basis: calc(50% - 16px);
    }

    .properties--content>ul {
        grid-template-columns: repeat(1, 1fr);
    }

    .neighborhoods--content ul li {
        flex-basis: calc(100% - 16px);
    }

    .neighborhoods--content ul li img {
        height: auto;
        aspect-ratio: 4/4;
    }
}

@media screen and (max-width: 470px) {
    .results ul li {
        flex-basis: calc(100% - 16px);
    }

    .about--text{
        margin-block: 170px;
    }

    .workUs--img {
        width: 80%;
    }
}

@media screen and (max-width: 425px) {
    .workUs--img {
        width: 100%;
    }

    .workUs--text p {
        margin-block: 1.5rem;
    }

    .workUs--text .workUs--text__btn {
        flex-direction: column;
    }

    .workUs--text .workUs--text__btn a.btn {
        width: 251px;
    }
}

@media screen and (max-width: 375px) {
    .hero--content a.btn--gray-7 {
        width: 290px;
    }
}

@media screen and (max-width: 320px) {
    .hero--content a.btn--gray-7 {
        width: 200px;
    }
}

/*********************
END: MEDIA
*********************/