.its {
    line-height: 1.5;
}

ul[data-target="accordion-list"] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
}

.its h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #454240;
}

.its > p {
    font-size: 18px;
}

.view-768 {
    display: none;
}

.view-lg {
    display: none;
}

.view-xl {
    display: none;
}

/*БАННЕР*/
.its .banner {
    position: relative;
    padding: 2em;
}

.its .banner__bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
    padding-top: 0;
    background-image: url('banner_bg.webp');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.its .banner__title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: inherit;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-black);
}

.its .banner__content {
    position: relative;
    font-size: 24px;
}

.banner__line {
    position: absolute;
    top: 40px;
    right: 60px;
    z-index: 3;
}

.banner-line {
    display: none;
    color: #1e1e1e;
}

.banner-line .banner-line__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 29px;
    margin-bottom: 0;
}

.banner-line .banner-line__name + p {
    font-size: 1rem;
}

.banner-line .banner-line__text {
    transform: translateX(40px);
    margin-bottom: 5px;
}

@media (min-width: 400px) {
    .its .banner__bg {
        background-image: url('egorov.webp'), url('banner_bg.webp');
        background-position: 100% 100%, 50% 50%;
        background-size: contain, cover;
    }

    .its .banner__content {
        width: 50%;
    }
}

@media (min-width: 450px) {
    .its .banner__bg {
        background-position: 90% 100%, 50% 50%;
    }
}

@media (min-width: 500px) {
    .its .banner__bg {
        background-position: 80% 100%, 50% 50%;
    }
}

@media (min-width: 576px) {
    .its .banner {
        padding: 5em 4em;
    }

    .its .banner__bg {
        background-position: 100% 100%, 50% 50%;
    }
}

