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

:root {
    --vac-blue: #23476c;
    --vac-blue-dark: #153c61;
    --vac-blue-mid: #2e5985;
    --vac-cyan: #2CB6BF;
    --vac-cyan-light: #e0eeef;
    --vac-text: #16395b;
    --vac-muted: #5f778d;
    --vac-border: #8ed8df;
    --vac-white: #fff;
    --vac-container: 1030px;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

.vac-container {
    width: min(calc(100% - 40px),var(--vac-container));
    margin-inline: auto;
}

.topline {
    background: #f3fbfc;
    color: var(--vac-blue);
    font-size: 13px;
}

.top-line__inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}

.topline__brand {
    margin-right: auto;
}

.topline__callback {
    color: var(--vac-cyan);
    text-decoration: underline;
}

.main-header {
    background: var(--vac-cyan);
    color: #fff;
}

.main-header__inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--vac-cyan);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
}

.logo__icon {
    color: var(--vac-cyan);
    font-size: 32px;
}

.logo__text {
    color: var(--vac-blue);
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    transition: opacity .2s ease;
}

.main-nav a:hover {
    opacity: .7;
}

.mobile-burger {
    display: none;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    padding: 26px 0 20px;
    color: #74b9c5;
    font-size: 12px;
}

.vacancy-hero {
    position: relative;
    overflow: hidden;
    background: var(--vac-blue);
    color: #fff;
}

.vacancy-hero::before, .resume-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .75;
    pointer-events: none;
    background: url(../images/vacfon.png) no-repeat center;
}

.vacancy-hero .vac-container {
    position: relative;
    z-index: 1;
}

.vacancy-hero__grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.section-tag {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 25px;
    background: var(--vac-blue);
    color: #fff;
    font-size: 12px;
    letter-spacing: .02em;
}

.section-tag--dark {
    background: rgba(255, 255, 255, .20);
}

.vacancy-hero h1 {
    margin: 0 0 32px;
    font-size: 36px;
    line-height: 48px;
    font-weight: 800;
    text-transform: uppercase;
}

.vacancy-hero__stats {
    display: flex;
    gap: 56px;
    margin-bottom: 32px;
}

.vacancy-hero__stats strong {
    display: block;
    color: var(--vac-cyan);
    font-size: 46px;
    line-height: 1;
    font-weight: 500;
}

.vacancy-hero__stats span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
}

.vacancy-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    height: 58px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    color: #fff;
    background: var(--vac-cyan);
    font-size: 16px;
    line-height: 1;
    text-align: center;
    transition: background .2s ease,border-color .2s ease,color .2s ease;
}

.btn--primary {
    background: var(--vac-cyan);
}

.btn--primary:hover {
    background: #22a4ad;
}

.btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,.75);
}

.btn--outline:hover {
    background: #fff;
    color: var(--vac-blue);
}

.vacancy-hero__panel {
    padding: 32px 38px;
    background: rgba(255,255,255,.17);
    color: #fff;
}

.vacancy-hero__panel h2 {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
}

.vacancy-hero__panel ul {
    display: grid;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.vacancy-hero__panel strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 28px;
    font-weight: 700;
}

.vacancy-hero__panel span {
    color: rgba(255, 255, 255, .60);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.vacancies-section {
    padding: 78px 0 88px;
}

.section-head {
    max-width: 610px;
    margin-bottom: 44px;
    margin-left: 45px;
}

.section-kicker {
    display: block;
    margin-bottom: 15px;
    color: var(--vac-cyan);
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: 500;
}

.section-kicker--light {
    color: rgba(255,255,255,.75);
}

.section-head h2, .resume-form h2 {
    margin: 0 0 18px;
    color: #0e7eb0;
    font-size: 30px;
    line-height: 167%;
    text-transform: uppercase;
}

.section-head p, .resume-form p {
    margin: 0;
    color: #000;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.vacancy-cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    margin-inline: auto;
}

.vacancy-card {
    position: relative;
    min-height: 486px;
    display: flex;
    flex-direction: column;
    padding: 34px 38px 32px;
    border: 1px solid var(--vac-cyan);
    background: #fff;
}

.vacancy-card:hover {
    background: var(--vac-cyan-light);
    border-color: var(--vac-cyan-light);
}

.vacancy-card__badge {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    margin-bottom: 26px;
    background: var(--vac-blue);
    color: #fff;
    font-size: 12px;
}

.vacancy-card h3 {
    margin: 0 0 10px;
    color: var(--vac-blue);
    font-size: 20px;
    line-height: 1.25;
}

.vacancy-card__place {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    font-weight: 300;
}

.vacancy-card__salary {
    display: block;
    margin-bottom: 22px;
    color: var(--vac-cyan);
    font-size: 28px;
    line-height: 28px;
    text-transform: uppercase;
}

.vacancy-card ul {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

.vacancy-card li {
    position: relative;
    padding-left: 20px;
    color: #23476c;
    font-size: 16px;
    line-height: 24px;
}

.vacancy-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 6px;
    height: 6px;
    background: var(--vac-cyan);
}

.vacancy-card__btn {
    width: 178px;
    height: 52px;
    margin-top: auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vac-cyan);
    color: #fff;
    font-size: 16px;
}

