/* 
* Global CSS
* -----------------------------------------------------
*/


#header {
    position: relative;
    height: 100dvh;
}

#header .promo-video {
    width: 100%;
    height: 100%;
}

#header .promo-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#header .promo-logo {
    position: absolute;
    top: 5%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    z-index: 5;
}

#header .text-wrapper {
    position: absolute;
    bottom: 5%;
    right: 5%;
    text-align: right;
    z-index: 5;
}

#header .text-wrapper>h3 {
    color: #fff;
    text-transform: unset;
    font-size: 23px !important;
    letter-spacing: normal;
}

#header .langs {
    position: absolute;
    top: 6%;
    right: 5%;
    color: #fff;
    font-family: 'SofiaPro', sans-serif;
    font-size: 13px;
    z-index: 5;
}

#header .langs>a {
    padding: 0 5px;
    text-align: center;
}

#header .langs>a:not(:last-child) {
    border-right: 1px solid white;
}

#header .langs>a.selected {
    font-weight: 700;
}

#header .contact-btn {
    position: fixed;
    top: 10%;
    right: 5%;
    padding: 7px 25px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'NewYork', sans-serif;
    font-size: 16px;
    border: 1px solid #fff;
    border-radius: 100px;
    background-color: #09599a36;
    z-index: 5;
}

#header .contact-btn img {
    display: none;
}

@media(max-width: 998px) {
    #header .promo-logo img {
        width: 360px;
    }

    #header .text-wrapper {
        right: 3px;
        left: 3px;
        text-align: center;
    }
}

@media(max-width: 480px) {

    #header .promo-logo {
        top: 8%;
    }

    #header .promo-logo img {

        width: 280px;
    }

    #header .langs {
        top: 3%;
        right: calc(5% + 30px);
    }

    #header .text-wrapper>h1 {
        font-size: 32px !important;
    }

    #header .text-wrapper>h3 {
        font-size: 18px !important;
    }

    #header .contact-btn {
        top: 2.4%;
        right: 5%;
        margin: 0 auto;
        padding: 5px;
    }

    #header .contact-btn span {
        display: none;
    }

    #header .contact-btn img {
        display: block;
        width: 15px;
    }
}

#project {
    position: relative;
    background-color: var(--primary-color);
    padding-bottom: 80px;
    padding-top: 180px;
}

#project .grid-text-img {
    position: relative;
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 60px;
}

#project .grid-text-img .img-block {
    position: relative;
    height: 100%;
    width: 100%;
    order: 2;
}

#project .grid-text-img .img-block>img {
    border-radius: 10px;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
}

#project .grid-text-img .img-block>img:first-child {
    position: absolute;
    right: 0;
    top: -20px;
    object-fit: cover;
    height: 420px;
    width: 300px;
    object-fit: cover;
    object-position: right;
}

#project .grid-text-img .img-block>img:last-child {
    position: absolute;
    bottom: 0;
    left: 20px;
    object-fit: cover;
    height: 270px;
    z-index: 2;
}

#project .grid-text-img .text-block {
    display: flex;
    flex-direction: column;
}

#project .grid-text-img .text-block>.img-desk {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: none;
    margin: 20px 0;
}

#project .grid-text-img .text-block>h3 {
    text-transform: uppercase;
    font-family: 'SofiaPro', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
}

#project .grid-text-img .text-block>h2 {
    font-family: 'NewYork', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

#project .grid-text-img .text-block>.text-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    font-family: 'SofiaPro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
}

#project .grid-text-img .text-block .features {
    display: grid;
}

#project .grid-text-img .text-block .features>p {
    margin: 0;
    padding: 14px 0;
    width: 100%;
    text-transform: uppercase;
    font-family: 'SofiaPro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid var(--secondary-color);
}

#project .grid-text-img .text-block .features>p:first-child {
    border-top: 1px solid var(--secondary-color);
}

@media(max-width: 1400px) {
    #project {
        padding: 80px 0;
    }
}

@media(max-width: 1280px) {
    #project {
        padding: 40px 0;
    }

    #project .grid-text-img .text-block {
        display: flex;
        flex-direction: column;
        padding: 40px 0;
        padding-right: 50px;
    }

    #project .grid-text-img .img-block>img:first-child {
        top: 60px;
        width: 340px;
    }

    #project .grid-text-img .img-block>img:last-child {
        bottom: 40px;
        height: 300px;
        width: 450px;
    }
}

