@import url("../fonts/life/fontslife3.css?v=4.005_lifefull");

/* Вакансии — в стилистике сайта (mint hero, Google Sans, soft cards).
   Без Figma absolute-раскладки. Desktop-first. */

.vacancies-page {
    --vacancies-green: #3ea74f;
    --vacancies-green-dark: #2f9342;
    --vacancies-text: #343333;
    --vacancies-muted: #5f5e5e;
    --vacancies-gray: #4d4d4d;
    --vacancies-bg: #ffffff;
    --vacancies-orange: #ee7b2d;
    --vacancies-orange-hover: #ff8f41;
    --vacancies-font: "Google Sans", Arial, sans-serif;
    --vacancies-font-life: "life-full", "LifeFull", "life4", "Life4", "life", "Life", "Google Sans", Arial, sans-serif;
    overflow: visible;
    background: var(--vacancies-bg);
    color: var(--vacancies-text);
    font-family: var(--vacancies-font);
}

.vacancies-page *,
.vacancies-page *::before,
.vacancies-page *::after {
    box-sizing: border-box;
}

.vacancies-page a,
.vacancies-page button,
.vacancies-page input,
.vacancies-page select,
.vacancies-page textarea {
    font-family: inherit;
}

.vacancies-page button,
.vacancies-page select {
    -webkit-tap-highlight-color: transparent;
}

.vacancies-page svg {
    display: block;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ——— Hero (mint, как page-hero-2026 / wards / documents) ——— */

.vacancies-hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    background: transparent;
    color: var(--vacancies-text);
}

.vacancies-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -160px;
    z-index: 0;
    width: 100vw;
    height: calc(100% + 160px);
    transform: translateX(-50%);
    background: linear-gradient(180deg, #e2ffe7 0%, #ffffff 100%);
    pointer-events: none;
}

.vacancies-hero > * {
    position: relative;
    z-index: 1;
}

.vacancies-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 40px 48px;
}

.vacancies-hero__breadcrumbs {
    display: none;
}

.vacancies-hero__decor {
    display: none !important;
}

.vacancies-hero__title-picture,
.vacancies-hero__title-svg {
    display: none !important;
}

.vacancies-hero__title,
.vacancies-hero__title-text {
    margin: 0;
    color: var(--vacancies-green);
    text-align: center;
    text-transform: none;
    font-family: var(--vacancies-font-life);
    font-weight: 400;
    font-size: clamp(72px, 9vw, 140px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.vacancies-hero__title-text {
    display: block;
    white-space: nowrap;
}

.vacancies-hero__text {
    max-width: 520px;
    margin: 28px 0 0;
    color: var(--vacancies-gray);
    text-align: center;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 400;
}

/* ——— Catalog ——— */

.vacancies-catalog {
    position: relative;
    z-index: 2;
    padding: 24px 0 80px;
    background: var(--vacancies-bg);
}

.vacancies-catalog__inner {
    width: calc(100% - 40px);
    max-width: 1400px;
    margin: 0 auto;
}

/* ——— Filter ——— */

.vacancies-filter {
    margin: 0 0 48px;
}

.vacancies-filter__search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 52px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vacancies-filter__search:focus-within {
    border-color: var(--vacancies-green);
    box-shadow: 0 0 0 2px rgba(62, 167, 79, 0.16);
}

.vacancies-filter__search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    z-index: 1;
    width: 22px;
    height: 22px;
    color: #b8b8b8;
    pointer-events: none;
    transform: translateY(-50%);
}

.vacancies-page .vacancies-filter__search input[type="search"] {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 160px 0 58px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--vacancies-text);
    font-size: 16px;
    line-height: 1.2;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.vacancies-page .vacancies-filter__search input[type="search"]::-webkit-search-decoration,
.vacancies-page .vacancies-filter__search input[type="search"]::-webkit-search-cancel-button,
.vacancies-page .vacancies-filter__search input[type="search"]::-webkit-search-results-button,
.vacancies-page .vacancies-filter__search input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.vacancies-page .vacancies-filter__search input[type="search"]::placeholder {
    color: #b3b3b3;
}

.vacancies-filter__submit {
    position: absolute;
    right: 8px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 38px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--vacancies-green);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.vacancies-filter__submit:hover {
    background: var(--vacancies-green-dark);
    transform: translateY(calc(-50% - 1px));
}

.vacancies-filter__selects {
    display: grid;
    grid-template-columns: 180px 180px 180px;
    gap: 14px;
    margin-top: 18px;
}

.vacancies-filter__select-label {
    position: relative;
    display: block;
}

.vacancies-filter__select-label::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 5px;
    margin-top: -2px;
    background: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L7 1' stroke='%23343333' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}

.vacancies-filter__select-label select {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 34px 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #ffffff;
    color: var(--vacancies-text);
    font-size: 14px;
    line-height: 1;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vacancies-filter__select-label select:focus {
    border-color: var(--vacancies-green);
    box-shadow: 0 0 0 2px rgba(62, 167, 79, 0.16);
}

/* ——— Grid / cards ——— */

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
    margin: 0;
    padding: 4px 0 0;
}

.vacancy-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 360px;
    padding: 28px 28px 26px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--vacancies-text);
    text-align: left;
    box-shadow: 0 6px 44px rgba(62, 167, 79, 0.12);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.vacancy-card:hover {
    box-shadow: 0 10px 40px rgba(62, 167, 79, 0.2);
    transform: translateY(-2px);
}