.vacancy-card__btn:hover {
    background: #22a4ad;
}

.benefits-section {
    padding: 82px 0 92px;
    background: var(--vac-cyan-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 32px;
}

.benefits-grid article {
    min-height: 176px;
    padding: 40px 44px;
    border: 1px solid var(--vac-cyan);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.benefits-grid h3 {
    color: var(--vac-blue);
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
}

.benefits-grid p {
    margin: 0;
    color: #315574;
    font-size: 16px;
    line-height: 24px;
}

.life-section {
    padding: 92px 0 88px;
}

.life-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 34px;
}

.position_2.news_active {
    color: white;
    background: rgb(44, 88, 131);
    font-size: 20px;
    height: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 15px 39px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(44, 88, 131);
    border-image: initial;
    transition: 0.3s;
}

.position_2.news_active::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -17px;
    transform: translateX(-50%);
    border-width: 11px 6px 6px;
    border-style: solid;
    border-color: rgb(44, 88, 131) transparent transparent;
    border-image: initial;
    border-top: 11px solid rgb(44, 88, 131);
    transition: 0.3s;
}

.life-tabs button.is-active {
    background: var(--vac-blue);
    color: #fff;
    border-color: var(--vac-blue);
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 58px;
    padding-bottom: 54px;
    border-bottom: 1px solid var(--vac-cyan);
}

.life-grid h3 {
    min-height: 45px;
    margin: 0 0 28px;
    color: var(--vac-blue);
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
}

.life-grid p {
    margin: 0;
    color: #6C6C6C;
    font-size: 18px;
    line-height: 26px;
}

.life-more {
    display: inline-flex;
    margin-top: 28px;
    color: var(--vac-blue);
    font-size: 18px;
    gap: 10px;
}

.resume-form__head {
    margin-bottom: 34px;
}

.resume-form input, .resume-form select {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-bottom: 2px solid var(--vac-cyan);
    border-radius: 0;
    background: transparent;
    color: #fff;
    outline: 0;
}

.resume-form select option {
    color: var(--vac-blue);
}

.resume-form input[type=file] {
    padding-top: 12px;
    font-size: 13px;
}

.resume-form .btn {
    width: 100%;
    min-width: 0;
    height: 58px;
}

.resume-check {
    margin-top: 24px;
}

.resume-check span {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1px solid var(--vac-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-check span::after {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--vac-cyan);
    opacity: 0;
}

.site-footer {
    padding: 62px 0 70px;
    background: var(--vac-cyan-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .7fr 1.3fr;
    gap: 44px;
}

.logo--footer {
    margin-bottom: 18px;
}

.site-footer h3 {
    margin: 0 0 18px;
    color: var(--vac-blue);
    font-size: 14px;
    text-transform: uppercase;
}

.site-footer a, .site-footer p {
    display: block;
    margin: 0 0 10px;
    color: var(--vac-blue);
    font-size: 14px;
    line-height: 1.45;
}

.resume-section {
    position: relative;
    overflow: visible;
    padding: 80px 0 78px;
    background: var(--vac-blue);
    color: #fff;
}

.resume-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .75;
    pointer-events: none;
    background: url(../images/vacfon.png) no-repeat center;
   
}

.resume-section .vac-container {
    position: relative;
    z-index: 2;
}

.resume-form {
    max-width: 1030px;
    margin: 0 auto;
}

.resume-form__head {
    margin: 0 0 56px 45px;
}

.resume-form h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 30px;
    line-height: 35px;
    font-weight: 700;
    text-transform: uppercase;
}

.resume-form p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 17px;
    font-weight: 400;
}