@media(max-width: 992px) {
    #project .grid-text-img {
        display: block;
    }

    .grid-text-img>.img-block {
        display: none;
    }

    #project .grid-text-img .text-block {
        padding: 0;
    }

    #project .grid-text-img .text-block>h2 {
        margin-bottom: 0;
    }

    #project .grid-text-img .text-block>.img-desk {
        display: block;
    }

    #project .grid-text-img .text-block>.text-wrapper {
        text-align: left;
    }
}

@media(max-width: 480px) {
    #project .grid-text-img .text-block>.img-desk {
        height: 230px;
    }
}

#houses {
    position: relative;
    background-color: var(--primary-color);
    padding-bottom: 80px;
}

#houses .grid-text>h2 {
    text-transform: none;
}

#houses .houses-content {
    position: relative;
    height: 900px;
}

#houses .houses-content .text-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 160px;
    width: 490px;
}

#houses .houses-content .text-wrapper>h2 {
    margin-bottom: 30px;
}

#houses .houses-content>img {
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
}

#houses .houses-content>img:first-child {
    position: absolute;
    left: 40px;
    margin-top: 160px;
    width: 320px;
    height: 204px;
    object-fit: cover;
    border-radius: 10px;
}

#houses .houses-content>img:nth-child(2) {
    position: absolute;
    left: 450px;
    margin-top: 100px;
    width: 320px;
    height: 440px;
    object-fit: cover;
    border-radius: 10px;
}

#houses .houses-content>img:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 40px;
    margin-bottom: 40px;
    width: 320px;
    height: 375px;
    object-fit: cover;
    border-radius: 10px;
}

#houses .houses-content .about-wrapper {
    background-image: url('../../assets/images/about-tx-bg.jpg');
    background-size: cover;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 770px;
    padding: 40px;
    padding-bottom: 20px;
    border-radius: 22px;
}

#houses .houses-content .about-wrapper>h3 {
    text-transform: uppercase;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: normal;
}

#houses .houses-content .about-wrapper>p {
    margin-bottom: 0;
}

#houses .houses-content .about-wrapper>p:last-child {
    margin-top: 30px;
    font-weight: 300;
    font-size: 12px;
    font-style: italic;
}

#houses .carousel-features {
    padding-bottom: 60px;
}

#houses .features-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    padding-top: 30px;
}

#houses>img {
    width: 100%;
    height: 850px;
    padding: 110px 0;
    padding-bottom: 50px;
    object-fit: cover;
    object-position: center -150px;
}

#houses .features-wrap>p {
    border-top: 1px solid var(--secondary-color);
    padding-top: 30px;
    text-wrap: balance;
    text-align: center;
    align-content: center;
    line-height: 148%;
}

#houses .desk,
#houses .phone {
    display: none;
    width: 100%;
    height: 380px;
    object-fit: cover;
    margin: 20px 0;

    border-radius: 10px;
}

@media(max-width: 1400px) {

    #houses .houses-content {
        height: 930px;
    }

    #houses .houses-content .text-wrapper {
        position: absolute;
        right: 0;
        top: -15px;
        margin-top: 160px;
        width: 420px;
    }

    #houses .houses-content .text-wrapper>h2 {
        width: 70%;
        margin-bottom: 30px;
    }

    #houses .houses-content>img:first-child {
        left: 0;
        margin-top: 160px;
        width: 320px;
        height: 204px;
    }

    #houses .houses-content>img:nth-child(2) {
        left: 370px;
        width: 260px;
        height: 340px;
    }

    #houses .houses-content>img:nth-child(3) {
        bottom: 0;
        left: 0;
        width: 290px;
        height: 325px;
    }
}

@media(max-width: 1200px) {
    #houses .houses-content {
        height: 850px;
    }

    #houses .houses-content>img:first-child {
        margin-top: 180px;
        width: 230px;
        height: 184px;
    }

    #houses .houses-content>img:nth-child(2) {
        left: 270px;
        width: 200px;
        height: 320px;
    }

    #houses .houses-content>img:nth-child(3) {
        display: none;
    }

    #houses .houses-content .about-wrapper {
        left: 0;
        width: 100%;
    }
}

