.section-investment {
    overflow-x: hidden;
}

.investment-slider {
    overflow-x: auto;
}

.investment-slider .tiles {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 40px;
    padding: 0 40px;
    max-width: 710px;
}

.investment-slider .items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.investment-slider .items > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 10px 20px 20px;
}

.investment-slider .items > div:nth-child(n+4) {
    border-top: 1px solid var(--secondary-sand);
}

.investment-slider .items > div:not(:nth-child(3n)) {
    border-right: 1px solid var(--secondary-sand);
}

.investment-slider .items > div p {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    padding: 0;
}

.investment-slider .tiles p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.section-investment-info {
    padding: 120px 0 40px 0;
}

.investment-info {
    display: flex;
    align-items: stretch;
    background: var(--primary-beige);
}

.investment-info > div {
    width: 50%;
}

.investment-info .featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.investment-info .content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
}

.investment-info .content .title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.4px;
}

.investment-info .content p {
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 1.25;
}

.investment-info .content p:last-of-type {
    font-size: 14px;
    letter-spacing: 0.14px;
}

.investment-info .content a {
    font-weight: 700;
    text-decoration: underline;
}

.section-investment-slider .swiper {
    overflow: visible;
}

.section-investment-slider .swiper-wrapper {
    align-items: center;
}

.section-investment-slider .swiper-slide {
    width: 100%;
    max-width: 700px;
    transition: opacity 0.4s ease;
}

.section-investment-slider .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) {
    opacity: 0.25;
}

.section-investment-slider .swiper-panel {
    position: relative;
    overflow: hidden;
}

.section-investment-slider .swiper-background {
    position: absolute;
    bottom: -80%;
    //bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 97;
    transition: all .75s ease-out;
}

.section-investment-slider .swiper-panel:hover .swiper-background {
    bottom: 0;
}

.section-investment-slider .swiper-background > * {
    position: relative;
    z-index: 98;
}

.section-investment-slider .swiper-background__content {
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 20px 40px 40px 40px;
    text-align: center;
    height: 100%;
    justify-content: space-between;
}

.section-investment-slider .swiper-background__content .logo img {
    max-width: 130px;
    height: auto;
}

.section-investment-slider .swiper-background .details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.section-investment-slider .swiper-background ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-investment-slider .swiper-background li {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-investment-slider .swiper-background li div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-investment-slider .swiper-background li span {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-off-white);
    line-height: 1.45;
}

.section-investment-slider .swiper-background li p {
    font-size: 11px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 4px 8px;
    letter-spacing: 0.11px;
}

.section-investment-slider .swiper-background li.free p {
    color: var(--primary-green-light);
    background: linear-gradient(0deg, rgba(155, 193, 126, 0.30) 0%, rgba(155, 193, 126, 0.30) 100%), #FFF;
}

.section-investment-slider .swiper-background li.reservation p {
    color: var(--secondary-cyn);
    background: linear-gradient(0deg, rgba(241, 190, 60, 0.30) 0%, rgba(241, 190, 60, 0.30) 100%), #FFF;
}

.section-investment-slider .swiper-background li.sold p {
    color: #BB704F;
    background: linear-gradient(0deg, rgba(215, 194, 168, 0.30) 0%, rgba(215, 194, 168, 0.30) 100%), #FFF;
}

.section-investment-slider .swiper-background li.in-progress p {
    color: var(--secondary-sea);
    background: linear-gradient(0deg, rgba(155, 185, 224, 0.30) 0%, rgba(155, 185, 224, 0.30) 100%), #FFF;
}

.section-investment-slider .swiper-background .details div p {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.section-investment-slider .swiper-background .details div p.title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 1280px) {
    .section-investment-slider .swiper-slide {
        max-width: 600px;
    }

    .investment-slider .tiles {
        padding-left: 0;
    }

    .section-investment-slider .swiper-background {
        bottom: -75%;
    }

    .investment-info .content .title {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .section-investment .swiper-tiles {
        display: none;
    }

    .section-investment-info {
        padding-bottom: 0;
    }

    .investment-info {
        flex-direction: column;
    }

    .investment-info > div {
        width: 100%;
    }

    .investment-info .featured img {
        height: 160px;
    }

    .investment-info .content {
        padding: 24px;
    }

    .investment-info .content .title {
        font-size: 24px;
    }

    .investment-info .content p {
        font-size: 14px;
        line-height: normal
    }
}

@media (max-width: 768px) {
    .section-investment-slider .swiper {
        overflow: hidden;
    }

    .section-investment-slider .swiper-button-prev,
    .section-investment-slider .swiper-button-next {
        display: none;
    }

    .section-investment-slider .swiper-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .section-investment-slider .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) {
        opacity: 1;
    }


    .section-investment-slider .swiper-foreground {
        height: 340px;
    }

    .section-investment-slider .swiper-foreground img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .section-investment-slider .swiper-background__content {
        padding: 20px;
    }


    .section-investment-slider .swiper-background {
        bottom: 0;
        height: auto;
    }

    .section-investment-slider .swiper-background ul {
        display: none;
    }

    .section-investment-slider .swiper-background__content .logo img,
    .section-investment-slider .swiper-background .details div p:not(.title) {
        display: none;
    }

    .section-investment-slider .swiper-background .details {
        gap: 8px;
    }

    .section-investment-slider .swiper-background .details div p.title {
        font-size: 16px;
    }
}