.resume-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 54px;
    align-items: start;
}

.resume-field, .resume-file {
    position: relative;
    display: block;
}

.resume-form label {
    display: block;
    gap: 0;
}

.resume-field span, .resume-file__label {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 23px;
    font-weight: 400;
}

.resume-field input {
    width: 100%;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-bottom: 4px solid var(--vac-cyan);
    border-radius: 0;
    background: transparent;
    color: #fff;
    outline: none;
    font-size: 16px;
    line-height: 20px;
}

.resume-field input:focus {
    border-bottom-color: #62d6dc;
}

.resume-select {
    position: relative;
    z-index: 20;
}

.resume-select__button {
    width: 100%;
    height: 57px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: start;
    gap: 14px;
    padding: 0;
    border: 0;
    border-bottom: 4px solid var(--vac-cyan);
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: left;
}

.resume-select__button span {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    line-height: 23px;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resume-select__button svg {
    margin-top: 8px;
    color: var(--vac-cyan);
    transition: transform .2s ease;
}

.resume-select.is-open .resume-select__button svg {
    transform: rotate(180deg);
}

.resume-select__dropdown {
    position: absolute;
    height:150px;
    overflow-y:scroll;
    left: 0;
    top: 100%;
    z-index: 30;
    width: 100%;
    display: none;
    padding: 20px 0;
    background: var(--vac-cyan-light);
    color: #000;
    box-shadow: 0 18px 32px rgba(0, 0, 0, .12);
}

.resume-select.is-open .resume-select__dropdown {
    display: block;
}

.resume-select__dropdown button {
    width: 100%;
    min-height: 29px;
    padding: 6px 22px;
    border: 0;
    background: transparent;
    color: #000;
    text-align: left;
    font-size: 12px;
    line-height: 17px;
    font-weight: 300;
}

.resume-select__dropdown button:hover, .resume-select__dropdown button.is-selected {
    color: rgba(0, 0, 0, .5);
}

.resume-file {
    padding-right: 36px;
    cursor: pointer;
}

.resume-file input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.resume-file__label {
    padding-right: 32px;
}

.resume-file__icon {
    position: absolute;
    width: 26px;
    height: 28px;
    color: #fff;
    pointer-events: none;
}

.resume-file__icon svg {
    display: block;
    width: 26px;
    height: 28px;
}

.resume-file em {
    display: block;
    margin-top: 28px;
    color: rgba(255, 255, 255, .6);
    font-style: normal;
    font-weight: 400;
}

.resume-submit {
    width: 100%;
    height: 60px;
    margin-top: 6px;
    border: 0;
    border-radius: 0;
    background: var(--vac-cyan);
    color: #fff;
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    transition: background .2s ease;
}

.resume-submit:hover {
    background: #22a4ad;
}

.resume-check {
    width: fit-content;
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 18px !important;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    cursor: pointer;
}

.resume-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.resume-check > span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid var(--vac-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-check > span::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--vac-cyan);
    opacity: 0;
}

.resume-check input:checked + span::after {
    opacity: 1;
}

.resume-check em {
    font-style: normal;
}

.resume-check a {
    color: rgba(255, 255, 255, .75);
    text-decoration: underline;
}

.resume-file {
    min-height: 94px;
    padding: 0 36px 0 0;
    border-bottom: 0;
    position: relative;
}

.resume-file::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 53px;
    height: 4px;
    background: var(--vac-cyan);
}