.vacancy-card.is-hidden {
    display: none !important;
}

.vacancy-card__tag,
.vacancy-modal-source__tag,
.vacancy-apply-modal__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 7px 16px;
    border: 1px solid var(--vacancies-green);
    border-radius: 999px;
    color: var(--vacancies-text);
    font-size: 13px;
    line-height: 1;
    font-weight: 400;
}

.vacancy-card__tag {
    margin-bottom: 28px;
}

.vacancy-card__title {
    width: 100%;
    min-height: 0;
    margin: 0 0 22px;
    color: var(--vacancies-text);
    font-size: 28px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-align: left;
}

.vacancy-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    margin: auto 0 24px;
    padding: 0;
    list-style: none;
}

.vacancy-card__meta li {
    position: relative;
    padding-left: 14px;
    color: var(--vacancies-muted);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;
}

.vacancy-card__meta li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--vacancies-green);
}

.vacancy-card__btn,
.vacancy-modal__respond,
.vacancy-apply-form__submit,
.vacancies-cta__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 148px;
    height: 44px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--vacancies-green);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.vacancy-card__btn:hover,
.vacancy-modal__respond:hover {
    background: var(--vacancies-green-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.vacancies-empty {
    max-width: 800px;
    margin: 36px auto 0;
    color: var(--vacancies-muted);
    text-align: center;
    font-size: 18px;
    line-height: 1.35;
}

/* ——— Pagination ——— */

.vacancies-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 56px 0 0;
}

.vacancies-pagination[hidden] {
    display: none !important;
}

.vacancies-pagination__item,
.vacancies-pagination__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    background: transparent;
    color: #9c9c9c;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vacancies-pagination__arrow {
    background: #cfcfcf;
    color: #ffffff;
    border-color: #cfcfcf;
}

.vacancies-pagination__item:hover,
.vacancies-pagination__arrow:hover,
.vacancies-pagination__item.is-active {
    background: #606060;
    border-color: #606060;
    color: #ffffff;
}

.vacancies-pagination__arrow.is-disabled {
    opacity: 0.7;
    pointer-events: none;
}

/* ——— CTA (grid flow, не absolute) ——— */

.vacancies-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(200px, 280px) minmax(320px, 460px);
    align-items: center;
    gap: 28px 32px;
    width: 100%;
    max-width: 1400px;
    min-height: 420px;
    margin: 72px auto 0;
    padding: 48px 56px;
    border-radius: 16px;
    background: var(--vacancies-green);
    color: #ffffff;
    overflow: hidden;
}

.vacancies-cta__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
}

.vacancies-cta__title {
    max-width: 420px;
    margin: 0;
    color: #ffffff;
    text-align: left;
    font-size: 44px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.vacancies-cta__text {
    max-width: 380px;
    margin: auto 0 0;
    color: #ffffff;
    text-align: left;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 400;
}

.vacancies-cta__decor,
.vacancies-cta__decor--kites {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 280px;
    height: auto;
    align-self: end;
    justify-self: center;
    pointer-events: none;
}

.vacancies-cta__decor img,
.vacancies-cta__decor--kites img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scaleX(-1);
}