@media(max-width: 992px) {
    #houses {
        padding-bottom: 40px;
    }

    #houses .houses-content {
        height: fit-content;
        margin-top: 60px;
    }

    #houses .desk {
        display: block;
    }

    #houses .houses-content .text-wrapper>h2 {
        width: 100%;
    }

    #houses .houses-content>img:nth-child(2),
    #houses .houses-content>img:first-child {
        display: none;
    }

    #houses .houses-content .about-wrapper {
        position: static;
    }

    #houses .houses-content .text-wrapper {
        position: static;
        text-align: center;
        width: 100%;
        margin-top: 0;
        right: unset;
    }

    #houses .features-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media(max-width: 480px) {


    #houses .houses-content .text-wrapper {
        text-align: left;
    }

    #houses .houses-content .about-wrapper {
        padding: 20px;
    }

    #houses .features-wrap {
        gap: 15px;
    }

    #houses .desk {
        height: 230px;
    }

    #houses .phone {
        display: block;
        height: 230px;
    }
}

#environment {
    position: relative;
    padding: 80px 0;
}

#environment .owner-card {
    position: relative;
    padding: 60px;
    border-radius: 28px;
    background-image: url('../../assets/images/bg-way-brown.jpg');
    background-position: center;
    background-size: cover;
}

#environment .owner-card .grid-wrapper {
    display: grid;
    grid-template-columns: 4fr 8fr;
}

#environment .owner-card .img-block {
    text-align: center;
}

#environment .owner-card .text-block>h2 {
    margin-bottom: 30px;
}

#environment .environment-content {
    margin-top: 160px;
    position: relative;
    height: 950px;
}

#environment .text-wrapper h2 {
    margin-bottom: 40px;
}

#environment .environment-content .text-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 340px;
}

#environment .environment-content .img-block>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
}

#environment .environment-content .img-block>span {
    color: var(--text-color);
    text-transform: uppercase;
    font-family: 'SofiaPro', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

#environment .environment-content .img-block:nth-child(2) {
    position: absolute;
    top: 0;
    left: 480px;
    width: 540px;
    height: 260px;
}

#environment .environment-content .img-block:nth-child(3) {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 340px;
    width: 340px;
    height: 240px;
}

#environment .environment-content .img-block:nth-child(4) {
    position: absolute;
    top: 0;
    right: 500px;
    margin-top: 360px;
    width: 280px;
    height: 440px;
}

#environment .environment-content .img-block:nth-child(5) {
    position: absolute;
    bottom: 20px;
    left: 0;
    margin-top: 480px;
    width: 340px;
    height: 240px;
}

#environment .environment-content .img-block:nth-child(6) {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-top: 480px;
    width: 340px;
    height: 240px;
    text-align: right;
}

#environment .grid-text {
    padding-top: 160px;
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 120px;
}

#environment .grid-text>h2 {
    text-align: right;
}

#environment .grid-text>p {
    padding-top: 15px;
    text-align: left;
}

@media(max-width: 1400px) {
    #environment .environment-content .img-block:nth-child(4) {
        right: 420px;
    }
}

@media(max-width: 1200px) {
    #environment .owner-card .grid-wrapper {
        grid-template-columns: 3fr 9fr;
    }

    #environment .owner-card .img-block>img {
        width: 160px;
    }

    #environment .environment-content {
        height: 850px;
    }

    #environment .environment-content .img-block:nth-child(2) {
        width: 490px;
        height: 240px;
    }

    #environment .environment-content .img-block:nth-child(3),
    #environment .environment-content .img-block:nth-child(6) {
        width: 230px;
        height: 160px;
    }

    #environment .environment-content .img-block:nth-child(4) {
        right: 310px;
        width: 200px;
        height: 400px;
    }

    #environment .grid-text {
        grid-template-columns: 4fr 8fr;
        gap: 80px;
    }
}

