.lang h2:not(.lang__title) {
    margin-bottom: 0;
}

.lang__wrapper {
    display: flex;
    align-items: center;
    gap: 33px;
    margin-bottom: 70px;
}

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

.lang__img-wrap {
    flex-shrink: 0;
    max-width: 62px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
}

.tab__button.active {
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .lang__wrapper {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    .lang__blocks {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .static-banner__subTitle {
        font-weight: 700;
        color: var(--yellow5);
        background-color: transparent;
        padding: 0;
        margin-bottom: 22px;
    }

    .lang__img-wrap {
        max-width: 44px;
    }
}

/* Stages */

.stages__panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stages__block {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    background-color: var(--lightest-grey);
    padding: 50px 40px;
}

.stages__step {
    font-weight: 700;
    font-size: 76px;
    color: var(--grey14);
}

.stages__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stages__title {
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
}

.stages__text {
    font-size: 18px;
}

.stages__accent {
    font-weight: 700;
}

.stages__link {
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    transition: all 0.3s ease;
}

.stages__link:hover {
    opacity: 0.8;
}

.stages__list {
    margin: 8px 0 20px 0;
}

.stages__list_count {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 20px 0;
    counter-reset: step-counter;
}

.stages__list_count li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
    counter-increment: step-counter;
}

.stages__list_count li::before {
    content: counter(step-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
}

.stages__list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
}

.stages__list li::before {
    content: '–';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--grey);
    font-weight: normal;
}

.stages__content-title {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.stages__wrap {
    margin-bottom: 20px;
}

.stages__download {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.stages__more {
    align-self: flex-start;
    font-weight: 700;
    font-size: 18px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
}

.stages__content-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.stages__content-inner.active {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.stages__docs-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.stages__icon {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .stages__block {
        gap: 30px;
        padding: 30px 20px;
    }

    .stages__title {
        font-size: 20px;
    }

    .stages__step {
        font-size: 56px;
    }

    .stages__content {
        gap: 15px;
    }
}

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

    .stages__text,
    .stages__content-title {
        font-size: 16px;
    }
    .stages__docs-wrap {
        align-items: flex-start;
    }
}

@media (max-width: 375px) {
    .stages__title {
        font-size: 18px;
    }
}

/* Info doc */

.info-doc__wrapper {
    padding: 40px 30px;
    background-color: var(--grey2);
}

.info-doc__title {
    font-weight: 700;
    font-size: 40px;
    color: var(--white);
}

.info-doc__title_accent {
    text-transform: uppercase;
}

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

.info-doc__block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-doc__img-wrap {
    max-width: 42px;
}

.info-doc__list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-doc__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
    color: var(--white);
}

.info-doc__desc {
    max-width: 565px;
    font-weight: 700;
    font-size: 24px;
    color: var(--grey2);
    background-color: var(--main-yellow);
    padding: 32px 40px;
}

@media (max-width: 1024px) {
    .info-doc__title {
        font-size: 30px;
    }

    .info-doc__desc {
        max-width: 435px;
        font-size: 22px;
    }
}

@media (max-width: 973px) {
    .static-banner__subTitle {
        font-weight: 500;
        font-size: 16px;
        margin-bottom: 4px;
    }
}

@media (max-width: 768px) {
    .info-doc__title {
        font-size: 24px;
    }

    .info-doc__blocks {
        flex-direction: column;
    }

    .info-doc__desc {
        font-size: 20px;
        max-width: 100%;
        padding: 20px;
    }

    .info-doc__wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 425px) {
    .info-doc__block {
        flex-direction: column;
    }
}

@media (max-width: 375px) {
    .info-doc__title {
        font-size: 20px;
    }
}

/* Popup */

.popup__list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popup__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
}

.popup__list li .bullet {
    background-color: var(--grey);
}

.popup__title {
    line-height: 1.2;
}

@media (max-width: 425px) {
    .popup-doc-migrant {
        padding: 15px 8px;
    }
}