.vacancies-cta__form {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    justify-self: end;
    min-width: 0;
}

.vacancies-cta__field {
    margin: 0;
}

.vacancies-cta__field input,
.vacancy-apply-form__field input,
.vacancy-apply-form__field textarea {
    display: block;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    color: var(--vacancies-text);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vacancies-cta__field input,
.vacancy-apply-form__field input {
    height: 48px;
    padding: 0 16px;
}

.vacancy-apply-form__field textarea {
    height: 120px;
    min-height: 120px;
    padding: 16px;
    resize: vertical;
}

.vacancies-cta__field input::placeholder,
.vacancy-apply-form__field input::placeholder,
.vacancy-apply-form__field textarea::placeholder {
    color: rgba(52, 51, 51, 0.38);
}

.vacancies-cta__field input:focus,
.vacancy-apply-form__field input:focus,
.vacancy-apply-form__field textarea:focus {
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.vacancy-apply-form__field input:focus,
.vacancy-apply-form__field textarea:focus {
    border-color: var(--vacancies-green);
    box-shadow: 0 0 0 2px rgba(62, 167, 79, 0.18);
}

.vacancies-cta__agree,
.vacancy-apply-form__agree {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 4px;
    cursor: pointer;
}

.vacancies-cta__agree input,
.vacancy-apply-form__agree input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vacancies-cta__agree span,
.vacancy-apply-form__agree span {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
}

.vacancy-apply-form__agree span {
    border-color: #9c9c9c;
}

.vacancies-cta__agree span::after,
.vacancy-apply-form__agree span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    opacity: 0;
    transform: rotate(45deg);
}

.vacancy-apply-form__agree span::after {
    border-color: var(--vacancies-green);
}

.vacancies-cta__agree input:checked + span,
.vacancy-apply-form__agree input:checked + span {
    background: var(--vacancies-orange);
    border-color: var(--vacancies-orange);
}

.vacancies-cta__agree input:checked + span::after,
.vacancy-apply-form__agree input:checked + span::after {
    opacity: 1;
    border-color: #ffffff;
}

.vacancies-cta__agree em,
.vacancy-apply-form__agree em {
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
}

.vacancy-apply-form__agree em {
    color: #9c9c9c;
}

.vacancies-cta__agree a,
.vacancy-apply-form__agree a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vacancies-cta__submit,
.vacancy-apply-form__submit,
.vacancy-modal__respond {
    background: var(--vacancies-orange);
}

.vacancies-cta__submit:hover,
.vacancy-apply-form__submit:hover,
.vacancy-modal__respond:hover {
    background: var(--vacancies-orange-hover);
    transform: translateY(-1px);
}

.vacancies-cta__submit {
    min-width: 200px;
    height: 48px;
    margin-top: 6px;
    font-size: 14px;
}

/* ——— Modals ——— */

.vacancy-modal-source {
    display: none;
}

body.vacancy-modal-open {
    overflow: hidden;
}

.vacancy-modal,
.vacancy-apply-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vacancy-apply-modal {
    z-index: 1001;
}

.vacancy-modal.is-active,
.vacancy-apply-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.vacancy-modal__overlay,
.vacancy-apply-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 51, 51, 0.72);
}

.vacancy-modal__dialog,
.vacancy-apply-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(780px, 100%);
    max-height: calc(100vh - 60px);
    overflow: auto;
    border-radius: 16px;
    background: #ffffff;
    color: var(--vacancies-text);
    -webkit-overflow-scrolling: touch;
}

.vacancy-modal__dialog {
    padding: 32px 32px 40px;
}

.vacancy-apply-modal__dialog {
    width: min(680px, 100%);
    padding: 32px;
}

