/* ===========================================================
   Anketa-me.ru — redesign / design system
   Mobile-first. Blue-green "trust" palette. Onest type.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');

:root {
  /* Surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f3f6f6;
  --bg-cool:   #eef4f3;
  --card:      #ffffff;

  /* Ink */
  --ink:       #0d1c1b;
  --ink-2:     #4a5d5b;
  --ink-3:     #7d908d;
  --line:      #e4ecea;
  --line-2:    #d3dedc;

  /* Brand — blue-green trust */
  --brand:       #0aa18c;
  --brand-600:   #0a8d7b;
  --brand-700:   #086b5e;
  --brand-deep:  #0a3433;   /* near-black teal for headers */
  --brand-soft:  #e6f4f1;
  --brand-tint:  #f0f8f6;

  /* Money / success */
  --money:      #14894e;
  --money-soft: #e7f5ed;

  /* Urgency */
  --urgent:      #d9480f;
  --urgent-soft: #fdede4;

  /* Verify accent (cool blue) */
  --verify:      #1f6fd6;
  --verify-soft: #e9f1fc;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(10,52,51,.05), 0 1px 3px rgba(10,52,51,.04);
  --sh-2: 0 4px 16px rgba(10,52,51,.07), 0 1px 4px rgba(10,52,51,.05);
  --sh-3: 0 12px 36px rgba(10,52,51,.12), 0 3px 10px rgba(10,52,51,.06);
  --sh-cta: 0 6px 18px rgba(10,161,140,.30);

  --maxw: 1080px;
  --gut: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg-soft);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 12px; height: 56px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -0.03em; color: var(--brand-deep); }
