/* Баннер */
.banner {
    padding: 40px 0 60px;
}

.banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    column-gap: 40px;
}

.banner__content {
    max-width: 640px;
}

.banner__title {
    margin: 0 0 30px;
    font-size: 64px;
    line-height: 1.12;
    font-weight: 600;
    color: #272b33;
}

.banner__title-accent {
    color: var(--color-accent);
}

.banner__text {
    margin: 0;
    max-width: 380px;
    font-size: 18px;
    line-height: 1.45;
    color: #7e848d;
}

.banner__img {
    display: block;
    justify-self: end;
    width: 100%;
    max-width: 790px;
    height: auto;
}

body.dark .banner__title {
    color: var(--color-white);
}

body.dark .banner__text {
    color: #b4bac2;
}

@media (max-width: 1024px) {
    .banner {
        padding: 40px 0 40px;
    }

    .banner__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 28px;
    }

    .banner__title {
        margin-bottom: 20px;
        font-size: 36px;
    }

    .banner__text {
        max-width: 420px;
        font-size: 15px;
    }

    .banner__img {
        justify-self: center;
        max-width: 480px;
    }
}

@media (max-width: 640px) {

    .banner__inner {
        row-gap: 20px;
    }
}