﻿.main-hero-new {
    width: 100%;
    padding: 24px 18px 44px;
    background: radial-gradient(circle at 10% 16%, rgba(8, 169, 166, .10), transparent 34%), radial-gradient(circle at 88% 24%, rgba(119, 72, 181, .11), transparent 36%), linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
}

.main-hero-new__shell {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(26, 44, 58, .13);
}

.main-hero-new__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 690px;
}

    .main-hero-new__grid::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        z-index: 10;
        width: 1px;
        height: 100%;
        background: rgba(255, 255, 255, .92);
        box-shadow: -1px 0 0 rgba(80, 60, 120, .10), 1px 0 0 rgba(255, 255, 255, .70);
        transform: translateX(-50%);
    }

.main-hero-new__plus {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #7b5bc6;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 14px 36px rgba(45, 35, 80, .18);
    transform: translate(-50%, -50%);
}

.main-hero-new__panel {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background: #f7fbfb;
}

.main-hero-new__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero-new__panel--perspektiva .main-hero-new__image {
    object-position: 73% center;
}

.main-hero-new__panel--mediator .main-hero-new__image {
    object-position: 69% center;
}

.main-hero-new__fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.main-hero-new__panel--perspektiva .main-hero-new__fade {
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 28%, rgba(255, 255, 255, .40) 53%, rgba(255, 255, 255, .06) 76%), linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .22) 100%);
}

.main-hero-new__panel--mediator .main-hero-new__fade {
    background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .84) 28%, rgba(255, 255, 255, .36) 53%, rgba(255, 255, 255, .05) 76%), linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .20) 100%);
}

.main-hero-new__content {
    position: relative;
    z-index: 4;
    max-width: 420px;
    padding: 82px 34px 54px 64px;
}

.main-hero-new__name {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.main-hero-new__name--perspektiva {
    color: #0aa6a5;
}

.main-hero-new__name--mediator {
    color: #7553bf;
}

.main-hero-new__title {
    margin: 0;
    color: #111820;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.4px;
}

.main-hero-new__description {
    max-width: 315px;
    margin: 26px 0 0;
    color: #18242d;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.main-hero-new__address {
    position: absolute;
    left: 64px;
    bottom: 52px;
    z-index: 6;
    width: 230px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 38px rgba(28, 44, 58, .13);
    backdrop-filter: blur(10px);
}

.main-hero-new__address-caption {
    margin-bottom: 7px;
    color: #63717b;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.main-hero-new__address-text {
    color: #111820;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
}

.main-hero-new__notice {
    margin: 26px 34px 34px;
    padding: 32px 36px 36px;
    border-radius: 20px;
    background: radial-gradient(circle at 8% 18%, rgba(12, 185, 181, .11), transparent 32%), radial-gradient(circle at 90% 35%, rgba(139, 87, 190, .13), transparent 34%), linear-gradient(90deg, #f3fbfb 0%, #fff4f8 100%);
    text-align: center;
}

.main-hero-new__notice-title {
    color: #8b63c7;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 950;
}

.main-hero-new__notice-text {
    max-width: 850px;
    margin: 14px auto 0;
    color: #17222b;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 500;
}

.main-hero-new__notice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 44px;
    border-radius: 999px;
    background: #8057c8;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(104, 67, 176, .24);
}

    .main-hero-new__notice-button:hover {
        color: #ffffff;
        text-decoration: none;
    }

/* Средние экраны */
@media (max-width: 1280px) {
    .main-hero-new__grid {
        min-height: 640px;
    }

    .main-hero-new__panel {
        min-height: 640px;
    }

    .main-hero-new__content {
        max-width: 380px;
        padding: 64px 28px 48px 46px;
    }

    .main-hero-new__name {
        font-size: 29px;
    }

    .main-hero-new__title {
        font-size: 26px;
    }

    .main-hero-new__description {
        max-width: 285px;
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.6;
    }

    .main-hero-new__address {
        left: 46px;
        bottom: 42px;
        width: 210px;
        padding: 16px 17px;
    }
}

/* Планшет */
@media (max-width: 991px) {
    .main-hero-new {
        padding: 18px 12px 34px;
    }

    .main-hero-new__shell {
        border-radius: 20px;
    }

    .main-hero-new__grid {
        display: block;
        min-height: 0;
        padding: 12px;
    }

        .main-hero-new__grid::before,
        .main-hero-new__plus {
            display: none;
        }

    .main-hero-new__panel {
        min-height: 560px;
        border-radius: 18px;
    }

        .main-hero-new__panel + .main-hero-new__panel {
            margin-top: 10px;
        }

    .main-hero-new__content {
        max-width: 355px;
        padding: 42px 26px 34px 30px;
    }

    .main-hero-new__name {
        margin-bottom: 12px;
        font-size: 28px;
    }

    .main-hero-new__title {
        font-size: 24px;
        line-height: 1.22;
    }

    .main-hero-new__description {
        max-width: 295px;
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.55;
    }

    .main-hero-new__address {
        left: 30px;
        bottom: 28px;
        width: 205px;
        padding: 15px 17px;
    }

    .main-hero-new__panel--perspektiva .main-hero-new__image {
        object-position: 70% 44%;
    }

    .main-hero-new__panel--mediator .main-hero-new__image {
        object-position: 71% 44%;
    }

    .main-hero-new__panel--perspektiva .main-hero-new__fade,
    .main-hero-new__panel--mediator .main-hero-new__fade {
        background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 42%, rgba(255, 255, 255, .14) 78%), linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, .32) 100%);
    }

    .main-hero-new__notice {
        margin: 14px 12px 20px;
        padding: 28px 20px 30px;
        border-radius: 18px;
    }

    .main-hero-new__notice-title {
        font-size: 22px;
    }

    .main-hero-new__notice-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .main-hero-new__notice-button {
        min-height: 40px;
        padding: 0 34px;
        font-size: 12px;
    }
}