@media (min-width: 768px) {
    .its .banner__bg {
        background-image: url('egorov-2.webp'), url('banner_bg.webp');
        background-size: auto, cover;
    }

    .its .banner__content {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .its .banner__content {
        font-size: 32px;
    }

    .its .banner__bg {
        background-position: 70% 100%, 50% 50%;
    }

    .its .banner__line {
        display: block;
    }
}

@media (min-width: 1200px) {
    .its .banner {
        min-height: 260px;
        padding: 4em;
    }

    .its .banner__bg {
        background-position: 75% 100%, 50% 50%;
    }

    .its .banner__content {
        width: auto;
    }

    .its .banner__line {
        top: 1.5em;
        right: 4em;
    }
}

@media (min-width: 1366px) {
    .its .banner {
        min-height: 340px;
        padding: 48px;
    }

    .its .banner__bg {
        background-image: url('egorov-3.webp'), url('banner_bg.webp');
        background-size: auto, cover;
        background-position: 75% 100%, 50% 50%;
    }

    .its .banner__content {
        font-size: 20px;
    }

    .its .banner__title {
        font-size: 32px;
    }

    .its .ellipse-border {
        margin-bottom: 25px !important;
    }

    .its .banner__line {
        top: 50px;
        right: 60px;
    }
}

/*КОНЕЦ_БАННЕР*/


.its .offer-list {
    display: flex;
    flex-wrap: wrap;
    margin: -10px -10px 80px -10px;
    padding-left: 0;
    list-style: none;
}

.its .offer-list__item {
    display: flex;
    width: 100%;
    margin-bottom: 0;
    padding: 10px;
    list-style-type: none;
}

.its .offer {
    width: 100%;
    padding: 34px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(60, 60, 60, 0.15);
}

.its .offer__icon {
    display: block;
    width: 57px;
    height: 57px;
    margin-bottom: 22px;
    background-image: url(./icons.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.its .offer__icon_shield,
.its .offer__icon_money,
.its .offer__icon_stopwatch,
.its .offer__icon_user {
    background-position-y: -57px;
}

.its .offer__icon_bars,
.its .offer__icon_shield {
    background-position-x: -57px;
}

.its .offer__icon_chat,
.its .offer__icon_stopwatch {
    background-position-x: -114px;
}

.its .offer__icon_docs,
.its .offer__icon_user {
    background-position-x: -171px;
}

.its .offer__title {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 700;
}

.its .tariff-variant-list {
    display: flex;
    margin-bottom: 62px;
    color: #7d7a7d;
}

.its .tariff-variant-list input,
.its .tariff-variant-list input + label {
    display: none;
}

.its .tariff-variant-list input + label {
    justify-content: center;
    width: 100%;
    padding: 16px 55px;
    position: relative;
    border: 1px solid #c0c0c0;
    border-radius: var(--border-radius);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-bottom-color 0.15s ease-in-out;
}

.its .tariff-variant-list label:not(:last-of-type) {
    border-right: none;
}

.its .tariff-variant-list input:checked + label {
    display: flex;
    color: #454240;
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 20px rgba(60, 60, 60, 0.15);
}

.its .tariff-variant-list input:not(:checked) + label {
    cursor: pointer;
}

.its .tariff-variant-list input:checked + label + input + label {
    border-left-color: #ffffff;
}

.its .tariff-buttons {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
}

.page .tariff-button {
    width: auto;
}

.its .tariff-button {
    position: absolute;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.its .tariff-button_prev {
    left: 15px;
}

.its .tariff-button_next {
    right: 15px;
}

.its .button-icon {
    width: 11px;
    height: 19px;
    color: #e31e24;
    fill: currentColor;
}

.its .tariff-variant-list input:checked + label > .tariff-buttons {
    display: block;
}

.its .tariff-list {
    display: none;
    flex-wrap: wrap;
    margin: -10px -10px 0 -10px;

}

.its .tariff-list__item {
    display: flex;
    flex: 1 1 100%;
    padding: 10px;
}

.its .tariff {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(60, 60, 60, 0.15);
}

.its .tariff__title {
    margin-top: 0;
    margin-bottom: 0;
    padding: 29px;
    font-size: 24px;
    font-weight: 700;
}

.its .tariff__prices {
    padding: 20px;
    font-size: 14px;
    background-color: #ffd200;
}

.its .tariff__prices ul {
    padding-left: 0;
    margin: 0;
}

.its .tariff-list .tariff__prices ul p {
    padding: 0;
    margin-bottom: 10px;
}

.its .tariff__row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}

.its .tariff__block {
    border-bottom: 1px solid #C6C9CB;
}

.its .tariff__row p:nth-child(2) {
    white-space: nowrap;
}

.its .tariff__description p {
    margin-bottom: 0;
}

.its .tariff-list .tariff__description p:nth-child(2) {
    white-space: nowrap;
}

.its .tariff-list .tariff__description ul li:last-child {
    margin-bottom: 0;
}

.its .tariff .tariff__prices p.tariff__main-price {
    margin-bottom: 10px;
}

.its .tariff__main-price .tariff__price {
    font-size: 40px;
    font-weight: 500;
}

.its .tariff__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 184px;
    height: 45px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    font-size: 18px;
}

.its .tariff__description {
    padding: 20px 20px 0 20px;
    font-size: 15px;
    color: #736f73;
}

.its .tariff .tariff__description:last-child {
    padding-bottom: 20px;
}

.its .tariff__description ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.its .tariff__description .tariff__topic {
    margin-bottom: 15px;
}

.its .tariff__description ul li {
    display: flex;
    align-items: baseline;
    list-style-type: none;
    margin-bottom: 10px;
}

.its .tariff__description ul li::before {
    flex-shrink: 0;
    content: "";
    display: inline-block;
    width: 12px;
    height: 8px;
    margin-right: 14px;
    background-image: url("./icons/check.svg");
}

.its .tariff__description.markered ul li::before {
    flex-shrink: 0;
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    background-color: #FFD200;
    background-image: none;
    border-radius: 50%;
}

.its .only-deploy-1 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.15s ease-in-out;
}


.its .section-description {
    counter-reset: tariff-descriptions;
}

.its .section-description .section-description__item {
    padding: 40px;
    margin-bottom: 20px;
}

.its .section-description .section-description__item .item__title {
    font-weight: bold;
    font-size: 17px;
    position: relative;
    margin-left: 50px;
    margin-bottom: 20px;
}

.its .section-description .section-description__item .item__title::before {
    counter-increment: tariff-descriptions;
    content: counter(tariff-descriptions) '';
    font-weight: normal;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 50%;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFD200;
}

.section-special__button {
    max-width: 200px;
}

.section-special {
    min-height: 660px;
    background: #FFD200 url('./special_320.png') 50% bottom/contain no-repeat;
}

.section-special__content {
    text-align: center;
    margin-top: 30px;
}

.its .section-special__title {
    margin-bottom: 40px;
}

.its .section-special__text {
    margin-bottom: 20px;
}

.its .section-special__button {
    margin-top: 40px;
}

.its .tariff-variant-list label {
    display: flex;
    align-items: center;
}

.its .ellipse-border {
    border-radius: 50px;
    background-color: #FFD200;
    padding: 5px 20px;
    width: fit-content;
    display: block;
    margin-bottom: 1em;
}

.its .dotted-item {
    position: relative;
    margin-left: 15px;
}

.its .dotted-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 7px;
    display: block;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    background-color: #FFD200;
    background-image: none;
    border-radius: 50%;
}

