/* EMOR - страницы кандидатов praca и oferty, 2026-09-22. Поверх style.css и home.css.
   Только transform и opacity в движении, без фильтров и размытия подложки */

/* ---------- первый экран praca ---------- */
.kh { min-height: auto; align-items: stretch; }
.kh-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding-top: 110px; padding-bottom: 100px; }
.kh h1 { font-size: clamp(38px, min(5.2vw, 9.5vh), 80px); line-height: 1; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 28px; }
.kh h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.kh h1 .ln > span { display: inline-block; animation: lineUp 1.4s var(--ease) both; }
.kh h1 .ln:nth-child(2) > span { animation-delay: .09s; }
.kh h1 .ln:nth-child(3) > span { animation-delay: .18s; }
.kh h1 em { font-style: normal; color: var(--mint); }
.kh .hx-sub { margin-bottom: 22px; }
.live {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 26px; padding: 9px 16px 9px 14px; border-radius: 999px;
    background: rgba(3, 19, 14, .6); border: 1px solid rgba(52, 214, 154, .28);
    font-size: 14px; color: #C4D8CE; animation: fadeIn 1s var(--ease) both;
}
.live b { color: var(--ivory); font-weight: 700; font-variant-numeric: tabular-nums; }
.live .dotl { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52, 214, 154, .6); animation: pulse 2.2s ease-out infinite; }
.kh-checks { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; animation: fadeIn 1.4s .55s var(--ease) both; }
.kh-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #D5E8DE; }
.kh-checks svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(52, 214, 154, .16); stroke: var(--mint); fill: none; stroke-width: 3; }
.kh-form { border-radius: 24px; background: #082A20; border: 1px solid rgba(52, 214, 154, .22); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85); animation: fadeIn 1.4s .3s var(--ease) both; }
.kh-form .btn { width: 100%; border-radius: 999px; }
.kh-same { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--mint); }

