.home-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    align-items: end;
    gap: 40px;
    margin: 40px 0 0;
    padding: 30px;
    overflow: hidden;
    border-radius: 25px;
    background: #f2f6fa;
    font-family: 'Blogger Sans';
}

.home-intro_art {
    position: absolute;
    top: 0;
    right: 0;
    width: 556px;
    height: 176px;
    overflow: hidden;
    opacity: .3;
    pointer-events: none;
}

.home-intro_art img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.home-intro_title,
.home-intro_text,
.home-intro_btn {
    position: relative;
    z-index: 1;
}

.home-intro_title {
    grid-column: 1 / -1;
    max-width: 902px;
    margin: 0;
    color: #111;
    font-size: 36px;
    line-height: 1.4;
    font-weight: 700;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.home-intro_text {
    max-width: 784px;
    margin: 0;
    color: #333;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 400;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.home-intro .home-intro_btn {
    width: 100%;
    height: 50px;
    padding: 12px 30px;
    font-size: 20px;
    line-height: normal;
    text-align: center;
}

.home-intro .home-intro_btn:focus-visible {
    outline: 2px solid #004799;
    outline-offset: 4px;
}

@media (max-width: 1199px) {
    .home-intro {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 30px;
    }

    .home-intro .home-intro_btn {
        width: 365px;
        max-width: 100%;
        justify-self: end;
    }

    .home-intro_art {
        top: auto;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .home-intro {
        gap: 20px;
        margin-top: 32px;
        padding: 30px 15px;
    }

    .home-intro_title {
        max-width: 297px;
        font-size: 24px;
    }

    .home-intro_text {
        max-width: 252px;
        font-size: 16px;
    }

    .home-intro .home-intro_btn {
        width: 100%;
        margin-top: 11px;
        padding-right: 15px;
        padding-left: 15px;
        font-size: 18px;
    }

    .home-intro_art {
        right: 2px;
        bottom: 1px;
        width: calc(100% - 4px);
        height: auto;
        aspect-ratio: 341 / 108;
    }
}