.resume-file__label {
    margin: 0;
    padding: 0 32px 0 0;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resume-file__icon {
    top: 0;
    right: 0;
}

.resume-file em {
    position: absolute;
    left: 0;
    top: 72px;
    margin: 0;
    font-size: 16px;
    line-height: 20px;
}

@media(max-width:1024px) {
    .main-header__inner {
        justify-content: space-between;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 96px;
        z-index: 20;
        display: none;
        padding: 18px 20px 22px;
        background: var(--vac-blue);
    }

    .main-nav.is-open {
        display: grid;
        gap: 6px;
    }

    .main-nav a {
        min-height: 38px;
    }

    .mobile-burger {
        width: 42px;
        height: 42px;
        border: 0;
        background: var(--vac-blue);
        display: grid;
        place-content: center;
        gap: 5px;
    }

    .mobile-burger span {
        width: 22px;
        height: 2px;
        background: #fff;
    }

    .vacancy-hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .vacancy-hero__panel {
        max-width: 420px;
    }

    .benefits-grid, .life-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .resume-form__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:767px) {
    .vac-container {
        width: min(calc(100% - 32px),460px);
    }

    .topline {
        display: none;
    }

    .main-header {
        background: #fff;
    }

    .main-header__inner {
        min-height: 56px;
    }

    .logo {
        font-size: 22px;
    }

    .logo__icon {
        font-size: 24px;
    }

    .mobile-burger {
        background: var(--vac-cyan);
    }

    .main-nav {
        top: 56px;
    }

    .breadcrumbs {
        padding: 16px 0 14px;
        font-size: 11px;
    }

    .vacancy-hero__grid {
        min-height: 0;
        padding: 32px 0 36px;
    }

    .vacancy-hero h1 {
        margin-bottom: 24px;
        font-size: 26px;
        line-height: 36px;
    }

    .vacancy-hero__stats {
        gap: 28px;
        margin-bottom: 22px;
    }

    .vacancy-hero__stats strong {
        font-size: 36px;
        line-height: 50px;
    }

    .vacancy-hero__stats span {
        line-height: 29px;
    }

    .vacancy-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        padding-top: 20px;
    }

    .vacancy-hero__panel {
        display: none;
    }

    .vacancies-section {
        padding: 42px 0 50px;
    }

    .section-head {
        margin-bottom: 28px;
        margin-left: 0;
    }

    .section-head h2, .resume-form h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .position_2.news_active {
        font-size: 17px;
    }

    .section-kicker {
        font-size: 16px;
        line-height: 28px;
    }

    .vacancy-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .vacancy-card__badge {
        min-height: 26px;
        margin-bottom: 22px;
        padding: 0 14px;
        font-size: 10px;
    }

    .benefits-section, .life-section {
        padding: 48px 0;
    }

    .benefits-grid, .life-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefits-grid article {
        min-height: 0;
        padding: 22px;
    }

    .life-grid {
        padding-bottom: 32px;
    }

    .life-grid h3 {
        min-height: 0;
        margin-bottom: 14px;
    }

    .life-tabs {
        overflow-x: auto;
    }

    .life-tabs button {
        min-width: 124px;
        height: 44px;
        font-size: 12px;
    }

    .resume-section {
        padding: 44px 0 54px;
    }

    .resume-form__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .resume-form input, .resume-form select {
        min-height: 42px;
    }

    .resume-check {
        align-items: flex-start;
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .site-footer {
        padding: 38px 0 44px;
    }
}

@media(max-width:380px) {
    .vac-container {
        width: min(calc(100% - 24px),360px);
    }

    .vacancy-card {
        padding: 22px 18px;
    }
}

@media (max-width: 1024px) {
    .resume-form__head {
        margin-left: 0;
    }

    .resume-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 44px;
    }
}

@media (max-width: 767px) {
    .resume-section {
        padding: 44px 0 54px;
    }

    .resume-form__head {
        margin: 0 0 28px;
    }

    .resume-form h2 {
        font-size: 20px;
        line-height: 24px;
    }

    .resume-form p {
        line-height: 24px;
    }

    .resume-field span, .resume-file__label {
        margin-bottom: 12px;
    }

    .resume-field input {
        font-size: 14px;
    }

    .resume-select__dropdown {
        padding: 12px 0;
    }

    .resume-select__dropdown button {
        min-height: 38px;
        padding: 8px 16px;
        font-size: 12px;
        line-height: 17px;
    }

    .resume-file {
        border-bottom-width: 3px;
    }

    .resume-file em {
        margin-top: 12px;
    }

    .resume-submit {
        height: 48px;
        margin-top: 4px;
        font-size: 13px;
    }

    .resume-check {
        align-items: flex-start;
        gap: 10px !important;
        margin-top: 20px;
        font-size: 11px;
        line-height: 16px;
    }

    .resume-form__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .resume-field span, .resume-file__label, .resume-select__button span {
        font-size: 14px;
        line-height: 18px;
    }

    .resume-field span {
        margin-bottom: 0;
    }

    .resume-field input {
        height: 24px;
        min-height: 24px;
        border-bottom-width: 3px;
    }

    .resume-select__button {
        height: 46px;
        border-bottom-width: 3px;
    }

    .resume-file {
        min-height: 72px;
        padding-right: 30px;
    }

    .resume-file::after {
        top: 34px;
        height: 3px;
    }

    .resume-file__icon {
        top: 0;
    }

    .resume-file__icon svg {
        width: 20px;
        height: 22px;
    }

    .resume-file em {
        top: 48px;
        font-size: 12px;
        line-height: 16px;
    }
}


