@media (max-width: 600px) {
    .static-banner__text {
        max-width: 220px;
    }
}

.quiz__title {
    max-width: 500px;
}

.quiz__content {
    display: flex;
    justify-content: space-between;
    gap: 95px;
}

.quiz__wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quiz__img-wrap {
    max-width: 620px;
    width: 100%;
    flex-shrink: 0;
}

.quiz__descs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quiz__descs p {
    font-size: 18px;
    position: relative;
    padding-left: 25px;
}

.quiz__descs p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: var(--main-yellow);
}

.quiz__note {
    font-weight: 700;
    font-size: 18px;
}

.quiz__buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 1199px) {
    .quiz__buttons {
        flex-wrap: wrap;
        gap: 15px;
    }

    .quiz__content {
        flex-direction: column;
        align-items: center;
        gap: 42px;
    }
}

@media (max-width: 600px) {
    .quiz__img-wrap {
        display: none;
    }

    .quiz__content {
        display: block;
    }

    .quiz__descs p {
        font-size: 16px;
        padding-left: 15px;
    }

    .quiz__note {
        font-size: 16px;
    }
}

/* Quiz test */

.quiz__step {
    min-height: 660px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(111deg, #2e2e2e 0%, #484848 100%);
    padding: 100px 50px;
}

.step__box {
    max-width: 750px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.step__icon-item {
    width: 200px;
    height: 200px;
    background-color: var(--white);
}

.step__icon-item img {
    object-fit: none;
}

.step__title {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 0;
}

.step__button {
    width: fit-content;
    margin: 0 auto;
}

.step__icon-item.active {
    background-color: #cfcfcf;
}

.step__filter {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.filter-group label {
    padding-top: 0;
}

.filter-group label::before {
    content: '';
    background-color: var(--lightest-grey);
    border-radius: 50%;
    border: none;
    width: 22px;
    height: 22px;
    display: inline-block;
    border-radius: 100%;
    position: absolute;
    left: 0;
    top: 0;
    vertical-align: bottom;
    transition: all ease 0.3s;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 2px;
}

.filter-group input:checked + label:after {
    content: '';
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    top: 0;
    left: 0;
    background-image: url(../img/icons/check-radio.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: unset;
    margin-top: 2px;
}

.step__group label span {
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
}

.quiz .step__square {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-column-gap: 21px;
    grid-row-gap: 50px;
}

.quiz .step__square div {
    height: 100px;
    width: 100px;
    cursor: pointer;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

.quiz .step__square div:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

.quiz .step__square div:nth-child(1) {
    background: #004983;
}

.quiz .step__square div:nth-child(2) {
    background: #1d9772;
}

.quiz .step__square div:nth-child(3) {
    background: #f12f23;
}

.quiz .step__square div:nth-child(4) {
    background: #f2dd00;
}

.quiz .step__square div:nth-child(5) {
    background: #231f20;
}

.quiz .step__square div:nth-child(6) {
    background: #c55223;
}

.quiz .step__square div:nth-child(7) {
    background: #d42481;
}

.quiz .step__square div:nth-child(8) {
    background: #98938d;
}

.result-test__head-img {
    position: absolute;
    right: 0;
    height: 100%;
    width: 100%;
    background: url(../img/result-test/icon.png) no-repeat 0 0 / cover;
    bottom: 0;
    display: flex;
}

@media (max-width: 1024px) {
    .quiz__step {
        padding: 80px 40px;
    }

    .step__icon-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
        height: 150px;
    }

    .step__icon-item img {
        object-fit: contain;
        width: 80%;
        height: 80%;
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .step__icon-item {
        width: 100px;
        height: 100px;
    }

    .step__title {
        font-size: 16px;
    }

    .step__group label span {
        font-size: 14px;
    }

    .quiz__step {
        padding: 20px;
    }

    .filter-group label {
        padding-left: 25px;
    }

    .filter-group label::before {
        width: 14px;
        height: 14px;
    }

    .filter-group input:checked + label:after {
        width: 14px;
        height: 14px;
    }

    .quiz .step__square {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .quiz .step__square {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz .step__square div {
        width: 80px;
        height: 80px;
    }
}

/* Result test */

.result-test__main-navigation {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 30px auto;
}

.result-test__main-navigation-counts {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 40px;
    padding: 10px 16px;
    background-color: var(--lightest-grey);
    font-size: 18px;
    color: var(--black);
}

.result-test__head-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(111deg, #2e2e2e 0%, #484848 100%);
    padding: 160px 0 170px 50px;
}

.result-test__head-title {
    position: relative;
    font-weight: 700;
    font-size: 40px;
    color: var(--white);
    z-index: 1;
}

.result-test__head-list {
    position: relative;
    z-index: 1;
}

.result-test__head-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.result-test__head-list-wrap li {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
}

.result-test__head-list li::before {
    content: '';
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.result-test__head-list li.innovator::before {
    background: url('../img/psycho-test/icons/inovator.svg') no-repeat 0 0 / cover;
}

.result-test__head-list li.admin::before {
    background: url('../img/psycho-test/icons/admin.svg') no-repeat 0 0 / cover;
}

.result-test__head-list li.human::before {
    background: url('../img/psycho-test/icons/person.svg') no-repeat 0 0 / cover;
}

.result-test__head-list li.symbol::before {
    background: url('../img/psycho-test/icons/symbol.svg') no-repeat 0 0 / cover;
}

.result-test__head-list li.tech::before {
    background: url('../img/psycho-test/icons/technique.svg') no-repeat 0 0 / cover;
}

.result-test__head-list li.manufacturer::before {
    background: url('../img/psycho-test/icons/manufacturer.svg') no-repeat 0 0 / cover;
}

.result-test__texts-intro {
    position: relative;
    flex: 1;
    min-width: 0;
}

.result-test__main-box {
    position: relative;
}

.result-test__main-item {
    position: relative;
    margin-bottom: 30px;
}

.result-test__main-text {
    font-weight: 400;
    font-size: 18px;
    max-width: 600px;
    position: relative;
    padding-left: 30px;
}

.result-test__main-text:before {
    background-image: url('../img/icons/check-yellow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 13px;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 26px;
    height: 26px;
}

.result-test__main-content_container {
    align-self: flex-start;
    max-width: 592px;
    background-color: var(--main-yellow);
    padding: 50px 30px;
}

.result-test__main {
    margin-bottom: 60px;
    position: relative;
}

.more-show {
    position: relative;
    opacity: 1;
}

.result-test__texts-intro:not(:has(.result-test__main-item_extra)) .result-test__main-more {
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
    visibility: hidden;
    pointer-events: none;
}

.result-test__main-more.is-opened {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.5s ease,
        max-height 0.5s ease,
        margin-top 0.5s ease,
        padding 0.5s ease,
        visibility 0s linear 0.5s;
}

.result-test__texts-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.result-test__main-navigation-button {
    width: 46px;
    height: stretch;
    padding: 0;
}

@media (min-width: 1025px) {
    .result-test__main-item_extra {
        overflow: hidden;
        transition:
            max-height 0.55s ease,
            opacity 0.45s ease,
            margin-bottom 0.45s ease;
    }

    .result-test__main-box:not(.is-expanded) .result-test__main-item_extra {
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .result-test__main-box.is-expanded .result-test__main-item_extra {
        max-height: 1600px;
        opacity: 1;
        margin-bottom: 30px;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 1024px) {
    .result-test__texts-container {
        display: block;
    }

    .result-test__main-content_container {
        position: relative;
        max-width: 100%;
        margin-top: 30px;
        height: fit-content;
    }

    .result-test__main-more {
        display: none;
    }

    .result-test__main-navigation {
        display: flex;
    }
}

@media (max-width: 600px) {
    .result-test__head-content {
        padding: 20px 0 20px 20px;
    }

    .result-test__head-title {
        font-size: 26px;
    }

    .result-test__head-list-wrap {
        gap: 15px;
    }

    .result-test__head-list-wrap li {
        font-weight: 600;
        font-size: 16px;
    }

    .result-test__head-list li::before {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .result-test__main-content_container {
        padding: 20px;
    }
}

/* Acco result */

.result-test .wrapper {
    overflow: visible;
}

.result-test,
.result-test__main,
.result-test__texts-container,
.result-test__main-box {
    max-width: 100%;
}

.result-test__suits-row {
    position: relative;
}

.result-test__suits-col {
    margin-bottom: 26px;
    background: var(--dark-grey);
    padding: 40px 25px;
}

.result-test__suits-item {
    display: grid;
    grid-template-columns: min-content 1fr 1fr;
}

.result-test__suits-arrow {
    display: none;
}

.result-test__suits-arrow-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.5s ease;
}

.result-test__suits-correspondence {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid var(--grey2);
    padding-right: 20px;
}

.result-test__suits-col-title {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--white);
}

.result-test__suits-col-badge {
    width: fit-content;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    background-color: var(--grey2);
    padding: 10px 15px;
}

.result-test__suits-correspondence-number {
    display: inline-block;
    font-weight: 700;
    font-size: 40px;
    color: var(--white);
}

.result-test__suits-desc {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-right: 1px solid var(--grey2);
    padding: 0 50px;
}

.result-test__suits-desc-subtitle {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
}

.result-test__suits-desc-text {
    font-size: 18px;
    color: var(--lightest-grey2);
}

.result-test__suits-info {
    padding-left: 50px;
}

.result-test__suits-info-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.result-test__suits-content {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    display: none;
}

.result-test__suits-info-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.result-test__suits-info-button {
    display: block;
    margin-top: auto;
}

.result-test__suits-info-button.button-tab {
    display: none;
}
.result-test .result-test-info {
    flex: 0 0 auto;
    position: relative;
    right: -5px;
    top: -2px;
    cursor: pointer;
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    line-height: 0px;
}
.result-test .result-test-info__popup {
    background: #fff;
    padding: 35px;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 588px;
    height: fit-content;
    display: none;
    z-index: 10;
    border: 1px solid;
}

.result-test .result-test-info:after {
    content: url('../img/icons/tooltip.svg');
}

.result-test .result-test-info__popup {
    background-color: var(--white);
    padding: 35px;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 588px;
    height: fit-content;
    display: none;
    z-index: 10;
    border: 1px solid;
}

.result-test .result-test-info__popup p {
    font-size: 16px;
    font-weight: 300;
    line-height: 21px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.result-test .result-test-info__popup span {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

@media (max-width: 1200px) {
    .result-test__suits-desc,
    .result-test__suits-info {
        padding: 0 28px;
    }

    .result-test__suits-correspondence-number {
        font-size: 32px;
    }

    .result-test__suits-desc-subtitle {
        font-size: 20px;
    }

    .result-test__suits-desc-text {
        font-size: 16px;
    }
}

@media (max-width: 1100px) {
    .result-test__suits-info-text {
        max-width: 200px;
        align-items: flex-start;
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .result-test__suits-info-button.button-tab {
        display: inline-block;
        margin-top: 37px;
    }

    .result-test__suits-info-button,
    .result-test__suits-desc-text {
        display: none;
    }
}

@media (max-width: 850px) {
    .result-test__suits-desc-subtitle {
        font-size: 16px;
    }

    .result-test__suits-correspondence-number {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .result-test .result-test-info {
        display: none;
    }

    .result-test__suits-col {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #a9a9a9;
    }

    .result-test__suits-item {
        position: relative;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        padding-right: 24px;
    }

    .result-test__suits-arrow {
        display: inline-flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .result-test .accoMob.active .result-test__suits-arrow-icon {
        transform: rotate(-180deg);
    }

    .result-test__suits-content {
        color: var(--white);
    }

    .result-test__suits-col-title,
    .result-test__suits-col-badge {
        display: none;
    }

    .result-test__suits-correspondence,
    .result-test__suits-desc {
        border: none;
    }

    .result-test__suits-col {
        padding: 20px;
    }

    .result-test__suits-correspondence,
    .result-test__suits-desc,
    .result-test__suits-info {
        padding: 0;
    }
}

@media (max-width: 800px) {
    .result-test {
        overflow-x: hidden;
    }

    .result-test .wrapper {
        overflow-x: hidden;
    }

    .result-test__texts-container > div {
        min-width: 0;
    }

    .result-test .result-test-info__popup {
        right: 0;
        width: calc(100vw - 30px);
        max-width: 588px;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .result-test__suits-desc-subtitle_prof {
        display: none;
    }

    .result-test__suits-item {
        grid-template-columns: min-content 1fr;
        align-items: center;
    }

    .result-test__suits-desc {
        display: none;
    }

    .result-test__suits-info-text {
        max-width: unset;
    }
}

@media (max-width: 375px) {
    .result-test__suits-correspondence-number {
        font-size: 18px;
    }

    .result-test__suits-item {
        gap: 10px;
    }
}

@media (max-width: 340px) {
    .result-test__suits-desc-subtitle,
    .result-test__suits-correspondence-number {
        font-size: 14px;
    }
}