.logo__mark {
  width: 28px; height: 28px; border-radius: 7px; flex: none; display: block;
  box-shadow: 0 1px 4px rgba(10,52,51,.18);
}
.hdr__spacer { flex: 1; }
.city-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand-700);
  font-weight: 600; font-size: 14px; white-space: nowrap; max-width: 46vw;
}
.city-btn b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.city-btn svg { flex: none; }
.hdr__tg { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% -10%, #0c4543 0%, transparent 55%),
    linear-gradient(168deg, var(--brand-deep) 0%, #0b3f3c 60%, #0a3433 100%);
  color: #eafaf6;
  padding: 26px 0 26px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -40px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(10,161,140,.45), transparent 65%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(10,161,140,.18); color: #7ff0db;
  border: 1px solid rgba(125,240,219,.28);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #2be0bd; box-shadow: 0 0 0 4px rgba(43,224,189,.22); }
.hero h1 { font-size: clamp(27px, 8vw, 44px); margin: 14px 0 10px; color: #fff; }
.hero h1 em { font-style: normal; color: #5ef0d0; }
.hero__sub { font-size: 15.5px; color: #b9d6cf; max-width: 30em; }

.hero__search {
  margin-top: 18px; background: #fff; border-radius: var(--r-lg);
  padding: 8px; box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 8px;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 50px; color: var(--ink); }
.search-field svg { flex: none; color: var(--ink-3); }
.search-field input {
  flex: 1; border: none; outline: none; font-family: inherit; font-size: 16px; color: var(--ink); background: none; min-width: 0;
}
.search-field input::placeholder { color: var(--ink-3); }
.btn-search {
  height: 50px; border-radius: var(--r-md); background: var(--brand); color: #fff;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--sh-cta); transition: background .15s, transform .1s;
}
.btn-search:active { transform: translateY(1px); }

.hero__stats { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.stat b { display: block; font-size: 19px; font-weight: 800; color: #fff; }
.stat span { font-size: 12.5px; color: #9fc4bc; }

/* ---------- Chips (profession filter) ---------- */
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px var(--gut); margin: 0 calc(-1 * var(--gut));
  -ms-overflow-style: none; scrollbar-width: none; scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line-2); color: var(--ink-2);
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px;
  transition: all .14s; scroll-snap-align: start;
}
.chip[aria-pressed="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.chip .cnt { font-size: 12px; opacity: .6; font-weight: 600; }

/* ---------- Section ---------- */
.section { padding: 24px 0; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.section__head h2 { font-size: clamp(20px, 5.2vw, 28px); color: var(--brand-deep); }
.section__head .muted { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--money); white-space: nowrap; flex: none; }
.live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--money); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(20,137,78,.4)} 70%{box-shadow:0 0 0 7px rgba(20,137,78,0)} 100%{box-shadow:0 0 0 0 rgba(20,137,78,0)} }

/* ---------- Vacancy card (the conversion unit) ---------- */
.feed { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }

.vac {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; box-shadow: var(--sh-1); position: relative;
  transition: box-shadow .18s, transform .12s, border-color .18s; cursor: pointer;
  display: flex; flex-direction: column; gap: 13px;
}
.vac:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.vac:active { transform: scale(.995); }

.vac__top { display: flex; align-items: center; gap: 12px; }
.emblem {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.02em;
}
.vac__titles { min-width: 0; flex: 1; }
.vac__emp { font-size: 12.5px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.vac__emp .verify { color: var(--verify); display: inline-flex; }
.vac__role { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-top: 1px; }

.pay { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pay__amt { font-size: 25px; font-weight: 800; color: var(--money); letter-spacing: -.03em; }
.pay__per { font-size: 13px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }

.badges { display: flex; flex-wrap: wrap; gap: 7px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600;
  background: var(--bg-cool); color: var(--ink-2); border: 1px solid transparent;
}
.badge svg { flex: none; }
.badge--verify { background: var(--verify-soft); color: var(--verify); }
.badge--money  { background: var(--money-soft);  color: var(--money); }
.badge--exp    { background: var(--brand-soft);  color: var(--brand-700); }

.urgency {
  display: flex; align-items: center; gap: 8px;
  background: var(--urgent-soft); border-radius: var(--r-sm); padding: 8px 11px;
  font-size: 13px; font-weight: 600; color: var(--urgent);
}
.urgency .flame { flex: none; }
.urgency .seats { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seatbar { height: 5px; border-radius: 3px; background: rgba(217,72,15,.18); overflow: hidden; flex: 1; max-width: 120px; }
.seatbar i { display: block; height: 100%; background: var(--urgent); border-radius: 3px; }

.vac__cta {
  width: 100%; height: 52px; border-radius: var(--r-md); background: var(--brand); color: #fff;
  font-size: 16.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: var(--sh-cta); transition: background .15s, transform .1s, box-shadow .15s;
}
.vac__cta:hover { background: var(--brand-600); }
.vac__cta:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(10,161,140,.3); }
.vac__cta svg { transition: transform .18s; }
.vac:hover .vac__cta svg { transform: translateX(3px); }

.vac__foot { display: flex; align-items: center; justify-content: space-between; margin-top: -2px; }
.vac__resp { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.avatars { display: flex; }
.avatars i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; background: var(--bg-cool); display: inline-block; }
.avatars i:first-child { margin-left: 0; }
.vac__all { font-size: 12.5px; color: var(--brand-700); font-weight: 600; }

.feed__more { margin: 18px 0 0; }
.btn-ghost {
  width: 100%; height: 50px; border-radius: var(--r-md); background: #fff;
  border: 1.5px solid var(--line-2); color: var(--brand-deep); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .15s;
}
.btn-ghost:hover { border-color: var(--brand); }

/* ---------- Trust strip ---------- */
.trustbar { background: var(--brand-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar__in { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 12px; padding: 20px 0; }
.tcol { display: flex; gap: 11px; align-items: flex-start; }
.tcol__ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--sh-1); }
.tcol b { font-size: 14.5px; display: block; color: var(--brand-deep); }
.tcol span { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }

/* ---------- Employers ---------- */
.emps { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px; }
.emp {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px;
  display: flex; align-items: center; gap: 11px; transition: border-color .15s, box-shadow .15s;
}
.emp:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.emp__mark { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; }
.emp b { font-size: 14px; color: var(--ink); display: block; }
.emp span { font-size: 12px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.qa__q { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.qa__q .ic { margin-left: auto; flex: none; transition: transform .22s; color: var(--ink-3); }
.qa[open] .qa__q .ic { transform: rotate(45deg); color: var(--brand); }
.qa__a { padding: 0 16px 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ---------- Cities ---------- */
.cities { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 16px; }
.city-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: border-color .15s;
}
.city-link:hover { border-color: var(--brand); color: var(--brand-700); }
.city-link span { font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-band {
  margin-top: 8px; border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--brand-deep), #0b423d); color: #eafaf6;
  padding: 28px 22px; text-align: center;
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 50% -20%, rgba(10,161,140,.4), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(22px,6vw,30px); }
.cta-band p { color: #b9d6cf; margin: 10px auto 18px; max-width: 26em; font-size: 14.5px; }
.btn-on-dark {
  display: inline-flex; height: 54px; padding: 0 30px; border-radius: var(--r-pill); background: var(--brand); color: #fff;
  font-weight: 700; font-size: 16.5px; align-items: center; gap: 9px; box-shadow: var(--sh-cta);
}

/* ---------- Footer ---------- */
.foot { background: var(--brand-deep); color: #a9c7c0; padding: 30px 0 26px; margin-top: 24px; }
.foot__cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px 16px; }
.foot__cols h4 { color: #e6f4f1; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; font-weight: 700; }
.foot__cols a { display: block; font-size: 13.5px; color: #93b6ae; padding: 5px 0; }
.foot__cols a:hover { color: #fff; }
.foot__note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #7da39b; line-height: 1.5; }
.foot__brand { display: flex; align-items: center; gap: 9px; color: #e6f4f1; font-weight: 800; font-size: 16px; margin-bottom: 14px; }

/* ===========================================================
   Vacancy detail page
   =========================================================== */
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 14px 0 2px; }
.vhero { background: #fff; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.vhero__top { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.vhero .emblem { width: 56px; height: 56px; border-radius: 15px; font-size: 23px; }
.vhero__emp { font-size: 13.5px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.vhero h1 { font-size: clamp(24px,6.4vw,34px); color: var(--brand-deep); margin: 12px 0 0; }
.vhero__pay { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.vhero__pay b { font-size: 34px; font-weight: 800; color: var(--money); letter-spacing: -.03em; }
.vhero__pay span { font-size: 14px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.vhero__badges { margin-top: 14px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); }
.panel + .panel { margin-top: 14px; }
.panel h3 { font-size: 17px; color: var(--brand-deep); margin-bottom: 12px; }
.deflist { display: grid; gap: 12px; }
.deflist .row { display: flex; gap: 12px; align-items: flex-start; }
.deflist .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-700); }
.deflist b { font-size: 14.5px; display: block; color: var(--ink); }
.deflist span { font-size: 13px; color: var(--ink-2); }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.bullets .check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--money-soft); color: var(--money); display: grid; place-items: center; margin-top: 1px; }

.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-deep); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.step b { font-size: 14.5px; display: block; }
.step span { font-size: 13px; color: var(--ink-2); }

/* sticky apply bar (mobile high-CTR pattern) */
.applybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(10,52,51,.08);
  display: flex; align-items: center; gap: 12px;
  transform: translateY(0); transition: transform .25s;
}
.applybar__info { min-width: 0; }
.applybar__info b { display: block; font-size: 17px; color: var(--money); font-weight: 800; }
.applybar__info span { font-size: 11.5px; color: var(--ink-3); }
.applybar .vac__cta { width: auto; flex: 1; box-shadow: var(--sh-cta); }
.page--detail { padding-bottom: 92px; }

/* ===========================================================
   Apply modal
   =========================================================== */
.modal-back {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,30,29,.55);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.modal-back.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; width: 100%; max-width: 460px; border-radius: 24px 24px 0 0;
  padding: 8px 20px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(20px); transition: transform .26s cubic-bezier(.2,.8,.2,1);
  max-height: 92vh; overflow-y: auto;
}
.modal-back.open .modal { transform: translateY(0); }
.modal__grab { width: 40px; height: 4px; border-radius: 3px; background: var(--line-2); margin: 8px auto 14px; }
.modal__emp { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; }
.modal__emp .emblem { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
.modal__emp b { font-size: 16px; display: block; color: var(--ink); }
.modal__emp span { font-size: 12.5px; color: var(--ink-3); }
.modal h3 { font-size: 21px; color: var(--brand-deep); margin: 14px 0 4px; }
.modal__lead { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input {
  width: 100%; height: 52px; border-radius: var(--r-md); border: 1.5px solid var(--line-2);
  padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .15s;
}
.field input:focus { border-color: var(--brand); }
.field input.err { border-color: var(--urgent); }
.modal__submit { width: 100%; height: 54px; border-radius: var(--r-md); background: var(--brand); color: #fff; font-weight: 700; font-size: 16.5px; box-shadow: var(--sh-cta); margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.modal__submit:active { transform: translateY(1px); }
.modal__fine { font-size: 11.5px; color: var(--ink-3); text-align: center; margin-top: 12px; line-height: 1.45; }
.modal__trust { display: flex; gap: 14px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.modal__trust span { font-size: 12px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.modal__trust svg { color: var(--money); }

/* success */
.success { text-align: center; padding: 20px 6px 6px; }
.success__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--money-soft); color: var(--money); display: grid; place-items: center; margin: 0 auto 16px; animation: pop .4s cubic-bezier(.2,.9,.3,1.3); }
@keyframes pop { 0%{transform:scale(.4);opacity:0} 100%{transform:scale(1);opacity:1} }
.success h3 { font-size: 23px; color: var(--brand-deep); }
.success p { font-size: 14.5px; color: var(--ink-2); margin: 10px auto 0; max-width: 24em; }
.success__next { margin-top: 20px; background: var(--brand-tint); border-radius: var(--r-md); padding: 14px; text-align: left; font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }

/* city sheet */
.citysheet-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.citysheet-list button { text-align: left; padding: 13px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.citysheet-list button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-700); }

/* ===========================================================
   Salary article page (/zarplata/<prof>-v-<city>-2026)
   =========================================================== */
.srange { margin-top: 16px; position: relative; }
.srange__track { height: 12px; border-radius: 7px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.srange__fill { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: linear-gradient(90deg, rgba(94,240,208,.55), #5ef0d0); }
.srange__avg { position: absolute; top: -3px; width: 4px; height: 18px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 3px rgba(94,240,208,.35); transform: translateX(-50%); }
.srange__ends { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12.5px; color: #9fc4bc; font-weight: 600; }
.srange__ends b { color: #d6efe8; }

.byline { display: flex; align-items: center; gap: 9px; margin-top: 16px; position: relative; font-size: 12.5px; color: #9fc4bc; }
.byline__av { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #d6efe8; font-weight: 800; font-size: 12px; flex: none; }
.byline a { color: #cdeae2; font-weight: 600; }

/* employer salary breakdown row (apply) */
.erow {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.erow:hover { border-color: var(--brand); box-shadow: var(--sh-1); }
.erow__head { display: flex; align-items: center; gap: 11px; }
.erow__head .emp__mark { width: 34px; height: 34px; border-radius: 9px; font-size: 15px; flex: none; }
.erow__name { font-size: 14.5px; font-weight: 700; color: var(--ink); flex: 1; min-width: 0; }
.erow__avg { font-size: 17px; font-weight: 800; color: var(--money); white-space: nowrap; }
.erow__avg small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.erow__track { height: 7px; border-radius: 5px; background: var(--bg-cool); margin-top: 10px; overflow: hidden; }
.erow__fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand-700), var(--brand)); }
.erow__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.erow__max { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.erow__cta { font-size: 12.5px; color: var(--brand-700); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }

@media (min-width: 760px){
  .erow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ===========================================================
   Salary explorer (/zarplata)
   =========================================================== */
.sal-top {
  margin-top: 16px; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--brand-deep), #0b423d); color: #eafaf6; padding: 18px;
}
.sal-top::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 130% at 90% -10%, rgba(10,161,140,.4), transparent 60%); }
.sal-top > * { position: relative; }
.sal-top__lbl { font-size: 12.5px; font-weight: 600; color: #8fd6c6; display: inline-flex; align-items: center; gap: 7px; }
.sal-top__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.sal-top__city { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.sal-top__city span { display: block; font-size: 13px; font-weight: 600; color: #9fc4bc; margin-top: 2px; }
.sal-top__amt { font-size: 34px; font-weight: 800; color: #5ef0d0; letter-spacing: -.03em; line-height: 1; }
.sal-top__amt small { font-size: 14px; color: #9fc4bc; font-weight: 600; }
.sal-top a.vac__cta { margin-top: 16px; }

.sal-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.sal-meta .lbl { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.sal-search { display: flex; align-items: center; gap: 9px; height: 42px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 0 14px; max-width: 220px; flex: 1; transition: border-color .15s; }
.sal-search:focus-within { border-color: var(--brand); }
.sal-search svg { color: var(--ink-3); flex: none; }
.sal-search input { border: none; outline: none; font-family: inherit; font-size: 14px; background: none; width: 100%; min-width: 0; }

.sallist { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.salrow {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s; position: relative;
}
.salrow:hover { border-color: var(--brand); box-shadow: var(--sh-1); }
.salrow__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.salrow__city { font-size: 15px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; min-width: 0; }
.salrow__rank { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-cool); color: var(--ink-3); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.salrow--lead .salrow__rank { background: var(--brand); color: #fff; }
.salrow__amt { font-size: 18px; font-weight: 800; color: var(--money); letter-spacing: -.02em; white-space: nowrap; }
.salrow__amt small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.salrow__track { height: 8px; border-radius: 5px; background: var(--bg-cool); margin-top: 10px; overflow: hidden; }
.salrow__fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand-700), var(--brand)); }
.salrow__cta { font-size: 12.5px; color: var(--brand-700); font-weight: 600; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }

.sal-note { font-size: 12px; color: var(--ink-3); margin-top: 14px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.sal-note svg { flex: none; margin-top: 1px; color: var(--ink-3); }

@media (min-width: 760px){
  .sallist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sal-top { padding: 24px; }
  .sal-top__amt { font-size: 42px; }
}

/* ===========================================================
   City landing page (vakansii/<emp>/<role>/<city>)
   =========================================================== */
.ehero__fresh { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #5ef0d0; background: rgba(10,161,140,.16); border: 1px solid rgba(125,240,219,.24); padding: 5px 11px; border-radius: var(--r-pill); margin-top: 14px; position: relative; }
.ehero__fresh .pulse { width: 8px; height: 8px; border-radius: 50%; background: #2be0bd; animation: pulse 1.8s infinite; }
.salary { margin-top: 14px; position: relative; }
.salary__row { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.salary__row b { font-size: clamp(30px, 9vw, 48px); font-weight: 800; color: #5ef0d0; letter-spacing: -.03em; line-height: 1; }
.salary__row .to { font-size: 20px; color: #9fc4bc; font-weight: 700; margin: 0 2px; }
.salary__row .per { font-size: 15px; color: #9fc4bc; font-weight: 600; align-self: flex-end; margin-left: 4px; }
.salary__note { font-size: 12.5px; color: #8fb3ab; margin-top: 7px; }
.cta-note { font-size: 11.5px; color: #8fb3ab; margin-top: 9px; display: flex; align-items: center; gap: 6px; position: relative; }
.cta-note svg { flex: none; opacity: .8; }

/* quick conditions strip */
.qcond { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px; }
.qc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px; display: flex; gap: 10px; align-items: center; }
.qc__ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-700); }
.qc b { font-size: 14px; color: var(--ink); display: block; }
.qc span { font-size: 12px; color: var(--ink-3); }

/* perks grid */
.perks { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; display: flex; gap: 12px; align-items: flex-start; transition: border-color .15s, box-shadow .15s; }
.perk:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.perk__ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--money-soft); color: var(--money); }
.perk b { font-size: 14.5px; color: var(--ink); display: block; }
.perk span { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* key-value table */
.kv { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); margin-top: 14px; }
.kv__row { display: flex; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.kv__row:last-child { border-bottom: none; }
.kv__row:nth-child(even) { background: var(--brand-tint); }
.kv__k { flex: none; width: 38%; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.kv__v { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.kv__v.money { color: var(--money); font-weight: 700; }

/* similar links */
.simrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.simrow a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); color: var(--brand-deep); font-size: 13.5px; font-weight: 600; transition: border-color .15s; }
.simrow a:hover { border-color: var(--brand); color: var(--brand-700); }
.simlist { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.simlist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .15s; }
.simlist a:hover { border-color: var(--brand); color: var(--brand-700); }
.simlist a .arr { color: var(--ink-3); }

@media (min-width: 760px){
  .qcond { grid-template-columns: repeat(4,1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .simlist { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   Employer hub page (vakansii/<emp>)
   =========================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 0 2px; font-size: 12.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs .sep { opacity: .5; }
.crumbs b { color: var(--ink-2); font-weight: 600; }

/* employer hero */
.ehero { background: linear-gradient(168deg, var(--brand-deep) 0%, #0b3f3c 70%, #0a3433 100%); color: #eafaf6; position: relative; overflow: hidden; padding: 18px 0 24px; }
.ehero::after { content:""; position:absolute; right:-70px; top:-50px; width:260px; height:260px; background: radial-gradient(circle, rgba(10,161,140,.4), transparent 65%); pointer-events:none; }
.ehero__top { display: flex; align-items: center; gap: 14px; position: relative; }
.ehero .emblem { width: 60px; height: 60px; border-radius: 16px; font-size: 26px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ehero__emp { font-size: 13.5px; color: #8fd6c6; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ehero__emp .verify { color: #5ef0d0; display: inline-flex; }
.ehero h1 { font-size: clamp(26px, 7vw, 40px); color: #fff; margin-top: 7px; }
.ehero__lead { font-size: 14.5px; color: #b9d6cf; margin-top: 12px; max-width: 36em; position: relative; }
.ehero__pay { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; position: relative; }
.ehero__pay b { font-size: 30px; font-weight: 800; color: #5ef0d0; letter-spacing: -.03em; }
.ehero__pay span { font-size: 13.5px; color: #9fc4bc; }
.ehero__bul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; position: relative; }
.ehero__bul span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #d6efe8; background: rgba(255,255,255,.08); border: 1px solid rgba(125,240,219,.18); padding: 6px 11px; border-radius: var(--r-pill); }
.ehero__bul svg { color: #5ef0d0; flex: none; }
.ehero__cta { display: flex; gap: 10px; margin-top: 20px; position: relative; }
.ehero__cta .vac__cta { flex: 1; }
.btn-on-dark-ghost { height: 52px; padding: 0 18px; border-radius: var(--r-md); background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn-on-dark-ghost:hover { background: rgba(255,255,255,.16); }

/* role cards */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.role {
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: all .15s; cursor: pointer; position: relative;
}
.role:hover { border-color: var(--brand); box-shadow: var(--sh-2); transform: translateY(-1px); }
.role[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.role__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; }
.role[aria-pressed="true"] .role__ic { background: var(--brand); color: #fff; }
.role b { font-size: 15px; color: var(--ink); }
.role span { font-size: 12.5px; color: var(--ink-3); }
.role__pay { font-size: 13.5px; font-weight: 700; color: var(--money); margin-top: 2px; }
.role__check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: none; place-items: center; }
.role[aria-pressed="true"] .role__check { display: grid; }

/* city finder */
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-1); margin-top: 16px; }
.finder__search { display: flex; align-items: center; gap: 10px; height: 50px; border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: 0 14px; transition: border-color .15s; }
.finder__search:focus-within { border-color: var(--brand); }
.finder__search svg { color: var(--ink-3); flex: none; }
.finder__search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 16px; color: var(--ink); background: none; min-width: 0; }
.finder__pop { margin-top: 14px; }
.finder__pop .lbl { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 9px; }
.poprow { display: flex; flex-wrap: wrap; gap: 8px; }
.poprow a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: var(--r-pill); background: var(--bg-cool); color: var(--brand-deep); font-size: 13.5px; font-weight: 600; transition: background .15s; }
.poprow a:hover { background: var(--brand-soft); color: var(--brand-700); }
.poprow a b { font-weight: 700; }

.alpha { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.alpha__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.alpha__head .lbl { font-size: 14px; font-weight: 700; color: var(--brand-deep); }
.alpha__count { font-size: 12.5px; color: var(--ink-3); }
.alpha__grid { columns: 2; column-gap: 18px; }
@media (min-width: 760px){ .alpha__grid { columns: 4; } }
.alpha__group { break-inside: avoid; margin-bottom: 14px; }
.alpha__letter { font-size: 13px; font-weight: 800; color: var(--brand); margin-bottom: 5px; }
.alpha__grid a { display: block; font-size: 13.5px; color: var(--ink-2); padding: 4px 0; transition: color .12s; }
.alpha__grid a:hover { color: var(--brand-700); }
.alpha__grid a:hover b { text-decoration: underline; }
.alpha__empty { color: var(--ink-3); font-size: 14px; padding: 16px 0; }
.alpha__more { width: 100%; height: 48px; margin-top: 6px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand-700); font-weight: 700; font-size: 14.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.alpha__more:hover { background: var(--brand-soft); }

@media (min-width: 760px){
  .roles { grid-template-columns: repeat(4,1fr); }
  .ehero { padding: 30px 0 38px; }
  .ehero__cta .vac__cta { flex: none; padding: 0 32px; }
  .ehero__cta { max-width: 560px; }
}

/* ===========================================================
   Desktop
   =========================================================== */
/* ---------- Desktop ---------- */
@media (min-width: 760px){
  :root { --gut: 24px; }
  .hdr__in { height: 64px; }
  .hdr__tg { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-700); font-weight: 600; font-size: 14px; }
  .city-btn { max-width: none; }
  .hero { padding: 48px 0 44px; }
  .hero__inner { max-width: 680px; }
  .hero__search { flex-direction: row; align-items: center; }
  .hero__search .search-field { flex: 1; }
  .btn-search { padding: 0 28px; }
  .hero__stats { gap: 34px; margin-top: 22px; }
  .feed { grid-template-columns: 1fr 1fr; }
  .trustbar__in { grid-template-columns: repeat(4,1fr); gap: 20px; }
  .emps { grid-template-columns: repeat(3,1fr); }
  .cities { grid-template-columns: repeat(4,1fr); }
  .faq { max-width: 760px; }
  .foot__cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  /* detail page: two-column */
  .detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
  .detail-aside { position: sticky; top: 84px; }
  .applybar { display: none; }
  .page--detail { padding-bottom: 24px; }
  .aside-cta { display: block; }
  .modal-back { align-items: center; }
  .modal { border-radius: 24px; }
}
@media (max-width: 759px){ .aside-cta { display: none; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ── Mobile overflow guard (min-width:auto у grid/flex детей ломал верстку) ── */
html, body { overflow-x: hidden; max-width: 100%; }
.role, .vac, .emp, .salrow, .erow, .qc, .tcol, .kv__row, .city-link, .vac__titles, .ehero__top > div, .salrow__city, .erow__name { min-width: 0; }
.ehero__cta, .poprow { flex-wrap: wrap; }
.role__pay { white-space: normal; }
.role__name, .role b { overflow-wrap: anywhere; }

/* ── Узкие телефоны: 2-кол сетки в 1 колонку (страховка от переполнения) ── */
@media (max-width: 520px){
  .roles, .emps, .trustbar__in, .cities { grid-template-columns: 1fr; }
}

/* ── Правки 11.06: жёлтый CTA (логотип) + контраст qc-иконок + подсветка выплат ── */
.vac__cta { background:#fce000; color:#15201d; box-shadow:0 6px 18px rgba(252,224,0,.32); }
.vac__cta:hover { background:#ffe92e; }
.vac__cta:active { box-shadow:0 3px 10px rgba(252,224,0,.3); }
.applybar .vac__cta { box-shadow:0 6px 18px rgba(252,224,0,.32); }
.qc__ic { background: var(--brand-deep); color:#fff; }
.ehero__bul span:last-child { background:rgba(252,224,0,.16); border-color:rgba(255,221,45,.55); color:#fff; font-weight:700; }
.ehero__bul span:last-child svg { color:#ffdd2d; }

/* ── Липкая applybar: доход в строку сверху, кнопка на 100% снизу (кликабельность на ходу) ── */
.applybar { flex-direction: column; align-items: stretch; gap: 8px; }
.applybar__info { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1.2; }
.applybar__info b { font-size: 15px; white-space: nowrap; }
.applybar__info span { font-size: 12px; }
.applybar .vac__cta { width: 100%; flex: none; height: 52px; }

/* ── TG в шапке на мобиле: иконка-кружок (без текста), ≥760 — иконка+текст ── */
@media (max-width: 759px){
  .hdr__tg { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; padding:0; border-radius:var(--r-pill); background:var(--brand-soft); color:var(--brand-700); font-size:0; flex:none; }
  .hdr__tg svg { width:18px; height:18px; }
  .city-btn { max-width:38vw; }
}