@media(max-width: 998px) {
    #environment .owner-card .grid-wrapper {
        display: block;
    }

    #environment .owner-card .img-block>img {
        width: 180px;
        margin-bottom: 40px;
    }

    #environment .environment-content {
        margin-top: 80px;
    }

    #environment .grid-text {
        padding-top: 120px;
        display: block;
    }

    #environment .grid-text>h2 {
        text-align: left;
    }

    #environment .grid-text>h2 br {
        display: none;
    }

    #environment .environment-content .img-block:nth-child(2) {
        right: 10px;
        left: unset;
        width: 300px;
        height: 200px;
    }

    #environment .environment-content .img-block:nth-child(3),
    #environment .environment-content .img-block:nth-child(6) {
        width: 200px;
        height: 140px;
    }

    #environment .environment-content .img-block:nth-child(3) {
        margin-top: 260px;
    }

    #environment .environment-content .img-block:nth-child(4) {
        width: 260px;
        height: 150px;
        right: 80px;
        top: unset;
        bottom: 0;
        margin-bottom: 190px;
    }

}

@media(max-width: 768px) {
    #environment {
        padding: 80px 0;
        padding-top: 0;
    }

    #environment .environment-content {
        height: fit-content;
        margin-top: 40px;
    }

    #environment .environment-content .text-wrapper {
        position: static;
        width: 100%;
    }

    #environment .environment-content .img-block:nth-child(2),
    #environment .environment-content .img-block:nth-child(3),
    #environment .environment-content .img-block:nth-child(4),
    #environment .environment-content .img-block:nth-child(5),
    #environment .environment-content .img-block:nth-child(6) {
        position: static;
        margin: 60px 0;
        height: 240px;
        width: 100%;
        text-align: left;
    }

    #environment .grid-text {
        padding-top: 40px;
    }
}

@media(max-width: 480px) {
    #environment .owner-card {
        padding: 20px;
    }
}

#location {
    position: relative;
    background-color: #f5f7f8;
    padding-bottom: 80px;
}

/* #location>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

#location .desc {
    position: relative;
    height: 90dvh;
    width: 100%;
    align-content: center;
    background-size: cover;
    background-image: url("../../assets/images/view.jpg");
    background-position: center;
}

#location .desc:before {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    content: '';
    background-color: rgb(0, 0, 0, 0.4);
    z-index: 2;
}

#location .desc .text-wrapper {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    align-content: center;
    text-align: center;
    margin: 0 auto;
    width: 50%;
    transform: translateY(-50%);
    z-index: 5 !important;
}

#location .desc .text-wrapper>p {
    margin-top: 20px;
    color: #fff;
}
#location > video{
    padding-top: 100px;
    width: 100%;
    height: 100%;
}
#location .info .text-wrapper {
    padding: 80px 0;
    text-align: center;
}

#location .info .text-wrapper>h2 {
    color: var(--secondary-color-light);
    margin-bottom: 35px;
}

#location p {
    text-transform: unset;
    margin: 0;
    font-size: 18px !important;
    font-weight: 300 !important;
    letter-spacing: normal;
}

#location .info .address-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: space-between;
    text-align: center;
}

#location .info .address-wrapper h4 {
    text-transform: uppercase;
    font-family: 'SofiaPro', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color-light);
}

@media(max-width: 998px) {
    #location>img {
        height: 350px;
    }

    #location .desc .text-wrapper {
        width: 70%;
    }

    #location .info .text-wrapper {
        padding: 40px 0;
    }

    #location .info .address-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #location .info .address-wrapper h4 {
        font-size: 20px;
    }

    #location p {
        font-size: 14px !important;
    }
}

@media(max-width: 480px) {
    #location>img {
        height: 230px;
    }


    #location .desc .text-wrapper {
        width: 100%;
        padding: 20px;
    }
}

#footer {
    position: relative;
}

#footer .grid-wrapper {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 160px;
}

#footer .text-block>h2 {
    margin-bottom: 30px;
}

#footer .informative {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-image: url('../../assets/images/bg-way-blue.jpg');
}

#footer .informative .text-wrapper {
    text-align: center;
    color: #E4E2DC;
}

#footer .informative .text-wrapper>img {
    margin-bottom: 50px;
}

#footer .informative .text-wrapper>p {
    color: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 148%;
}

@media(max-width:998px) {
    #footer .grid-wrapper {
        display: block;
    }

    #footer .text-block {
        margin-bottom: 30px;
    }

    #footer .informative .text-wrapper>img {
        width: 360px;
    }

}

@media(max-width: 480px) {
    #footer .informative {
        align-content: center;
        height: 100dvh;
    }

    #footer .informative .text-wrapper>img {
        width: 280px;
    }
}