
*{
    font-family: "Rubik", sans-serif;
}

.invest-header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 20;
    padding: 38px 0 0;
}

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

.invest-header__nav ul {
    display: flex;
    align-items: center;
    gap: 31px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.invest-header__nav a {
    font-size: 15px;
    line-height: 1;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    text-transform: lowercase;
    transition: opacity 0.25s ease;
}

.invest-header__nav a:hover {
    opacity: 0.7;
}

.invest-header__callback {
    min-width: 180px;
    height: 32px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.invest-header__callback:hover {
    background: #fff;
    color: #7eafd0;
}

@media (max-width: 767px) {
    .invest-header {
        padding-top: 24px;
    }

    .invest-header__inner {
        gap: 20px;
    }

    .invest-header__nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    .invest-header__nav a {
        font-size: 13px;
    }

    .invest-header__callback {
        min-width: 150px;
        font-size: 12px;
    }
}


.invest-hero {
    position: relative;
    min-height:  95vh;
    background: #7eafd0;
    overflow: hidden;
    padding: 105px 0 55px;
}

.invest-hero .container {
    z-index: 3;
}

.invest-hero__content {
    position: relative;
}

.invest-hero__title {
    margin: 0;
   font-size: 170px;
    line-height: 0.86;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -4px;
    margin: 40px 0;
}

.invest-hero__title span {
    color: #f00012;
}

.invest-hero__text {
    position: absolute;
    right: 35px;
    top: 165px;
    max-width: 430px;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

.invest-hero__building {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64%;
    max-width: 760px;
    z-index: 1;
    pointer-events: none;
}

.invest-hero__filter {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -5px;
    z-index: 5;
    display: flex;
    align-items: center;
    max-width: 745px;
    height: 56px;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.invest-hero__select {
    height: 100%;
    min-width: 140px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #111;
    border-right: 1px solid #d7d7d7;
}

.invest-hero__select span {
    font-size: 15px;
    color: #555;
}

.invest-hero__btn {
    margin-left: auto;
    margin-right: 12px;
    width: 152px;
    height: 38px;
    border: none;
    border-radius: 25px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

@media (max-width: 991px) {
    .invest-hero {
        min-height: 560px;
        padding-top: 90px;
    }

    .invest-hero__title {
        font-size: 74px;
    }

    .invest-hero__text {
        position: static;
        margin-top: 35px;
        text-align: left;
        font-size: 23px;
    }

    .invest-hero__building {
        width: 85%;
    }

    .invest-hero__filter {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 190px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .invest-hero {
        min-height: auto;
        padding: 90px 0 35px;
    }

    .invest-hero__title {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .invest-hero__text {
        font-size: 19px;
    }

    .invest-hero__building {
        width: 100%;
        opacity: 0.9;
    }

    .invest-hero__filter {
        flex-direction: column;
        height: auto;
        border-radius: 24px;
        overflow: hidden;
        margin-top: 220px;
    }

    .invest-hero__select {
        width: 100%;
        min-width: 100%;
        height: 50px;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .invest-hero__btn {
        width: calc(100% - 24px);
        margin: 12px;
    }
}