.process {
    background: var(--dark-gray);
    color: var(--white);
    padding-left: 22px;
    padding-right: 22px;
}

.process__left,
.process__right {
    width: 100%;
}

.process h2 {
    color: var(--white);
}

.process .tab-accordion__panel__toggle,
.process .tab-accordion__tab {
    margin: 30px 0 0;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    position: relative;
    width: 100%;
}

.process .tab-accordion__panel__toggle::after {
    content: '\e902';
    font-family: 'cabinet-systems-icon';
    position: absolute;
    color: var(--light-gray);
    font-size: 25px;
    line-height: 1em;
    top: 50%;
    transform: translate(0, -50%);
    right: 20px;
    z-index: 1;
    font-weight: normal;
}

.process .tab-accordion__panel__toggle.is-active::after {
    content: '\e90e';
}

.process .tab-accordion__tab:focus:not(:focus-visible),
.process .tab-accordion__panel__toggle:focus:not(:focus-visible) {
    border: none;
}


.tab-flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.tab-count {
    border-radius: 50%;
    border: 4px solid var(--white);
    background: var(--dark-gray);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 1em;
    padding-bottom: 7px;
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

.tab-count:before,
.tab-count:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--white);
    z-index: -1;
    animation: pulse 1.5s infinite;
}

.tab-count:after {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0% {
      transform: scale(1, 1);
    }
    50% {
      opacity: 0.3;
    }
    100% {
      transform: scale(1.5);
      opacity: 0;
    }
}

.tab-count > span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: inherit;
    box-shadow: 0 0 0 1px var(--dark-gray);
    transition: box-shadow 0.3s ease-in-out;
}

.tab-accordion__tab.is-active .tab-count > span {
    background: inherit;
    border: 2px solid #D70C0C;
    box-shadow: 0 0 0 1px #D70C0C;
}

.tab-accordion__tab.is-active .tab-count:before,
.tab-accordion__tab.is-active .tab-count:after {
    background: #D70C0C;
}

.tab-title {
    width: calc(100% - 65px);
    padding: 10px 66px 12px 22px;
    color: var(--white);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.tab-title::before {
    content: '';
    position: absolute;
    width: calc(100% + 30px);
    height: 100%;
    background: var(--text-color);
    top: 0;
    right: 0;
    z-index: -1;
    border-radius: 7px;
}

.tab-title span {
    color: var(--light-gray);
    font-family: "Noto Sans", sans-serif;
    font-size: 18px;
    line-height: 1.3em;
    display: block;
    text-transform: none;
    padding-top: 7px;
}

.process .tab-accordion__panel__toggle.is-active .tab-count {
    background: #D70C0C;
    border-color: #D70C0C;
    box-shadow: 0px 0px 0px 6px rgba(215, 12, 12, 0.54);
}

.process .tab-accordion__panel__toggle.is-active .tab-title::before {
    display: none;
}

.process .tab-accordion__panel__content {
    margin-top: 10px;
    padding: 0;
    border: none;
    background: var(--text-color);
    border-radius: 7px;
}

.process__image {
    height: 238px;
    position: relative;
}

.process__image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(68, 68, 68, 0.30);
}

.process__details {
    padding: 50px 20px;
}

.process__details h3 {
    color: var(--white);
    font-size: 35px;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: none;
}

.mobile-cs.cs-white {
    width: 40%;
    height: auto;
    object-fit: contain;
}

.process__left__top__left {
    width: 60%;
}

