/* ===== Первый экран (Hero) ===== */
.first {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.first__wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.first__wrap::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 50%;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #f4f0e6 0%, rgba(244, 240, 230, 0) 40%);
}

.first__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.first__img--dsc { display: none; }

.first__box {
    position: relative;
    z-index: 2;
    padding-top: 48px;
}

.first__title {
    font-family: 'Verdana', Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #3c3c3bb3;;
    margin: 0 0 29px;
}

.first__title span {
    display: inline-block;
    margin: 8px 0;
    padding: 5px 14px 6px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #f7f7f7;
    background: #3c3c3bb3;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}

.first__btn {
    width: auto;
    font-size: 12px;
    font-weight: 400;
    padding: 11px 33px;
	color: var(--color-white);
    border: 0;
    border-radius: 38px;
    background-color: #ea7d1bb3;
	transition: all .3s;
}
.first__btn:hover {
    background-color: #3c3c3bb3;
}



@media (max-width: 579px) {
    .first {
        min-height: auto;
        padding: 38px 0 24px;
    }

    .first__box {
        padding-top: 0;
        z-index: 3;
        text-align: left;
    }

    .first__title {
        font-size: 27px;
        line-height: 1;
        margin-bottom: 19px;
    }

    .first__title span {
        margin: 8px 0;
        padding: 4px 12px 5px;
        font-size: 12px;
    }

    .first__wrap {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        margin-top: 24px;
        border-radius: 14px;
        overflow: hidden;
    }

    .first__wrap::before { display: none; }

    .first__img {
        width: 100%;
        height: auto;
        max-height: 365px;
    }

    .first__img--mob { display: block; }
    .first__img--dsc { display: none; }
}

@media (min-width: 580px) {
    .first__wrap::before {
        right: auto;
        width: 50%;
        background: linear-gradient(90deg, #f4f0e6 0%, rgba(244, 240, 230, 0) 100%);
    }

    .first__img--mob { display: none; }
    .first__img--dsc { display: block; }

    .first__box {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 50%;
        width: 100%;
        padding-top: 0;
        transform: translate(-50%, -50%);
        text-align: left;
    }

    .first__title {
                font-size: min(calc(1.3rem + 3vw), 11rem);
    }

    .first__title span {
        padding: 4px 16px 6px;
        font-size: clamp(20px, 14px + 1.15vw, 35px);
    }

    .first__btn {
        font-size: clamp(14px, 14px + 0.57vw, 24px);
    }
}

@media (min-width: 1080px) {
    .first__btn {
        padding: 24px 42px;
    }
}

@media (max-width: 1380px) {
    .first__wrap::before { right: 49%; }
}

