/* Базовые стили */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Секция About */
.cooperation-about {
    padding: 80px 0;
    background-image: url("/local/templates/renessans-new/img/cooperation-about.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.cooperation-about__content {
    width: 100%;
    max-width: 744px;
    margin: 0 auto;
    text-align: center;
}

.cooperation-about__content * {
    margin-bottom: 44px;
    color: #ffffff;
}

.cooperation-about__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.cooperation-about__text {
    font-size: 24px;
    line-height: 1.3;
}

.cooperation-about__tags {
    font-size: 20px;
    line-height: 1.35;
}

.cooperation-about__btn {
    margin: 0 auto;
    text-transform: uppercase;
}

/* Секция B2B */
.cooperation-b2b {
    padding: 24px 0;
    background-color: #841308;
}

.cooperation-b2b * {
    color: #ffffff;
}

.cooperation-b2b__content,
.cooperation-b2b__list,
.cooperation-b2b__item {
    display: flex;
    align-items: center;
}

.cooperation-b2b__content {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 70px;
}

.cooperation-b2b__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.cooperation-b2b__list {
    gap: 70px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cooperation-b2b__item {
    gap: 22px;
}

/* Секция Develop */
.cooperation-develop {
    padding: 80px 0;
}

.cooperation-develop__text {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    color: #323335;
}

.cooperation-develop__text:not(:last-of-type) {
    margin-bottom: 16px;
}

.cooperation-develop__text strong {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.cooperation-develop__text mark {
    font-size: 36px;
    line-height: 1.2;
    color: #841308;
    background: none;
}

/* Секция Work */
.cooperation-work {
    position: relative;
    padding-top: 80px;
    padding-bottom: 360px;
    background-color: #f9f9f9;
    background-image: url("/local/templates/renessans-new/img/catalogue-form.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 540px;
}

.cooperation-work__title {
    margin-bottom: 32px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.cooperation-work__desc {
    margin-bottom: 90px;
    font-size: 24px;
    line-height: 1.16;
}

.cooperation-work__list {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cooperation-work__item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cooperation-work__text,
.cooperation-work__text strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.cooperation-work__text strong {
    color: #841308;
}

.cooperation-work__icon {
    display: inline-flex;
}

/* Секция Info */
.cooperation-info {
    padding: 80px 0;
}

.cooperation-info__title {
    margin-bottom: 60px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.cooperation-info__list {
    margin-left: 44px;
    margin-bottom: 60px;
}

.cooperation-info__item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 24px;
    font-size: 24px;
    line-height: 1.2;
}

.cooperation-info__item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #841308;
}

.cooperation-info__text:not(:last-of-type) {
    margin-bottom: 24px;
}

.cooperation-info__text {
    max-width: 680px;
}

.cooperation-info__text,
.cooperation-info__text strong {
    font-size: 24px;
    line-height: 1.2;
}

.cooperation-info__text strong {
    font-weight: 700;
}

.cooperation-info__video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background-color: #000000;
}

.cooperation-info__video-src {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Секция Sale */
.cooperation-sale__box {
    max-width: 625px;
    height: 100%;
    padding: 60px 90px;
    border: 1px solid #841308;
}

.cooperation-sale__title {
    margin-bottom: 40px;
    font-size: 36px;
    line-height: 1.2;
    color: #841308;
}

.cooperation-sale__list {
    margin-bottom: 0;
    margin-left: 0;
}

/* Форма */
.invite-form {
    padding: 60px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.invite-form .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.invite-form .row {
    margin: 0;
    width: 100%;
}

.invite-form .col-12 {
    padding: 0;
    width: 100%;
}

.invite-form__title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.invite-form__contacts {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.invite-form__subtitle {
    font-size: 18px;
    color: #222;
    margin-bottom: 15px;
    display: block;
}

.invite-form__tel {
    color: #841308;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin-left: 10px;
}

.invite-form__tel:hover {
    color: #611006;
    text-decoration: none;
}

.invite-form__text {
    font-size: 16px;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
}

/* Медиа-запросы для больших экранов */
@media (min-width: 768px) {
    .cooperation-work {
        padding-bottom: 550px;
        background-size: 680px;
    }
}

@media (min-width: 1200px) {
    .cooperation-work {
        padding-bottom: 100px;
        background-position: calc(100% - 52px) bottom;
    }
}

@media (min-width: 1600px) {
    .container.cooperation-sale__container {
        max-width: 1310px;
    }
    
    .invite.cooperation-invite {
        padding-bottom: 100px;
    }
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 767px) {
    /* About */
    .cooperation-about {
        padding: 40px 0;
        background-size: cover;
        position: relative;
    }

    .cooperation-about::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.05);
    }

    .cooperation-about__content {
        position: relative;
        z-index: 1;
        max-width: 100%;
        padding: 0 15px;
    }

    .cooperation-about__title {
        font-size: 28px;
        margin-bottom: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }

    .cooperation-about__text {
        font-size: 18px;
        margin-bottom: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }

    .cooperation-about__tags {
        font-size: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }

    /* B2B */
    .cooperation-b2b__content {
        justify-content: center;
        gap: 40px;
        padding: 0 15px;
    }

    .cooperation-b2b__list {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .cooperation-b2b__item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cooperation-b2b__title {
        width: 100%;
        text-align: center;
        font-size: 28px;
    }

    /* Develop */
    .cooperation-develop__text,
    .cooperation-develop__text strong,
    .cooperation-develop__text mark {
        font-size: 24px;
    }

    /* Work */
    .cooperation-work {
        padding-bottom: 200px;
        background-size: 280px;
        background-position: center bottom;
    }

    .cooperation-work__list {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 0 15px;
    }

    .cooperation-work__item {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .cooperation-work__text {
        font-size: 16px;
        line-height: 1.4;
        margin: 0;
        text-align: left;
    }

    .cooperation-work__title,
    .cooperation-work__desc {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
    }

    .cooperation-work__icon {
        flex-shrink: 0;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* Info */
    .cooperation-info__list {
        margin-left: 0;
    }

    .cooperation-info__item {
        padding-left: 24px;
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 1.4;
    }

    .cooperation-info__item::before {
        top: 8px;
        width: 8px;
        height: 8px;
    }

    .cooperation-info__title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Sale */
    .cooperation-sale__box {
        max-width: 100%;
        padding: 30px 20px;
        margin: 15px;
        text-align: center;
    }

    .cooperation-sale__title {
        font-size: 28px;
        margin-bottom: 25px;
        text-align: center;
    }

    .cooperation-sale__list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .cooperation-sale__list li {
        font-size: 16px;
        line-height: 1.4;
        text-align: left;
        display: flex;
        align-items: center;
    }

    .cooperation-sale__list li::before {
        content: "";
        min-width: 6px;
        height: 6px;
        margin-right: 10px;
        border-radius: 50%;
        background-color: #841308;
    }

    /* News Block */
    .news-block,
    .news-block__link,
    .swiper {
        margin-bottom: 10px;
    }

    /* Form */
    .invite-form {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        left: 0;
        right: 0;
    }

    .invite-form__tel {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    .invite-form__contacts,
    .invite-form__title {
        padding: 0 15px;
    }

    .col-12.col-md-8.col-xl-6.col-hd-6.mb-5 {
        padding: 0;
        margin-bottom: 20px;
    }
}