.its .first-item {
    margin-bottom: 10px;
}

.ribbon-wrapper {
    display: block;
    margin-top: 5px;
    margin-left: -20px;
    padding-bottom: 1px;
    margin-right: -20px;
    background-color: #fcd201;
}

.ribbon {
    height: 40px;
    position: relative;
    margin-bottom: 5px;
    background-size: cover;
    text-transform: uppercase;
    color: white;
}

.ribbon4 {
    position: absolute;
    top: 0;
    padding: 8px 10px;
    background: #BE170E;
    box-shadow: -1px 2px 3px rgba(0, 0, 0, .3);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.ribbon4:before, .ribbon4:after {
    content: "";
    position: absolute;
}

.ribbon4:before {
    width: 7px;
    height: 114%;
    top: 0;
    left: -6.5px;
    padding: 0 0 7px;
    background: inherit;
    border-radius: 5px 0 0 5px;
}

.ribbon4:after {
    width: 5px;
    height: 5px;
    bottom: -5px;
    left: -4.5px;
    background: #e63d34;
    border-radius: 5px 0 0 5px;
}

@media (min-width: 400px) {
    .section-special {
        min-height: 560px;
        background: #FFD200 url('./special.png') 50% bottom/150% no-repeat;
    }

    .its .ellipse-border {
        padding: 5px 30px;
    }
}

@media (min-width: 576px) {

    .view-768 {
        display: inline;
    }

    .its .tariff-variant-list input + label {
        width: 50%;
    }

    .its .tariff-variant-list input:checked + label {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .its .tariff-variant-list input:checked:last-of-type + label {
        border-top-right-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
    }

    .its .tariff-variant-list input:checked + label + input + label {
        display: flex;
        border-right: 1px solid #c0c0c0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .section-special {
        position: relative;
        background: url('./balloon.png?1') 0 70%/40% no-repeat, url('./special.png') 50% bottom/150% no-repeat;

    }

    .section-special:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #FFD200;
        z-index: -2;
    }
}

button.tariff-toggle-btn {
    padding: 3px;
    line-height: 1;
    color: #736f73;
    background-color: transparent;
    border: none;
}

.page button.tariff-toggle-btn:hover {
    background-color: #ebebeb;
}

.page button.tariff-toggle-btn .icon {
    transition: transform 0.35s ease-in-out;
}

.page button.tariff-toggle-btn[aria-expanded="true"] .icon {
    transform: rotateZ(180deg);
}

@media (min-width: 768px) {
    .its .first-item {
        margin-bottom: 80px;
    }

    .its .tariff__block {
        min-height: 630px;
    }

    .its .offer-list__item {
        width: 50%;
    }

    .its .tariff-list__item {
        flex: 1 1 50%;
    }

    .its .tariff-variant-list input + label {
        width: 33%;
    }

    .section-special {
        background: url('./balloon.png?1') 0 70%/40% no-repeat, url('./special.png') 50% bottom/100% no-repeat;
    }

    .section-special__content {
        margin-top: 0;
    }

    .its .tariff-variant-list input:checked:not(:nth-last-of-type(2)) + label + input + label {
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .its .tariff-variant-list input:checked + label + input + label + input + label {
        display: flex;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        border-right: 1px solid #c0c0c0;
    }
}

@media (min-width: 992px) {

    .its .tariff-variant-list input + label {
        width: 25%;
    }

    .its .tariff-variant-list input:checked:not(:nth-last-of-type(3)) + label + input + label + input + label {
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .its .tariff-variant-list input:checked + label + input + label + input + label + input + label {
        display: flex;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        border-right: 1px solid #c0c0c0;
    }

}

@media (min-width: 1200px) {
    .view-lg {
        display: block;
    }

    .its .offer-list__item {
        width: 25%;
    }

    .its .tariff-variant-list input + label {
        display: flex;
        width: 25%;
    }

    .section-special {
        text-align: left;
        background: url('./balloon_1200.png?1') 50%/25% no-repeat, url('./special_1200.png') right bottom/35% no-repeat;
        min-height: 280px;
    }

    .section-special__content {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 200px;
    }

    .its .section-special__title {
        margin-bottom: 10px;
    }

    .its .section-special__text {
        margin-bottom: 10px;
    }

    .its .section-special__button {
        margin-top: 10px;
    }

}

@media (min-width: 1366px) {
    .its .tariff-list {
        margin: -6px -6px 0 -6px;
    }

    .its .tariff-list__item {
        flex: 0 0 20%;
        width: 20%;
        padding: 6px;
    }

    .its .tariff__row {
        gap: 8px;
    }

    .view-xl {
        display: block;
    }
}