.vacancy-modal__close,
.vacancy-apply-modal__close {
    position: absolute;
    right: 28px;
    top: 28px;
    z-index: 3;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vacancy-modal__close:hover,
.vacancy-apply-modal__close:hover {
    transform: rotate(90deg);
}

.vacancy-modal__content {
    max-width: 700px;
    color: var(--vacancies-muted);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 400;
}

.vacancy-modal__content .vacancy-modal-source__tag {
    margin-bottom: 22px;
}

.vacancy-modal__content h2,
.vacancy-apply-modal__title {
    max-width: 620px;
    margin: 0 0 16px;
    padding-right: 36px;
    color: var(--vacancies-text);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.vacancy-modal__content h3 {
    margin: 28px 0 12px;
    color: var(--vacancies-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}

.vacancy-modal__content p {
    margin: 0 0 18px;
}

.vacancy-modal__content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.vacancy-modal__content li {
    position: relative;
    padding-left: 18px;
}

.vacancy-modal__content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vacancies-green);
}

.vacancy-modal__content a {
    color: var(--vacancies-green-dark);
    text-decoration: underline;
}

.vacancy-modal__respond {
    margin-top: 20px;
}

.vacancy-apply-modal__category {
    margin-bottom: 22px;
}

.vacancy-apply-form__field {
    margin-bottom: 8px;
}

.vacancy-apply-form__file {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    margin-bottom: 16px;
    border: 1px dashed #9c9c9c;
    border-radius: 8px;
    background: var(--vacancies-bg);
    cursor: pointer;
}

.vacancy-apply-form__file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.vacancy-apply-form__file-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #d6d6d6;
    color: var(--vacancies-text);
    font-size: 20px;
    line-height: 1;
}

.vacancy-apply-form__file-text {
    color: #9c9c9c;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}

/* ========================================================================
   Tablet ≤1199
   ======================================================================== */

@media (max-width: 1199px) {
    .vacancies-hero__inner {
        padding: 56px 24px 36px;
    }

    .vacancies-hero__title,
    .vacancies-hero__title-text {
        font-size: clamp(64px, 11vw, 96px);
        white-space: normal;
    }

    .vacancies-hero__text {
        max-width: 480px;
        margin-top: 20px;
        font-size: 18px;
    }

    .vacancies-catalog {
        padding: 12px 0 64px;
    }

    .vacancies-catalog__inner {
        width: calc(100% - 40px);
        max-width: 960px;
    }

    .vacancies-filter {
        margin-bottom: 32px;
    }

    .vacancies-filter__selects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 560px;
    }

    .vacancies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .vacancy-card {
        min-height: 0;
        padding: 24px;
    }

    .vacancy-card__title {
        font-size: 24px;
    }

    .vacancies-cta {
        grid-template-columns: minmax(220px, 1fr) minmax(160px, 200px) minmax(280px, 360px);
        gap: 20px 24px;
        min-height: 0;
        margin-top: 56px;
        padding: 36px 32px;
    }

    .vacancies-cta__title {
        font-size: 34px;
    }

    .vacancies-cta__text {
        display: block;
        margin-top: 20px;
        font-size: 15px;
    }

    .vacancies-cta__decor,
    .vacancies-cta__decor--kites {
        max-width: 200px;
    }

    .vacancies-cta__form {
        max-width: 360px;
    }

    .vacancies-cta__field input {
        height: 44px;
        font-size: 14px;
    }
}

/* ========================================================================
   Narrow tablet / large phone ≤991
   ======================================================================== */

@media (max-width: 991px) {
    .vacancies-hero__inner {
        padding: 52px 20px 28px;
    }

    .vacancies-hero__title,
    .vacancies-hero__title-text {
        font-size: clamp(56px, 12vw, 80px);
    }

    .vacancies-hero__text {
        max-width: 420px;
        font-size: 16px;
    }

    .vacancies-catalog__inner {
        width: calc(100% - 32px);
        max-width: 720px;
    }

    .vacancies-grid {
        gap: 16px;
    }

    .vacancy-card {
        min-height: 0;
    }

    .vacancies-cta {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "content form"
            "decor form";
        align-items: start;
        gap: 16px 24px;
        padding: 32px 28px;
    }

    .vacancies-cta__content {
        grid-area: content;
    }

    .vacancies-cta__text {
        margin-top: 14px;
    }

    .vacancies-cta__decor,
    .vacancies-cta__decor--kites {
        grid-area: decor;
        max-width: 160px;
        justify-self: start;
        align-self: end;
    }

    .vacancies-cta__form {
        grid-area: form;
        max-width: none;
        justify-self: stretch;
    }
}

/* ========================================================================
   Mobile ≤767
   ======================================================================== */

