.block-realmain {
    background-color: var(--color-background-page);
    max-width: 100%;
}

.block-main-realmain {
    width: 100%;
}

.main {
    width: 95%;
    margin: 198px auto calc(128px + 22px);

    display: flex;
    flex-direction: column;
    gap: 96px;
}

.info-cont {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.info-cont-title {
    font-size: var(--font-size-4xl);
    line-height: 110%;
    color: var(--color-foreground-accent);
}

.info-cont-all {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-cont-all-title {
    font-size: var(--font-size-2xl);
    line-height: 130%;
    color: var(--color-foreground-primary);
}

.info-cont-all-block {
    display: flex;
    justify-content: space-between;
}

.info-cont-all-block-text {
    width: 33.125vw;
    max-width: 504px;
    display: flex;
    flex-direction: column;
    height: 482px;
    justify-content: space-between;
}

.info-cont-all-block-text-up,
.info-cont-all-block-text-down {
    background-color: var(--color-background-primary);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-cont-all-block-text-up-title {
    font-size: var(--font-size-md);
    line-height: 125%;
    color: var(--color-foreground-accent);
}

.info-cont-all-block-text-up-t {
    font-size: var(--font-size-sm);
    line-height: 140%;
    color: var(--color-foreground-primary);
}

.info-cont-all-block-text-up-t .accent {
    color: var(--color-foreground-accent);
}

.info-cont-all-block-img {
    width: 665px;
    height: 482px;
}

.info-cont-all-block-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 20px;
}

/* Блок с формой */
.mini_cont-main-form-dop {
    display: flex;
    width: 100%;
    justify-content: space-between;
    
    background-color: var(--color-background-primary);
    border-radius: 20px;
    box-shadow: 0 4px 15px 4px rgba(76, 113, 232, 0.15);
    padding: 24px 48px;

    margin: 0 auto;
    min-height: 570px;
    height: fit-content;
}

.phone-break {
    white-space: nowrap;
}


/* Адаптация на большие экраны (> 1280) */
@media screen and (min-width: 1440px) {
    .main {
        width: 95.556%;
    }

    .info-cont {
        gap: 72px;
    }

    .info-cont-title {
        font-size: var(--font-size-5xl);
        line-height: 105%;
    }

    .info-cont-all {
        gap: 32px;
    }

    .info-cont-all-title {
        font-size: var(--font-size-3xl);
        line-height: 110%;
    }

    .info-cont-all-block-text {
        width: 35vw;
        max-width: 595px;
        height: 430px;
    }

    .info-cont-all-block-img {
        width: 40vw;
        max-width: 770px;
        height: 430px;
    }
}

@media screen and (min-width: 1920px) {
    .main {
        width: 95.261%;
        margin: 206px auto calc(128px + 22px);
    }

    .info-cont {
        gap: 96px;
    }

    .info-cont-all-block-text {
        width: 30.469vw;
        max-width: 780.23px;
        height: 410px;
    }

    .info-cont-all-block-img {
        width: 40.104vw;
        max-width: 1026.97px;
        height: 410px;
    }
}

/* Адаптация на большие экраны (< 1280) */
@media screen and (max-width: 1200px) {
    .main {
        width: 95%;
    }

    .info-cont {
        gap: 32px;
    }

    .info-cont-all-block {
        gap: 32px;
        flex-direction: column;
    }

    .info-cont-all-block-text {
        width: 100%;
        max-width: none;
        flex-direction: row;
        min-height: 303px;
        height: fit-content;
        gap: 24px;
    }

    .info-cont-all-block-text-up,
    .info-cont-all-block-text-down {
        flex: 1;
    }

    .info-cont-all-block-img {
        width: 100%;
        height: 41.146vw;
    }

    .info-cont-all-block-img img {
        border-radius: 12px;
    }

    /* Блок с формой */
    .mini_cont-main-form-dop {
        padding: 24px 32px;
        min-height: fit-content;
        height: fit-content;
    }
}

@media screen and (max-width: 600px) {
    .main {
        width: 93.334%;
        margin: 176px auto calc(48px + 22px);
    }

    .info-cont {
        gap: 48px;
    }

    .info-cont-all-title {
        font-size: var(--font-size-xl);
        line-height: 120%;
    }

    .info-cont-all-block {
        gap: 24px;
    }

    .info-cont-all-block-text {
        flex-direction: column;
        gap: 24px;
        height: fit-content;
    }

    .info-cont-all-block-img {
        height: 60.556vw;
    }

    .info-cont-all-block-img img {
        border-radius: 20px;
    }

    /* Блок с формой */
    .mini_cont-main-form-dop {
        border-radius: 18px;
        box-shadow: none;
        padding: 24px 12px;
    }

}