/* полоса фактов */
.kf { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #041710; }
.kf .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.kf-item { padding: 30px 26px; }
.kf-item + .kf-item { border-left: 1px solid var(--line-soft); }
.kf-item:first-child { padding-left: 0; }
.kf-item b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; color: var(--ivory); }
.kf-item span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- карточка вакансии ---------- */
.k-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 52px; }
.k-more { margin-top: 40px; text-align: center; }
.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jc {
    position: relative; display: flex; flex-direction: column;
    padding: 26px 26px 24px; border-radius: 22px;
    background: linear-gradient(160deg, #0A2F24 0%, #072219 100%);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
    animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.jc:hover { transform: translateY(-4px); border-color: rgba(52, 214, 154, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.jc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.jc-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.jc-hot { font-size: 11px; font-weight: 700; color: #03130E; background: var(--mint); padding: 3px 10px; border-radius: 999px; }
.jc h3 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; color: var(--ivory); margin-bottom: 10px; }
.jc-loc { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.jc-loc svg { width: 15px; height: 15px; flex: 0 0 15px; stroke: var(--mint); fill: none; stroke-width: 2; }
.jc-pay { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.jc-pay small { font-size: 14px; color: var(--muted); font-weight: 600; }
.jc-pay b { font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1; letter-spacing: -.035em; color: var(--mint); font-variant-numeric: tabular-nums; }
.jc-pay span { font-size: 14px; color: #C4D8CE; font-weight: 600; }
.jc-pay.is-text span { font-size: 16px; color: var(--ivory); }
.jc-note { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.jc-tags span { font-size: 12px; font-weight: 600; color: #BFE9D5; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(52, 214, 154, .22); }
.jc-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--ivory); }
.jc-go svg { width: 16px; height: 16px; stroke: var(--mint); fill: none; stroke-width: 2.2; transition: transform .5s var(--ease); }
.jc:hover .jc-go svg { transform: translateX(5px); }
.jc-dir .jc-short { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.jc-dir .jc-top .jc-cat { visibility: hidden; }
.no-jobs { grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: 22px; }

/* ---------- что даём и галерея ---------- */
.kgive { background: linear-gradient(180deg, var(--bg) 0%, #051A13 100%); border-top: 1px solid var(--line-soft); }
.kgive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.kgive h2 { margin-bottom: 24px; max-width: 16ch; }
.kgive .lead-xl { margin-bottom: 36px; }
.give { list-style: none; display: grid; }
.give li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.gi-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 214, 154, .12); }
.gi-ic svg { width: 16px; height: 16px; stroke: var(--mint); fill: none; stroke-width: 3; }
.give b { display: block; font-size: 17px; color: var(--ivory); margin-bottom: 4px; }
.give li div span { color: var(--muted); font-size: 15px; }
.gal { position: sticky; top: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gal figure { margin: 0; }
.gal .par { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; background: var(--card); }
.gal .gal-0 .par, .gal .gal-3 .par { aspect-ratio: 4 / 3; }
.gal .gal-1, .gal .gal-3 { margin-top: 36px; }
.gal img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.gal figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- шаги ---------- */
.ksteps .k-steps-h { max-width: 18ch; margin-bottom: 72px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.st-time { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #03130E; background: var(--mint); padding: 4px 11px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.kfaq { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.kfaq h2 { position: sticky; top: 118px; }
.fq { border-top: 1px solid var(--line); }
.fq details { border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: 18px; font-weight: 700; color: var(--ivory); }
.fq summary::-webkit-details-marker { display: none; }
.fq-ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .6s var(--ease), background .3s; }
.fq-ic svg { width: 16px; height: 16px; stroke: var(--mint); fill: none; stroke-width: 2.2; }
.fq details[open] .fq-ic { transform: rotate(45deg); background: rgba(52, 214, 154, .12); }
.fq-a p { color: var(--muted); font-size: 16px; max-width: 62ch; padding: 0 60px 26px 0; }
.fq details[open] .fq-a { animation: fadeIn .6s var(--ease); }

/* ---------- страница вакансий ---------- */
.kh-small { min-height: auto; }
.kh-small .wrap { padding-top: 90px; padding-bottom: 56px; }
.kh-small .crumbs { margin-bottom: 18px; animation: fadeIn 1s var(--ease) both; }
.kh-small h1 { font-size: clamp(34px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.035em; max-width: 18ch; margin-bottom: 20px; }
.kh-small h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.kh-small h1 .ln > span { display: inline-block; animation: lineUp 1.3s var(--ease) both; }
.kh-small .hx-sub { margin-bottom: 22px; }

.fbar { position: sticky; top: 78px; z-index: 50; background: rgba(3, 19, 14, .96); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.fb-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: end; padding-top: 16px; }
.fb-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fb-field input, .fb-field select {
    width: 100%; height: 48px; padding: 0 16px; border-radius: 14px;
    background: #082A20; border: 1px solid rgba(255, 255, 255, .08); color: var(--ivory);
    font: 500 15px 'Montserrat', sans-serif; transition: border-color .3s;
}
.fb-field input:focus, .fb-field select:focus { outline: 0; border-color: var(--mint); }
.fb-field select option { background: #082A20; }
.fb-reset { height: 48px; padding: 0 20px; border-radius: 14px; background: transparent; border: 1px solid var(--line); color: var(--text); font: 600 14px 'Montserrat', sans-serif; cursor: pointer; transition: border-color .3s, color .3s; }
.fb-reset:hover { border-color: var(--mint); color: var(--mint); }
.chips-f { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 16px; scrollbar-width: none; }
.chips-f::-webkit-scrollbar { display: none; }
.chips-f button {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 8px 0 16px; border-radius: 999px; cursor: pointer;
    background: transparent; border: 1px solid rgba(255, 255, 255, .12); color: var(--text);
    font: 600 14px 'Montserrat', sans-serif; transition: background .3s, border-color .3s, color .3s;
}
.chips-f button i { font-style: normal; font-size: 12px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); font-variant-numeric: tabular-nums; }
.chips-f button:hover:not(:disabled) { border-color: var(--mint); }
.chips-f button.on { background: var(--mint); border-color: var(--mint); color: #03130E; }
.chips-f button.on i { background: rgba(3, 19, 14, .15); }
.chips-f button:disabled { opacity: .35; cursor: default; }

.home .jlist { padding: 36px 0 120px; }
.jobs-count { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.jobs-count b { color: var(--ivory); }
.region-note { border-radius: 22px; background: linear-gradient(140deg, #0F4A37 0%, #072A1F 100%); border: 1px solid rgba(52, 214, 154, .3); margin-bottom: 20px; }
.miss { margin-top: 56px; padding: 34px 38px; border-radius: 24px; background: linear-gradient(140deg, #0F4A37 0%, #072A1F 70%); border: 1px solid rgba(52, 214, 154, .25); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.miss p { color: #D5E8DE; max-width: 62ch; }
.miss b { color: var(--ivory); }

.modal { border-radius: 24px; background: #082A20; border: 1px solid rgba(52, 214, 154, .25); }
.modal .btn { border-radius: 999px; }
.m-kick { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }

@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 214, 154, .55); } 100% { box-shadow: 0 0 0 12px rgba(52, 214, 154, 0); } }

@media (max-width: 1100px) {
    .steps-4 .step-l .dot { grid-row: span 3; }
    .steps-4 .st-time { grid-column: 2; justify-self: start; }
    .kh-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 80px; padding-bottom: 70px; }
    .kf .wrap { grid-template-columns: 1fr 1fr; }
    .kf-item:nth-child(3) { border-left: 0; padding-left: 0; }
    .kf-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
    .k-head { grid-template-columns: 1fr; gap: 16px; }
    .jgrid { grid-template-columns: 1fr 1fr; }
    .kgive-grid { grid-template-columns: 1fr; gap: 50px; }
    .gal { position: static; }
    .steps-4 { grid-template-columns: 1fr; }
    .kfaq { grid-template-columns: 1fr; gap: 30px; }
    .kfaq h2 { position: static; }
    .fb-row { grid-template-columns: 1fr 1fr; }
    .fb-q { grid-column: 1 / -1; }
    .fb-reset { display: none; }
}
@media (max-width: 760px) {
    .kh-grid { padding-top: 56px; padding-bottom: 56px; }
    .kf-item { padding: 20px 12px 20px 14px; }
    .kf-item:first-child, .kf-item:nth-child(3) { padding-left: 0; }
    .jgrid { grid-template-columns: 1fr; }
    .jc-pay b { font-size: 32px; }
    .fbar { top: 70px; }
    .fb-row { gap: 8px; padding-top: 12px; }
    .fb-field label { display: none; }
    .fb-field input, .fb-field select { height: 44px; font-size: 14px; }
    .chips-f { padding: 10px 0 12px; }
    .kh-small .wrap { padding-top: 56px; padding-bottom: 36px; }
    .fq summary { font-size: 16px; padding: 20px 0; }
    .fq-a p { padding-right: 0; }
    .miss { padding: 26px 22px; }
    .gal .gal-1, .gal .gal-3 { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .jc, .live, .live .dotl { animation: none !important; }
}

/* ---------- карта вакансий по воеводствам ---------- */
.mapa { background: linear-gradient(180deg, var(--bg) 0%, #051A13 100%); border-top: 1px solid var(--line-soft); }
.map-grid { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 56px; align-items: center; }
.map-head h2 { margin-bottom: 22px; }
.map-head .lead-xl { margin-bottom: 20px; }
.map-hint { min-height: 22px; margin-bottom: 26px; font-size: 14px; color: var(--mint); }
.map-wrap { position: relative; }
.pl-map { width: 100%; height: auto; display: block; overflow: visible; }
.pl-map .reg { fill: #0A2019; stroke: #03130E; stroke-width: 2.5; transition: fill .35s var(--ease); }
.pl-map .reg.q1 { fill: #0E3A2B; }
.pl-map .reg.q2 { fill: #14543D; }
.pl-map .reg.q3 { fill: #1B6E50; }
.pl-map .reg.q4 { fill: #23916A; }
.pl-map .reg.has { cursor: pointer; }
.pl-map .reg.has:focus-visible { outline: none; }
.pl-map .reg.on { fill: var(--mint); }
.pl-map .reg.on.q0 { fill: #17402F; }
.map-tip {
    position: absolute; z-index: 3; transform: translate(-50%, -140%); pointer-events: none;
    padding: 10px 14px; border-radius: 12px; background: #03130E; border: 1px solid rgba(52, 214, 154, .4);
    white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
}
.map-tip b { display: block; font-size: 15px; color: var(--ivory); }
.map-tip span { font-size: 13px; color: var(--mint); }
.map-list { list-style: none; display: grid; gap: 2px; max-height: 520px; overflow: auto; scrollbar-width: thin; }
.map-list li a, .map-list li span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background .3s; }
.map-list li a { cursor: pointer; }
.map-list b { font-size: 15px; font-weight: 600; color: var(--ivory); flex: 1; }
.map-list span span, .map-list a span { display: none; }
.map-list i { font-style: normal; font-size: 13px; font-weight: 700; color: #03130E; background: var(--mint); min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; }
.map-list li.off b { color: var(--muted); font-weight: 500; }
.map-list li.on a, .map-list li.on span { background: rgba(52, 214, 154, .12); }
.map-list li a:hover { background: rgba(52, 214, 154, .12); }

@media (max-width: 1100px) {
    .map-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .map-head { grid-column: 1 / -1; }
    .map-list { max-height: none; }
}
@media (max-width: 760px) {
    .map-grid { grid-template-columns: 1fr; }
    .map-list { grid-template-columns: 1fr 1fr; gap: 4px; }
    .map-list b { font-size: 13px; }
    .map-list li a, .map-list li span { padding: 8px 8px; }
    .map-tip { display: none; }
}