/* ===== Vacancy detail modal ===== */
body.vacancy-modal-open {
    overflow: hidden;
}

.vacancy-card {
    cursor: pointer;
}

.vacancy-card:focus-visible {
    outline: 2px solid var(--vac-cyan);
    outline-offset: 4px;
}

.vacancy-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.vacancy-modal.is-open {
    display: block;
}

.vacancy-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .86);
}

.vacancy-modal__dialog {
       position: absolute;
    left: 50%;
    top: 54%;
    width: min(1000px, calc(100vw - 96px));
    height: min(820px, calc(100vh - 104px));
    transform: translate(-50%, -50%);
    background: #fff;
    color: #000;
}

.vacancy-modal__close {
    position: absolute;
    left: 50%;
    top: -58px;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateX(-50%);
}

.vacancy-modal__close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 3px;
    background: #fff;
    transform-origin: center;
}



.vacancy-modal__scroll {
    height: 100%;
    overflow-y: auto;
    padding: 56px 92px 58px 62px;
    scrollbar-width: thin;
    scrollbar-color: var(--vac-cyan) var(--vac-cyan-light);
}

.vacancy-modal__scroll::-webkit-scrollbar {
    width: 8px;
}

.vacancy-modal__scroll::-webkit-scrollbar-track {
    background: var(--vac-cyan-light);
}

.vacancy-modal__scroll::-webkit-scrollbar-thumb {
    background: var(--vac-cyan);
}

.vacancy-modal__title {
    margin: 0 0 54px;
    color: var(--vac-cyan);
       font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    text-align: center;
}

.vacancy-modal__section {
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--vac-cyan-light);
}

.vacancy-modal__section:last-child {
    border-bottom: 0;
}

.vacancy-modal__section h3 {
    margin: 0 0 22px;
    color: #000;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.vacancy-modal__section p {
    margin: 0 0 18px;
    color: #000;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.vacancy-modal__section ul {
    display: grid;
    gap: 14px;
    padding: 0 0 30px;
    margin: 0;
    list-style: none;
}
.vacancy-modal__section ul:last-child {
       padding: 0;
   
}
.vacancy-modal__section li {
 position: relative;
    padding-left: 24px;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.vacancy-modal__section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .60em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--vac-cyan);
}

.vacancy-modal__apply {
    min-width: 210px;
    height: 66px;
    margin-top: 8px;
    padding: 0 32px;
    border: 0;
    background: var(--vac-cyan);
    color: #fff;
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    transition: background .2s ease;
}

.vacancy-modal__apply:hover {
    background: #22a4ad;
}

@media (max-width: 767px) {
    .vacancy-modal__dialog {
            left: 0;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        transform: none;
    }


    .vacancy-modal__close span {
        width: 42px;
        height: 3px;
    }

    .vacancy-modal__scroll {
        padding: 58px 38px 42px 38px;
    }

    .vacancy-modal__title {
        margin-bottom: 42px;
        font-size: 46px;
        line-height: 50px;
    }

    .vacancy-modal__section {
        padding-bottom: 34px;
        margin-bottom: 34px;
    }

    .vacancy-modal__section h3 {
        margin-bottom: 24px;
        font-size: 29px;
        line-height: 35px;
    }

    .vacancy-modal__section p {
        font-size: 27px;
        line-height: 38px;
    }

    .vacancy-modal__section ul {
        gap: 24px;
    }

    .vacancy-modal__section li {
        padding-left: 40px;
        font-size: 27px;
        line-height: 46px;
    }

    .vacancy-modal__section li::before {
        top: .45em;
        width: 17px;
        height: 17px;
    }

    .vacancy-modal__apply {
        width: 100%;
        height: 64px;
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .vacancy-modal__scroll {
               padding: 40px 18px 36px;
    }

    .vacancy-modal__title {
      font-size: 24px;
        line-height: 24px;
    }

    .vacancy-modal__section h3 {
                font-size: 16px;
        line-height: 24px;
    }

    .vacancy-modal__section p {
       font-size: 14px;
        line-height: 22px;
    }

    .vacancy-modal__section li {
               padding-left: 30px;
        font-size: 14px;
        line-height: 22px;
    }

    .vacancy-modal__section li::before {
        width: 12px;
        height: 12px;
    }
}