@media (min-width: 768px) {
    .process {
        padding-left: 52px;
        padding-right: 52px;
    }

    .process__headlines {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    

    .cs-white {
        width: 199px;
        object-fit: contain;
    }

    .process__title {
        width: calc(100% - 199px);
        padding-right: 15px;
    }

    .process .tab-accordion__panel__toggle {
        margin: 35px 0 0;
    }

    .process .tab-accordion__panel__toggle::after {
        right: 30px;
    }

    .tab-count {
        width: 77px;
        height: 77px;
        margin-top: 7px;
    }

    .tab-title {
        width: calc(100% - 77px);
        padding: 15px 117px 15px 32px;
    }

    .tab-title::before {
        width: calc(100% + 40px);
    }


    .process .tab-accordion__panel__content {
        margin-top: 27px;
    }

    .process__image {
        height: 236px;
    }

    .process__details {
        padding: 35px 25px;
    }

}

@media (min-width: 1200px) {
    .process__left__top__left {
        width: 100%;
    }

    .process .tab-accordion__tab .tab-title::before {
        display: none;
    }

    .process .tab-accordion__tab {
        width: 100%;
    }

    .process .tab-accordion__tab:hover .tab-count,
    .process .tab-accordion__tab.is-active .tab-count {
        background: #D70C0C;
        border-color: #D70C0C;
        box-shadow: 0px 0px 0px 6px rgba(215, 12, 12, 0.54);
    }

    .process .tab-accordion__tab:hover .tab-count:before,
    .process .tab-accordion__tab.is-active .tab-count:before,
    .process .tab-accordion__tab:hover .tab-count:after,
    .process .tab-accordion__tab.is-active .tab-count:after {
        background: #D70C0C;
    }

    .process .tab-accordion__tab:hover .tab-count > span {
        box-shadow: 0 0 0 1px #D70C0C;
    }

    .process {
        padding-left: 0;
        padding-right: 0;
    }

    .process .flex-row {
        align-items: unset;
    }

    .process__bttn {
        margin-top: 50px;
    }

    .process__bttn .btn-primary {
        background: var(--white);
        color: var(--primary);
    }

    .process__bttn .btn-primary::after {
        color: var(--secondary);
    }

    .process__left {
        width: calc(50% - 200px);
        padding-right: 33px;
        padding-left: 63px;
    }

    .process__right {
        width: calc(50% + 200px);
    }

    .process__image {
        display: none;
    }

    .tab-accordion__panels {
        width: 722px;
    }

    .process__left__wrap {
        margin-left: auto;
        max-width: 500px;
    }

    .process__title {
        width: 100%;
        padding: 0;
    }

    .process .tab-accordion__panel__content {
        margin-top: -268px;
        z-index: 2;
    }

    .process__details {
        padding: 50px 54px 50px;
        min-height: 530px;
    }

    .process__details__top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 15px;
        gap: 38px;
    }

    .process__details h3 {
        margin-bottom: 0;
        width: 236px;
    }

    .process__details__count {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 95px;
        font-weight: 400;
        line-height: 1em;
    }

    .tab-title {
        padding-right: 90px;
    }

    .process__tab-image {
        display: flex;
        flex-wrap: initial;
        padding-left: 50px;
        justify-content: flex-end;
    }

    .process__tab-image .tab-accordion__panel__toggle {
        position: relative;
        width: 20%;
        height: 726px;
        margin-top: 0;
    }

    .process__tab-image .tab-accordion__panel__toggle img {
        object-position: center;
    }


    .process__tab-image .tab-accordion__panel__toggle.process-tabs-3.is-active {
        width: 60%;
        z-index: 1;
    }

    .process__tab-image .tab-accordion__panel__toggle.process-tabs-4.is-active {
        width: 40%;
        z-index: 1;
    }

    .process__tab-image .tab-accordion__panel__toggle:after {
        content: '' !important;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: var(--text-color);
        transform: translate(0, 0);
        opacity: 0.65;
    }

    .process__tab-image .tab-accordion__panel__toggle:hover:after,
    .process__tab-image .tab-accordion__panel__toggle.is-active:after {
        opacity: 0;
    }

    .process__tab-image .tab-accordion__panel__toggle span {
        position: absolute;
        z-index: 2;
        color: var(--white);
        font-family: "Barlow Condensed", sans-serif;
        font-size: 100px;
        font-weight: 400;
        line-height: 1em;
        top: 20px;
        right: 28px;
        transition: color 0.3s ease-in-out;
    }

    .process__tab-image .tab-accordion__panel__toggle:hover span,
    .process__tab-image .tab-accordion__panel__toggle.is-active span {
        color: #D70C0C;
    }

    .tab-logo-flex {
        display: flex;
        align-items: flex-end;
        gap: 50px;
    }

    .cs-white {
        width: 306px;
    }

    .process__bttn .btn-primary:hover {
        color: var(--white);
        background: var(--secondary);
        ;
    }

    .process__bttn .btn-primary:hover::after {
        color: var(--white);
    }
}