/* Баннер */
.banner {
    flex-direction: row;
    padding: 0 20px;
    margin: 0;
    text-align: left;
    height: 560px;
    padding-top: 120px;
    position: relative;
    background-image: url('../images/backgrounds/banner.webp');
    background-size: cover; /* Растягивает фон на весь блок */
    background-repeat: no-repeat; /* Отключает повторение фона */
    max-width: 100vw;
    border-bottom: 1px solid var(--light-gray);
}

.banner__content {
    position: relative; /* Относительное позиционирование для контента */
    z-index: 2; /* Контент поверх фона */
    display: flex;
    justify-self: center;
    justify-content: space-between;
    /*min-height: 500px; /* Такая же высота, как у баннера */
    padding: 0px 20px;
    width: 100vw;
    max-width: 1200px;
}

.banner__text {
    padding-top: 20px;
    position: relative;
    flex-direction: column;
    max-width: 58%;
    z-index: 2;
    margin: 0px 40px;
    flex: 1;
}

.main__title {
    font-size: 16px;
    margin-bottom: 20px;
    color: black;
    font-weight: 700;
    max-width: 100%;
}

.experience__badge {
    position: relative;
    display: inline-block;
    padding: 10px 5px;
    font-size: 16px;
    font-weight: 700;
    width: 160px;
    max-width: 70%;
    color: var(--red-gray);
    text-align: center;
    border: 2px solid var(--red-gray);
    border-radius: 50px; /* Овальная форма */
    z-index: 1;
}

.banner__content h1 {
    font-size: 20px;
}

.banner__content h1[alt="second__title"] {
    font-size: 1.8em;
}

.banner__content p {
    font-size: 16px;
    font-weight: 500;
    max-width: 800px;
    padding: 0;
    z-index: 3;
    color: black;
}

.banner__button {
    display: inline-block;
}

.banner__content a {
    display: block;
    background: linear-gradient(90deg, rgb(185, 70, 52) 0%, rgb(75, 158, 245) 100%);
    color: white;
    padding: 10px 20px;
    margin-bottom: 10px;
    max-width: 520px;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 20px;
    border-radius: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.banner__content a:hover {
    transform: scale(1.1);
}

.banner__img {
    position: absolute;
    padding: 0px;
    margin: 0;
    /*margin-bottom: -40px;*/
    right: 0px;
    z-index: 1;
}

.banner__image {
    height: 560px;
    width: 560px;
}

.banner__image__mob {
    display: none;
}


/*=================================МОБИЛЬНЫЙ АДАПТИВ==========================================*/

@media (max-width: 1156px) {
    .banner {
        box-sizing: border-box;
        padding: 100px 20px;
        margin: 0;
        height: unset;
        min-height: auto;
    }

    .banner__content {
        top: 80px;
        padding: 0px;
        width: 90%;
        gap: 20px;
    }

    .banner__text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        margin: 0px;
        padding: 0;
        flex: 1;
        max-width: unset;
        width: 100%;
    }

    .main__title {
        padding: 0;
        margin: 10px 0;
        font-size: 1em !important;
    }

    .banner__content h1[alt="second__title"] {
        margin-top: 10px;
        font-size: 20px;
    }

    .banner__image {
        display: none;
    }

    .banner__image__mob {
        display: block;
        position: initial;
        width: 100vw;
        max-height: 300px;
        object-fit: contain;
        place-self: center;
    }

    .banner__content a {
        width: 100%;
        max-width: unset;
        text-align: center;
    }
}

@media (max-width: 1100px) {
    .banner {
        box-sizing: border-box;
        padding-top: 0px;
    }

@media (max-width: 542px) {
    .main__title {
        font-size: 0.75em !important;
    }