/* Телефон */
@media (max-width: 640px) {
    .main-hero-new {
        padding: 10px 8px 28px;
    }

    .main-hero-new__shell {
        border-radius: 20px;
        box-shadow: 0 12px 35px rgba(26, 44, 58, .12);
    }

    .main-hero-new__grid {
        padding: 8px;
    }

    .main-hero-new__panel {
        min-height: 455px;
        border-radius: 18px;
    }

        .main-hero-new__panel + .main-hero-new__panel {
            margin-top: 8px;
        }

    .main-hero-new__content {
        max-width: 268px;
        padding: 28px 18px 22px 22px;
    }

    .main-hero-new__name {
        margin-bottom: 10px;
        font-size: 23px;
    }

    .main-hero-new__title {
        font-size: 18px;
        line-height: 1.27;
    }

    .main-hero-new__description {
        max-width: 235px;
        margin-top: 14px;
        font-size: 12.5px;
        line-height: 1.5;
    }

    .main-hero-new__address {
        left: 18px;
        bottom: 18px;
        width: 178px;
        padding: 13px 14px;
        border-radius: 16px;
    }

    .main-hero-new__address-caption {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .main-hero-new__address-text {
        font-size: 13.5px;
        line-height: 1.32;
    }

    /*
      Мобильная версия:
      object-position по Y поднят вверх.
      Так нижняя часть фото визуально обрезается примерно на 20%.
    */
    .main-hero-new__panel--perspektiva .main-hero-new__image {
        object-position: 73% 34%;
    }

    .main-hero-new__panel--mediator .main-hero-new__image {
        object-position: 75% 34%;
    }

    .main-hero-new__panel--perspektiva .main-hero-new__fade,
    .main-hero-new__panel--mediator .main-hero-new__fade {
        background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .80) 48%, rgba(255, 255, 255, .12) 86%), linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .32) 100%);
    }

    .main-hero-new__notice {
        margin: 10px 10px 16px;
        padding: 24px 16px 26px;
    }

    .main-hero-new__notice-title {
        font-size: 19px;
    }

    .main-hero-new__notice-text {
        font-size: 13px;
    }
}

/* Очень узкий телефон */
@media (max-width: 380px) {
    .main-hero-new__panel {
        min-height: 430px;
    }

    .main-hero-new__content {
        max-width: 245px;
        padding-left: 18px;
    }

    .main-hero-new__name {
        font-size: 21px;
    }

    .main-hero-new__title {
        font-size: 17px;
    }

    .main-hero-new__description {
        max-width: 220px;
        font-size: 12px;
    }

    .main-hero-new__address {
        width: 168px;
    }

    .main-hero-new__address-text {
        font-size: 13px;
    }
}