@media (max-width: 767px) {
    .vacancies-hero__inner {
        padding: 48px 16px 24px;
    }

    .vacancies-hero__title,
    .vacancies-hero__title-text {
        max-width: 100%;
        font-size: clamp(48px, 14vw, 64px);
        white-space: normal;
    }

    .vacancies-hero__text {
        max-width: 320px;
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.35;
    }

    .vacancies-catalog {
        padding: 8px 0 48px;
    }

    .vacancies-catalog__inner {
        width: calc(100% - 32px);
        max-width: none;
    }

    .vacancies-filter {
        margin-bottom: 20px;
    }

    .vacancies-filter__search {
        display: block;
        height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .vacancies-filter__search:focus-within {
        border-color: transparent;
        box-shadow: none;
    }

    .vacancies-filter__search-icon {
        left: 14px;
        top: 22px;
    }

    .vacancies-page .vacancies-filter__search input[type="search"] {
        height: 48px;
        padding: 0 14px 0 44px;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        background: #ffffff;
        font-size: 16px;
    }

    .vacancies-page .vacancies-filter__search input[type="search"]:focus {
        border-color: var(--vacancies-green);
        box-shadow: 0 0 0 2px rgba(62, 167, 79, 0.16);
    }

    .vacancies-filter__submit {
        position: static;
        display: flex;
        width: 100%;
        min-width: 0;
        height: 44px;
        margin-top: 10px;
        transform: none;
        font-size: 13px;
    }

    .vacancies-filter__submit:hover {
        transform: none;
    }

    .vacancies-filter__selects {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
        max-width: none;
    }

    .vacancies-filter__select-label select {
        height: 44px;
        font-size: 15px;
    }

    .vacancies-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vacancy-card {
        padding: 20px;
        border-radius: 14px;
    }

    .vacancy-card:hover {
        transform: none;
    }

    .vacancy-card__tag {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .vacancy-card__title {
        margin-bottom: 14px;
        font-size: 22px;
    }

    .vacancy-card__meta {
        margin-bottom: 18px;
    }

    .vacancy-card__meta li {
        font-size: 14px;
    }

    .vacancy-card__btn {
        min-width: 140px;
        height: 42px;
        font-size: 13px;
    }

    .vacancies-pagination {
        margin-top: 32px;
    }

    .vacancies-cta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin-top: 40px;
        padding: 28px 20px;
        border-radius: 14px;
    }

    .vacancies-cta__decor,
    .vacancies-cta__decor--kites {
        display: none;
    }

    .vacancies-cta__content {
        margin: 0 0 20px;
    }

    .vacancies-cta__title {
        max-width: none;
        margin: 0 0 12px;
        font-size: 28px;
        line-height: 1.1;
    }

    .vacancies-cta__text {
        max-width: none;
        margin: 0;
        font-size: 15px;
        line-height: 1.35;
    }

    .vacancies-cta__form {
        max-width: none;
        gap: 8px;
    }

    .vacancies-cta__field input {
        height: 48px;
        font-size: 16px;
    }

    .vacancies-cta__agree {
        margin: 6px 0 10px;
    }

    .vacancies-cta__agree em {
        font-size: 13px;
        line-height: 1.35;
    }

    .vacancies-cta__submit {
        width: 100%;
        max-width: 220px;
        height: 48px;
        margin: 0;
        font-size: 14px;
    }

    .vacancy-modal,
    .vacancy-apply-modal {
        padding: 12px;
        align-items: flex-start;
    }

    .vacancy-modal__dialog,
    .vacancy-apply-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        margin: auto 0;
        padding: 24px 18px 28px;
        border-radius: 14px;
    }

    .vacancy-modal__close,
    .vacancy-apply-modal__close {
        right: 16px;
        top: 16px;
        width: 24px;
        height: 24px;
    }

    .vacancy-modal__close svg,
    .vacancy-apply-modal__close svg {
        width: 24px;
        height: 24px;
    }

    .vacancy-modal__content {
        font-size: 15px;
    }

    .vacancy-modal__content h2,
    .vacancy-apply-modal__title {
        font-size: 24px;
    }

    .vacancy-modal__content h3 {
        font-size: 18px;
    }

    .vacancy-apply-form__field input {
        height: 48px;
        font-size: 16px;
    }

    .vacancy-apply-form__agree em {
        font-size: 13px;
        line-height: 1.35;
    }
}
